]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
powerpc: Remove unintended __longjmp symbol from ABI
[thirdparty/glibc.git] / ChangeLog
1 2016-11-29 Florian Weimer <fweimer@redhat.com>
2
3 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4 version and turn into strong alias. Remove compat symbol.
5
6 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7 (__longjmp): Remove.
8
9 2016-11-29 Joseph Myers <joseph@codesourcery.com>
10
11 * bits/fp-fast.h: New file.
12 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14 * math/Makefile (headers): Add bits/fp-fast.h.
15 * math/math.h: Include <bits/fp-fast.h>.
16 * bits/mathdef.h (FP_FAST_FMA): Remove.
17 (FP_FAST_FMAF): Likewise.
18 (FP_FAST_FMAL): Likewise.
19 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
20 (FP_FAST_FMAF): Likewise.
21 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
22 (FP_FAST_FMAF): Likewise.
23 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
24 (FP_FAST_FMAF): Likewise.
25 (FP_FAST_FMAL): Likewise.
26 * sysdeps/arm/bits/mathdef.h: Remove file.
27 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
28 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29 * sysdeps/tile/bits/mathdef.h: Likewise.
30
31 2016-11-28 Joseph Myers <joseph@codesourcery.com>
32
33 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
34 * math/w_ilogb.c: Remove.
35 * math/w_ilogbf.c: Likewise.
36 * math/w_ilogbl.c: Likewise.
37 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
38 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
39 * math/Makefile (gen-libm-calls): Add w_ilogbF.
40 (libm-calls): Remove w_ilogbF.
41 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
42 (LDOUBLE_ilogbl_libm_version): New macro.
43
44 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
45
46 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
47 [!__STRICT_ANSI__ && !__cplusplus].
48
49 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
50
51 [BZ #20750]
52 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
53 of PIC.
54
55 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
56 Yury Norov <ynorov@caviumnetworks.com>
57 Steve Ellcey <sellcey@caviumnetworks.com>
58
59 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
60 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
61 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
62 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
63 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
64 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
65 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
66 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
67 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
68 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
69 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
70 to get correct reg name for ILP32.
71 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
72 (RELA_SIZE): New Macro.
73 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
74 to support ILP32.
75 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
76 cast for ILP32 mode.
77 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
78 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
79 * sysdeps/aarch64/memset.S (__memset): Ditto.
80 * sysdeps/aarch64/strchr.S (strchr): Ditto.
81 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
82 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
83 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
84 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
85 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
86 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
87 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
88 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
89 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
90 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
91 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
92 change PTR_MANGLE call to use register numbers instead of names.
93 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
94 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
95 ILP32 mode, change PTR_MANGLE calls to use register numbers.
96 * sysdeps/aarch64/start.S (_start): Ditto.
97 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
98 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
99 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
100 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
101 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
102 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
103 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
104 Make defined values dependent on __ILP32__.
105 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
106 (sem_t): Change __align type.
107 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
108 PTR_SIZE): New Macros.
109 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
110 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
111 Set when in ILP32 mode.
112 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
113 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
114 Set elf flags for ILP32.
115 (add_system_dir): Set ILP32 library directories.
116 * sysdeps/unix/sysv/linux/aarch64/init-first.c
117 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
118 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
120 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
121 New Macros.
122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
123
124 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
125
126 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
127 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
128 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
129
130 2016-11-28 Joseph Myers <joseph@codesourcery.com>
131
132 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
133 <asm/cachectl.h>.
134
135 2016-11-27 Zack Weinberg <zackw@panix.com>
136
137 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
138 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
139
140 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
141
142 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
143 error_t to fix usage in C++ programs.
144
145 2016-11-26 Joseph Myers <joseph@codesourcery.com>
146
147 * scripts/build-many-glibcs.py: Import datetime module.
148 (Context.__init__): Load JSON build state. Initialize list of
149 status logs.
150 (Context.run_builds): Update saved build state.
151 (Context.add_makefile_cmdlist): Update list of status logs.
152 (Context.load_build_state_json): New function.
153 (Context.store_build_state_json): Likewise.
154 (Context.clear_last_build_state): Likewise.
155 (Context.update_build_state): Likewise.
156 (CommandList.status_logs): Likewise.
157
158 2016-11-25 Joseph Myers <joseph@codesourcery.com>
159
160 * scripts/build-many-glibcs.py (Context.__init__): Save text of
161 script being executed.
162 (Context.get_script_text): New function.
163 (Context.exec_self): Likewise.
164 (Context.checkout): Re-exec script if changed by checkout process.
165
166 2016-11-24 Joseph Myers <joseph@codesourcery.com>
167
168 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
169 (setpayloadsig): New declaration.
170 * math/Versions (setpayloadsig): New libm symbol at version
171 GLIBC_2.25.
172 (setpayloadsigf): Likewise.
173 (setpayloadsigl): Likewise.
174 * math/Makefile (libm-calls): Add s_setpayloadsigF.
175 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
176 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
177 (setpayloadsig_test_data): New array.
178 (setpayloadsig_test): New function.
179 (main): Call setpayloadsig_test.
180 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
181 setpayloadsigf and setpayloadsigl.
182 * manual/libm-err-tab.pl: Update comment on interfaces without
183 ulps tabulated.
184 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
185 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
186 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
187 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
188 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
189 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
190 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
191 setpayloadsig.
192 (CFLAGS-nldbl-setpayloadsig.c): New variable.
193 * sysdeps/nacl/libm.abilist: Update.
194 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
195 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
196 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
197 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
198 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
199 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
200 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
201 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
203 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
204 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
205 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
207 Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
209 Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
211 Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
213 Likewise.
214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
220 Likewise.
221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
222 Likewise.
223 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
224 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
226
227 * scripts/build-many-glibcs.py: Import json module.
228 (Context.__init__): Take replace_sources argument. Load
229 versions.json.
230 (Context.load_versions_json): New function.
231 (Context.store_json): Likewise.
232 (Context.store_versions_json): Likewise.
233 (Context.set_component_version): Likewise.
234 (Context.checkout): Update versions.json. Check for and handle
235 changes of version. Prefer previously explicitly specified
236 version to default version.
237 (Context.checkout_vcs): Return a revision identifier.
238 (Context.git_checkout): Likewise.
239 (Context.gcc_checkout): Likewise.
240 (get_parser): Add --replace-sources option.
241 (main): Pass replace_sources argument to Context call.
242
243 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
244
245 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
246 * nptl/allocatestack.c (allocate_stack): Likewise.
247 (__reclaim_stacks): Likewise.
248 (setxid_signal_thread): Obtain pid through syscall.
249 * nptl/nptl-init.c (sigcancel_handler): Likewise.
250 (sighandle_setxid): Likewise.
251 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
252 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
253 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
254 Likewise.
255 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
256 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
257 comment.
258 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
259 * nptl/descr.h (struct pthread): Change comment about pid value.
260 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
261 pid assert.
262 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
263 Do not set pid value.
264 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
265 pid cache check.
266 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
267 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
268 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
269 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
270 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
271 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
272 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
273 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
274 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
275 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
276 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
277 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
278 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
279 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
280 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
281 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
282 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
283 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
284 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
285 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
286 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
287 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
288 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
289 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
290 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
294 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
295 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
298 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
300 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
301 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
302 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
303 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
304 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
305 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
306 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
307 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
308 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
311 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
312 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
313 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
314 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
315 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
316 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
317 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
318 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
319 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
320 struct access.
321 (clone_test): Remove function.
322 (do_test): Rewrite to take in consideration pid is not cached anymore.
323
324 2016-11-24 Joseph Myers <joseph@codesourcery.com>
325
326 * bits/flt-eval-method.h: New file.
327 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
328 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
329 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
330 * math/Makefile (headers): Add bits/flt-eval-method.h.
331 * math/math.h: Include <bits/flt-eval-method.h>.
332 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
333 [__USE_ISOC99] (double_t): Likewise.
334 * bits/mathdef.h (float_t): Remove.
335 (double_t): Likewise.
336 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
337 (double_t): Likewise.
338 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
339 (double_t): Likewise.
340 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
341 (double_t): Likewise.
342 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
343 (double_t): Likewise.
344 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
345 (double_t): Likewise.
346 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
347 (double_t): Likewise.
348 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
349 (double_t): Likewise.
350 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
351 (double_t): Likewise.
352 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
353 (double_t): Likewise.
354 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
355 (double_t): Likewise.
356 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
357 (double_t): Likewise.
358 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
359 (double_t): Likewise.
360 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
361 (double_t): Likewise.
362
363 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
364
365 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
366 instead of PIC.
367
368 2016-11-23 Joseph Myers <joseph@codesourcery.com>
369
370 [BZ #20859]
371 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
372 (-0x7fffffff) instead of 0x80000001.
373 * math/test-fp-ilogb-constants.c: New file.
374 * math/Makefile (tests): Add test-fp-ilogb-constants.
375
376 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
377
378 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
379 (_init): Use it in place of hardcoded R_MIPS_JALR.
380 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
381 (_init): Use it in place of hardcoded R_MIPS_JALR.
382 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
383 (_init): Use it in place of hardcoded R_MIPS_JALR.
384
385 2016-11-23 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #20787]
388 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
389 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
390 (double_t): Do not define to double if [__x86_64__] when
391 __FLT_EVAL_METHOD__ is nonzero.
392 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
393 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
394 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
395 test-flt-eval-method-387 and test-flt-eval-method-sse.
396 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
397 variable.
398 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
399
400 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
401
402 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
403 use of -fno-isolate-erroneous-paths options for tilepro.
404
405 2016-11-23 Florian Weimer <fweimer@redhat.com>
406
407 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
408 structure initialization is no longer needed.
409
410 2016-11-23 Joseph Myers <joseph@codesourcery.com>
411
412 [BZ #20855]
413 * bits/mathdef.h (float_t): Define to float.
414 * math/test-flt-eval-method.c: New file.
415 * math/Makefile (tests): Add test-flt-eval-method.
416 (CFLAGS-test-flt-eval-method.c): New variable.
417
418 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
419
420 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
421 and __fstatfs. Make them aliases of __fstatfs64 if
422 STATFS_IS_STATFS64 is set to non-zero.
423 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
424 and __statfs64.
425 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
426 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
427 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
428 for __statfs and statfs.
429 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
430 to 0.
431 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
432 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
433 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
434 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
435 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
436 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
439 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
440 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
441 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
442 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
443
444 2016-11-22 Andreas Schwab <schwab@suse.de>
445
446 * misc/mkstemp.c: Include <fcntl.h>.
447 * misc/mkstemps.c: Likewise.
448 * misc/mkostemp.c: Likewise.
449 * misc/mkostemps.c: Likewise.
450
451 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
452
453 [BZ #20847]
454 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
455 array bounds.
456 (__execvpe): Likewise.
457
458 2016-11-22 Joseph Myers <joseph@codesourcery.com>
459
460 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
461 -fno-isolate-erroneous-paths options for tilepro.
462
463 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
464
465 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
466 to 0 when in 32 bit mode.
467 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
468 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
469 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
470 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
472 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
473 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
474 XSTAT_IS_XSTAT64 test.
475 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
476 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
477 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
478 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
479 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
480 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
481 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
482 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
483 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
484 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
485 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
486
487 2016-11-19 Joseph Myers <joseph@codesourcery.com>
488
489 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
490 (setpayload): New declaration.
491 * math/Versions (setpayload): New libm symbol at version
492 GLIBC_2.25.
493 (setpayloadf): Likewise.
494 (setpayloadl): Likewise.
495 * math/Makefile (libm-calls): Add s_setpayloadF.
496 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
497 test_Ff_b1_data.
498 (RUN_TEST_Ff_b1): New macro.
499 (RUN_TEST_LOOP_Ff_b1): Likewise.
500 (canonicalize_test_data): Update type.
501 (setpayload_test_data): New array.
502 (setpayload_test): New function.
503 (main): Call setpayload_test.
504 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
505 setpayloadf and setpayloadl.
506 * manual/libm-err-tab.pl: Update comment on interfaces without
507 ulps tabulated.
508 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
509 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
510 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
511 Likewise.
512 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
513 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
514 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
515 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
518 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
519 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
520 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
521 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
522 setpayload.
523 (CFLAGS-nldbl-setpayload.c): New variable.
524 * sysdeps/nacl/libm.abilist: Update.
525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
526 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
527 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
528 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
529 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
530 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
531 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
532 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
533 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
534 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
536 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
538 Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
540 Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
542 Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
544 Likewise.
545 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
546 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
551 Likewise.
552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
553 Likewise.
554 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
555 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
556 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
557
558 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
559
560 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
561 * include/unistd.h: Extend comment about __access_noerrno return
562 semantics.
563 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
564 (access_common): Correct typo for EACCES.
565
566 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
567
568 * sysdeps/tile/math-tests.h: New file.
569
570 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
571 (__old_set_dataplane): Rename from set_dataplane and make a
572 compatibility symbol.
573 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
574 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
575 sys/dataplane.h.
576
577 2016-11-18 Joseph Myers <joseph@codesourcery.com>
578
579 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
580 script quote words in command output to log suitably for input to
581 the shell.
582
583 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
584 Maciej W. Rozycki <macro@imgtec.com>
585
586 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
587 `.Lno_weak_fn' label.
588 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
589 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
590
591 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
592 Yury Norov <ynorov@caviumnetworks.com>
593
594 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
595 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
596 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
597 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
598 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
599 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
600 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
602 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
604 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
605 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
606 (sysdep_routines): Remove oldgetrlimit64.
607 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
608 (sysdep_routines): Likewise.
609 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
610 (sysdep_routines): Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
612 [$(subdir) = resource] (sysdep_routines): Likewise.
613 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
614 [$(subdir) = resource] (sysdep_routines): Likewise.
615 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
616 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
617 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
618 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
619 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
620 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
621 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
622 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
623 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
626 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
628 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
629 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
630 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
631 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
632 setrlimit and getrlimit.
633 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
635 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
640 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
642 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
643 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
644 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
645 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
646 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
647 (__old_getrlimit64): Add compatibility symbol.
648 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
649
650 2016-11-17 Joseph Myers <joseph@codesourcery.com>
651
652 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
653 newly built gmp, mpfr and mpc.
654
655 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
656
657 2016-11-16 Joseph Myers <joseph@codesourcery.com>
658
659 * conform/Makefile (linknamespace-libs): Rename to
660 linknamespace-libs-thr.
661 (linknamespace-libs-posix): New variable.
662 (linknamespace-libs-xsi): Likewise.
663 (linknamespace-libs-XPG3): Include libcrypt.a.
664 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
665 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
666 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
667 (linknamespace-libs-XOPEN2K): Likewise.
668 (linknamespace-libs-XOPEN2K8): Likewise.
669 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
670
671 [BZ #20829]
672 * stdio-common/Versions (__snprintf): Add to version
673 GLIBC_PRIVATE.
674 * include/stdio.h (__snprintf): Use libc_hidden_proto.
675 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
676 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
677 of snprintf.
678 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
679
680 2016-11-16 Zack Weinberg <zackw@panix.com>
681
682 * string/string.h: Remove obsolete comment stating that
683 strcoll_l and strxfrm_l have not yet been standardized.
684
685 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
686
687 * hurd/hurd.h (__hurd_fail_noerrno): New function.
688 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
689 __access_noerrno.
690 * io/access.c (__access_noerrno): New function.
691 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
692 (hurd_fail_seterrno): Likewise.
693 (access_common): Likewise.
694 (__access_noerrno): Likewise.
695 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
696 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
697 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
698 macro.
699
700 2016-11-16 Joseph Myers <joseph@codesourcery.com>
701
702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
703 Only declare fpregs if [__SH_FPU_ANY__].
704
705 2016-11-15 Joseph Myers <joseph@codesourcery.com>
706
707 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
708 Make code unconditional.
709 [!(__SH4__ || __SH4A__)]: Remove conditional code.
710
711 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
712
713 * manual/sysinfo.texi (S_APPEND): Delete.
714 (S_IMMUTABLE): Likewise.
715
716 2016-11-15 Denis Kaganovich <mahatma@eu.by>
717 Magnus Granberg <zorry@gentoo.org>
718 Mike Frysinger <vapier@gentoo.org>
719
720 [BZ #20662]
721 * configure.ac (libc_cv_predef_stack_protector): Also check for
722 __stack_chk_fail_local symbols.
723 * configure: Regenerated.
724
725 2016-11-15 Florian Weimer <fweimer@redhat.com>
726
727 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
728 (libc_hidden_def): Remove redefinition.
729 (__sigsetjmp): Add hidden definition.
730 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
731 (libc_hidden_def): Remove redefinition.
732 (__sigsetjmp): Add hidden definition.
733
734 2016-11-14 Joseph Myers <joseph@codesourcery.com>
735
736 * scripts/build-many-glibcs.py (os.path): Do not import.
737 (Context): Inherit explicitly from object. Remove blank line
738 between class and docstring.
739 (Config): Likewise.
740 (Glibc): Likewise.
741 (Command): Likewise.
742 (CommandList): Likewise.
743 (Context.write_files): Store chmod mode in a variable.
744
745 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
746 LIBC_SLIBDIR_RTLDDIR for tilegx32.
747 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
748
749 2016-11-14 Zack Weinberg <zackw@panix.com>
750
751 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
752 creating or re-creating it.
753
754 * string/bits/string2.h: Fix typo in comment.
755
756 2016-11-14 Zack Weinberg <zackw@panix.com>
757
758 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
759 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
760 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
761 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
762 of redirected function names.
763
764 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
765 as well. Document that MESSAGE must be a single string literal.
766
767 2016-11-11 Joseph Myers <joseph@codesourcery.com>
768
769 * scripts/build-many-glibcs.py: New file.
770
771 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
772 (do_test): Disable -Wmaybe-uninitialized around uses of
773 except_mask.
774
775 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
776
777 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
778
779 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
780 (atomic_store_release): Provide tilepro-specific implementations.
781
782 2016-11-10 Joseph Myers <joseph@codesourcery.com>
783
784 * math/math.h (__MATH_TG): New macro.
785 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
786 [__USE_ISOC99] (signbit): Likewise.
787 [__USE_ISOC99] (isfinite): Likewise.
788 [__USE_ISOC99] (isnan): Likewise.
789 [__USE_ISOC99] (isinf): Likewise.
790 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
791 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
792 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
793 __MATH_TG and __MATH_EVAL_FMT2.
794 * sysdeps/generic/math_private.h (fabs_tg): Define using
795 __MATH_TG.
796 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
797 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
798 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
799 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
800 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
801 macro.
802 (__iscanonical): Likewise.
803 (iscanonical): Define using __MATH_TG.
804
805 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
806
807 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
808 guards.
809
810 * sysdeps/unix/sysv/linux/access.c: New file.
811 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
812
813 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
814
815 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
816 and __WORDSIZE32_PTRDIFF_LONG.
817
818 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
819
820 * sysdeps/aarch64/libm-test-ulps: Regenerated.
821
822 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
823
824 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
825 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
826 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
827 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
828 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
830 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
831 * sysdeps/unix/sysv/linux/truncate.c: New file.
832 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
833 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
834 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
835 Remove.
836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
837 Likewise.
838
839 * posix/tst-truncate-common.c: New file.
840 * posix/tst-truncate.c: Use tst-truncate-common.c.
841 * posix/tst-truncate64.c: Likewise and add LFS tests.
842 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
843 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
844 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
845 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
846 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
848 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
849 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
850 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
851 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
852 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
853 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
854 Remove.
855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
856 Likewise.
857
858 2016-11-08 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #20790]
861 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
862 to MAXLINESIZE.
863 * sunrpc/bug20790.x: New file.
864 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
865 variable.
866 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
867 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
868
869 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
870
871 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
872
873 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
874 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
875 calloc, realloc, free, memalign and __libc_memalign rather than
876 making them optional.
877
878 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
879 for libc.so.
880
881 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
882
883 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
884 ptw-lseek64.
885 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
886 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
887 Likewise.
888 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
889 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
890 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
891 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
892 * sysdeps/unix/sysv/linux/lseek.c: New file.
893 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
894 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
895 __libc_lseek64 from auto-generation.
896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
898
899 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
900
901 * nptl/tst-basic1.c (tf, do_test): Use write_message.
902 * nptl/tst-cleanup1.c (do_test): Likewise.
903 * nptl/tst-cleanup3.c (do_test): Likewise.
904 * nptl/tst-key1.c (do_test): Likewise.
905 * nptl/tst-key2.c (tf, do_test): Likewise.
906 * nptl/tst-key3.c (tf, do_test): Likewise.
907 * nptl/tst-stdio1.c (do_test): Likewise.
908 * nptl/tst-stdio2.c (do_test): Likewise.
909
910 * nptl/tst-kill3.c (handler): Use write_message in place of write.
911 * nptl/tst-kill6.c (handler): Likewise.
912 * nptl/tst-tls2.c (CB): Likewise.
913 * nptl/tst-tls3.c (CB): Likewise.
914
915 2016-11-07 Joseph Myers <joseph@codesourcery.com>
916
917 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
918
919 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
920 Steve Ellcey <sellcey@caviumnetworks.com>
921
922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
923 __ASSUME_ST_INO_64_BIT as 0
924 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
925 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
926 over the code where __ASSUME_ST_INO_64_BIT is used.
927 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
928 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
929 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
930
931 2016-11-07 Florian Weimer <fweimer@redhat.com>
932
933 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
934 Document ABI exposure of the __kind offset.
935 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
936 Mention reason for the __kind offset exposure in the ABI.
937 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
938 Likewise.
939 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
940 Likewise.
941 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
942 Likewise.
943 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
944 (struct __pthread_mutex_s): Likewise.
945 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
946 Likewise.
947 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
948 Likewise.
949 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
950 Likewise.
951 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
952 Likewise.
953 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
954 Likewise.
955 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
956 Likewise.
957 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
958 (struct __pthread_mutex_s): Likewise.
959 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
960 (struct __pthread_mutex_s): Likewise.
961 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
962 Likewise.
963
964 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
965
966 * test-skeleton.c: Document do_test usage.
967
968 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
969
970 * iconv/gconv.h (__gconv_info): Define __data element using a
971 zero-length array.
972
973 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
974
975 * math/test-tgmath2.c: Split up test function.
976
977 2016-11-04 Joseph Myers <joseph@codesourcery.com>
978
979 * Rules (tests-expected): New variable, depending on
980 $(run-built-tests).
981 (tests): Pass $(tests-expected) to merge-test-results.sh, not
982 $(tests).
983
984 * Rules [$(run-built-tests) = no] (tests): Do not depend on
985 $(tests-unsupported).
986
987 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
988
989 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
990 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
991
992 2016-11-04 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #20768]
995 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
996 __fegetenv instead of fegetenv.
997
998 [BZ #14139]
999 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1000 (find_files): Obtain platform name from libm-test-ulps-name and
1001 store in %pplatforms.
1002 (canonicalize_platform): Remove.
1003 (print_platforms): Use $pplatforms directly.
1004 (by_platforms): Do not allow for platforms missing from
1005 %pplatforms.
1006 * sysdeps/aarch64/libm-test-ulps-name: New file.
1007 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1008 * sysdeps/arm/libm-test-ulps-name: Likewise.
1009 * sysdeps/generic/libm-test-ulps-name: Likewise.
1010 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1011 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1012 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1013 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1014 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1015 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1016 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1017 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1018 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1019 * sysdeps/nios2/libm-test-ulps-name: Likewise.
1020 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1021 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1022 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1023 * sysdeps/sh/libm-test-ulps-name: Likewise.
1024 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1025 * sysdeps/tile/libm-test-ulps-name: Likewise.
1026 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1027
1028 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1029
1030 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1031 (test-xfail-check-execstack): New variable.
1032
1033 * sysdeps/mips/localplt.data: New file.
1034
1035 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
1036 Steve Ellcey <sellcey@caviumnetworks.com>
1037
1038 * bits/wordsize.h: Add documentation.
1039 * sysdeps/aarch64/bits/wordsize.h : New file
1040 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1041 definitions.
1042 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1043 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1044 with #if instead of #ifdef.
1045 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1046 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1047 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1048 Add or change defines.
1049 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1050 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1051 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1052 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1053 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1054 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1055 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1056 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1057 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1060 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1061 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1062 * sysdeps/x86/bits/wordsize.h: Likewise.
1063
1064 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
1065 Kevin Petit <kevin.petit@arm.com>
1066
1067 * sysdeps/aarch64/memchr.S (__memchr): New file.
1068
1069 2016-11-04 Joseph Myers <joseph@codesourcery.com>
1070
1071 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1072
1073 2016-11-03 Joseph Myers <joseph@codesourcery.com>
1074
1075 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1076 $(linknamespace-symlists-tests).
1077
1078 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
1079
1080 * time/tst-strptime2.c: Ignore -Wformat-length warning.
1081
1082 2016-11-02 Florian Weimer <fweimer@redhat.com>
1083 Carlos O'Donell <carlos@redhat.com>
1084
1085 [Bug #20729]
1086 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1087 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
1088 for -Os related change.
1089
1090 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
1091
1092 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1093
1094 2016-11-01 Joseph Myers <joseph@codesourcery.com>
1095
1096 [BZ #19673]
1097 * manual/math.texi (Exponents and Logarithms): Correct description
1098 of clog10.
1099
1100 2016-10-31 Carlos O'Donell <carlos@redhat.com>
1101
1102 [Bz #20729]
1103 * locale/weight.h: Include libc-internal.h.
1104 * locale/weightwc.h: Likewise.
1105 * nptl/nptl_dbP.h: Likewise.
1106
1107 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
1108
1109 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1110 when it is MACH_PORT_NULL.
1111
1112 2016-10-31 Andreas Schwab <schwab@suse.de>
1113
1114 [BZ #20707]
1115 * posix/glob.c (glob): Initialize pglob before checking for
1116 GLOB_BRACE. Don't call glob recursively if pattern contains no
1117 valid brace expression despite GLOB_BRACE.
1118 * posix/globtest.sh: Test it.
1119
1120 2016-10-28 Carlos O'Donell <carlos@redhat.com>
1121
1122 [BZ #20729]
1123 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1124 Define.
1125 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1126 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1127 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1128 for seq2.back_us and seq1.back_us only for -Os compiles.
1129 * locale/weightwc.h (findix): Likewise.
1130 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1131 DB_GET_FIELD_ADDRESS only for -Os compiles.
1132 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1133 for slen only for -Os compiles.
1134 * string/strcoll_l.c (get_next_seq): Ignore
1135 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1136 for -Os compiles.
1137
1138 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1139 * include/crypt.h: New file.
1140
1141 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1142
1143 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1144 from test-skeleton.c.
1145 (statclass): Replace calls to write with calls to write_message.
1146
1147 2016-10-28 Joseph Myers <joseph@codesourcery.com>
1148
1149 * math/math.h
1150 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1151 New macro.
1152 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1153 Likewise.
1154 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1155 Likewise.
1156 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1157 SNANL.
1158 * math/test-double.h (snan_value_MACRO): New macro.
1159 * math/test-float.h (snan_value_MACRO): Likewise.
1160 * math/test-ldouble.h (snan_value_MACRO): Likewise.
1161 * math/libm-test.inc (issignaling_test_data): Add tests of
1162 snan_value_MACRO.
1163
1164 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1165
1166 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1167 behavior when eliding a lock not held by the current thread.
1168 * sysdeps/powerpc/nptl/elide.h: Likewise.
1169
1170 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1171
1172 [BZ #20728]
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1174 branch to _exit() by a function call.
1175
1176 2016-10-28 Florian Weimer <fweimer@redhat.com>
1177
1178 * malloc/malloc.c: Update chunk layout comments.
1179 (chunk_main_arena): Update comment.
1180
1181 2016-10-28 Florian Weimer <fweimer@redhat.com>
1182
1183 * crypt/sha256.c, crypt/sha256-block.c,
1184 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1185 sha256_process_block to __sha256_process_block.
1186 * crypt/sha512.c, crypt/sha512-block.c,
1187 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1188 sha512_process_block to __sha512_process_block.
1189
1190 2016-10-28 Carlos O'Donell <carlos@redhat.com>
1191
1192 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1193
1194 * math/test-nan-overflow.c: Include stdlib.h for malloc.
1195
1196 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 [BZ #20019]
1199 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1200 definition in unrelocated shared library.
1201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1202
1203 2016-10-28 Florian Weimer <fweimer@redhat.com>
1204
1205 [BZ #20729]
1206 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1207 * sysdeps/unix/sysv/linux/i386/Makefile
1208 (uses-6-syscall-arguments): Define.
1209 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1210 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1211 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1212 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1213 Likewise.
1214 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1215 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1216 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1217 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1218 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1219 (CFLAGS-fallocate64.os): Likewise.
1220 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1221 (CFLAGS-pthread_rwlock_timedrdlock.os)
1222 (CFLAGS-pthread_rwlock_timedwrlock.o)
1223 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1224 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1225 (CFLAGS-sem_timedwait.os): Likewise.
1226
1227 2016-10-28 Florian Weimer <fweimer@redhat.com>
1228
1229 * elf/tst-linkall-static.c: New file.
1230 * elf/Makefile (tests-static): Add tst-linkall-static.
1231 (tst-linkall-static): Link against static libraries.
1232
1233 2016-10-27 Florian Weimer <fweimer@redhat.com>
1234
1235 * malloc/malloc.c (sysmalloc): Initialize previous size field of
1236 mmaped chunks.
1237
1238 2016-10-28 Florian Weimer <fweimer@redhat.com>
1239
1240 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1241 members to mchunk_prev_size, mchunk_size.
1242 (chunk_main_arena): Reverse sense and rename from
1243 chunk_non_main_arena.
1244 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1245 mchunk_size instead of size.
1246 (set_non_main_arena): Define.
1247 (chunksize): Use chunksize_nomask instead of direct member access.
1248 (chunksize_nomask): Define.
1249 (next_chunk): Use chunksize instead of direct member access.
1250 (prev_size, set_prev_size): Define.
1251 (prev_chunk): Use prev_size instead of direct member access.
1252 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1253 (inuse_bit_at_offset, set_inuse_bit_at_offset)
1254 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1255 (mchunk_prev_size, mchunk_size): Poison tokens.
1256 (unlink): Use chunksize_nomask, prev_size accessors.
1257 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1258 (do_check_free_chunk): Use prev_size accessor.
1259 (sysmalloc): Use set_prev_size, set_head accessors.
1260 (munmap_chunk, mremap_chunk): Use prev_size accessor.
1261 (__libc_free): Use chunksize_nomask accessor.
1262 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1263 chunk_main_arena accessors.
1264 (_int_free): Use chunksize_nomask, prev_size accessors.
1265 (malloc_consolidate): Use chunksize, prev_size accessors.
1266 (_int_realloc): Use chunksize_nomask accessor.
1267 (_int_memalign): Use set_prev_size accessor.
1268 (__malloc_info): Use chunksize_nomask accessor.
1269 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1270 accessors.
1271 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1272 (heap_trim): Use chunksize_nomask, prev_size accessors.
1273
1274 2016-10-28 Joseph Myers <joseph@codesourcery.com>
1275
1276 [BZ #19380]
1277 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1278 for inexact results.
1279 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1280 of inexact result where mpfr_subnormalize is the only inexact
1281 step.
1282 * stdlib/tst-strtod-round-data.h: Regenerated.
1283 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1284 Define to 0.
1285 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1286
1287 2016-10-27 David S. Miller <davem@davemloft.net>
1288
1289 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1290
1291 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
1292
1293 * malloc/malloc.c (do_set_mallopt_check): New function.
1294 (do_set_mmap_threshold): Likewise.
1295 (do_set_mmaps_max): Likewise.
1296 (do_set_top_pad): Likewise.
1297 (do_set_perturb_byte): Likewise.
1298 (do_set_trim_threshold): Likewise.
1299 (do_set_arena_max): Likewise.
1300 (do_set_arena_test): Likewise.
1301 (__libc_mallopt): Use them.
1302
1303 2016-10-26 Joseph Myers <joseph@codesourcery.com>
1304
1305 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1306 (canonicalize): New declaration.
1307 * math/Versions (canonicalize): New libm symbol at version
1308 GLIBC_2.25.
1309 (canonicalizef): Likewise.
1310 (canonicalizel): Likewise.
1311 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1312 * math/s_canonicalize_template.c: New file.
1313 * math/libm-test.inc: Update comment on functions tested and
1314 testing of NaN payloads.
1315 (TEST_NAN_PAYLOAD): New macro.
1316 (NO_TEST_INLINE): Update value.
1317 (XFAIL_TEST): Likewise.
1318 (ERRNO_UNCHANGED): Likewise.
1319 (ERRNO_EDOM): Likewise.
1320 (ERRNO_ERANGE): Likewise.
1321 (IGNORE_RESULT): Likewise.
1322 (NON_FINITE): Likewise.
1323 (TEST_SNAN): Likewise.
1324 (NO_TEST_MATHVEC): Likewise.
1325 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1326 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1327 (struct test_Ffp_b1_data): New type.
1328 (RUN_TEST_Ffp_b1): New macro.
1329 (RUN_TEST_LOOP_Ffp_b1): Likewise.
1330 (canonicalize_test_data): New array.
1331 (canonicalize_test): New function.
1332 (main): Call canonicalize_test.
1333 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1334 canonicalizef and canonicalizel.
1335 * manual/libm-err-tab.pl: Update comment on interfaces without
1336 ulps tabulated.
1337 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1338 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1339 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1340 canonicalize.
1341 (CFLAGS-nldbl-canonicalize.c): New variable.
1342 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1343 to ...
1344 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1345 ... here.
1346 (do_test): Also test canonicalizel.
1347 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1348 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1349 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1350 file.
1351 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1352 Use libm_hidden_def.
1353 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1354 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1355 (do_test): Also test canonicalizel.
1356 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1357 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1358 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1359 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1360 libm_hidden_def.
1361 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1362 macro.
1363 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1364 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1365 * sysdeps/nacl/libm.abilist: Update.
1366 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1367 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1369 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1370 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1371 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1372 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1392 Likewise.
1393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1394 Likewise.
1395 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1398
1399 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1400 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1401 getpayload.
1402 (CFLAGS-nldbl-getpayload.c): New variable.
1403
1404 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1405
1406 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1407 integer from the format string.
1408
1409 2016-10-26 Florian Weimer <fweimer@redhat.com>
1410
1411 [BZ #19473]
1412 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1413 declarations.
1414 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1415 weak aliases.
1416 * malloc/hooks.c (__malloc_get_state): Remove definition.
1417 (malloc_get_state): New stub implementation as
1418 compatibility symbol.
1419 (malloc_set_state): Rename from __malloc_set_state. Turn into
1420 compat symbol.
1421 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1422 malloc_set_state.
1423 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1424
1425 2016-10-26 Florian Weimer <fweimer@redhat.com>
1426
1427 * iconvdata/iso646.c (enum variant): Drop illegal_var.
1428 (names): Turn into concatenation of strings.
1429 (gconv_init): Adapt iteration over names.
1430
1431 2016-10-26 Florian Weimer <fweimer@redhat.com>
1432
1433 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1434 make const.
1435 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1436 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1437 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1438 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1439 character in sbconv.
1440 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1441 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1442 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1443
1444 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
1445
1446 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1447
1448 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1449 (M_TRIM_THRESHOLD): Likewise.
1450
1451 * manual/memory.texi (M_ARENA_TEST): Add documentation.
1452 (M_ARENA_MAX): Likewise.
1453 * malloc/malloc.c: Remove obsolete comment.
1454
1455 * manual/memory.texi: Add environment variable alternatives to
1456 setting mallopt parameters.
1457
1458 2016-10-26 Carlos O'Donell <carlos@redhat.com>
1459
1460 * include/atomic.h
1461 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1462 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1463
1464 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1465
1466 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1467 * stdlib/tst-strfrom.h: New file.
1468 * stdlib/tst-strfrom.c: New file.
1469 * stdlib/tst-strfrom-locale.c: New file.
1470
1471 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1472 * stdlib/bug-strtod2.c: Likewise.
1473 * stdlib/tst-strtod-round-skeleton.c: Likewise.
1474 * stdlib/tst-strtod6.c: Likewise.
1475 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1476
1477 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1478
1479 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1480 * manual/arith.texi: Document strfromd, strfromf, strfroml.
1481 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1482 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1483 * stdlib/stdlib.h (strfromd): New declaration.
1484 (strfromf): Likewise.
1485 (strfroml): Likewise.
1486 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
1487 strfrom.
1488 * stdlib/strfromd.c: New file.
1489 * stdlib/strfromf.c: Likewise.
1490 * stdlib/strfroml.c: Likewise.
1491 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1492 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1493 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1494 * sysdeps/arm/nacl/libc.abilist: Update.
1495 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1496 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1497 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1498 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1500 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1501 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1505 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1506 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1507 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1508 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1522 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1523
1524 2016-10-25 Joseph Myers <joseph@codesourcery.com>
1525
1526 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1527 instead of cmpli.
1528 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1529 instead of cmpli.
1530
1531 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
1532
1533 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1534 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1535 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1536 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1537 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1538 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1539
1540 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1541
1542 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1543 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1544 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1545 SYSCALL_LL64_PRW.
1546 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1547 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1548 __ASSUME_PRW_DUMMY_ARG.
1549 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1550 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1551 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1552 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1553 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1554 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1555
1556 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
1557
1558 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1559
1560 2016-10-22 Florian Weimer <fweimer@redhat.com>
1561
1562 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1563 "C++", to override a potential extern "C" directive around the
1564 header file inclusion.
1565
1566 2016-10-21 Joseph Myers <joseph@codesourcery.com>
1567
1568 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1569
1570 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1571
1572 * sysdeps/powerpc/fpu/fenv_private.h:
1573 (_FPU_MASK_ALL): Rename to...
1574 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1575 XE FPSCR bits.
1576
1577 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1578
1579 (_FPU_MASK_ROUNDING): Rename to...
1580 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1581 NI bits.
1582
1583 (_FPU_MASK_EXCEPT_ROUND): Rename to...
1584 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1585 bits and rounding bits.
1586
1587 (__libc_feholdbits_ppc): New inline function to mask, set,
1588 and pontentially clear FSPCR bits, and change MSR[FE] bits.
1589 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1590 (libc_feholdexcept_setround_ppc): Likewise.
1591
1592 (__libc_femergeenv_ppc): New function to dynamically mask both
1593 old and new FP environments and merge.
1594 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1595 (libc_feresetround_ppc): Likewise.
1596 (libc_feupdateenv_test_ppc): Likewise.
1597 (libc_feupdateenv_ppc): Likewise.
1598
1599 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1600 of ISA RN bits, and update macro names.
1601 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1602 effectively the same as the previously mentioned function.
1603
1604 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1605 usage with fe_resetround_ppc.
1606
1607 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1608 to be used.
1609 (libc_feholdexcept_setround_ctxf): Likewise.
1610 (libc_feholdexcept_setround_ctxl): Likewise.
1611
1612 2016-10-21 Florian Weimer <fweimer@redhat.com>
1613
1614 [BZ #20715]
1615 * math/math.h [__cplusplus] (iszero): Define as function template.
1616 * math/Makefile [CXX] (tests): Add test-math-iszero.
1617 (CFLAGS-test-math-iszero.cc): Set.
1618 * math/test-math-iszero.cc: New file.
1619
1620 2016-10-20 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #20660]
1623 * sysdeps/arm/e_sqrt.c: New file.
1624 * sysdeps/arm/e_sqrtf.c: Likewise.
1625
1626 2016-10-19 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #20718]
1629 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1630 not use floating-point comparisons to test sign.
1631 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1632 Likewise.
1633
1634 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1635 (getpayload): New declaration.
1636 * math/Versions (getpayload): New libm symbol at version
1637 GLIBC_2.25.
1638 (getpayloadf): Likewise.
1639 (getpayloadl): Likewise.
1640 * math/Makefile (libm-calls): Add s_getpayloadF.
1641 * math/libm-test.inc: Include <nan-high-order-bit.h>.
1642 (struct test_f_f_data): Add comment.
1643 (RUN_TEST_fp_f): New macro.
1644 (RUN_TEST_LOOP_fp_f): Likewise.
1645 (getpayload_test_data): New array.
1646 (getpayload_test): New function.
1647 (main): Call getpayload_test.
1648 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1649 descriptor.
1650 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1651 getpayloadf and getpayloadl.
1652 * manual/libm-err-tab.pl: Update comment on interfaces without
1653 ulps tabulated.
1654 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1655 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1656 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1660 * sysdeps/nacl/libm.abilist: Update.
1661 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1662 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1663 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1664 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1665 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1666 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1667 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1668 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1669 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1670 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1671 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1672 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1674 Likewise.
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1676 Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1678 Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1680 Likewise.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1682 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1683 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1684 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1687 Likewise.
1688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1691 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1693
1694 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1695
1696 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1697 tst-fallocate{64}.
1698 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1699 on syscall return.
1700
1701 2016-10-17 Carlos O'Donell <carlos@redhat.com>
1702
1703 [BZ #20689]
1704 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1705 usable.
1706
1707 2016-10-17 Joseph Myers <joseph@codesourcery.com>
1708
1709 * sysdeps/generic/nan-high-order-bit.h: New file.
1710 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1711 * sysdeps/mips/nan-high-order-bit.h: Likewise.
1712 * sysdeps/hppa/math_private.h: Remove file.
1713 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1714 not define here.
1715 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1716 <nan-high-order-bit.h>.
1717 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1718 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1719 <nan-high-order-bit.h>.
1720 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1721 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1722 <nan-high-order-bit.h>.
1723 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1724 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1725 <nan-high-order-bit.h>.
1726 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1727 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1728 <nan-high-order-bit.h>.
1729 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1730 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1731 <nan-high-order-bit.h>.
1732 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1733 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1734 <nan-high-order-bit.h>.
1735 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1736 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1737 <nan-high-order-bit.h>.
1738 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1739 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1740 <nan-high-order-bit.h>.
1741 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1742 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1743 <nan-high-order-bit.h>.
1744 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1745 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1746 <nan-high-order-bit.h>.
1747 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1748 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1749 <nan-high-order-bit.h>.
1750 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1751 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1752 <nan-high-order-bit.h>.
1753 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1754 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1755 <nan-high-order-bit.h>.
1756 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1757 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1758 <nan-high-order-bit.h>.
1759 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1760 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1761 <nan-high-order-bit.h>.
1762 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1763 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1764 <nan-high-order-bit.h>.
1765 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1766 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1767 <nan-high-order-bit.h>.
1768 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1769
1770 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1771
1772 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1773
1774 2016-09-22 John David Anglin <dave.anglin@bell.net>
1775
1776 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1777 abort-instr.h.
1778 (EFAULT): Remove conditional define.
1779 (ENOSYS): Likewise.
1780 (atomic_compare_and_exchange_val_acq): Use instruction nullification
1781 instead of conditional branch instructions.
1782
1783 2016-10-15 Joseph Myers <joseph@codesourcery.com>
1784
1785 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1786 (totalordermag): New declaration.
1787 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1788 New macro.
1789 * math/Versions (totalordermag): New libm symbol at version
1790 GLIBC_2.25.
1791 (totalordermagf): Likewise.
1792 (totalordermagl): Likewise.
1793 * math/Makefile (libm-calls): Add s_totalordermagF.
1794 * math/libm-test.inc (totalordermag_test_data): New array.
1795 (totalordermag_test): New function.
1796 (main): Call totalordermag_test.
1797 * math/test-tgmath.c (NCALLS): Increase to 125.
1798 (F(compile_test)): Call totalordermag.
1799 (F(totalordermag)): New function.
1800 * manual/arith.texi (FP Comparison Functions): Document
1801 totalordermag, totalordermagf and totalordermagl.
1802 * manual/libm-err-tab.pl: Update comment on interfaces without
1803 ulps tabulated.
1804 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1805 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1806 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1811 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1812 totalordermag.
1813 (CFLAGS-nldbl-totalordermag.c): New variable.
1814 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1815 (do_test): Also test totalordermagl.
1816 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1817 Likewise.
1818 * sysdeps/nacl/libm.abilist: Update.
1819 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1821 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1822 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1823 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1824 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1825 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1826 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1827 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1828 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1829 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1830 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1832 Likewise.
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1834 Likewise.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1836 Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1838 Likewise.
1839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1841 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1845 Likewise.
1846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1847 Likewise.
1848 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1851
1852 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
1853
1854 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1855 boolean.
1856
1857 2016-10-13 Joseph Myers <joseph@codesourcery.com>
1858
1859 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1860 raising FE_INVALID with feraisexcept in case where part of
1861 argument is infinite, subtract that part of argument from itself.
1862 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1863 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1864 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1865
1866 2016-10-12 Joseph Myers <joseph@codesourcery.com>
1867
1868 * math/libm-test.inc (totalorder_test_data): Add more tests.
1869
1870 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1871
1872 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1873 Undefine weak_alias and add a comment why mips64 require
1874 versioning.
1875
1876 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 [BZ #20647]
1879 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1880 maximum CPUID level is less than 2.
1881
1882 2016-10-12 Joseph Myers <joseph@codesourcery.com>
1883
1884 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1885 (totalorder): New declaration.
1886 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1887 New macro.
1888 * math/Versions (totalorder): New libm symbol at version
1889 GLIBC_2.25.
1890 (totalorderf): Likewise.
1891 (totalorderl): Likewise.
1892 * math/Makefile (libm-calls): Add s_totalorderF.
1893 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1894 string.
1895 * math/libm-test.inc (PAYLOAD_DIG): New macro.
1896 (qnan_value_pl): Likewise.
1897 (snan_value_pl): Likewise.
1898 (qnan_value): Define using qnan_value_pl.
1899 (snan_value): Define using snan_value_pl.
1900 (struct test_ff_i_data): Add comment about which tests use this
1901 structure.
1902 (RUN_TEST_ff_b): New macro.
1903 (RUN_TEST_LOOP_ff_b): Likewise.
1904 (totalorder_test_data): New array.
1905 (totalorder_test): New function.
1906 (main): Call totalorder_test.
1907 * math/test-tgmath.c (NCALLS): Increase to 122.
1908 (F(compile_test)): Call totalorder.
1909 (F(totalorder)): New function.
1910 * manual/arith.texi (FP Comparison Functions): Document
1911 totalorder, totalorderf and totalorderl.
1912 * manual/libm-err-tab.pl: Update comment on interfaces without
1913 ulps tabulated.
1914 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1915 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1916 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1921 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1922 totalorder.
1923 (CFLAGS-nldbl-totalorder.c): New variable.
1924 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1925 file.
1926 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1927 Add test-totalorderl-ldbl-128ibm.
1928 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1929 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1930 test-totalorderl-ldbl-96.
1931 * sysdeps/nacl/libm.abilist: Update.
1932 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1934 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1935 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1936 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1937 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1939 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1947 Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1949 Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1951 Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1954 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1964
1965 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1966
1967 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1968 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1969 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1970 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1971 remove ENOSYS implementation.
1972 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1973 Consolidate all Linux implementations.
1974
1975 2016-10-11 Florian Weimer <fweimer@redhat.com>
1976
1977 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1978 * resolv/herror.c (herror): Cast away const-ness.
1979 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1980 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1981
1982 2016-10-11 Joseph Myers <joseph@codesourcery.com>
1983
1984 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1985 instead of M_NAN + M_NAN.
1986 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1987
1988 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1989
1990 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1991 unused variable 'p'.
1992
1993 2016-10-09 Alan Modra <amodra@gmail.com>
1994 Andreas Schwab <schwab@linux-m68k.org>
1995
1996 [BZ #20554]
1997 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1998 [PIC && !SHARED]: Set up PIC register for PLT call.
1999
2000 2016-10-07 Joseph Myers <joseph@codesourcery.com>
2001
2002 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2003 conditional on value of [__FLT_EVAL_METHOD__].
2004 * math/test-iseqsig-excess-precision.c: New file.
2005 * math/Makefile (tests): Add test-iseqsig-excess-precision.
2006
2007 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2008
2009 * math/s_iseqsig_template.c: Include math-private.h.
2010
2011 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2012 * posix/tst-posix_fadvise.c: New file.
2013 * posix/tst-posix_fadvise64.c: Likewise.
2014 * posix/tst-posix_fadvise-common.c: Likewise.
2015 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2016 (__ASSUME_FADVISE64_64_6ARG): Define.
2017 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2018 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2020 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2021 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2022 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2023 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2024 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2025 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2026 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2027 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2028 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2031 Likewise.
2032 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2033 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2034 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2035 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2036 Alias to __posix_fadvise64_l32.
2037 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2038 Add compat definition to posix_fadvise64.
2039 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2040 Add versioned definition to posix_fadvise64.
2041 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2042 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2043 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2044 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2045 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2046
2047 * io/Makefile (tests): Add tst-posix_fallocate and
2048 tst-posix_fallocate64.
2049 * io/tst-posix_fallocate-common.c: New file.
2050 * io/tst-posix_fallocate.c: Likewise.
2051 * io/tst-posix_fallocate64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2053 file.
2054 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2060 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2061 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2062 SYSCALL_LL to pass both offset and len arguments.
2063 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2064 Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2066 __libc_pwrite64 alias used by posix_fallocate64.
2067
2068 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2069 tst-fallocate64.
2070 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2071 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2072 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2074 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2075 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2076 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2077 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2078 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2079 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2080 macro on offset argument.
2081 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2082 SYSCALL_LL64 on offset argument.
2083
2084 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2085 tst-fallocate64.
2086 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2087 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2088 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2089 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2090 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2091 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2092 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2093 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2094 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2095 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2096 macro on offset argument.
2097 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2098 SYSCALL_LL64 on offset argument.
2099 * test-skeleton.c (FAIL_RET): Add macro.
2100 (FAIL_EXIT): Likewise.
2101 (FAIL_EXIT1): Likewise.
2102 (_FAIL): Likewise.
2103
2104 2016-10-07 Florian Weimer <fweimer@redhat.com>
2105
2106 [BZ #20629]
2107 resolv: Remove RES_USEBSTRING and its implementation.
2108 * resolv/resolv.h (RES_USEBSTRING): Remove.
2109 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2110 (digitvalue, encode_bitstring, decode_bitstring): Remove.
2111 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2112 (labellen): Remove extended label types support.
2113 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2114 * resolv/res_init.c (res_setoptions): Likewise.
2115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2116
2117 2016-10-07 Florian Weimer <fweimer@redhat.com>
2118
2119 resolv: Remove RES_NOIP6DOTINT and its implementation.
2120 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2121 (RES_NOIP6DOTINT): Remove.
2122 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2123 handling.
2124 * resolv/res_debug.c (p_option): Likewise.
2125 * resolv/res_init.c (res_setoptions): Likewise.
2126 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2127
2128 2016-10-07 Florian Weimer <fweimer@redhat.com>
2129
2130 resolv: Deprecate unimplemented flags.
2131 * misc/sys/cdefs.h (__glibc_macro_warning1)
2132 (__glibc_macro_warning): Define.
2133 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2134 (RES_KEEPTSIG): Mark as deprecated.
2135 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2136 RES_NOCHECKNAME, RES_KEEPTSIG.
2137 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2138
2139 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2140
2141 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2142 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2143 Use strong_alias to create symbols for glibc verison 2.19.
2144
2145 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2146
2147 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2148
2149 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2150
2151 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2152
2153 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2154
2155 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2156
2157 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2158
2159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2160 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2161 in header for using it as type for ifunc function because __GI_* symbols
2162 for ppc32 do not target the ifunc symbols.
2163 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2164
2165 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2166
2167 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2168 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2169 libc_ifunc_hidden_def.
2170 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2171 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2172 Redirect ifunced function in header for using it as type of ifunc'ed
2173 function. Redefine libc_hidden_def to use fallback non ifunc'ed
2174 function for __GI_* symbol.
2175 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2176 * include/libc-symbols.h
2177 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2178
2179 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2180
2181 [BZ #20478]
2182 * sysdeps/s390/multiarch/ifunc-resolve.h
2183 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2184 to create ifunc symbols.
2185 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2186 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2187 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2188 for using it as type for ifunc function.
2189 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2190 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2191 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2192 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2193 * sysdeps/s390/multiarch/strcat.c: Likewise.
2194 * sysdeps/s390/multiarch/strchr.c: Likewise.
2195 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2196 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2197 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2198 * sysdeps/s390/multiarch/strlen.c: Likewise.
2199 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2200 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2201 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2202 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2203 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2204 * sysdeps/s390/multiarch/strspn.c: Likewise.
2205 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2206 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2207 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2208 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2209 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2210 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2211 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2212 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2213 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2214 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2215 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2216 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2217
2218 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2219
2220 * include/libc-symbols.h (__ifunc_resolver):
2221 New macro is used by __ifunc* macros.
2222 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2223 depending on HAVE_GCC_IFUNC.
2224 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2225 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2227 Redirect ifunced function in header for using as type for ifunc function.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2247 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2249 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2250 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2251 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2252 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2253 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2254 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2255 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2256 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2257 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2258 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2259 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2260 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2262 Add libc_hidden_def() and use libc_ifunc_hidden() macro
2263 instead of libc_ifunc() macro.
2264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2265 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2266
2267 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2268
2269 * config.h.in (HAVE_GCC_IFUNC): New undef.
2270 * configure.ac: Add check if gcc supports attribute ifunc feature.
2271 * configure: Regenerated.
2272 * manual/install.texi: Add recommendation for gcc with
2273 indirect-function support.
2274 * INSTALL: Regenerated.
2275
2276 2016-10-06 Joseph Myers <joseph@codesourcery.com>
2277
2278 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2279 macro.
2280 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2281 (__iseqsig): New declaration.
2282 * math/s_iseqsig_template.c: New file.
2283 * math/Versions (__iseqsigf): New libm symbol at version
2284 GLIBC_2.25.
2285 (__iseqsig): Likewise.
2286 (__iseqsigl): Likewise.
2287 * math/libm-test.inc (iseqsig_test_data): New array.
2288 (iseqsig_test): New function.
2289 (main): Call iseqsig_test.
2290 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2291 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2292 * manual/libm-err-tab.pl: Update comment on interfaces without
2293 ulps tabulated.
2294 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2295 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2296 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2297 * sysdeps/nacl/libm.abilist: Update.
2298 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2300 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2302 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2304 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2305 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2307 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2311 Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2313 Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2317 Likewise.
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2324 Likewise.
2325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2326 Likewise.
2327 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2328 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2330
2331 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
2332
2333 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2334 do_sincos_2, sloww, sloww1): Update comments.
2335
2336 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2337 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2338
2339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2340 K boolean and rename it.
2341 (__sin): Adjust.
2342 (__cos): Adjust.
2343
2344 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
2345 Siddhesh Poyarekar <siddhesh@sourceware.org>
2346
2347 * manual/nss.texi: Fix typos in the manual.
2348
2349 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
2350
2351 * manual/contrib.texi: Fix typos in the manual.
2352
2353 * manual/maint.texi: Fix typos in the manual.
2354
2355 * manual/install.texi: Fix typos in the manual.
2356 * INSTALL: Regenerated.
2357
2358 * manual/lang.texi: Fix typos in the manual.
2359
2360 * manual/probes.texi: Fix typos in the manual.
2361
2362 * manual/threads.texi: Fix typos in the manual.
2363
2364 * manual/debug.texi: Fix typos in the manual.
2365
2366 * manual/crypt.texi: Fix typos in the manual.
2367
2368 * manual/conf.texi: Fix typos in the manual.
2369
2370 * manual/sysinfo.texi: Fix typos in the manual.
2371
2372 * manual/users.texi: Fix typos in the manual.
2373
2374 * manual/job.texi: Fix typos in the manual.
2375
2376 * manual/process.texi: Fix typos in the manual.
2377
2378 * manual/argp.texi: Fix typos in the manual.
2379 * manual/getopt.texi: Likewise.
2380 * manual/startup.texi: Likewise.
2381
2382 * manual/signal.texi: Fix typos in the manual.
2383
2384 * manual/setjmp.texi: Fix typos in the manual.
2385
2386 * manual/resource.texi: Fix typos in the manual.
2387
2388 * manual/time.texi: Fix typos in the manual.
2389
2390 * manual/arith.texi: Fix typos in the manual.
2391
2392 * manual/math.texi: Fix typos in the manual.
2393
2394 * manual/syslog.texi: Fix typos in the manual.
2395
2396 * manual/terminal.texi: Fix typos in the manual.
2397
2398 * manual/socket.texi: Fix typos in the manual.
2399
2400 * manual/filesys.texi: Fix typos in the manual.
2401
2402 * manual/llio.texi: Fix typos in the manual.
2403
2404 * manual/stdio.text: Fix typos in the manual.
2405
2406 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
2407
2408 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2409 instead of K1.
2410
2411 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2412 SHIFT_QUADRANT and make it bool.
2413 (do_sincos_2): Likewise.
2414 (sloww): Likewise.
2415 (sloww1): Likewise.
2416 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2417 (__cos): Likewise.
2418
2419 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2420
2421 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2422
2423 2016-10-04 Joseph Myers <joseph@codesourcery.com>
2424
2425 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2426 Define to __WORDSIZE, not conditional on [LONG_MAX ==
2427 0x7fffffffL].
2428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2429
2430 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2431
2432 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2433 inline by __inline__.
2434 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2435 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2436 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2438 sigset_t from signal.h.
2439 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2440 which is already required.
2441
2442 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
2443
2444 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2445
2446 2016-10-03 Joseph Myers <joseph@codesourcery.com>
2447
2448 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2449 (struct tcp_repair_window): New type.
2450
2451 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2452
2453 * libio/tst-memstream3.c: Include string.h.
2454
2455 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2456
2457 [BZ #18241]
2458 [BZ #20181]
2459 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2460 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2461 write position is at the end the buffer.
2462 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2463 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2464 (_IO_str_seekoff): Set correct offset from negative displacement and
2465 set EINVAL for invalid ones.
2466 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2467 buffer length.
2468 (_IO_wstr_switch_to_get_mode): New function.
2469 (_IO_wstr_seekoff): Set correct offset from negative displacement and
2470 set EINVAL for invalid ones.
2471 * libio/tst-memstream3.c: New file.
2472 * libio/tst-wmemstream3.c: Likewise.
2473 * manual/examples/memstrm.c: Remove warning when priting size_t.
2474
2475 2016-09-30 Joseph Myers <joseph@codesourcery.com>
2476
2477 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2478 macro to use __builtin_fma.
2479 * sysdeps/x86_64/fpu/dla.h: Remove file.
2480
2481 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2482 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2483 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2484
2485 2016-09-30 Carlos O'Donell <carlos@redhat.com>
2486
2487 [BZ #20292]
2488 * elf/Makefile (routines): Add dl-addr-obj.
2489 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2490 tst-_dl_addr_inside_object.
2491 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2492 [ifeq (yesyes,$(have-fpie)$(build-shared))]
2493 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2494 [ifeq (yesyes,$(have-fpie)$(build-shared))]
2495 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2496 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2497 * elf/dl-open.c: Likewise.
2498 * elf/dl-addr-obj.c: New file.
2499 * elf/tst-_dl_addr_inside_object.c: New file.
2500
2501 2016-09-30 Joseph Myers <joseph@codesourcery.com>
2502
2503 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2504 <bits/iscanonical.h>.
2505 * bits/iscanonical.h: New file.
2506 * math/s_iscanonicall.c: Likewise.
2507 * math/Versions (__iscanonicall): New libm symbol at version
2508 GLIBC_2.25.
2509 * math/libm-test.inc (iscanonical_test_data): New array.
2510 (iscanonical_test): New function.
2511 (main): Call iscanonical_test.
2512 * math/Makefile (headers): Add bits/iscanonical.h.
2513 (type-ldouble-routines): Add s_iscanonicall.
2514 * manual/arith.texi (Floating Point Classes): Document
2515 iscanonical.
2516 * manual/libm-err-tab.pl: Update comment on interfaces without
2517 ulps tabulated.
2518 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2519 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2521 Likewise.
2522 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2523 test-iscanonical-ldbl-128ibm.
2524 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2525 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2528 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2529 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2532 Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2541
2542 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2543
2544 * string/bits/string3.h: Remove C++ style comments.
2545
2546 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
2547
2548 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2549 instead of ternary condition.
2550 (do_sincos_2): Likewise.
2551 (__sin): Likewise.
2552 (__cos): Likewise.
2553 (slow): Likewise.
2554 (sloww): Likewise.
2555 (sloww1): Likewise.
2556 (bsloww): Likewise.
2557 (bsloww1): Likewise.
2558
2559 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2560 instead of ternary condition.
2561 (do_sin_slow): Likewise.
2562 (do_sincos_1): Likewise.
2563 (do_sincos_2): Likewise.
2564 (__cos): Likewise.
2565 (sloww): Likewise.
2566 (sloww1): Likewise.
2567 (sloww2): Likewise.
2568 (bsloww): Likewise.
2569 (bsloww1): Likewise.
2570 (bsloww2): Likewise.
2571
2572 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2573 check from here...
2574 (slow2): ... and here...
2575 (__sin): ... to here.
2576
2577 2016-09-28 Joseph Myers <joseph@codesourcery.com>
2578
2579 * math/math.h
2580 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2581 Cast argument to its own type.
2582 * math/test-iszero-excess-precision.c: New file.
2583 * math/Makefile (tests): Add test-iszero-excess-precision.
2584 (CFLAGS-test-iszero-excess-precision.c): New variable.
2585
2586 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2587
2588 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2589 field, add err field.
2590 (__spawni_child): Report error through err member instead of pipe.
2591 (__spawnix): Likewise.
2592
2593 2016-09-28 Zack Weinberg <zackw@panix.com>
2594
2595 * scripts/check-installed-headers.sh: Generalize treatment of
2596 sys/elf.h to all target architectures.
2597
2598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2599 deleted typedef ucontext_t.
2600
2601 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2602
2603 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2604 (__INTERNAL_SYSCALL1): Likewise.
2605 (__INTERNAL_SYSCALL2): Likewise.
2606 (__INTERNAL_SYSCALL3): Likewise.
2607 (__INTERNAL_SYSCALL4): Likewise.
2608 (__INTERNAL_SYSCALL5): Likewise.
2609 (__INTERNAL_SYSCALL6): Likewise.
2610 (__INTERNAL_SYSCALL7): Likewise.
2611 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2612 (__INTERNAL_SYSCALL_NARGS): Likewise.
2613 (__INTERNAL_SYSCALL_DISP): Likewise.
2614 (INTERNAL_SYSCALL_CALL): Likewise.
2615 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2616 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2617 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2618 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2619 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2620 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2621 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2622 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2623 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2624 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2625 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2626 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2627 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2628
2629 2016-09-23 Joseph Myers <joseph@codesourcery.com>
2630
2631 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2632 macro.
2633 * math/libm-test.inc (iszero_test_data): New array.
2634 (iszero_test): New function.
2635 (main): Call iszero_test.
2636 * manual/arith.texi (Floating Point Classes): Document iszero.
2637 * manual/libm-err-tab.pl: Update comment on interfaces without
2638 ulps tabulated.
2639
2640 2016-09-23 Zack Weinberg <zackw@panix.com>
2641
2642 * scripts/check-installed-headers.sh: New script.
2643 * Rules: In each directory that defines header files to be installed,
2644 run check-installed-headers.sh on them as a special test.
2645 * Makefile: Likewise for the headers installed at top level.
2646
2647 * include/aliases.h, include/alloca.h, include/argz.h
2648 * include/arpa/nameser.h, include/arpa/nameser_compat.h
2649 * include/elf.h, include/envz.h, include/err.h
2650 * include/execinfo.h, include/fpu_control.h, include/getopt.h
2651 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2652 * include/link.h, include/malloc.h, include/mcheck.h
2653 * include/mntent.h, include/netinet/ether.h
2654 * include/nss.h, include/obstack.h, include/printf.h
2655 * include/pty.h, include/resolv.h, include/rpc/auth.h
2656 * include/rpc/auth_des.h, include/rpc/auth_unix.h
2657 * include/rpc/clnt.h, include/rpc/des_crypt.h
2658 * include/rpc/key_prot.h, include/rpc/netdb.h
2659 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2660 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2661 * include/rpc/rpc_msg.h, include/rpc/svc.h
2662 * include/rpc/svc_auth.h, include/rpc/xdr.h
2663 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2664 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2665 * include/rpcsvc/ypupd.h, include/shadow.h
2666 * include/stdio_ext.h, include/sys/epoll.h
2667 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2668 * include/sys/prctl.h, include/sys/profil.h
2669 * include/sys/statfs.h, include/sys/sysctl.h
2670 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2671 * sysdeps/arm/nacl/include/bits/setjmp.h
2672 * sysdeps/mips/include/sys/asm.h
2673 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2674 * sysdeps/unix/sysv/linux/include/sys/timex.h
2675 * sysdeps/x86/fpu/include/bits/fenv.h:
2676 Add #ifndef _ISOMAC guard around internal declarations.
2677 Add multiple-inclusion guard if not already present.
2678
2679 2016-09-23 Zack Weinberg <zackw@panix.com>
2680
2681 * sysdeps/generic/sys/ucontext.h
2682 * sysdeps/arm/sys/ucontext.h
2683 * sysdeps/i386/sys/ucontext.h
2684 * sysdeps/m68k/sys/ucontext.h
2685 * sysdeps/mips/sys/ucontext.h
2686 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2687 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2688 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2689 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2690 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2691 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2692 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2693 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2694 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2695 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2696 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2697 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2698 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2699 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2700 Include both bits/sigcontext.h and bits/sigstack.h.
2701 Fix grammar error in comment, if present.
2702
2703 * bits/sigstack.h
2704 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2705 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2706 * sysdeps/unix/sysv/linux/bits/sigstack.h
2707 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2708 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2709 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2710 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2711 * bits/sigcontext.h
2712 * sysdeps/mach/hurd/i386/bits/sigcontext.h
2713 * sysdeps/unix/sysv/linux/bits/sigcontext.h
2714 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2715 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2716 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
2717 as well as signal.h, if this was not already allowed. Request
2718 definition of size_t if necessary. Minimize semantically-null
2719 differences across files.
2720
2721 2016-09-23 Zack Weinberg <zackw@panix.com>
2722
2723 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2724 Remove all logic conditional on __need macros. Move all the
2725 conditionally defined types to their own headers...
2726 * time/bits/types/clock_t.h: Define clock_t here.
2727 * time/bits/types/clockid_t.h: Define clockid_t here.
2728 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2729 * time/bits/types/struct_timespec.h: Define struct timespec here.
2730 * time/bits/types/struct_timeval.h: Define struct timeval here.
2731 * time/bits/types/struct_tm.h: Define struct tm here.
2732 * time/bits/types/time_t.h: Define time_t here.
2733 * time/bits/types/timer_t.h: Define timer_t here.
2734 * time/Makefile: Install the new headers.
2735
2736 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2737 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2738 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2739 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2740 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2741 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2742 * sysdeps/unix/sysv/linux/bits/resource.h
2743 * sysdeps/unix/sysv/linux/bits/timex.h
2744 * sysdeps/unix/sysv/linux/mips/bits/resource.h
2745 * sysdeps/unix/sysv/linux/net/ppp_defs.h
2746 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2747 * sysdeps/unix/sysv/linux/sys/acct.h
2748 * sysdeps/unix/sysv/linux/sys/timerfd.h
2749 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2750 * time/sys/time.h, time/sys/timeb.h
2751 Use the new bits/types headers.
2752
2753 * include/time.h: Remove __need logic.
2754 * include/bits/time.h
2755 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2756 * include/bits/types/time_t.h, include/bits/types/timer_t.h
2757 * include/bits/types/struct_itimerspec.h
2758 * include/bits/types/struct_timespec.h
2759 * include/bits/types/struct_timeval.h
2760 * include/bits/types/struct_tm.h:
2761 New wrapper headers.
2762
2763 2016-09-23 Zack Weinberg <zackw@panix.com>
2764
2765 * sysdeps/mach/hurd/net/if_ppp.h
2766 * sysdeps/unix/sysv/linux/net/if_ppp.h:
2767 Only define struct ifpppstatsreq and struct ifpppcstatsreq
2768 if __USE_MISC is defined, to ensure struct ifreq is declared.
2769
2770 * inet/netinet/ether.h: Condition all function prototypes
2771 on __USE_MISC, to ensure struct ether_addr is declared.
2772
2773 * socket/bits/types/struct_osockaddr.h: New header.
2774 * include/bits/types/struct_osockaddr.h: New wrapper.
2775 * socket/Makefile: Install the new header.
2776 * socket/sys/socket.h, inet/protocols/talkd.h:
2777 Refer to bits/types/struct_osockaddr.h for the definition of
2778 struct osockaddr.
2779
2780 2016-09-23 Zack Weinberg <zackw@panix.com>
2781
2782 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2783 * inet/protocols/routed.h, inet/protocols/talkd.h
2784 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2785 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2786 * sysdeps/generic/netinet/if_ether.h
2787 * sysdeps/generic/netinet/in_systm.h
2788 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2789 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2790 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2791 * sysdeps/mach/hurd/net/if_arp.h
2792 * sysdeps/mach/hurd/net/if_ppp.h
2793 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2794 * sysdeps/unix/sysv/linux/bits/in.h
2795 * sysdeps/unix/sysv/linux/net/ethernet.h
2796 * sysdeps/unix/sysv/linux/net/if_arp.h
2797 * sysdeps/unix/sysv/linux/net/if_ppp.h
2798 * sysdeps/unix/sysv/linux/net/if_shaper.h
2799 * sysdeps/unix/sysv/linux/net/route.h
2800 * sysdeps/unix/sysv/linux/netinet/if_ether.h
2801 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2802 * sysdeps/unix/sysv/linux/netinet/if_tr.h
2803 * sysdeps/unix/sysv/linux/netipx/ipx.h
2804 * sysdeps/unix/sysv/linux/sys/acct.h
2805 * include/arpa/nameser.h, include/resolv.h:
2806 Change all uses of u_char to unsigned char,
2807 u_short and ushort to unsigned short, u_int and uint to unsigned int,
2808 u_long and ulong to unsigned long, u_int8_t to uint8_t,
2809 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2810 and u_int64_t and u_quad_t to uint64_t.
2811
2812 * mach/sys/reboot.h: Remove two casts of integer literals
2813 to the types they already have.
2814
2815 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2816 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2817 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2818 from referring to 'unsigned char' to 'uint8_t' for consistency with
2819 the macro definition below.
2820
2821 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2822 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2823 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2824 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2825 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2826 * sysdeps/unix/sysv/linux/sys/acct.h
2827 * include/arpa/nameser.h, include/resolv.h:
2828 Fix indentation disrupted by mechanical edits.
2829
2830 * inet/protocols/talkd.h, resolv/arpa/nameser.h
2831 * sysdeps/generic/netinet/in_systm.h
2832 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2833 * sysdeps/gnu/netinet/udp.h
2834 * sysdeps/unix/sysv/linux/net/ethernet.h
2835 * sysdeps/unix/sysv/linux/net/if_arp.h
2836 * sysdeps/unix/sysv/linux/net/if_ppp.h
2837 * sysdeps/unix/sysv/linux/net/if_shaper.h
2838 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2839 * sysdeps/unix/sysv/linux/netinet/if_tr.h
2840 * sysdeps/unix/sysv/linux/netipx/ipx.h
2841 * sysdeps/unix/sysv/linux/sys/acct.h
2842 Include stdint.h for uintNN_t definitions.
2843 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2844
2845 2016-09-23 Zack Weinberg <zackw@panix.com>
2846
2847 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2848 * sysdeps/unix/sysv/linux/netrose/rose.h:
2849 Include sys/socket.h and netax25/ax25.h.
2850
2851 * inet/netinet/icmp6.h, inet/netinet/ip6.h
2852 * resolv/arpa/nameser_compat.h:
2853 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2854
2855 * sysdeps/unix/sysv/linux/sys/quota.h:
2856 Use __caddr_t instead of caddr_t.
2857 * sysdeps/unix/sysv/linux/sys/timerfd.h:
2858 Use __clockid_t instead of clockid_t.
2859
2860 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2861
2862 * argp/argp.h: Check whether _LIBC is defined before expanding it.
2863 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2864 expanding it.
2865
2866 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2867 Define __glibc_c99_flexarr_available to 1 when the compiler
2868 supports C99-compatible flexible array members, 0 otherwise.
2869 * sysdeps/unix/sysv/linux/bits/socket.h
2870 * sysdeps/mach/hurd/bits/socket.h
2871 * bits/socket.h: Use __glibc_c99_flexarr_available in
2872 definitions of struct cmsghdr and CMSG_DATA.
2873
2874 2016-09-23 Florian Weimer <fweimer@redhat.com>
2875
2876 * manual/nss.texi (NSS Modules Interface): Adjust function return
2877 type to enum nss_status. Document errnop argument. Clarify
2878 h_errnop semantics. Fix cross-reference formatting.
2879 (NSS Module Function Internals): Mention that *errnop needs to be
2880 set on failure, but not to zero.
2881
2882 2016-09-23 Florian Weimer <fweimer@redhat.com>
2883
2884 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2885 (get_random_name): New functions.
2886 (check_wrapper_flags_mode): Use linkat to give the new file a name
2887 determined by get_random_name.
2888 (do_test): Add calls to test open64 and openat64.
2889
2890 2016-09-23 Florian Weimer <fweimer@redhat.com>
2891
2892 * test-skeleton.c: Remove #include <stdarg.h>.
2893
2894 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
2895
2896 [BZ #19826]
2897 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2898 initialization of static TLS entries.
2899 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2900 * nptl/allocatestack.c (init_one_static_tls): Likewise.
2901
2902 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2903
2904 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2905 _hurd_malloc_fork_prepare.
2906 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2907 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2908 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2909 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2910 (_hurd_fork_child_hook): Drop malloc_fork_child.
2911 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2912 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2913 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2914 after locking locks (notably hurd_dtable_lock). Call
2915 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2916 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2917 __malloc_fork_unlock_child.
2918 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2919
2920 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
2921
2922 * soft-fp/extendhftf2.c: New.
2923 * soft-fp/fixhfti.c: Likewise.
2924 * soft-fp/fixunshfti.c: Likewise.
2925 * soft-fp/floattihf.c: Likewise.
2926 * soft-fp/floatuntihf.c: Likewise.
2927 * soft-fp/half.h: Likewise.
2928 * soft-fp/trunctfhf2.c: Likewise.
2929
2930 2016-09-21 Joseph Myers <joseph@codesourcery.com>
2931
2932 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2933 macro.
2934 * math/libm-test.inc (issubnormal_test_data): New array.
2935 (issubnormal_test): New function.
2936 * manual/arith.texi (Floating Point Classes): Document
2937 issubnormal.
2938 * manual/libm-err-tab.pl: Update comment on interfaces without
2939 ulps tabulated.
2940
2941 * sysdeps/generic/stdint.h: Define
2942 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2943 <bits/libc-header-start.h> instead of including <features.h>.
2944 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2945 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2946 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2947 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2952 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2961 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2962 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2964 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2966 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2977 * manual/arith.texi (Integers): Document these macros for types
2978 specified by width properties.
2979 * manual/lang.texi (Width of Type): Document these macros for
2980 other standard typedefs.
2981 * stdlib/tst-width-stdint.c: New file.
2982 * stdlib/Makefile (tests): Add tst-width-stdint.
2983
2984 2016-09-21 Florian Weimer <fweimer@redhat.com>
2985
2986 [BZ #20016]
2987 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2988 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2989 Move ...
2990 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2991 ... here, as compatibility symbols in a new file.
2992 * resolv/Makefile (libresolv-routines): Add compat-hooks.
2993 * resolv/res_init.c (__res_vinit): Adjust member names.
2994 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2995 * resolv/resolv.h (res_sendhookact, res_send_qhook)
2996 (res_send_rhook): Remove.
2997 (struct __res_state): Rename qhook, rhook members.
2998
2999 2016-09-21 Florian Weimer <fweimer@redhat.com>
3000
3001 malloc: Use __libc_lock wrappers.
3002 * malloc/arena.c (list_lock, free_list_lock): Define using
3003 __libc_lock_define_initialized.
3004 (arena_lock): Adjust formatting.
3005 * malloc/malloc.c (struct malloc_state): Define mutex using
3006 __libc_lock_define.
3007 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3008 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3009 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3010 (mutex_unlock, mutex_trylock): Remove.
3011 (__pthread_initialize): Remove unused macro.
3012 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3013 (mutex_unlock, mutex_trylock): Remove.
3014
3015 2016-09-21 Florian Weimer <fweimer@redhat.com>
3016
3017 [BZ #20592]
3018 Remove RR type classification macros.
3019 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3020 (ns_t_udp_p, ns_t_xfr_p): Remove.
3021
3022 2016-09-21 Florian Weimer <fweimer@redhat.com>
3023
3024 Remove misleading version information.
3025 * resolv/arpa/nameser.h (__NAMESER): Remove.
3026 * resolv/arpa/nameser_compat.h (__BIND): Remove.
3027
3028 2016-09-21 Florian Weimer <fweimer@redhat.com>
3029
3030 Remove the always-defined BIND_4_COMPAT macro.
3031 * resolv/arpa/nameser.h: Unconditionally include
3032 <arpa/nameser_compat.h>.
3033 (BIND_4_COMPAT): Remove.
3034 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3035
3036 2016-09-21 Florian Weimer <fweimer@redhat.com>
3037
3038 [BZ #20591]
3039 Remove obsolete DNSSEC support.
3040 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3041 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3042 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3043 (ns_verify_tcp, ns_verify_tcp_init): Remove.
3044 (ns_cert_types): Add comment.
3045 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3046 separately.
3047 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3048 (dst_s_dns_key_id): Remove.
3049 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3050 variables.
3051
3052 2016-09-21 Florian Weimer <fweimer@redhat.com>
3053
3054 [BZ #20524]
3055 * manual/string.texi (String/Array Comparison): Clarify the
3056 strverscmp behavior.
3057
3058 2016-09-21 Florian Weimer <fweimer@redhat.com>
3059
3060 * test-skeleton.c (xasprintf): Add function.
3061 * io/tst-open-tmpfile.c: New test.
3062 * io/Makefile (tests): Add it.
3063
3064 2016-09-21 Florian Weimer <fweimer@redhat.com>
3065
3066 Avoid running $(CXX) during build to obtain header file paths.
3067 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3068 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3069 * Makerules (cstdlib, cmath): Remove variables. Use
3070 $(c++-cstdlib-header), $(c++-cmath-header) instead.
3071 * configure: Regenerate.
3072
3073 2016-09-21 Florian Weimer <fweimer@redhat.com>
3074
3075 * Makeconfig (all-object-suffixes): Include .op only if
3076 $(build-profile).
3077
3078 2016-09-21 Florian Weimer <fweimer@redhat.com>
3079
3080 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3081 conditionals. Do not define PATH_MAX.
3082
3083 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3084
3085 * posix/Makefile (tests): Add tst-spawn3.
3086 * posix/tst-spawn3.c: New file.
3087 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3088 if it is already opened for open action.
3089
3090 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3091 all signals when executing the clone vfork child.
3092 (SIGALL_SET): Remove macro.
3093
3094 * nptl/Makefile (tests): Add tst-exec5.
3095 * nptl/tst-exec5.c: New file.
3096 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3097 asynchronous cancellation.
3098
3099 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
3100
3101 * hurd/exc2signal.c: #include <hurd/signal.h>
3102 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3103 'sigcode', 'error' parameters with 'detail' parameter. Fix code
3104 accordingly.
3105 * mach/mach_error.c (mach_error): Fix old-style function definition.
3106 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3107
3108 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3109
3110 * math/Makefile (libm-calls): Remove s_nanF.
3111 (gen-libm-calls): Add s_nanF.
3112
3113 * math/s_nan.c: Refactor into ...
3114 * math/s_nan_template.c: New file.
3115
3116 * math/s_nanf.c: Removed.
3117 * math/s_nanl.c: Removed.
3118 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3119 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3120
3121 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3122 (LDOUBLE_nanl_libm_version): New macro.
3123
3124 * sysdeps/generic/math-type-macros-double.h:
3125 (M_STRTO_NAN): New macro.
3126 * sysdeps/generic/math-type-macros-float.h: Likewise.
3127 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3128
3129 * sysdeps/generic/math-type-macros.h: Document
3130 M_STRTO_NAN.
3131
3132 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3133
3134 * math/s_nanf.c: Remove __nanf undef.
3135 * math/s_nan.c: Remove __nan undef.
3136 * math/s_nanl.c: Remove __nanl undef.
3137
3138 * sysdeps/generic/math_private.h (__nan): Remove macro
3139 override.
3140 (__nanf): Likewise.
3141 (__nanl): Likewise.
3142
3143 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3144
3145 * math/Makefile (gen-all-calls): New variable.
3146 (generated): Replace gen-libm-calls with gen-all-calls.
3147 (gen-libm-templates.stmp): Likewise. Also, ensure
3148 the output directory exists or is created and add
3149 dependency on the Makefile.
3150 (calls): Move s_ldexpF into gen-calls.
3151 (gen-calls): New variable.
3152
3153 * math/s_ldexpf.c: Removed.
3154 * math/s_ldexpl.c: Removed.
3155 * math/s_ldexp.c: Refactored into ...
3156 * math/s_ldexp_template.c: New file.
3157
3158 * sysdeps/generic/math-type-macros-double.h: Remove
3159 redundant fall-through definition of declare_mgen_alias.
3160 (declare_mgen_alias_2): New macro.
3161
3162 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3163 New macro for function aliased to two exported symbols.
3164
3165 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3166 new template file.
3167 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3168
3169 2016-09-20 Florian Weimer <fweimer@redhat.com>
3170
3171 * Makeconfig (all-object-suffixes): Remove .og.
3172 * Makerules (elide-routines.og): Remove.
3173 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3174 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3175 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3176
3177 2016-09-20 Florian Weimer <fweimer@redhat.com>
3178
3179 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3180 .os objects.
3181
3182 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3183
3184 [BZ #20615]
3185 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3186 fpu directory by non-fpu.
3187 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3188 on non-fpu directory from a fpu directory.
3189
3190 2016-09-19 Joseph Myers <joseph@codesourcery.com>
3191
3192 * include/limits.h: Define
3193 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3194 <bits/libc-header-start.h> instead of including <features.h>.
3195 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3196 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3197 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3198 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3199 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3200 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3201 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3202 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3203 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3204 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3205 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3206 * manual/lang.texi (Width of Type): Document these macros.
3207 * stdlib/tst-width.c: New file.
3208 * stdlib/Makefile (tests): Add tst-width.
3209
3210 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3211
3212 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3213 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3214
3215 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3216
3217 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3218 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3219 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3220
3221 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3222
3223 [BZ #18243]
3224 * rt/Makefile (test): Add tst-shm-cancel.
3225 * rt/tst-shm-cancel.c: New file.
3226 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3227
3228 [BZ #18243]
3229 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3230 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3231 definition.
3232 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3233 uncontended case.
3234 * nptl/sem_wait.c (__new_sem_wait): Likewise.
3235 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3236 (tf): Fix check for uncontended case.
3237 (do_test): Likewise.
3238 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3239 (tf): Fix check for uncontended case.
3240 (do_test): Likewise.
3241 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3242 (tf): Fix check for uncontended case.
3243 (do_test): Likewise.
3244 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3245 (tf): Fix check for uncontended case.
3246 (do_test): Likewise.
3247
3248 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3249 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3250
3251 [BZ #15765]
3252 * nptl/Makefile (tests): Add tst-sem16.
3253 * nptl/tst-sem16.c: New file.
3254 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3255
3256 * nptl/sem_open.c (sem_open): Init pad value to 0.
3257 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3258 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3259
3260 2016-09-15 Florian Weimer <fweimer@redhat.com>
3261
3262 [BZ #20611]
3263 * inet/Makefile (routines): Add inet6_scopeid_pton.
3264 (tests): Add tst-inet6_scopeid_pton.
3265 * inet/inet6_scopeid_pton.c: New file.
3266 * inet/net-internal.h: Likewise.
3267 * inet/tst-inet6_scopeid_pton.c: New test.
3268 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3269 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3271
3272 2016-09-14 Florian Weimer <fweimer@redhat.com>
3273
3274 Remove support for compiling wrappers with PTW.
3275 * sysdeps/nptl/Makeconfig: Drop ptw- support.
3276 * nptl/Makefile (pthread-compat-wrappers): Define.
3277 (libpthread-routines): Use pthread-compat-wrappers.
3278 * sysdeps/unix/sysv/linux/alpha/Makefile
3279 (libpthread-routines, libpthread-shared-only-routines): Remove
3280 ptw- prefix.
3281 * sysdeps/s390/nptl/Makefile
3282 (libpthread-routines, libpthread-shared-only-routines): Likewise.
3283 * sysdeps/ia64/nptl/Makefile
3284 (libpthread-routines, libpthread-shared-only-routines): Likewise.
3285 * sysdeps/nacl/Makefile (libpthread-routines): Use
3286 pthread-compat-wrappers to filter the routines list instead of the
3287 ptw- prefix.
3288
3289 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3290
3291 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3292 with L() and remove explicit suffix, convert real literals
3293 which can be equivalentally substituted with integers, and
3294 transform -L(x) to L(-x).
3295
3296 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3301 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3302 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3304 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3344 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3346
3347 2016-09-13 Florian Weimer <fweimer@redhat.com>
3348
3349 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3350
3351 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3352
3353 * malloc/Makefile (tests): Remove individual static test names
3354 and just add all of tests-static.
3355
3356 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3357
3358 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3359
3360 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3361 file.
3362
3363 * sysdeps/sparc/fpu/fegetmode.c: New file.
3364 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3365
3366 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3367 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3368
3369 * sysdeps/s390/fpu/fegetmode.c: New file.
3370 * sysdeps/s390/fpu/fesetmode.c: Likewise.
3371
3372 * sysdeps/powerpc/fpu/fegetmode.c: New file.
3373 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3374 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3375 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3376 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3377 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3378
3379 * sysdeps/mips/fpu/fegetmode.c: New file.
3380 * sysdeps/mips/fpu/fesetmode.c: Likewise.
3381
3382 * sysdeps/m68k/fpu/fegetmode.c: New file.
3383 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3384
3385 * sysdeps/ia64/fpu/fegetmode.c: New file.
3386 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3387
3388 * sysdeps/hppa/fpu/fegetmode.c: New file.
3389 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3390
3391 * sysdeps/arm/fegetmode.c: New file.
3392 * sysdeps/arm/fesetmode.c: Likewise.
3393
3394 * sysdeps/alpha/fpu/fegetmode.c: New file.
3395 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3396
3397 * sysdeps/aarch64/fpu/fegetmode.c: New file.
3398 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3399
3400 * math/fegetmode.c: New file.
3401 * math/fesetmode.c: Likewise.
3402 * sysdeps/i386/fpu/fegetmode.c: Likewise.
3403 * sysdeps/i386/fpu/fesetmode.c: Likewise.
3404 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3405 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3406 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3407 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3408 declaration.
3409 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3410 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3411 typedef.
3412 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3413 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3414 (femode_t): New typedef.
3415 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3416 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3417 (femode_t): New typedef.
3418 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3419 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3420 (femode_t): New typedef.
3421 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3422 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3423 (femode_t): New typedef.
3424 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3425 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3426 (femode_t): New typedef.
3427 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3428 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3429 (femode_t): New typedef.
3430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3431 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3432 (femode_t): New typedef.
3433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3434 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3435 (femode_t): New typedef.
3436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3437 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3438 (femode_t): New typedef.
3439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3440 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3441 (femode_t): New typedef.
3442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3443 declaration.
3444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3445 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3446 (femode_t): New typedef.
3447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3448 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3449 (femode_t): New typedef.
3450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3451 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3452 (femode_t): New typedef.
3453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3454 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3455 (femode_t): New typedef.
3456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3457 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3458 (femode_t): New typedef.
3459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3460 * manual/arith.texi (FE_DFL_MODE): Document macro.
3461 (fegetmode): Document function.
3462 (fesetmode): Likewise.
3463 * math/Versions (fegetmode): New libm symbol at version
3464 GLIBC_2.25.
3465 (fesetmode): Likewise.
3466 * math/Makefile (libm-support): Add fegetmode and fesetmode.
3467 (tests): Add test-femode and test-femode-traps.
3468 * math/test-femode-traps.c: New file.
3469 * math/test-femode.c: Likewise.
3470 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3471 alias for __fe_dfl_env.
3472 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3473 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3474 (__fe_dfl_mode): Likewise.
3475 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3476 version GLIBC_2.25.
3477 * sysdeps/nacl/libm.abilist: Update.
3478 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3482 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3483 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3484 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3485 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3489 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3493 Likewise.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3497 Likewise.
3498 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3499 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3500 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3504 Likewise.
3505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3506 Likewise.
3507 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3510
3511 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 [BZ #20495]
3514 [BZ #20508]
3515 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3516 processors, set Use_dl_runtime_resolve_slow and set
3517 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3518 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3519 New.
3520 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3521 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3522 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3523 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3524 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3525 if Use_dl_runtime_resolve_opt is set. Use
3526 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3527 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3528 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
3529 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3530 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3531 New.
3532 (_dl_runtime_resolve_opt): Likewise.
3533 (_dl_runtime_profile): Define only if _dl_runtime_profile is
3534 defined.
3535
3536 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3537
3538 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3539 __libc_memalign with "+ RELA R_390_GLOB_DAT".
3540
3541 2016-09-06 Florian Weimer <fweimer@redhat.com>
3542
3543 Convert malloc to __libc_lock. Automated part, using this Perl
3544 s/// command:
3545 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3546 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3547 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3548 conversion.
3549
3550 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
3551
3552 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3553 (linknamespace-symlists-tests): Likewise.
3554 (linknamespace-header-tests): Likewise.
3555
3556 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
3557
3558 [BZ #19810]
3559 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3560 * elf/tst-noload.c: New test case.
3561 * elf/Makefile (tests): Add tst-noload.
3562
3563 2016-09-02 Roland McGrath <roland@hack.frob.com>
3564
3565 * sysdeps/nacl/dup.c: Add libc_hidden_def.
3566
3567 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3568 not any more.
3569
3570 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3571
3572 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
3573
3574 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3575 (do_cos_slow): Likewise.
3576 (do_sin): Likewise.
3577 (do_sin_slow): Likewise.
3578 (slow): Likewise.
3579 (slow1): Likewise.
3580 (slow2): Likewise.
3581 (sloww): Likewise.
3582 (sloww1): Likewise.
3583 (sloww2): Likewise.
3584 (bsloww): Likewise.
3585 (bsloww1): Likewise.
3586 (bsloww2): Likewise.
3587 (cslow2): Likewise.
3588
3589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3590
3591 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3592 arguments. Consolidate input partitioning from callers here.
3593 (do_cos_slow): Likewise.
3594 (do_sin): Likewise.
3595 (do_sin_slow): Likewise.
3596 (do_sincos_1): Remove the no longer necessary input partitioning.
3597 (do_sincos_2): Likewise.
3598 (__sin): Likewise.
3599 (__cos): Likewise.
3600 (slow1): Likewise.
3601 (slow2): Likewise.
3602 (sloww1): Likewise.
3603 (sloww2): Likewise.
3604 (bsloww1): Likewise.
3605 (bsloww2): Likewise.
3606 (cslow2): Likewise.
3607
3608 2016-09-02 Florian Weimer <fweimer@redhat.com>
3609
3610 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3611 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
3612 outside of allocated array.
3613
3614 2016-09-02 Florian Weimer <fweimer@redhat.com>
3615
3616 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3617 instead of MB_CUR_MAX to avoid variable-length array.
3618
3619 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3620
3621 * math/Makefile (libm-calls): Remove k_rem_pio2F.
3622 (type-double-routines): Add k_rem_pio2.
3623 (type-float-routines): Add k_rem_pio2f.
3624
3625 * sysdeps/generic/math_private.h:
3626 (__kernel_rem_pio2l): Removed.
3627
3628 * math/k_rem_pio2l.c: Removed.
3629 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3630 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3631 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3632 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3633
3634 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3635
3636 * math/Makefile (gen-libm-calls): Add s_fmin
3637 (libm-calls): Remove above.
3638
3639 * math/s_fmin.c: Refactor into ...
3640 * math/s_fmin_template.c: New file.
3641
3642 * math/s_fminf.c: Removed.
3643 * math/s_fminl.c: Removed.
3644 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3645 (LDOUBLE_fmin_libm_version): New macro.
3646
3647 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3648 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3649
3650 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3651
3652 * math/Makefile: (gen-libm-calls): Add s_fmax.
3653 (libm-calls): Remove above.
3654
3655 * math/s_fmax.c: Refactor into ...
3656 * math/s_fmax_template.c: New file.
3657 * math/s_fmaxf.c: Removed.
3658 * math/s_fmaxl.c: Removed.
3659
3660 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3661 (LDOUBLE_fmaxl_libm_version): New macro.
3662
3663 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3664 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3665
3666 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3667 s_fmin.c to pick the aarch64 version of the file.
3668 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3669 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3670
3671 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3672
3673 * math/Makefile: (gen-libm-calls): Add s_nextdown.
3674 (libm-calls): Remove above.
3675
3676 * math/s_nextdown.c: Refactor into ...
3677 * math/s_nextdown_template.c: New file.
3678 * math/s_nextdownf.c: Removed.
3679 * math/s_nextdownl.c: Removed.
3680
3681 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3682
3683 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3684
3685 * math/Makefile (gen-libm-calls): Add s_fdim.
3686 (libm-calls): Move to above.
3687
3688 * math/s_fdim.c: Renamed and refactored into to ...
3689 * math/s_fdim_template.c: New file.
3690 * math/s_fdiml.c: Removed.
3691 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3692 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3693
3694 * sysdeps/generic/math-type-macros-double.h:
3695 (declare_mgen_alias): Don't declare if already declared.
3696 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3697 Likewise.
3698
3699 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3700 (declare_mgen_alias): Don't declare if already declared.
3701 (M_LIBM_NEED_COMPAT): Likewise.
3702 (declare_mgen_libm_compat): Likewise.
3703 (LDOUBLE_fdiml_libm_version): New macro.
3704
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3706 Include math/s_fdim.c now that ldbl-opt version is not needed.
3707 (declare_mgen_alias): New macro to disable aliasing.
3708
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3710 (declare_mgen_alias): Likewise.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3712 (declare_mgen_alias): Likewise.
3713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3714 (declare_mgen_alias): Likewise.
3715 (M_LIBM_NEED_COMPAT): Likewise.
3716
3717 2016-09-01 Florian Weimer <fweimer@redhat.com>
3718
3719 [BZ #20525]
3720 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3721 Include <linux/quota.h>.
3722 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3723 and btodb.
3724 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3725 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3726 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3727 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3728 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3729 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3730 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3731 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3732 types.
3733 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3734 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3735
3736 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3737
3738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3739 (gammal_positive): Fix spacing.
3740 (__ieee754_gammal_r): Likewise.
3741
3742 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3743
3744 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3745 (_Float128): Define as long double, always.
3746 (L): Apply long double type suffix, always.
3747
3748 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3749 _Float128, excepting comments.
3750
3751 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3817 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3819
3820 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3821 _Float128, and include math_private.h.
3822 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3823
3824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3825 long double semantics.
3826 (_Float128): Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3831
3832 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3833
3834 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3835 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3836 * sysdeps/s390/configure: Regenerated.
3837 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3838 instruction for raising over-/underflow if z196 zarch is supported
3839 by default.
3840 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3841
3842 2016-08-30 Svante Signell <svante.signell@gmail.com>
3843
3844 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3845 it point to a dumb buffer for RPC to fill it.
3846
3847 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
3848
3849 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3850 instead of if/else.
3851 (do_sin_slow): Likewise.
3852 (do_sincos_1): Use fabs instead of if/else.
3853 (do_sincos_2): Likewise.
3854 (__sin): Likewise.
3855 (__cos): Likewise.
3856 (slow2): Likewise.
3857 (sloww): Likewise.
3858 (sloww1): Likewise. Drop argument M.
3859 (sloww2): Use fabs instead of if/else.
3860 (bsloww): Likewise.
3861 (bsloww1): Likewise.
3862 (bsloww2): Likewise.
3863
3864 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3865 fall through comment.
3866 (do_sincos_1): Likewise.
3867
3868 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3869 Consolidate switch cases 0 and 2.
3870
3871 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3872
3873 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3874 (libm-calls): Remove the above.
3875
3876 * math/s_cexp_template.c: Update using type-generic macros.
3877 * math/s_clog10_template.c: Likewise.
3878 * math/s_cpow_template.c: Likewise.
3879 * math/s_clog_template.c: Likewise.
3880 * math/s_cproj_template.c: Likewise.
3881 * math/s_csqrt_template.c: Likewise.
3882
3883 * math/s_cexp.c: Removed.
3884 * math/s_cexpf.c: Removed.
3885 * math/s_cexpl.c: Removed.
3886 * math/s_clog10.c: Removed.
3887 * math/s_clog10f.c: Removed.
3888 * math/s_clog10l.c: Removed.
3889 * math/s_cpow.c: Removed.
3890 * math/s_cpowf.c: Removed.
3891 * math/s_cpowl.c: Removed.
3892 * math/s_clog.c: Removed.
3893 * math/s_clogf.c: Removed.
3894 * math/s_clogl.c: Removed.
3895 * math/s_cproj.c: Removed.
3896 * math/s_cprojf.c: Removed.
3897 * math/s_cprojl.c: Removed.
3898 * math/s_csqrt.c: Removed.
3899 * math/s_csqrtf.c: Removed.
3900 * math/s_csqrtl.c: Removed.
3901
3902 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3903 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3904 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3905 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3906 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3907 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3908
3909 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3910 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3911 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3912 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3913 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3914 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3915 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3916 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3917 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3918 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3919 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3920
3921 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3922 version.
3923
3924 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3925 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3926 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3927 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3928
3929 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3930
3931 * s_cexp_template.c: Copy of s_cexp.c.
3932 * s_clog_template.c: Copy of s_clog.c.
3933 * s_clog10_template.c: Copy of s_clog10.c.
3934 * s_cpow_template.c: Copy of s_cpow.c.
3935 * s_cproj_template.c: Copy of s_cproj.c.
3936 * s_csqrt_template.c: Copy of s_csqrt.c.
3937
3938 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3939
3940 [BZ #20517]
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3942 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3943 exported.
3944
3945 2016-08-29 Joseph Myers <joseph@codesourcery.com>
3946
3947 * math/fetestexceptflag.c: New file.
3948 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
3949 Stefan Liebler.
3950 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3951 (fetestexceptflag): New function declaration.
3952 * manual/arith.texi (fetestexceptflag): Document function.
3953 * math/Versions (fetestexceptflag): New libm symbol at version
3954 GLIBC_2.25.
3955 * math/Makefile (libm-support): Add fetestexceptflag.
3956 (tests): Add test-fetestexceptflag.
3957 * math/test-fetestexceptflag.c: New file.
3958 * sysdeps/nacl/libm.abilist: Update.
3959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3972 Likewise.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3974 Likewise.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3976 Likewise.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3978 Likewise.
3979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3985 Likewise.
3986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3987 Likewise.
3988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3991
3992 2016-08-26 Florian Weimer <fweimer@redhat.com>
3993
3994 [BZ #20432]
3995 Avoid strong references to malloc-internal symbols when linking
3996 statically, to support statically interposed mallocs.
3997 * include/libc-symbols.h (call_function_static_weak): New macro.
3998 * malloc/Makefile (tests): Add tst-interpose-nothread,
3999 tst-interpose-thread, tst-interpose-static-nothread,
4000 tst-interpose-static-thread.
4001 (tests-static): Add tst-interpose-static-nothread,
4002 tst-interpose-static-thread.
4003 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4004 tst-interpose-aux-thread.o.
4005 (test-extras): Add tst-interpose-aux-nothread,
4006 tst-interpose-aux-thread.
4007 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4008 tst-interpose-aux-nothread.o.
4009 (tst-interpose-thread, tst-interpose-static-thread): Link with
4010 tst-interpose-aux-thread.o and libthread.
4011 * malloc/tst-interpose-aux-nothread.c: New file.
4012 * malloc/tst-interpose-aux-thread.c: Likewise.
4013 * malloc/tst-interpose-aux.c: Likewise.
4014 * malloc/tst-interpose-aux.h: Likewise.
4015 * malloc/tst-interpose-nothread.c: Likewise.
4016 * malloc/tst-interpose-skeleton.c: Likewise.
4017 * malloc/tst-interpose-static-nothread.c: Likewise.
4018 * malloc/tst-interpose-static-thread.c: Likewise.
4019 * malloc/tst-interpose-thread.c: Likewise.
4020 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4021 * sysdeps/mach/hurd/fork.c (__fork): Only call
4022 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4023 __malloc_fork_unlock_child if defined.
4024 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4025
4026 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4027
4028 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4029 timespec C99 designated initialization.
4030
4031 2016-08-26 Florian Weimer <fweimer@redhat.com>
4032
4033 [BZ #19946]
4034 Avoid expected SIGALRM signals.
4035 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4036 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4037 (xpthread_create, xpthread_detach, xpthread_join)
4038 (delayed_exit_thread, delayed_exit): New functions.
4039 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4040 (tf): Use xpthread_cond_wait.
4041 (do_test): Likewise. Replace alarm with delayed_exit.
4042 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4043 (do_test): Call delayed_exit. Report failure.
4044 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4045 (do_test): Call delayed_exit.
4046 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4047 (do_test): Call delayed_exit. Use xpthread_join. Report error.
4048 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4049 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
4050 error.
4051 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4052 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
4053 error.
4054 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4055 (do_test): Call delayed_exit.
4056 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4057 (do_test): Call delayed_exit.
4058 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4059 (do_test): Call delayed_exit instead of alarm. Use
4060 xpthread_mutex_lock.
4061 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4062 (do_test): Call delayed_exit instead of alarm. Use
4063 xpthread_mutex_lock.
4064 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4065 (do_test): Call delayed_exit instead of alarm.
4066 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4067 (do_test): Call delayed_exit instead of alarm. Use
4068 xpthread_spin_lock.
4069 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4070 (do_test): Call delayed_exit instead of alarm. Use
4071 xpthread_join.
4072
4073 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4076 adjust CFA when allocating register save area on re-aligned
4077 stack.
4078
4079 2016-08-26 Florian Weimer <fweimer@redhat.com>
4080
4081 * string/tst-cmp.c: New test.
4082 * string/Makefile (tests): Add it.
4083
4084 2016-08-25 Mark Wielaard <mark@klomp.org>
4085
4086 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4087 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
4088 (check_tree_recurse): Use newly defined accessors.
4089 (check_tree): Likewise.
4090 (maybe_split_for_insert): Likewise.
4091 (__tfind): Likewise.
4092 (__tdelete): Likewise.
4093 (trecurse): Likewise.
4094 (tdestroy_recurse): Likewise.
4095 (__tsearch): Likewise. And add asserts for malloc alignment.
4096 (__twalk): Cast root to node in case CHECK_TREE is defined.
4097
4098 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
4099
4100 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4101
4102 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4103
4104 * math/Makefile (libm-gen-calls): Add
4105 catan, catanh, ctan, ctanh.
4106 (libm-calls): Remove the above.
4107
4108 * math/s_catan_template.c: Update using type-generic macros.
4109 * math/s_catanh_template.c: Likewise.
4110 * math/s_ctan_template.c: Likewise.
4111 * math/s_ctanh_template.c: Likewise.
4112
4113 * math/s_catanf.c: Removed.
4114 * math/s_catan.c: Removed.
4115 * math/s_catanl.c: Removed.
4116 * math/s_catanhf.c: Removed.
4117 * math/s_catanh.c: Removed.
4118 * math/s_catanhl.c: Removed.
4119 * math/s_ctanf.c: Removed.
4120 * math/s_ctan.c: Removed.
4121 * math/s_ctanl.c: Removed.
4122 * math/s_ctanhf.c: Removed.
4123 * math/s_ctanh.c: Removed.
4124 * math/s_ctanhl.c: Removed.
4125
4126 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4127 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4128 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4129 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4130 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4131 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4132
4133 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4134 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4135 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4136 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4137
4138 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4139
4140 * s_catan_template.c: Copy of s_catan.c.
4141 * s_catanh_template.c: Copy of s_catanh.c.
4142 * s_ctan_template.c: Copy of s_ctan.c.
4143 * s_ctanh_template.c: Copy of s_ctanh.c.
4144
4145 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4146
4147 * math/Makefile (gen-libm-calls): Move
4148 casin, casinh, csin, csinh here.
4149 (libm-calls): Remove the above.
4150
4151 * math/s_casin_template.c: Update using type-generic macros.
4152 * math/s_casinh_template.c: Likewise.
4153 * math/s_csin_template.c: Likewise.
4154 * math/s_csinh_template.c: Likewise.
4155 * math/k_casinh_template.c: Likewise.
4156
4157 * math/s_casinf.c: Removed.
4158 * math/s_casin.c: Removed.
4159 * math/s_casinl.c: Removed.
4160 * math/s_casinh.c: Removed.
4161 * math/s_casinhf.c: Removed.
4162 * math/s_casinhl.c: Removed.
4163 * math/s_csin.c: Removed.
4164 * math/s_csinf.c: Removed.
4165 * math/s_csinl.c: Removed.
4166 * math/s_csinh.c: Removed.
4167 * math/s_csinhf.c: Removed.
4168 * math/s_csinhl.c: Removed.
4169 * math/k_casinh.c: Removed.
4170 * math/k_casinhf.c: Removed.
4171 * math/k_casinhl.c: Removed.
4172
4173 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4174 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4175 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4176 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4177
4178 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4179 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4180 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4181 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4182 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4183 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4184 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4185 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4186
4187 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4188 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4189 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4190 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4191
4192 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4193 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4194 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4195 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4196
4197 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4198
4199 * s_casin_template.c: Copy of s_casin.c.
4200 * s_casinh_template.c: Copy of s_casinh.c.
4201 * s_csin_template.c: Copy of s_csin.c.
4202 * s_csinh_template.c: Copy of s_csinh.c.
4203 * k_casinh_template.c: Copy of k_casinh.c.
4204
4205 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4208
4209 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4210
4211 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4212 (mul_split) Remove, rename as mul_splitl, remove
4213 redundant float.h include, and include via mul_splitl.h
4214
4215 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4220
4221 * math/mul_splitl.h: New file.
4222
4223 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4224 Move into mul_split.h, and remove redundant float.h include.
4225
4226 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4230
4231 * math/mul_split.h: New file.
4232
4233 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4234
4235 * math/Makefile (libm-gen-calls): Move
4236 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4237 (libm-calls): Remove above.
4238
4239 * math/s_cacos_template.c: Update using type-generic macros.
4240 * math/s_cacosh_template.c: Likewise.
4241 * math/s_ccos_template.c: Likewise.
4242 * math/s_ccosh_template.c: Likwise.
4243
4244 * math/s_cacosf.c: Removed.
4245 * math/s_cacos.c: Removed.
4246 * math/s_cacosl.c: Removed.
4247 * math/s_cacoshf.c: Removed.
4248 * math/s_cacosh.c: Removed.
4249 * math/s_cacoshl.c: Removed.
4250 * math/s_ccosf.c: Removed.
4251 * math/s_ccos.c: Removed.
4252 * math/s_ccosl.c: Removed.
4253 * math/s_ccoshf.c: Removed.
4254 * math/s_ccosh.c: Removed.
4255 * math/s_ccoshl.c: Removed.
4256
4257 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4258 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4259 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4260 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4261 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4262 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4263
4264 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4265 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4266 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4267 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4268
4269 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4270 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4271 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4272 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4273
4274 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4275
4276 * s_cacos_template.c: Copy of s_cacos.c.
4277 * s_cacosh_template.c: Copy of s_cacosh.c.
4278 * s_ccos_template.c: Copy of s_ccos.c.
4279 * s_ccosh_template.c: Copy of s_ccosh.c.
4280
4281 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4282
4283 * stdlib/tst-strtod-round-skeleton.c:
4284 Refactored from tst-strtod-round.c.
4285
4286 (L_): New macro to apply literal modifier.
4287 (FNPFX): New macro to select str or wcs prefix.
4288 (CHAR): New macro to choose wchar_t or char.
4289 (STRM): New macro to choose printf for tested character type.
4290
4291 (STRTO): New macro to choose appropriate string -> real function.
4292 (FNPFXS): Stringitized version of FNPFX.
4293 (STR): Support for above macro.
4294 (STRX): Likewise.
4295
4296 (TEST): Update with above macros.
4297 (test): Likewise.
4298 (GEN_ONE_TEST): Likewise.
4299 (test_in_one_mode): Likewise.
4300
4301 * stdlib/tst-strtod-round.c: New file.
4302 * wcsmbs/tst-wcstod-round.c: New file.
4303
4304 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4305 (tst-wcstod-round): Add libm depencency for fesetround.
4306
4307 2016-08-19 Zack Weinberg <zackw@panix.com>
4308
4309 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4310
4311 2016-08-18 Torvald Riegel <triegel@redhat.com>
4312
4313 [BZ #20477]
4314 * resolv/res_hconf.c (do_init): Use atomic access.
4315 * resolv/res_hconf.h: Add comments.
4316 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4317 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4319
4320 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
4321
4322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4323 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4325 Likewise.
4326
4327 2016-08-18 Florian Weimer <fweimer@redhat.com>
4328
4329 [BZ #16907]
4330 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4331 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4332 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4333 (__attribute__): Remove definition.
4334
4335 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4336
4337 * sysdeps/ieee754/ldbl-128/e_asinl.c:
4338 Remove unused sqrtl declaration.
4339
4340 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4341
4342 * math/Makefile: (gen-libm-templates.stmp): New rule.
4343 (libm-calls): Move carg conj cimag and cabs into ...
4344 (gen-libm-calls): New variable.
4345 (generated): Inform Make objects from gen-libm-calls
4346 may be generated.
4347
4348 * sysdeps/generic/math-type-macros.h: New file.
4349 * sysdeps/generic/math-type-macros-float.h: Likewise.
4350 * sysdeps/generic/math-type-macros-double.h: Likewise.
4351 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4352 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4353 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4354
4355 * math/cabs.c: Refactor into
4356 * math/cabs_template.c: new file.
4357 * math/cabsf.c: Removed.
4358 * math/cabsl.c: Removed.
4359 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4360 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4361
4362 * math/carg.c: Refactor into
4363 * math/carg_template.c: new file.
4364 * math/cargf.c: Removed.
4365 * math/cargl.c: Removed.
4366 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4367 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4368
4369 * math/conj.c: Refactor into
4370 * math/conj_template.c: new file.
4371 * math/conjf.c: Removed.
4372 * math/conjl.c: Removed.
4373 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4374 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4375
4376 * math/cimag.c: Refactor into
4377 * math/cimag_template.c: new file.
4378 * math/cimagf.c: Removed.
4379 * math/cimagl.c: Removed.
4380 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4381 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4382
4383 * math/cimag.c: Refactor into
4384 * math/cimag_template.c: new file.
4385 * math/cimagf.c: Removed.
4386 * math/cimagl.c: Removed.
4387 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4388 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4389
4390 2016-08-17 Florian Weimer <fweimer@redhat.com>
4391
4392 Reduce time to expected nptl/tst-once5 failure.
4393 * nptl/tst-once5.cc (TIMEOUT): Define.
4394
4395 2016-08-17 Florian Weimer <fweimer@redhat.com>
4396
4397 [BZ #20452]
4398 Avoid additional copies of objects in libc.a in static libraries.
4399 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4400 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4401 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4402 rt-sysdep.
4403 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4404 Add nptl-sysdep.
4405 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4406 Add ptw-sysdep.
4407 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4408 rt-sysdep.
4409 * sysdeps/unix/sysv/linux/alpha/Makefile
4410 (libpthread-shared-only-routines): Add ptw-sysdep,
4411 ptw-sigprocmask, ptw-rt_sigaction.
4412 * sysdeps/unix/sysv/linux/ia64/Makefile
4413 (librt-shared-only-routines): Add rt-sysdep.
4414 * sysdeps/unix/sysv/linux/i386/Makefile
4415 (libpthread-shared-only-routines): Add libc-do-syscall.
4416 * sysdeps/unix/sysv/linux/microblaze/Makefile
4417 (libpthread-shared-only-routines): Add sysdep.
4418 * sysdeps/unix/sysv/linux/powerpc/Makefile
4419 (librt-shared-only-routines): Add rt-sysdep.
4420 (libpthread-shared-only-routines): Add sysdep.
4421 * sysdeps/unix/sysv/linux/s390/Makefile
4422 (librt-shared-only-routines): Add rt-sysdep.
4423 * sysdeps/unix/sysv/linux/sparc/Makefile
4424 (librt-shared-only-routines): Add rt-sysdep.
4425 (libpthread-shared-only-routines): Add sysdep.
4426 * sysdeps/unix/sysv/linux/tile/Makefile
4427 (libpthread-shared-only-routines): Likewise.
4428
4429 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4430
4431 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4432 Mask implicit bit out of unpacked value.
4433 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4435 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4436
4437 * sysdeps/sparc/fpu/fesetexcept.c: New file.
4438
4439 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4440
4441 * sysdeps/s390/fpu/fesetexcept.c: New file.
4442
4443 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4444 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4445 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4446
4447 * sysdeps/mips/fpu/fesetexcept.c: New file.
4448
4449 * sysdeps/m68k/fpu/fesetexcept.c: New file.
4450
4451 * sysdeps/ia64/fpu/fesetexcept.c: New file.
4452
4453 * sysdeps/hppa/fpu/fesetexcept.c: New file.
4454
4455 * sysdeps/arm/fesetexcept.c: New file.
4456
4457 * sysdeps/alpha/fpu/fesetexcept.c: New file.
4458
4459 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4460
4461 * math/fesetexcept.c: New file.
4462 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4463 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4464 * math/fenv.h: Define
4465 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4466 <bits/libc-header-start.h> instead of including <features.h>.
4467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4468 declaration.
4469 * manual/arith.texi (fesetexcept): Document function.
4470 * math/Versions (fesetexcept): New libm symbol at version
4471 GLIBC_2.25.
4472 * math/Makefile (libm-support): Add fesetexcept.
4473 (tests): Add test-fesetexcept and test-fesetexcept-traps.
4474 * math/test-fesetexcept.c: New file.
4475 * math/test-fesetexcept-traps.c: Likewise.
4476 * sysdeps/nacl/libm.abilist: Update.
4477 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4479 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4480 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4481 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4482 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4483 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4484 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4485 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4486 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4487 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4488 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4490 Likewise.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4492 Likewise.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4494 Likewise.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4496 Likewise.
4497 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4503 Likewise.
4504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4505 Likewise.
4506 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4507 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4508 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4509
4510 2016-08-16 Florian Weimer <fweimer@redhat.com>
4511
4512 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4513 New.
4514 (do_test): Apply default_stack_size_in_mb if not set.
4515 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4516
4517 2016-08-15 Andreas Schwab <schwab@suse.de>
4518
4519 [BZ #20435]
4520 CVE-2016-6323
4521 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4522 as .cantunwind.
4523
4524 2016-08-12 Joseph Myers <joseph@codesourcery.com>
4525
4526 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4527 comment from fraiseexcpt.c.
4528
4529 * math/test-fexcept.c (feraiseexcept_exact): New function.
4530 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4531 (test_except): Likewise.
4532
4533 2016-08-10 Joseph Myers <joseph@codesourcery.com>
4534
4535 [BZ #20455]
4536 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4537 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4538 to be restored.
4539
4540 * math/test-fexcept-traps.c: New file.
4541 * math/test-fexcept.c: Likewise.
4542 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4543 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4544 macro.
4545 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4546 (EXCEPTION_SET_FORCES_TRAP): Likewise.
4547
4548 2016-08-09 Torvald Riegel <triegel@redhat.com>
4549
4550 * include/atomic.h (atomic_fetch_and_relaxed,
4551 atomic_fetch_and_release, atomic_fetch_or_release,
4552 atomic_fetch_xor_release): New.
4553
4554 2016-08-06 Christian Seiler <christian@iwakd.de>
4555
4556 [BZ #20444]
4557 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4558 MACH_PORT_NULL.
4559
4560 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
4561
4562 * math/s_fdim.c: Avoid alias renamed.
4563 * math/s_fdimf.c: Likewise.
4564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4565 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4566 Add s_fdimf-vis3, s_fdim-vis3.
4567 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4568 (CFLAGS-s_fdim-vis3.c): Likewise.
4569 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4570 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4571
4572 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
4573
4574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4575 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4576 Remove s_fdimf-vis3, s_fdim-vis3.
4577 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4578 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4585 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4586 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4587
4588 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
4589
4590 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4591 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4592 -Wa,-Av9a -mvis.
4593
4594 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4595
4596 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4597 LIT() to individual constants in simple expressions
4598 after splitting on spaces.
4599 (_apply_lit): Rename replaced version, and use it to
4600 apply to what appears to be a token.
4601
4602 * math/libm-test.inc: Fix many, many issues with
4603 spacing.
4604
4605 2016-08-05 Joseph Myers <joseph@codesourcery.com>
4606
4607 * math/math.h: Move comment about <bits/mathdef.h> definitions
4608 above inclusion of <bits/mathdef.h>. Do not mention
4609 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4610
4611 2016-08-05 Torvald Riegel <triegel@redhat.com>
4612
4613 * include/atomic.h (atomic_exchange_relaxed): New.
4614
4615 2016-08-04 Joseph Myers <joseph@codesourcery.com>
4616
4617 * math/e_scalb.c: Do not include <fenv.h>.
4618 (invalid_fn): Do calculation resulting in NaN instead of raising
4619 FE_INVALID and returning a NaN explicitly.
4620 * math/e_scalbf.c: Do not include <fenv.h>.
4621 (invalid_fn): Do calculation resulting in NaN instead of raising
4622 FE_INVALID and returning a NaN explicitly.
4623 * math/e_scalbl.c: Do not include <fenv.h>.
4624 (invalid_fn): Do calculation resulting in NaN instead of raising
4625 FE_INVALID and returning a NaN explicitly.
4626
4627 2016-08-04 Carlos O'Donell <carlos@redhat.com>
4628
4629 * po/de.po: Updated from Translation Project.
4630 * po/fi.po: Likewise.
4631 * po/sv.po: Likewise.
4632
4633 2016-08-04 Florian Weimer <fweimer@redhat.com>
4634
4635 [BZ #20452]
4636 Use sysdep.o from libc.a in static libraries.
4637 * sysdeps/unix/sysv/linux/i386/Makefile
4638 (libpthread-shared-only-routines): Add sysdep.
4639 (librt-shared-only-routines): Likewise.
4640
4641 2016-08-03 Joseph Myers <joseph@codesourcery.com>
4642
4643 * math/tgmath.h (nextdown): Define if
4644 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4645 (nextup): Likewise.
4646
4647 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4648 macro.
4649 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4650 Document.
4651 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4652 Document macro.
4653 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4654 (exp10f): Likewise.
4655 (exp10l): Likewise.
4656 * math/bits/mathcalls.h (exp10): Declare if
4657 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4658
4659 * manual/arith.texi (nextup): Fix typo in last change.
4660
4661 2016-08-03 Zack Weinberg <zackw@panix.com>
4662
4663 [BZ #19239]
4664 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4665 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4666 define major, minor, and makedev to issue deprecation warnings on use.
4667 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4668 previously-activated deprecation warnings for these macros and prevent
4669 subsequent inclusions of this header from having any effect.
4670 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4671 including <sys/sysmacros.h>, and undefine it again afterward.
4672
4673 2016-08-03 Zack Weinberg <zackw@panix.com>
4674
4675 * sysdeps/generic/sys/sysmacros.h: Delete file.
4676 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4677 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4678 * bits/sysmacros.h: ... here; this encoding is now the generic
4679 encoding. Now defines only the following macros:
4680 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4681 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4682 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4683
4684 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4685 bits/sysmacros.h and the above new macros to generate the
4686 public implementations of major, minor, and makedev.
4687 * misc/tst-makedev.c: New test.
4688 * include/sys/sysmacros.h: New wrapper.
4689
4690 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4691 (routines): Add makedev.
4692 (tests): Add tst-makedev.
4693 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4694 gnu_dev_makedev.
4695 * posix/Makefile (headers): Remove sys/sysmacros.h.
4696 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4697
4698 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4699 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4701 * sysdeps/unix/sysv/linux/alpha/libc.abilist
4702 * sysdeps/unix/sysv/linux/arm/libc.abilist
4703 * sysdeps/unix/sysv/linux/hppa/libc.abilist
4704 * sysdeps/unix/sysv/linux/i386/libc.abilist
4705 * sysdeps/unix/sysv/linux/ia64/libc.abilist
4706 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4707 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4708 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4709 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4710 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4711 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4712 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4713 * sysdeps/unix/sysv/linux/nios2/libc.abilist
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4720 * sysdeps/unix/sysv/linux/sh/libc.abilist
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4725 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4726 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4727 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4728 Add GLIBC_2.25.
4729
4730 * include/features.h (__glibc_clang_prereq): New macro.
4731 * misc/sys/cdefs.h (__glibc_clang_has_extension)
4732 (__attribute_deprecated_msg__): New macros.
4733
4734 2016-08-03 Joseph Myers <joseph@codesourcery.com>
4735
4736 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4737 macro.
4738 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4739 * manual/arith.texi (issignaling): Document as ISO from TS
4740 18661-1:2014.
4741 (nextup): Likewise.
4742 (nextupf): Likewise.
4743 (nextupl): Likewise.
4744 (nextdown): Likewise.
4745 (nextdownf): Likewise.
4746 (nextdownl): Likewise.
4747 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4748 macro.
4749 * math/math.h: Define
4750 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4751 <bits/libc-header-start.h> instead of including <features.h>.
4752 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4753 [__USE_GNU].
4754 * math/bits/mathcalls.h (nextdown): Declare if
4755 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4756 (nextup): Likewise.
4757 (__issignaling): Likewise.
4758
4759 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4760
4761 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4762 check, and remove __glibc_likely hint
4763 from FP_INFINITE check.
4764 * s_csinhf.c (__csinhf): Likewise.
4765
4766 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4767 hint from FP_INFINITE check.
4768 * s_csinhl.c (__csinhl): Likewise.
4769
4770 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4771
4772 * math/Makefile (libm-calls): Insert F placeholder into
4773 object names. Move w_lgamma_compat* routines into
4774 (libm-compat-calls): New variable.
4775 (libm-compat-calls-ldouble-yes): New variable.
4776 (calls): Insert F placeholder.
4777 (generated): Redefine using new type-foreach macro call.
4778 (routines): Likewise.
4779
4780 (types): New variable to hold a list of symbolic names
4781 for each type supported by the target machine.
4782 (libm-routines): Redefine using new types variable.
4783 (type-foreach): macro to replace fooF with the
4784 appropriately suffixed foo for each types.
4785
4786 (type-ldouble-suffix): New variable.
4787 (type-ldouble-routines): Likewise.
4788 (type-ldouble-yes): Likewise.
4789 (type-double-suffix): Likewise.
4790 (type-double-routines): Likewise.
4791 (type-float-suffix): Likewise.
4792 (type-float-routines): Likewise.
4793
4794 (dbl-only-routines): Remove.
4795 (long-c-yes): Likewise.
4796 (long-m-routines): Likewise.
4797 (long-m-support): Likewise.
4798 (long-m-yes): Likewise.
4799 (test-longdouble-yes): Likewise.
4800
4801 (test-float.o): Simplify by increasing the scope of the
4802 recipe which adds libm-test.stmp to the vector types.
4803 (test-ifloat.o): Likewise.
4804 (test-float-finite.o): Likewise.
4805 (test-double.o): Likewise
4806 (test-idouble.o): Likewise.
4807 (test-double-finite.o): Likewise.
4808 (test-ldouble.o): Likewise
4809 (test-ildoubl.o): Likewise.
4810 (test-ldouble-finite.o): Likewise.
4811
4812 (libm-tests): Redefine type tests using foreach and the
4813 list of types in types.
4814
4815 (CPPFLAGS-test-ildoubl.c): Rename to
4816 (CPPFLAGS-test-ildouble.c): New variable
4817
4818 * math/test-ildoubl.c: Rename to
4819 * math/test-ildouble.c: New file.
4820
4821 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4822
4823 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4824 Use fabsl instead of fabs.
4825 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4826 Likewise.
4827 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4828 Add long double suffix to constant to ensure proper
4829 promotion to long double.
4830
4831 2016-08-03 Tom Tromey <tom@tromey.com>
4832
4833 [BZ #20311]
4834 * nptl_db/Makefile (headers): Add proc_service.h.
4835 * nptl_db/proc_service.h: Add include guard. Use
4836 __BEGIN/__END_DECLS.
4837 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4838 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4839 arguments.
4840
4841
4842 2016-08-03 Florian Weimer <fweimer@redhat.com>
4843
4844 [BZ #17730]
4845 Avoid using memalign for TCB allocations.
4846 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4847 (_dl_allocate_tls_storage): Use malloc and manual alignment.
4848 Avoid alignment gap in the TLS_DTV_AT_TP case.
4849 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4850 determine the pointer to free.
4851 * nptl/tst-tls3-malloc.c: New test.
4852 * nptl/Makefile (tests): Add it.
4853 (tst-tls3-malloc): Link with libdl, libpthread.
4854 (LDFLAGS-tst-tls3-malloc): Set.
4855 (tst-tls3-malloc.out): Depend on DSO used in test.
4856
4857 2016-08-03 Florian Weimer <fweimer@redhat.com>
4858
4859 [BZ #17730]
4860 Avoid using memalign for TLS allocations.
4861 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
4862 is_static member with to_free member.
4863 (union dtv): Use struct dtv_pointer.
4864 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4865 dtv_pointer instead of is_static.
4866 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4867 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4868 instead of val.
4869 (allocate_dtv_entry): New function.
4870 (allocate_and_init): Return struct dtv_pointer. Call
4871 allocate_dtv_entry instead of __libc_memalign.
4872 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4873 instead of val.
4874 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4875 instead of is_static. Adjust call to allocate_and_init.
4876 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4877 struct dtv_pointer instead of val.
4878
4879 2016-08-03 Florian Weimer <fweimer@redhat.com>
4880
4881 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4882 (MALLOC_ALIGN_MASK): Move ...
4883 * malloc/malloc-internal.h: ... to here.
4884 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4885
4886 2016-08-03 Joseph Myers <joseph@codesourcery.com>
4887
4888 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4889 (UDP_ENCAP_GTP1U): Likewise.
4890
4891 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4892 (PF_MAX): Update value.
4893 (AF_QIPCRTR): New macro.
4894
4895 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
4896
4897 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4898 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4899 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4901 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4902 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4903 s_truncf-vis3, s_trunc-vis3.
4904 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4905 (CFLAGS-s_ceil-vis3.c): Likewise.
4906 (CFLAGS-s_floorf-vis3.c): Likewise.
4907 (CFLAGS-s_floor-vis3.c): Likewise.
4908 (CFLAGS-s_truncf-vis3.c): Likewise.
4909 (CFLAGS-s_trunc-vis3.c): Likewise.
4910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4918 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4919 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4922
4923 2016-08-02 David S. Miller <davem@davemloft.net>
4924
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4926 (__nearbyint_vis3): Don't check for sNaN before float register is
4927 loaded with the incoming argument.
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4929 (__nearbyintf_vis3): Likewise.
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4931 Likewise.
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4933 Likewise.
4934
4935 * string/test-strncmp.c (do_test_limit): Make sure the test data
4936 stream is aligned as required for the type "CHAR".
4937 (do_test): Likewise.
4938
4939 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
4940
4941 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4942 by beq instructions jumping to the end of the function.
4943 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4944 clobber list. Use "i" constraint instead of "X".
4945 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4946 of "X".
4947
4948 2016-08-02 Joseph Myers <joseph@codesourcery.com>
4949
4950 * bits/libc-header-start.h: New file.
4951 * Makefile (headers): Add bits/libc-header-start.h.
4952 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4953 (__GLIBC_USE): New macro.
4954 * libio/stdio.h: Define
4955 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4956 <bits/libc-header-start.h> instead of including <features.h>.
4957 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4958 (open_memstream): Likewise.
4959 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4960 (__asprintf): Likewise.
4961 (asprintf): Likewise.
4962 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4963 (getdelim): Likewise.
4964 (getline): Likewise.
4965 * string/string.h: Define
4966 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4967 <bits/libc-header-start.h> instead of including <features.h>.
4968 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4969 (strndup): Likewise.
4970 * wcsmbs/wchar.h: Define
4971 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4972 <bits/libc-header-start.h> instead of including <features.h>.
4973 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4974 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4975
4976 2016-08-02 Florian Weimer <fweimer@redhat.com>
4977
4978 Support linking against compatibility symbols, for use in tests.
4979 * include/libc-symbols.h (symbol_version_reference): New macro.
4980 (symbol_version): Use it.
4981 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4982 (compat_symbol): Use compat_symbol_reference.
4983 (compat_symbol_1, compat_symbol_2): Remove.
4984 (compat_symbol_reference, compat_symbol_reference_1)
4985 (compat_symbol_reference_2): New macro. Use
4986 symbol_version_reference.
4987
4988 2016-08-02 Florian Weimer <fweimer@redhat.com>
4989
4990 [BZ #19469]
4991 * malloc/Makefile (CPPFLAGS): Compile tests with
4992 -DTEST_NO_MALLOPT.
4993 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4994
4995 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
4996
4997 [BZ #20033]
4998 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4999 finite version.
5000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5002 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5003 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5004 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5006 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5007 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5008 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5009 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5010 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5011 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5012 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5013 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5014 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5015 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5017 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5018 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5019 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5020 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5021 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5022 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5023 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5024 in zero power.
5025
5026 2016-08-02 Florian Weimer <fweimer@redhat.com>
5027
5028 [BZ #20370]
5029 * malloc/arena.c (get_free_list): Update comment. Assert that
5030 arenas on the free list have no attached threads.
5031 (remove_from_free_list): New function.
5032 (reused_arena): Call it.
5033
5034 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
5035
5036 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5037 when it is a NaN.
5038 [_IEEE_FP_INEXACT] Remove.
5039 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5040 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5041 when it is a NaN.
5042 [_IEEE_FP_INEXACT] Remove.
5043 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5044 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5045 when it is a NaN.
5046 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5047 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5048 when its absolute value is greater than 0x1.0p52.
5049 [_IEEE_FP_INEXACT] Remove.
5050 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5051 when its absolute value is greater than 0x1.0p23.
5052 [_IEEE_FP_INEXACT] Remove.
5053
5054 2016-08-01 Carlos O'Donell <carlos@redhat.com>
5055
5056 * version.h (RELEASE): Set to "development"
5057 (VERSION): Set to 2.24.90.
5058 * NEWS: Add 2.25 section.
5059
5060 * version.h (RELEASE): Set to "stable"
5061 (VERSION): Set to 2.24.
5062 * include/features.h (__GLIBC_MINOR__): Set to 24.
5063
5064 * NEWS: Add 2.24 fixed bugs.
5065 * po/libc.pot: Regenerate.
5066
5067 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
5068
5069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5070 [$(subdir) = math] (libm-sysdep_routines): Remove.
5071 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5072 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5073 s_truncf-vis3, s_trunc-vis3.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5076 file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5110 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5111 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5112 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5113 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5116 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5117 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5118 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5119 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5120
5121 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
5122
5123 [BZ #20384]
5124 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5125 test-double-libmvec-sincos-avx-main.o,
5126 test-double-libmvec-sincos-avx2-main.o,
5127 test-double-libmvec-sincos-main.o,
5128 test-float-libmvec-sincosf-avx-main.o,
5129 test-float-libmvec-sincosf-avx2-main.o and
5130 test-float-libmvec-sincosf-main.o.
5131 test-float-libmvec-sincosf-avx512-main.o.
5132 ($(objpfx)test-double-libmvec-sincos): Also link with
5133 $(objpfx)test-double-libmvec-sincos-main.o.
5134 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5135 $(objpfx)test-double-libmvec-sincos-avx-main.o.
5136 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5137 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5138 ($(objpfx)test-float-libmvec-sincosf): Also link with
5139 $(objpfx)test-float-libmvec-sincosf-main.o.
5140 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5141 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5142 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5143 test-double-libmvec-sincos-avx512-main.o and
5144 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5145 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5146 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5147 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5148 (CFLAGS-test-double-libmvec-sincos.c): Removed.
5149 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5150 (CFLAGS-test-double-libmvec-sincos-main.c): New.
5151 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5152 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5153 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5154 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5155 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5156 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5157 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5158 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5159 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5160 -DREQUIRE_AVX2.
5161 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5162 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5163 -DREQUIRE_AVX512F.
5164 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5165 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5166 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5167 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5168 file.
5169 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5170 Likewise.
5171 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5172 Likewise.
5173 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5174 Likewise.
5175 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5176 Likewise.
5177 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5178 Likewise.
5179 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5180 Likewise.
5181 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5182 Likewise.
5183
5184 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
5185
5186 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5187
5188 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
5189
5190 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5191 and typo in a comment about AT_HWCAP entry.
5192
5193 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5194
5195 * sysdeps/aarch64/libm-test-ulps: Updated.
5196
5197 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5198
5199 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5200 of r13 as it is not restored in mvcle case.
5201
5202 2016-07-19 Mike Frysinger <vapier@gentoo.org>
5203
5204 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5205 Rename "ret" to "__ret".
5206 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5207 inline_syscall5, inline_syscall6): Likewise.
5208
5209 2016-07-19 Will Newton <will.newton@gmail.com>
5210
5211 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5212 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5213 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5214 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5215 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5216
5217 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5220 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5221 -mfpmath=387 with $(rtld-CFLAGS).
5222 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5223 $(rtld-CFLAGS).
5224
5225 2016-07-18 Ross Burton <ross.burton@intel.com>
5226 Khem Raj <raj.khem@gmail.com>
5227
5228 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5229 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5230 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5231 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5232 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5233 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5234 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5235 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5236 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5237 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5238 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5239 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5240 R_METAG_TLS_DTPOFF): New.
5241
5242 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
5243 Matt Clay <mclay@lycos.com>
5244
5245 [BZ #20357]
5246 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5247 to call __mpsin/__mpcos and to negate values.
5248 * math/auto-libm-test-in: Add test.
5249 * math/auto-libm-test-out: Regenerate.
5250
5251 2016-07-18 Zack Weinberg <zackw@panix.com>
5252
5253 * grp/Makefile: Don't install the internal header grp-merge.h.
5254
5255 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
5256
5257 * sysdeps/aarch64/libm-test-ulps: Regenerated.
5258
5259 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
5260
5261 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5262
5263 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5264
5265 [BZ #15368]
5266 * sysdeps/unix/sysv/linux/nptl-signals.h
5267 (__nptl_clear_internal_signals): New function.
5268 (__libc_signal_block_all): Likewise.
5269 (__libc_signal_block_app): Likewise.
5270 (__libc_signal_restore_set): Likewise.
5271 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5272 implementation.
5273 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5274 the cached pid/tid value in pthread structure.
5275
5276 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 [BZ #20347]
5279 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5280
5281 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
5282
5283 [BZ #20348]
5284 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5285 preadv64, pwrite64 and pwritev64.
5286
5287 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 [BZ #20350]
5290 * posix/tst-preadwrite.c: Renamed to ...
5291 * posix/tst-preadwrite-common.c: This.
5292 (PREAD): Removed.
5293 (PWRITE): Likewise.
5294 (STRINGIFY): Likewise.
5295 (STRINGIFY2): Likewise.
5296 (do_prepare): Make it static and remove function arguments.
5297 (do_test): Likewise.
5298 (PREPARE): Updated.
5299 (TEST_FUNCTION): New.
5300 (name): Make it static.
5301 (fd): Likewise.
5302 (do_prepare): Use create_temp_file.
5303 (do_test): Renamed to ...
5304 (do_test_with_offset): This. Make it static and accept offset.
5305 Properly check return value of PWRITE and PREAD. Return bytes
5306 read. Don't close fd nor unlink name.
5307 * posix/tst-preadwrite.c: Rewrite.
5308 * posix/tst-preadwrite64.c: Likewise.
5309
5310 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 [BZ #20309]
5313 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5314 -mtls-dialect=gnu2 works.
5315 * configure: Regenerated.
5316 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5317 (tests): Add tst-gnu2-tls1.
5318 (modules-names): Add tst-gnu2-tls1mod.
5319 ($(objpfx)tst-gnu2-tls1): New.
5320 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5321 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5322 * elf/tst-gnu2-tls1.c: New file.
5323 * elf/tst-gnu2-tls1mod.c: Likewise.
5324 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5325 bytes for push in the PLT entry to align the stack.
5326
5327 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 [BZ #20349]
5330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5331
5332 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5333
5334 [BZ #18707]
5335 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5336 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5337
5338 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5339
5340 * sysdeps/unix/sysv/linux/sysdep.h
5341 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5342 guards.
5343 * misc/tst-preadvwritev-common.c: New file.
5344 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5345 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5346 a check for files larger than 2GB.
5347
5348 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5349 (__ASSUME_OFF_DIFF_OFF64): Remove define.
5350 * sysdeps/unix/sysv/linux/pread.c
5351 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5352 __OFF_T_MATCHES_OFF64_T.
5353 * sysdeps/unix/sysv/linux/pread64.c
5354 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5355 * sysdeps/unix/sysv/linux/preadv.c
5356 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5357 * sysdeps/unix/sysv/linux/preadv64.c
5358 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5359 * sysdeps/unix/sysv/linux/pwrite.c
5360 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5361 * sysdeps/unix/sysv/linux/pwrite64.c
5362 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5363 * sysdeps/unix/sysv/linux/pwritev.c
5364 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5365 * sysdeps/unix/sysv/linux/pwritev64.c
5366 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5367
5368 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
5369
5370 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5371 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5372
5373 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
5374
5375 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5376
5377 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
5378
5379 [BZ #20240]
5380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5381 (CFLAGS-s_modf-ppc32.c): New variable.
5382 (CFLAGS-s_modff-ppc32.c): Likewise.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5384 (CFLAGS-s_modf-ppc64.c): Likewise.
5385 (CFLAGS-s_modff-ppc64.c): Likewise.
5386
5387 2016-07-07 Andreas Schwab <schwab@suse.de>
5388
5389 [BZ #20263]
5390 * nptl/tst-robust10.c: New test.
5391 * nptl/Makefile (tests): Add tst-robust10.
5392
5393 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
5394
5395 [BZ #20263]
5396 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5397
5398 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
5399
5400 * sysdeps/s390/linkmap.h (struct link_map_machine):
5401 Remove member gotplt and add member jmprel.
5402 * sysdeps/s390/s390-32/dl-machine.h
5403 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5404 instead of gotplt with &got[3].
5405 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5406 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5407
5408 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
5409
5410 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5411
5412 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5413
5414 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5415 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5416 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5417 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5418 * libio/vtables.c (_IO_vtable_check)
5419 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5420 * libio/libioP.h (IO_set_accept_foreign_vtables)
5421 [!PTR_MANGLE]: Do not call PTR_MANGLE.
5422
5423 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
5424
5425 [BZ #20314]
5426 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5427 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5428 $(common-objpfx)cmath.
5429 ($(common-objpfx)cstdlib): New target.
5430 ($(common-objpfx)cmath): Likewise.
5431
5432 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
5433
5434 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5435
5436 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5437
5438 [BZ #20327]
5439 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5440 are not part of the string.
5441
5442 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5443
5444 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5445 * nptl/tst-cancel4-common.h (fifoname): New variable.
5446 (fifofd): Likewise.
5447 (cl_fifo): New function.
5448 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5449 SIGINT.
5450 (tf_open): Add early cancel test.
5451
5452 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
5453
5454 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5455
5456 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
5457
5458 * sysdeps/generic/ldsodefs.h
5459 (dl_symbol_visibility_binds_local_p): New inline function.
5460 * elf/dl-addr.c (determine_info): Treat hidden and internal
5461 symbols as local.
5462 * elf/dl-lookup.c (do_lookup_x): Likewise.
5463 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5464
5465 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
5466
5467 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5468 invalid exception for a sNaN input.
5469 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5470 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5471 (__nearbyint_vis3): Likewise
5472 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5473 (__nearbyintf_vis3): Likewise
5474 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5475 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5476 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5477 Likewise.
5478 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5479 Likewise.
5480
5481 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
5482
5483 [BZ #20139]
5484 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5485 (HAVE_AVX512DQ_ASM_SUPPORT): This.
5486 * sysdeps/x86_64/configure.ac: Require assembler from binutils
5487 2.24 or above.
5488 (HAVE_AVX512_ASM_SUPPORT): Removed.
5489 (HAVE_AVX512DQ_ASM_SUPPORT): New.
5490 * sysdeps/x86_64/configure: Regenerated.
5491 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5492 check unconditional.
5493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5494 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5495 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5496 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5497 Likewise.
5498 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5499 Likewise.
5500 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5501 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5502 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5504 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5505 Likewise.
5506 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5507 Likewise.
5508 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5509 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5510 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5511 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5512 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5513 Likewise.
5514 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5515 Likewise.
5516 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5517 Likewise.
5518 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5519 Likewise.
5520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5521 Likewise.
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5523 Likewise.
5524 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5525 Likewise.
5526 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5527 Likewise.
5528 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5529 Likewise.
5530 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5531 Likewise.
5532 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5533 Likewise.
5534
5535 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
5536
5537 [BZ #20024]
5538 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5540 of this implementation of vector function.
5541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5544 Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5547 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5548 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5549 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5550 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5551 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5552 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5553 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5554 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5555 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5556 for testing vector sincos with fixed ABI.
5557 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5558 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5559 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5560 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5561 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5562 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5563 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5564 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5565 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5566 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5567 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5568 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5569 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5570 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5571 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5572 * sysdeps/x86_64/fpu/Makefile: Added new tests.
5573
5574 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
5575
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5577
5578 2016-06-30 Anton Blanchard <anton@samba.org>
5579
5580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5581 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5582 s_sinf-ppc64.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5586 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5587
5588 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5589
5590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5592 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5593 e_expf-ppc64.
5594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5597 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5598
5599 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
5600
5601 [BZ #20277]
5602 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5603 when SHARED is defined.
5604
5605 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5608 (index_arch_Prefer_ERMS): Likewise.
5609 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5610 __memcpy_erms for Prefer_ERMS.
5611 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5612 (__memmove_erms): Enabled for libc.a.
5613 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5614 __memmove_erms or Prefer_ERMS.
5615 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5616 __mempcpy_erms for Prefer_ERMS.
5617 * sysdeps/x86_64/multiarch/memset.S (memset): Return
5618 __memset_erms for Prefer_ERMS.
5619
5620 2016-06-30 Andreas Schwab <schwab@suse.de>
5621
5622 [BZ #20262]
5623 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5624 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
5625 of memory.
5626
5627 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 [BZ #18645]
5630 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5631 (test-extras): Add tst-cleanupx4aux.
5632 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
5633 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5634 tst-cleanupx4aux.o.
5635 * nptl/tst-cleanupx4aux.c: New file.
5636
5637 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
5638
5639 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5640
5641 2016-06-29 Andreas Schwab <schwab@suse.de>
5642
5643 [BZ #20260]
5644 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5645 address before the beginning of the string as an integer to avoid
5646 array-bounds warning.
5647
5648 2016-06-28 Richard Henderson <rth@redhat.com>
5649
5650 * elf/elf.h (EM_BPF): New.
5651 (EM_NUM): Update.
5652 (R_BPF_NONE, R_BPF_MAP_FD): New.
5653
5654 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5655 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5656 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5657 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5658 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5659 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5660 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5661 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5662 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5663 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5664 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5665 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5666 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5667 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5668 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5669 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5670 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5671 (EM_NUM): Update.
5672
5673 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
5674
5675 [BZ #18960]
5676 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5677 Set _nl_current_LC_CATEGORY_used to two instead of one.
5678
5679 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
5680
5681 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5682 (do_test): ... this.
5683 (TEST_FUNCTION): New macro.
5684 Include test-skeleton.c.
5685 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5686 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5687
5688 2016-06-27 Joseph Myers <joseph@codesourcery.com>
5689
5690 [BZ #15479]
5691 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5692 floating-point environment rather than just control word.
5693 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5694 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5695 floating-point environment, with "invalid" exceptions merged in,
5696 rather than just control word.
5697 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5698 * math/libm-test.inc (trunc_test_data): Do not allow spurious
5699 "inexact" exceptions.
5700
5701 [BZ #15479]
5702 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5703 floating-point environment rather than just control word.
5704 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5705 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5706 floating-point environment, with "invalid" exceptions merged in,
5707 rather than just control word.
5708 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5709 * math/libm-test.inc (floor_test_data): Do not allow spurious
5710 "inexact" exceptions.
5711
5712 [BZ #15479]
5713 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5714 floating-point environment rather than just control word.
5715 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5716 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5717 floating-point environment, with "invalid" exceptions merged in,
5718 rather than just control word.
5719 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5720 * math/libm-test.inc (ceil_test_data): Do not allow spurious
5721 "inexact" exceptions.
5722
5723 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
5724
5725 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5726 __libc_vfork.
5727 (__vfork) [IS_IN (libc)]: Remove alias.
5728 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5729 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5731
5732 2016-06-24 Torvald Riegel <triegel@redhat.com>
5733
5734 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5735 of atomic_compare_and_exchange_bool_rel.
5736 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5737 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5738 catomic_compare_and_exchange_bool_rel): Remove.
5739 * sysdeps/aarch64/atomic-machine.h
5740 (atomic_compare_and_exchange_bool_rel): Likewise.
5741 * sysdeps/alpha/atomic-machine.h
5742 (atomic_compare_and_exchange_bool_rel): Likewise.
5743 * sysdeps/arm/atomic-machine.h
5744 (atomic_compare_and_exchange_bool_rel): Likewise.
5745 * sysdeps/mips/atomic-machine.h
5746 (atomic_compare_and_exchange_bool_rel): Likewise.
5747 * sysdeps/microblaze/atomic-machine.h
5748 ( __arch_compare_and_exchange_bool_8_rel,
5749 __arch_compare_and_exchange_bool_16_rel): Likewise.
5750 * sysdeps/powerpc/atomic-machine.h
5751 ( __arch_compare_and_exchange_bool_8_rel,
5752 __arch_compare_and_exchange_bool_16_rel): Likewise.
5753 * sysdeps/powerpc/powerpc32/atomic-machine.h
5754 ( __arch_compare_and_exchange_bool_32_rel,
5755 __arch_compare_and_exchange_bool_64_rel): Likewise.
5756 * sysdeps/powerpc/powerpc64/atomic-machine.h
5757 ( __arch_compare_and_exchange_bool_32_rel,
5758 __arch_compare_and_exchange_bool_64_rel): Likewise.
5759 * sysdeps/tile/atomic-machine.h
5760 (atomic_compare_and_exchange_bool_rel): Likewise.
5761
5762 2016-06-23 Joseph Myers <joseph@codesourcery.com>
5763
5764 [BZ #20296]
5765 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5766 when either argument is a NaN.
5767 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5768 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5769
5770 * math/libm-test.inc (snan_value_ld): New macro.
5771 (isgreater_test_data): Add sNaN tests.
5772 (isgreaterequal_test_data): Likewise.
5773 (isless_test_data): Likewise.
5774 (islessequal_test_data): Likewise.
5775 (islessgreater_test_data): Likewise.
5776 (isunordered_test_data): Likewise.
5777 (nextafter_test_data): Likewise.
5778 (nexttoward_test_data): Likewise.
5779 (remainder_test_data): Likewise.
5780 (remquo_test_data): Likewise.
5781 (significand_test_data): Likewise.
5782 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5783
5784 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
5785
5786 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5787 environment macros are defined.
5788 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5789
5790 2016-06-23 Florian Weimer <fweimer@redhat.com>
5791
5792 [BZ #20191]
5793 Implement vtable verification in libio.
5794 * Makerules (shlib.lds): Place __libc_IO_vtables section.
5795 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5796 * debug/vdprintf_chk.c (__vdprintf_chk): Call
5797 _IO_new_file_init_internal instead of _IO_file_init.
5798 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5799 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5800 * libio/Makefile (routines): Add vtables.
5801 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5802 (_IO_init): Remove, not for internal use.
5803 (_IO_init_internal): Declare, internal replacement for _IO_init.
5804 (_IO_file_init): Remove, not for internal use.
5805 (_IO_new_file_init): Remove, not for internal use.
5806 (_IO_new_file_init_internal): Declare, internal replacement for
5807 _IO_new_file_init.
5808 (_IO_old_file_init): Remove, not for internal use.
5809 (_IO_old_file_init_internal): Declare, internal replacement for
5810 _IO_old_file_init.
5811 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5812 internal use.
5813 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5814 Declare.
5815 (libio_vtable): New macro.
5816 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5817 functions.
5818 * libio/fileops.c (_IO_new_file_init_internal): Rename from
5819 _IO_new_file_init.
5820 (_IO_new_file_init): New externally visible wrapper which disables
5821 vtable verification.
5822 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5823 Define as vtables.
5824 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5825 (_IO_init): New externally visible wrapper which disables
5826 vtable verification.
5827 * libio/iofdopen.c (_IO_new_fdopen): Call
5828 _IO_new_file_init_internal instead of _IO_file_init. Adjust
5829 comment.
5830 * libio/iofopen.c (__fopen_internal): Call
5831 _IO_new_file_init_internal instead of _IO_file_init.
5832 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5833 Define as vtables.
5834 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5835 _IO_new_file_init_internal instead of _IO_file_init.
5836 * libio/iopopen.c (_IO_new_popen): Likewise.
5837 (_IO_proc_jumps): Define as vtable.
5838 * libio/iovdprintf.c (_IO_vdprintf): Call
5839 _IO_new_file_init_internal instead of _IO_file_init.
5840 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5841 (__open_memstream): Call _IO_init_internal instead of _IO_init.
5842 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5843 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5844 _IO_old_file_init.
5845 (_IO_old_file_init): New externally visible wrapper which disables
5846 vtable verification.
5847 (_IO_old_file_jumps): Define as vtable.
5848 * libio/oldiofdopen.c (_IO_old_fdopen): Call
5849 _IO_old_file_init_internal instead of _IO_old_file_init.
5850 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5851 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5852 (_IO_old_proc_jumps): Define as vtable.
5853 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5854 Define as vtables.
5855 * libio/vtables.c: New file.
5856 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5857 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5858 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5859 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5860 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5861 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5862 instead of _IO_init.
5863
5864 2016-06-23 Florian Weimer <fweimer@redhat.com>
5865
5866 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5867
5868 2016-06-23 Florian Weimer <fweimer@redhat.com>
5869
5870 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5871 potentially unused.
5872
5873 2016-06-22 Florian Weimer <fweimer@redhat.com>
5874
5875 * test-skeleton.c (write_message): New function.
5876 * malloc/tst-mallocfork2.c (write_message): Remove.
5877 * debug/tst-longjmp_chk2.c (write_indented): New function.
5878 (write_message): Remove.
5879 (stackoverflow_handler): Call write_indented.
5880
5881 2016-06-22 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5884 "inexact" exceptions after fnstenv.
5885 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5886 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5887 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5888
5889 2015-06-22 Zack Weinberg <zackw@panix.com>
5890
5891 * sysdeps/generic/bits/hwcap.h: Moved to ...
5892 * bits/hwcap.h: Here.
5893
5894 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
5895
5896 * sysdeps/aarch64/memcpy.S (memcpy):
5897 Further tuning for performance.
5898
5899 2016-06-21 Florian Weimer <fweimer@redhat.com>
5900
5901 [BZ #20284]
5902 * malloc/arena.c (reused_arena): Do not return NULL if we start
5903 out with a non-corrupted arena.
5904
5905 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5906
5907 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5908 * misc/tst-preadvwritev.c: New file.
5909 * misc/tst-preadvwritev64.c: Likewise.
5910 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5911 usage.
5912 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5913 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5914 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5915 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5916
5917 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
5918
5919 [BZ #19654]
5920 * sysdeps/x86_64/fpu/Makefile: Added new tests.
5921 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5922 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5923 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5924 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5925 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5926 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5927 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5928 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5929 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5930 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5931 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5932 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5933 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5934 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5935 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5936 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5937 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5938 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5939 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5940 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5941 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5942 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5943 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5944 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5945 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5946
5947 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
5948
5949 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5950 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5951
5952 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
5953
5954 * sysdeps/aarch64/memcpy.S (memcpy):
5955 Rewrite of optimized memcpy and memmove.
5956 * sysdeps/aarch64/memmove.S (memmove): Remove
5957 memmove code (merged into memcpy.S).
5958
5959 2016-06-20 Florian Weimer <fweimer@redhat.com>
5960
5961 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5962 * sysdeps/generic/dl-dtv.h: New file.
5963 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5964 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5965 (dtv_t): Remove.
5966 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5967 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5968 (dtv_t): Remove.
5969 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5970 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5971 (dtv_t): Remove.
5972 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5973 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5974 (dtv_t): Remove.
5975 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5976 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5977 (dtv_t): Remove.
5978 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5979 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5980 (dtv_t): Remove.
5981 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5982 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5983 (dtv_t): Remove.
5984 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5985 (dtv_t): Remove.
5986 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5987 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5988 (dtv_t): Remove.
5989 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5990 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5991 (dtv_t): Remove.
5992 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5993 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5994 (dtv_t): Remove.
5995 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5996 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5997 (dtv_t): Remove.
5998 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5999 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6000 (dtv_t): Remove.
6001 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6002 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6003 (dtv_t): Remove.
6004 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6005 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6006 (dtv_t): Remove.
6007 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6008 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6009 (dtv_t): Remove.
6010
6011 2016-06-20 Florian Weimer <fweimer@redhat.com>
6012
6013 Revert symbol poisoning of __malloc_initialize_hook.
6014 * include/stdc-predef.h (__malloc_initialize_hook): Remove
6015 poisoning.
6016 * malloc/Makefile: Remove un-poisoning.
6017 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6018 instead of old__malloc_initialize_hook.
6019 * malloc/malloc-hooks.h: Likewise.
6020 * malloc/malloc.c: Likewise.
6021 * malloc/mcheck-init.c: Likewise.
6022
6023 2016-06-19 Carlos O'Donell <carlos@redhat.com>
6024
6025 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6026
6027 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
6028
6029 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6030 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6031 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6033
6034 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6035
6036 * NEWS: Mention addition of nextup and nextdown.
6037 * manual/arith.texi: Document nextup and nextdown.
6038 * manual/libm-err-tab.pl: Add nextup and nextdown.
6039 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6040 * math/Versions (libm): Add GLIBC_2.24.
6041 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6042 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6043 Add new test.
6044 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6045 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6046 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6047 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6048 (nextup_test_data): Likewise.
6049 (nextdown_test_data): Likewise.
6050 * math/s_nextdown.c: New file.
6051 * math/s_nextdownf.c: Likewise.
6052 * math/s_nextdownl.c: Likewise.
6053 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6054 F(nextup): New function.
6055 F(nextdown): Likewise.
6056 * math/tgmath.h: Add nextup and nextdown.
6057 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6058 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6063 Add nextup and nextdown.
6064 (CFLAGS-nldbl-nextup.c): New variable.
6065 (CFLAGS-nldbl-nextdown.c): Likewise.
6066 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6067 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6068 * sysdeps/nacl/libm.abilist: Update.
6069 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6070 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6071 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6072 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6074 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6075 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6076 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6077 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6078 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6080 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6083 Likewise.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6088 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6089 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6093 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6095 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6096 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6097
6098 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6099
6100 * manual/pattern.texi: Fix typos & grammar errors.
6101
6102 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6103
6104 * manual/search.texi: Fix typos & grammar errors.
6105
6106 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6107
6108 * manual/message.texi: Fix typos & grammar errors.
6109
6110 2016-06-16 Mike Frysinger <vapier@gentoo.org>
6111
6112 * manual/contrib.texi: Fix spelling typos.
6113 * manual/crypt.texi: Likewise.
6114 * manual/filesys.texi: Likewise.
6115 * manual/locale.texi: Likewise.
6116 * manual/message.texi: Likewise.
6117 * manual/nss.texi: Likewise.
6118 * manual/string.texi: Likewise.
6119
6120 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6121
6122 * manual/locale.texi: Fix typos & grammar errors.
6123
6124 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6125
6126 * manual/charset.texi: Fix typos & grammar errors.
6127
6128 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6129
6130 * manual/string.texi: Fix typos.
6131
6132 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6133
6134 * manual/ctype.texi: Fix typos.
6135
6136 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
6137
6138 * manual/memory.texi: Fix various typos & grammar errors.
6139
6140 2016-06-14 Joseph Myers <joseph@codesourcery.com>
6141
6142 [BZ #20255]
6143 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
6144 * math/libm-test.inc (fdim_test_data): Add another test.
6145
6146 [BZ #6796]
6147 [BZ #20255]
6148 [BZ #20256]
6149 * math/s_fdim.c: Include <math_private.h>.
6150 (__fdim): Use math_narrow_eval on result.
6151 * math/s_fdimf.c: Include <math_private.h>.
6152 (__fdimf): Use math_narrow_eval on result.
6153 * sysdeps/i386/fpu/s_fdim.S: Remove file.
6154 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6155 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6156 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6157 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6158 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6159 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6160 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6161 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6162 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6163 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6164 * math/libm-test.inc (fdim_test_data): Expect errno setting on
6165 overflow. Add sNaN tests.
6166
6167 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6168 fpclassify.
6169 * math/s_fdimf.c (__fdimf): Likewise.
6170 * math/s_fdiml.c (__fdiml): Likewise.
6171
6172 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6175 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6177 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6178 ifunc'ed strcasecmp/strncasecmp.
6179 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6180 [EALIGN]: Removed.
6181 [END]: Likewise.
6182 [__strcasecmp]: Define instead of the above to control symbol name.
6183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6184 for __strcasecmp_power8.
6185 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6186 for __strncasecmp_power8.
6187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6189 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6190 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6191 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6192 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6193
6194 2016-06-13 Joseph Myers <joseph@codesourcery.com>
6195
6196 [BZ #20252]
6197 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6198 arguments when second argument is a NaN.
6199 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6200 qNaN tests.
6201
6202 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6203 (conj_test_data): Likewise.
6204 (copysign_test_data): Likewise.
6205 (creal_test_data): Likewise.
6206 (fma_test_data): Likewise.
6207 (fmod_test_data): Likewise.
6208
6209 [BZ #20250]
6210 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6211 itself.
6212 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6213 zero input to itself.
6214 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6215 Likewise.
6216 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6217 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6219 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6220 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6221
6222 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6223
6224 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6225 * nptl/tst-cancel4-common.c: New file.
6226 * nptl/tst-cancel4-common.h: Likewise.
6227 * nptl/tst-cancel4.c: Move common definitions to
6228 tst-cancel4-common.{c,h} file.
6229 * nptl/tst-cancel4_1.c: New test.
6230 * nptl/tst-cancel4_2.c: New test.
6231
6232 2016-06-13 Florian Weimer <fweimer@redhat.com>
6233
6234 [BZ #20248]
6235 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6236 (write_message): New function.
6237 (stackoverflow_handler): Call it instead of printf, to avoid
6238 excessive stack usage by printf.
6239 (do_test): Restore SIGSEGV, SIGBUS default handlers.
6240
6241 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6242
6243 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6244 (prio_inherit_missing): Remove define.
6245 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6246 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6248 Likewise.
6249 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6250 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6251 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6252 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6253 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6254 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6255
6256 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6257
6258 [BZ #19670]
6259 [BZ #19672]
6260
6261 * io/test-lfs.c (do_prepare): Use xmalloc.
6262 * io/tst-fcntl.c (do_prepare): Likewise.
6263 * libio/tst-fopenloc.c (do_bz17916): Likewise.
6264 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6265 * login/tst-utmp.c (do_prepare): Likewise.
6266 * posix/tst-exec.c (do_prepare): Likewise.
6267 * posix/tst-pathconf.c (prepare): Likewise.
6268 * posix/tst-spawn.c (do_prepare): Likewise.
6269 * posix/tst-truncate.c (do_prepare): Likewise.
6270 * rt/tst-aio.c (do_prepare): Likewise.
6271 * rt/tst-aio64.c (do_prepare): Likewise.
6272
6273 2016-06-11 Florian Weimer <fweimer@redhat.com>
6274
6275 [BZ #20237]
6276 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6277 (get*ent): Set entidx to NULL during initialization. If entidx is
6278 NULL, start iteration from the beginning.
6279
6280 2016-06-11 Florian Weimer <fweimer@redhat.com>
6281
6282 * malloc/malloc.c (musable): Return correct size for dumped fake
6283 mmapped chunk.
6284
6285 2016-06-11 Florian Weimer <fweimer@redhat.com>
6286
6287 [BZ #20222]
6288 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6289 (_IO_cookie_write): Likewise.
6290 (_IO_cookie_seek): Likewise.
6291 (_IO_cookie_close): Likewise.
6292 (_IO_old_cookie_seek): Likewise.
6293 (set_callbacks): New function.
6294 (_IO_cookie_init): Call set_callbacks to copy callbacks.
6295
6296 2016-06-11 Marko Myllynen <myllynen@redhat.com>
6297
6298 * locale/programs/localedef.c (oldstyle_tables): Remove.
6299 * locale/programs/localedef.h (oldstyle_tables): Likewise.
6300
6301 2016-06-10 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #20240]
6304 * math/Makefile (CFLAGS-s_modf.c): New variable.
6305 (CFLAGS-s_modff.c): Likewise.
6306 (CFLAGS-s_modfl.c): Likewise.
6307 * math/libm-test.inc (modf_test_data): Add sNaN tests.
6308
6309 2016-06-09 Carlos O'Donell <carlos@redhat.com>
6310
6311 [BZ #20215]
6312 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6313 [!__GNUC_PREREQ (3,2)]: Likewise.
6314
6315 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
6316
6317 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6318 (msghdr.msg_controllen): Likewise.
6319 (cmsghdr.cmsg_len): Likewise.
6320 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6321 ptw-oldsendmsg.
6322 (CFLAGS-oldrecvmsg.c): Remove rule.
6323 (CFLAGS-oldsendmsg.c): Likewise.
6324 (CFLAGS-recvmsg.c): Add rule.
6325 (CFLAGS-sendmsg.c): Likewise.
6326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6327 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6328 (CFLAGS-recvmsg.c): Remove rule.
6329 (CFLAGS-sendmsg.c): Likewise.
6330 (CFLAGS-oldrecvmsg.c): Likewise.
6331 (CFLAGS-oldsendmsg.c): Likewise.
6332 (CFLAGS-recvmmsg.c): Likewise.
6333 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6334 to kernel defined interfaces.
6335 (msghdr.msg_controllen): Likewise.
6336 (cmsghdr.cmsg_len): Likewise.
6337 (msghdr.__glibc_reserved1): Remove member.
6338 (msghdr.__glibc_reserved2): Likewise.
6339 (cmsghdr.__glibc_reserved1): Likewise.
6340 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6341 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6342 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6343 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6344 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6345 version.
6346 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6347 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6348 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6349 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6350 Remove recvmsg and sendmsg.
6351 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6352 Likewise.
6353 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6354 Likewise.
6355 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6356 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6357 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6362 [libc] (GLIBC_2.24): Likewise.
6363 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6368 [libc] (GLIBC_2.24): Likewise.
6369 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6370 Likewise.
6371 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6372 Likewise.
6373 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6374 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6375 Likewise.
6376 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6377 Likewise.
6378 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6379 Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6381 Likewise.
6382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6383 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6384 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6385 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6386 version for {recv,send,recm,sendm}msg.
6387 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6388 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6389 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6390 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6391 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6393 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6394 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6396 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6398 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6400 Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6402 Likewise.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6406 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6407 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6408 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6413 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6416
6417 2016-06-10 Florian Weimer <fweimer@redhat.com>
6418
6419 [BZ #19564]
6420 Remove __malloc_initialize_hook from the API.
6421 * malloc/malloc.h (__malloc_initialize_hook): Remove.
6422 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6423 #pragma GCC poison.
6424 * malloc/malloc-hooks.h: New file.
6425 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6426 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6427 (old__malloc_initialize_hook): Rename from
6428 __malloc_initialize_hook to evade poisoning. Turn into compat
6429 symbol.
6430 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6431 __malloc_initialize_hook.
6432 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6433 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6434 * manual/memory.texi (Hooks for Malloc): Remove
6435 __malloc_initialize_hook. Adjust hook example.
6436
6437 2016-06-09 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #20235]
6440 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6441 itself.
6442 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6443 * math/libm-test.inc (log2_test_data): Add sNaN tests.
6444
6445 [BZ #20234]
6446 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6447 infinity or NaN input to itself.
6448
6449 [BZ #20233]
6450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6451 to itself.
6452
6453 [BZ #20232]
6454 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6455 itself.
6456
6457 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * sysdeps/x86_64/start.S (_start): Always indirect branch to
6460 __libc_start_main via GOT.
6461
6462 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
6463
6464 * sysdeps/x86_64/memcopy.h: New file.
6465 * sysdeps/x86_64/wordcopy.c: Likewise.
6466
6467 2016-06-09 Florian Weimer <fweimer@redhat.com>
6468
6469 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6470 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6471 <cstdlib>.
6472 (optimization_barrier): New.
6473 (do_test): Use it. Call quick_exit in the global namespace.
6474 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6475 instead of <cstdlib>, <thread>.
6476 (optimization_barrier): New.
6477 (non_main_thread): Adjust declaration. Call optimization_barrier.
6478 Call quick_exit in the global namespace.
6479 (do_test): Call optimization_barrier. Use pthread_create,
6480 pthread_join instead of std::thread.
6481
6482 2016-06-09 Andreas Schwab <schwab@suse.de>
6483
6484 [BZ #19755]
6485 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6486 new entries in auto-propagate mode.
6487 * nscd/grpcache.c (cache_addgr): Likewise.
6488
6489 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6490
6491 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6492 New functions.
6493 (add_temp_file): Use them.
6494
6495 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
6496
6497 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6498
6499 2016-06-08 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #20229]
6502 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6503 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6504 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6505
6506 [BZ #20228]
6507 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6508 itself.
6509 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6510 * math/libm-test.inc (log10_test_data): Add sNaN tests.
6511
6512 [BZ #20227]
6513 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6514 itself.
6515 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6516 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6517 * math/libm-test.inc (log_test_data): Add sNaN tests.
6518
6519 [BZ #20226]
6520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6521 itself.
6522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6523 * math/libm-test.inc (exp_test_data): Add sNaN tests.
6524 (exp10_test_data): Likewise.
6525 (expm1_test_data): Likewise.
6526
6527 [BZ #20225]
6528 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6529 itself.
6530 * math/s_ldexpf.c (__ldexpf): Likewise.
6531 * math/s_ldexpl.c (__ldexpl): Likewise.
6532 * math/w_scalbln.c (__w_scalbln): Likewise.
6533 * math/w_scalblnf.c (__w_scalblnf): Likewise.
6534 * math/w_scalblnl.c (__w_scalblnl): Likewise.
6535 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6536 (scalbln_test_data): Likewise.
6537
6538 [BZ #20224]
6539 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6540 argument to itself.
6541 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6542
6543 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 [BZ #19776]
6546 * sysdeps/x86_64/memcpy.S: Make it dummy.
6547 * sysdeps/x86_64/mempcpy.S: Likewise.
6548 * sysdeps/x86_64/memmove.S: New file.
6549 * sysdeps/x86_64/memmove_chk.S: Likewise.
6550 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6551 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6552 * sysdeps/x86_64/memmove.c: Removed.
6553 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6554 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6555 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6556 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6557 Likewise.
6558 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6559 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6561 memcpy-sse2-unaligned, memmove-avx-unaligned,
6562 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6564 (__libc_ifunc_impl_list): Replace
6565 __memmove_chk_avx512_unaligned_2 with
6566 __memmove_chk_avx512_unaligned. Remove
6567 __memmove_chk_avx_unaligned_2. Replace
6568 __memmove_chk_sse2_unaligned_2 with
6569 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
6570 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
6571 with __memmove_avx512_unaligned. Replace
6572 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6573 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
6574 with __memcpy_chk_avx512_unaligned. Remove
6575 __memcpy_chk_avx_unaligned_2. Replace
6576 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6577 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
6578 Replace __memcpy_avx512_unaligned_2 with
6579 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
6580 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
6581 with __mempcpy_chk_avx512_unaligned. Remove
6582 __mempcpy_chk_avx_unaligned_2. Replace
6583 __mempcpy_chk_sse2_unaligned_2 with
6584 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
6585 Replace __mempcpy_avx512_unaligned_2 with
6586 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
6587 Replace __mempcpy_sse2_unaligned_2 with
6588 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
6589 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6590 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6591 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6592 if processor has ERMS. Default to __memcpy_sse2_unaligned.
6593 (ENTRY): Removed.
6594 (END): Likewise.
6595 (ENTRY_CHK): Likewise.
6596 (libc_hidden_builtin_def): Likewise.
6597 Don't include ../memcpy.S.
6598 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6599 __memcpy_chk_avx512_unaligned_erms and
6600 __memcpy_chk_avx512_unaligned. Use
6601 __memcpy_chk_avx_unaligned_erms and
6602 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6603 Default to __memcpy_chk_sse2_unaligned.
6604 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6605 Change function suffix from unaligned_2 to unaligned.
6606 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6607 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6608 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6609 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
6610 (ENTRY): Removed.
6611 (END): Likewise.
6612 (ENTRY_CHK): Likewise.
6613 (libc_hidden_builtin_def): Likewise.
6614 Don't include ../mempcpy.S.
6615 (mempcpy): New. Add a weak alias.
6616 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6617 __mempcpy_chk_avx512_unaligned_erms and
6618 __mempcpy_chk_avx512_unaligned. Use
6619 __mempcpy_chk_avx_unaligned_erms and
6620 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6621 Default to __mempcpy_chk_sse2_unaligned.
6622
6623 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
6624
6625 [BZ #19881]
6626 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6627 into ...
6628 * sysdeps/x86_64/memset.S: This.
6629 (__bzero): Removed.
6630 (__memset_tail): Likewise.
6631 (__memset_chk): Likewise.
6632 (memset): Likewise.
6633 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6634 defined.
6635 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6636 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6637 (__memset_zero_constant_len_parameter): Check SHARED instead of
6638 PIC.
6639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6640 memset-avx2 and memset-sse2-unaligned-erms.
6641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6642 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6643 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6644 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6645 (__bzero): Enabled.
6646 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6647 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6648 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
6649 or __memset_avx2_unaligned_erms if processor has ERMS. Support
6650 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6651 (memset): Removed.
6652 (__memset_chk): Likewise.
6653 (MEMSET_SYMBOL): New.
6654 (libc_hidden_builtin_def): Replace __memset_sse2 with
6655 __memset_sse2_unaligned.
6656 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6657 __memset_chk_sse2 and __memset_chk_avx2 with
6658 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6659 Use __memset_chk_sse2_unaligned_erms or
6660 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
6661 __memset_chk_avx512_unaligned_erms and
6662 __memset_chk_avx512_unaligned.
6663
6664 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6665
6666 * math/gen-auto-libm-test.c (fp_format_desc): remove
6667 suffix member.
6668 (output_generic_value): Remove usage of suffix member,
6669 and the resulting unuse of the fp_format argument.
6670 (output_for_one_input_case): Remove unused fp_format
6671 parameter.
6672
6673 * math/auto-libm-test-out: Regenerate.
6674
6675 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6676 usage with TEST_COND_ibm128.
6677 (TEST_COND_flt_32): Remove.
6678 (TEST_COND_dbl_64): Remove.
6679 (TEST_COND_ldbl_96_intel): Remove.
6680 (TEST_COND_ldbl_96_m68k): Remove.
6681 (TEST_COND_ldbl_128): Remove.
6682
6683 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6684
6685 * auto-libm-test-in:
6686 Replace flt-32 usage with binary32.
6687 Replace dbl-64 usage with binary64.
6688 Replace ldbl-intel-96 usage with intel96.
6689 Replace ldbl-m68k-96 usage with m68k96.
6690 Replace ldbl-128ibm usage with ibm128.
6691 Replace ldbl-128 usage with binary128.
6692
6693 * auto-libm-test-out: Regenerate.
6694
6695 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6696
6697 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6698 (parse_ulps): Dynamically generate type name matching
6699 string from all_floats.
6700 (get_ulps): Generate the ulps as an array instead.
6701 (output_ulps): Dynamically compose the type based
6702 on the number of supported formats, and print
6703 the indices as type specific helper macros.
6704
6705 * math/libm-test.inc: Remove comment about CHOOSE.
6706 (ulp_data): Generate the type in libm-test-ulps.h.
6707 (ULP_IDX): New macro.
6708 (find_ulps): Update usage of max_ulp.
6709
6710 * math/test-double-vlen2.h (CHOOSE): Remove.
6711 * math/test-double-vlen4.h (CHOOSE): Likewise.
6712 * math/test-double-vlen8.h (CHOOSE): Likewise.
6713 * math/test-float.c (CHOOSE): Likewise.
6714 * math/test-float-finite.c (CHOOSE): Likewise.
6715 * math/test-double.c (CHOOSE): Likewise.
6716 * math/test-double-finite.c (CHOOSE): Likewise.
6717 * math/test-idouble.c (CHOOSE): Likewise.
6718 * math/test-ifloat.c (CHOOSE): Likewise.
6719 * math/test-ildoubl.c (CHOOSE): Likewise.
6720 * math/test-ldouble-finite.c (CHOOSE): Likewise.
6721 * math/test-ldouble.c (CHOOSE): Likewise.
6722
6723 * math/test-float.h (TEST_FLOAT): Remove.
6724 * math/test-double.h (TEST_DOUBLE): Likewise.
6725 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6726
6727 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6728
6729 * math/gen-libm-test.pl: (apply_lit): New subroutine.
6730 (parse_args): Strip C suffix from floating point literals
6731 typed with 'f' and wrap them with LIT().
6732
6733 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6734 (test_ff_f_data_nexttoward): Rename to
6735 (test_fj_f_data): New struct.
6736 (nexttoward_test_data): Relabel tests as
6737 TEST_fj_f instead of TEST_ff_f.
6738
6739 2016-06-08 Florian Weimer <fweimer@redhat.com>
6740
6741 Emacs bug 23726.
6742 * malloc/malloc.c (dumped_main_arena_start): Update comment.
6743 (__libc_realloc): Correct size computation for dumped fake mmapped
6744 chunks.
6745
6746 2016-06-07 Joseph Myers <joseph@codesourcery.com>
6747
6748 [BZ #20219]
6749 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6750 to itself.
6751 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6752
6753 [BZ #20218]
6754 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6755 to itself.
6756 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6757
6758 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
6759
6760 [BZ #20195]
6761 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6762 check to ...
6763 (init_cpu_features): Here.
6764
6765 2016-06-07 Carlos O'Donell <carlos@redhat.com>
6766
6767 [BZ #20214]
6768 * sysdeps/unix/sysv/linux/bits/in.h
6769 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6770 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6771 Define to 1.
6772 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6773 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6774 Define to 0.
6775 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6776 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6777
6778 2016-06-06 Carlos O'Donell <carlos@redhat.com>
6779
6780 [BZ #20198]
6781 * stdlib/Makefile (tests): Add tst-quick_exit, and
6782 tst-thread-quick_exit.
6783 [ifeq ($(have-cxx-thread_local),yes)]
6784 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6785 (CFLAGS-tst-thread-quick_exit.o): Likewise.
6786 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6787 (LDLIBS-tst-thread-quick_exit): Likewise.
6788 [ifneq ($(have-cxx-thread_local),yes)]
6789 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6790 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6791 If run_dtors is true call __call_tls_dtors.
6792 (exit): Call __run_exit_handlers with run_dtors set to true.
6793 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6794 definition.
6795 * stdlib/quick_exit.c (quick_exit): Remove function.
6796 (__new_quick_exit): New function.
6797 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6798 function.
6799 * stdlib/tst-quick_exit.cc: New file.
6800 * stdlib/tst-thread-quick_exit.cc: New file.
6801 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6802 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6803 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6804 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6805 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6806 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6807 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6808 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6809 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6810 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6811 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6812 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6813 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6814 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6815 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6816 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6821 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6823 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6828 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6829 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6830 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6831
6832 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6835 a typo in comments.
6836
6837 2016-06-06 Joseph Myers <joseph@codesourcery.com>
6838
6839 [BZ #20213]
6840 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6841 argument to itself.
6842 * math/libm-test.inc (asin_test_data): Add sNaN tests.
6843
6844 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6845
6846 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6847 required flags.
6848 (CFLAGS-pwritev64.c): Likewise.
6849 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6851 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6852 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6854 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6855 syscall from auto-generation.
6856 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6857 [WORDSIZE == 64] (pwritev64): Remove macro.
6858 [!PWRITEV] (PWRITEV): Likewise.
6859 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6860 [!PWRITEV] (PWRITE): Likewise.
6861 [!PWRITEV] (OFF_T): Likewise.
6862 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6863 (LO_HI_LONG): Remove macro.
6864 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6865 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6866 (PWRITEV): Remove macro.
6867 (PWRITEV_REPLACEMENTE): Likewise.
6868 (PWRITE): Likewise.
6869 (OFF_T): Likewise.
6870 (pwritev64): New function.
6871 * nptl/tst-cancel4.c (tf_writev): Add test.
6872
6873 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6874 required flags.
6875 (CFLAGS-preadv64.c): Likewise.
6876 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6877 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6878 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6879 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6880 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6881 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6882 syscall from auto-generation.
6883 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6884 [WORDSIZE == 64] (preadv64): Remove macro.
6885 [!PREADV] (PREADV): Likewise.
6886 [!PREADV] (PREADV_REPLACEMENT): Likewise.
6887 [!PREADV] (PREAD): Likewise.
6888 [!PREADV] (OFF_T): Likewise.
6889 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6890 (LO_HI_LONG): Remove macro.
6891 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6892 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6893 (PREADV): Remove macro.
6894 (PREADV_REPLACEMENTE): Likewise.
6895 (PREAD): Likewise.
6896 (OFF_T): Likewise.
6897 (preadv64): New function.
6898 * nptl/tst-cancel4.c (tf_preadv): Add test.
6899
6900 2016-06-06 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #20212]
6903 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6904 argument to itself.
6905 * math/libm-test.inc (acos_test_data): Add sNaN tests.
6906
6907 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6908
6909 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6910 New symbol defined as libc_hidden_def.
6911 (strcasestr): Became a weak alias to __strcasestr.
6912 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6913 according to multi-arch support. Move __stpncpy hidden
6914 definition from here to...
6915 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
6916 symbol stpncpy.
6917 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6918 libc_hidden_builtin_def.
6919 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6920 memset symbol to use when multi-arch support is available.
6921
6922 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6923
6924 * dlfcn/tst-rec-dlopen.c: Include string.h.
6925
6926 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6927
6928 * manual/install.texi: Remove mention of --without-tls
6929 * INSTALL: Regenerate.
6930
6931 2016-06-05 Florian Weimer <fweimer@redhat.com>
6932
6933 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6934 Remove.
6935 (call_function, interposed_malloc_called): New variables.
6936 (malloc): New function.
6937 (do_test): Do not change malloc hooks. Initialize malloc. Set
6938 and clear call_function as needed.
6939
6940 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
6941
6942 * include/wchar.h (__wmemset): Use __typeof.
6943
6944 2016-06-03 Carlos O'Donell <carlos@redhat.com>
6945
6946 * include/wchar.h (__wmemset): Declare function without typeof.
6947
6948 2016-06-03 Joseph Myers <joseph@codesourcery.com>
6949
6950 [BZ #20205]
6951 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6952 exponent when incrementing negative subnormal with low mantissa
6953 word zero.
6954 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6955 Add another test.
6956
6957 2016-06-03 Florian Weimer <fweimer@redhat.com>
6958
6959 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6960 __wmemset instead of wmemset.
6961
6962 2016-06-02 Carlos O'Donell <carlos@redhat.com>
6963
6964 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6965 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6966 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6967 __USE_KERNEL_IPV6_DEFS to 0.
6968 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6969 Update comment.
6970
6971 2016-06-01 Florian Weimer <fweimer@redhat.com>
6972
6973 [BZ #19861]
6974 Do not use IFUNC resolver with potentially unrelocated symbol.
6975 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6976 (DEFINE_FORK): Remove macro and inline definition.
6977 (fork_alias): Renamed from fork_ifunc.
6978 (__fork_alias): Renamed from __fork_ifunc.
6979
6980 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6981
6982 [BZ 19653]
6983 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6984 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6985
6986 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6987
6988 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6989 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6990 i386-linux-gnu).
6991 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6992 Set to no.
6993 * sysdeps/mach/hurd/configure: Refresh.
6994
6995 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6996
6997 [BZ #20178]
6998 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6999 on failure instead of exit.
7000
7001 2016-05-30 Roland McGrath <roland@hack.frob.com>
7002
7003 [BZ #3629]
7004 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7005 of POSIX.1-2008.
7006
7007 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7008
7009 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7010 Use PLT entry for calling _hurd_self_sigstate.
7011
7012 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
7013
7014 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7015 available logical processors with SMT level type sharing L2
7016 cache for Intel processors.
7017
7018 2016-05-27 Joseph Myers <joseph@codesourcery.com>
7019
7020 [BZ #20160]
7021 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7022 argument to itself before returning the result.
7023 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7024 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7025 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7027 Likewise.
7028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7029 Likewise.
7030 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7031 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7032 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7033 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7034 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7035 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7036
7037 [BZ #20160]
7038 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7039 argument to itself before returning the result.
7040 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7041 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7042 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7044 Likewise.
7045 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7046 Likewise.
7047 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7048 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7049 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7050 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7051 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7052 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7053
7054 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7055
7056 * libm-test.inc: Replace usage of M_El with
7057 (lit_e): New macro.
7058
7059 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7060
7061 * libm-test.inc: Replace usage of M_PI_4l with
7062 (lit_pi_4_d): New macro.
7063
7064 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7065
7066 * libm-test.inc: Replace usage of M_PIl with
7067 (lit_pi): New macro.
7068
7069 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7070
7071 * libm-test.inc: Replace usage of M_PI2l with
7072 (lit_pi_2_d): New macro.
7073
7074 * math/test-double.h (LITM): New macro.
7075 * math/test-float.h (LITM): Likewise.
7076 * math/test-ldouble.h (LITM): Likewise.
7077
7078 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7079
7080 * libm-test.inc (M_PI_34l): Rename to
7081 (lit_pi_3_m_4_d): New Macro.
7082 (M_PI_34_LOG10El): Rename to
7083 (lit_pi_3_m_4_ln10_m_d): New Macro.
7084 (M_PI2_LOG10El): Rename to
7085 (lit_pi_2_ln10_m_d): New Macro.
7086 (M_PI4_LOG10El): Rename to
7087 (lit_pi_4_ln10_m_d): New Macro.
7088 (M_PI_LOG10El): Rename to
7089 (lit_pi_ln10_d): New Macro.
7090
7091 2016-05-27 Joseph Myers <joseph@codesourcery.com>
7092
7093 [BZ #20157]
7094 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7095 determine whether to negate low half if [_ARCH_PPCGR], and integer
7096 comparison otherwise.
7097 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7098 determine whether to negate low half.
7099
7100 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7101 (NO_TEST_INLINE_DOUBLE): Likewise.
7102 (TEST_COND_x86_64): Likewise.
7103 (TEST_COND_x86): Likewise.
7104 (M_PI_6l): Likewise.
7105
7106 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7107
7108 * math/libm-test.inc:
7109 (TEST_FLOAT): Change usage to TEST_COND_binary32.
7110 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7111 (TEST_LDOUBLE): Update usage to evaluate as true if
7112 the guarded tests match the property being tested.
7113 (LDBL_MAX_EXP): Change to MAX_EXP.
7114 (LDBL_MIN_EXP): Change to MIN_EXP.
7115 (LDBL_MANT_DIG): Change to MANT_DIG, except for
7116 nexttoward tests.
7117
7118 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7119
7120 * math/libm-test.inc:
7121 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7122 (TYPE_MIN): Likewise.
7123 (TYPE_TRUE_MIN): Likewise.
7124 (TYPE_MAX): Likewise.
7125 (MIN_EXP): Likewise.
7126 (MAX_EXP): Likewise.
7127 (MANT_DIG): Likewise.
7128
7129 (FSTR_MAX): New macro.
7130 (__CONCATX): Likewise.
7131 (QTYPE_STR): Likewise.
7132 (TEST_COND_binary32): Likewise.
7133 (TEST_COND_binary64): Likewise.
7134 (TEST_COND_binary128): Likewise.
7135 (TEST_COND_ibm128): Likewise.
7136 (TEST_COND_intel96): Likewise.
7137 (TEST_COND_m68k96): Likewise.
7138
7139 (TEST_COND_flt_32): Redefine as equivalent format test macro.
7140 (TEST_COND_dbl_64): Likewise.
7141 (TEST_COND_ldbl_96_intel): Likewise.
7142 (TEST_COND_ldbl_96_m68k): Likewise.
7143 (TEST_COND_ldbl_128): Likewise.
7144 (TEST_COND_ldbl_128ibm): Likewise.
7145
7146 (plus_zero): Redefine using LIT macro.
7147 (minus_zero): Likewise.
7148 (plus_infty): Redefine as (INF).
7149 (minux_infty): Redefine as (-INF).
7150 (max_value): Redefine as TYPE_MAX.
7151 (min_value): Redefine as TYPE_MIN.
7152 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7153
7154 (print_float): Refactor to use snprintf to convert FLOAT values
7155 to string. This brings it closer to dropin replacement of strtof
7156 for the TS 18661 defined types.
7157 (update_stats): Likewise.
7158 (print_complex_function_ulps): Likewise.
7159 (print_max_error): Likewise.
7160 (print_complex_max_error): Likewise.
7161 (check_float_internal): Likewise.
7162
7163 * math/test-float.h (PREFIX): New macro.
7164 (LIT): Likewise.
7165 (TYPE_STR): Likewise.
7166 (FTOSTR): Likewise.
7167
7168 * math/test-double.h (PREFIX): New macro.
7169 (LIT): Likewise.
7170 (TYPE_STR): Likewise.
7171 (FTOSTR): Likewise.
7172
7173 * math/test-ldouble.h (PREFIX): New macro.
7174 (LIT): Likewise.
7175 (TYPE_STR): Likewise.
7176 (FTOSTR): Likewise.
7177
7178 2016-05-27 Joseph Myers <joseph@codesourcery.com>
7179
7180 [BZ #20156]
7181 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7182 to itself when zero or not finite.
7183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7187
7188 2016-05-26 Joseph Myers <joseph@codesourcery.com>
7189
7190 [BZ #20153]
7191 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7192 x * x + x for infinities and NaNs.
7193
7194 [BZ #20151]
7195 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7196 argument to itself before returning result.
7197 (__ieee754_y0l): Likewise.
7198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7199 (__ieee754_y1l).
7200
7201 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7202 (atan_test_data): Likewise.
7203 (ceil_test_data): Likewise.
7204 (cos_test_data): Likewise.
7205 (cosh_test_data): Likewise.
7206 (erf_test_data): Likewise.
7207 (exp2_test_data): Likewise.
7208 (fabs_test_data): Likewise.
7209 (floor_test_data): Likewise.
7210 (ilogb_test_data): Likewise.
7211 (j0_test_data): Likewise.
7212 (j1_test_data): Likewise.
7213 (jn_test_data): Likewise.
7214 (lgamma_test_data): Likewise.
7215 (lrint_test_data): Likewise.
7216 (llrint_test_data): Likewise.
7217 (logb_test_data): Likewise.
7218 (lround_test_data): Likewise.
7219 (llround_test_data): Likewise.
7220 (nearbyint_test_data): Likewise.
7221 (rint_test_data): Likewise.
7222 (round_test_data): Likewise.
7223 (sin_test_data): Likewise.
7224 (sincos_test_data): Likewise.
7225 (sinh_test_data): Likewise.
7226 (sqrt_test_data): Likewise.
7227 (tan_test_data): Likewise.
7228 (tanh_test_data): Likewise.
7229 (tgamma_test_data): Likewise.
7230 (trunc_test_data): Likewise.
7231 (y0_test_data): Likewise.
7232 (y1_test_data): Likewise.
7233 (yn_test_data): Likewise.
7234
7235 * math/libm-test.inc: Update comment about NaN testing.
7236 (TEST_SNAN): New macro.
7237 (snan_value): Likewise.
7238 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7239 (fpclassify_test_data): Add sNaN tests.
7240 (isfinite_test_data): Likewise.
7241 (isinf_test_data): Likewise.
7242 (isnan_test_data): Likewise.
7243 (isnormal_test_data): Likewise.
7244 (issignaling_test_data): Likewise.
7245 (signbit_test_data): Likewise.
7246 * math/gen-libm-test.pl (%beautify): Add snan_value.
7247 (show_exceptions): Add argument $test_snan.
7248 (parse_args): Handle snan_value as non-finite. Update call to
7249 show_exceptions.
7250 * math/Makefile (libm-test-no-inline-cflags): Add
7251 -fsignaling-nans.
7252
7253 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7254
7255 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7256 (CFLAGS-oldsendmsg.c): Add rule.
7257 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7258 Correct recvmsg symbol name.
7259 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7260 Likewise.
7261
7262 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7263
7264 * sysdeps/unix/sysv/linux/Makefile
7265 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7266 oldsendmmsg.
7267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7268 sendmmsg.
7269 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7270 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7271 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7272 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7275 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7277 Likewise.
7278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7279 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7280 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7281 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7282 iovlen and controllen fields to adjust to POSIX specification.
7283 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7284
7285 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7286 and change to correct expected type.
7287 (msghdr.msg_controllen): Likewise.
7288 (cmsghdr.cmsg_len): Likewise.
7289 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7290 expected POSIX assumption about the size.
7291 (msghdr.msg_controllen): Likewise.
7292 (msghdr.__glibc_reserved1): Likewise.
7293 (msghdr.__glibc_reserved2): Likewise.
7294 (cmsghdr.cmsg_len): Likewise.
7295 (cmsghdr.__glibc_reserved1): Likewise.
7296 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7297 Add ptw-oldrecvmsg and ptw-oldsendmsg.
7298 (CFLAGS-sendmsg.c): Remove rule.
7299 (CFLAGS-recvmsg.c): Likewise.
7300 (CFLAGS-oldsendmsg.c): Add rule.
7301 (CFLAGS-oldrecvmsg.c): Likewise.
7302 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7303 recvmsg and sendmsg.
7304 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7305 Likewise.
7306 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7307 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7308 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7309 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7310 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7311 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7312 Likewise.
7313 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7314 Likewise.
7315 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7316 Likewise.
7317 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7318 Likewise.
7319 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7320 Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7322 Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7324 (GLIBC_2.24): Likewise.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7326 Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7328 Likewise.
7329 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7331 Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7333 Likewise.
7334 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7335 Likewise.
7336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7337 (GLIBC_2.24): Likewise.
7338 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7339 Likewise.
7340 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7341 Likewise.
7342 * sysdeps/unix/sysv/linux/Makefile
7343 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7344 (CFLAGS-sendmsg.c): Add rule.
7345 (CFLAGS-recvmsg.c): Likewise.
7346 (CFLAGS-oldsendmsg.c): Likewise.
7347 (CFLAGS-oldrecvmsg.c): Likewise.
7348 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7349 initialization.
7350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7351 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7352 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7353 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7354 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7355 iovlen and controllen fields to adjust to POSIX specification.
7356 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7358 added recvmsg and sendmsg.
7359 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7360 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7361 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7362 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7364 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7365 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7367 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7368 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7370 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7372 Likewise.
7373 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7375 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7376 Likewise.
7377 Likewise.
7378 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7379 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7380 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7387 Likewise.
7388 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7389 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7390
7391 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7392 from auto-generation.
7393 (sendmsg): Likewise.
7394 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7395 (sendmsg): Likewise.
7396 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7397 (sendmsg): Likewise.
7398 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7399 (sendmsg): Likewise.
7400 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7401 (sendmsg): Likewise.
7402 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7403 (sendmsg): Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7405 Likewise.
7406 (sendmsg): Likewise.
7407 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7408 (sendmsg): Likewise.
7409 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7410 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7411 Remove.
7412 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7413 Likewise.
7414 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7415 Undefine.
7416 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7417 Likewise.
7418 * sysdeps/unix/sysv/linux/kernel-features.h
7419 (__ASSUME_SENDMSG_SYSCALL): Define.
7420 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7423 Remove.
7424 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7425 Likewise.
7426 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7427 Undefine.
7428 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7429 Likewise.
7430 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7431 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7432 Remove.
7433 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7434 Likewise.
7435 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7436 Undefine.
7437 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7438 Likewise.
7439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7440 (__ASSUME_SENDMSG_SYSCALL): Undefine.
7441 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7442 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7443 (__ASSUME_SENDMSG_SYSCALL): Likewise.
7444 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7445 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7446 (__ASSUME_SENDMSG_SYSCALL): Likewise.
7447 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7448
7449 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7450
7451 * stdlib/gen-tst-strtod-round.c: Add backslash to
7452 compile command in comment.
7453 (printfp): Remove the literal suffix, and define an infinite
7454 value as INF to avoid expansion clash with INFINITY.
7455 (round_str): Remove the literal suffix.
7456 (round_for_all): Likewise, remove the now duplicate ldbl-64
7457 entry, and remove some magic constants.
7458
7459 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7460 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
7461 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7462 (_CONCAT): New macro.
7463 (CONCAT): Likewise.
7464 (CHOOSE_ld): Likewise.
7465 (CHOOSE_f): Likewise.
7466 (CHOOSE_d): Likewise.
7467 (FTYPE_MEMBER): Likewise.
7468 (BOOL_MEMBER): Likewise.
7469 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7470 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7471 (_XNTRY): Likewise.
7472 (XNTRY): Likewise.
7473 (_ENTRY): Likewise.
7474 (ENTRY): Likewise.
7475 (test_exactness): Generate members via macro.
7476 (test_results): Likewise.
7477 (test): Update members.
7478 (TEST): Redefine using new macros.
7479 (INF): New macro.
7480 (fetestmodes): New structure.
7481 (do_test): Refactor to be type generic.
7482 (test_in_one_mode): Refactor duplicate code into
7483 (GEN_ONE_TEST): New macro.
7484
7485 * stdlib/tst-strtod-round-data.h: Regenerate.
7486
7487 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7488 Extend to pass additional arbitrary parameters to
7489 generators.
7490
7491 2016-05-25 Joseph Myers <joseph@codesourcery.com>
7492
7493 [BZ #15479]
7494 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7495 floating-point state after first floating-point operation on
7496 input. Restore full floating-point state instead of just rounding
7497 mode.
7498 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7499 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7500 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7503
7504 [BZ #15479]
7505 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7506 floating-point state after first floating-point operation on
7507 input. Restore full floating-point state instead of just rounding
7508 mode.
7509 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7510 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7511 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7512 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7513 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7514
7515 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7516
7517 [BZ #19727]
7518 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7519 valid high surrogate.
7520 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7521 of an utf16 surrogate.
7522 * iconv/gconv_simple.c (BODY): Likewise.
7523 * iconvdata/bug-iconv12.c: New file.
7524 * iconvdata/Makefile (tests): Add bug-iconv12.
7525
7526 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7527
7528 [BZ #19726]
7529 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7530 outptrp in case of an illegal input.
7531 * iconv/tst-iconv6.c: New file.
7532 * iconv/Makefile (tests): Add tst-iconv6.
7533
7534 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7535
7536 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7537 an error in case of a value in range of an utf16 low surrogate.
7538
7539 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7540
7541 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7542 an error in case of a value in range of an utf16 low surrogate.
7543
7544 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7545
7546 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7547 Move to ...
7548 * sysdeps/s390/Makefile: ... here.
7549 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7550 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7551 (BRANCH_ON_COUNT): New define.
7552 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7553 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7554 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7555 run on s390-32, too.
7556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7557 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7558 run on s390-32, too.
7559 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7560 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7561 run on s390-32, too.
7562
7563 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7564
7565 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7566 etf3eh or new vector loop-variant.
7567
7568 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7569
7570 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7571 etf3eh or new vector loop-variant.
7572
7573 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7574
7575 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7576 or new vector loop-variant.
7577
7578 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7579
7580 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7581 Rename to TR_LOOP and usage of tr instead of troo instruction.
7582
7583 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7584
7585 * sysdeps/s390/multiarch/gconv_simple.c: New File.
7586 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7587
7588 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7589
7590 * sysdeps/s390/multiarch/8bit-generic.c: New File.
7591 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7592 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7593 New override define.
7594 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7595
7596 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7597
7598 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7599 * sysdeps/s390/configure.ac: Add test for S390 vector register
7600 support in gcc.
7601 * sysdeps/s390/configure: Regenerated.
7602
7603 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7604
7605 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7606 Install file from $(objpfx)gconv-modules.
7607 ($(objpfx)gconv-modules): Concatenate architecture specific file
7608 in variable sysdeps-gconv-modules and gconv-modules in src dir.
7609 * sysdeps/s390/gconv-modules: New file.
7610 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7611 Deleted.
7612 ($(objpfx)gconv-modules-s390): Deleted.
7613 (sysdeps-gconv-modules): New variable.
7614
7615 2016-05-24 Joseph Myers <joseph@codesourcery.com>
7616
7617 [BZ #15479]
7618 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7619 of immediate operand to rounding instruction.
7620 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7621 Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7623 Likewise.
7624 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7625 Likewise.
7626
7627 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7628
7629 * math/libm-test.inc (MIN_EXP): Directly define as
7630 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7631
7632 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7633
7634 * math/libm-test.inc (MANT_DIG): Directly define as
7635 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7636
7637 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7638
7639 * stdlib/gen-tst-strtod-round.c (main):
7640 Change usage to more closely match the generated
7641 output. Add usage and compilation instructions.
7642 (string_to_fp): Add and use FILE* parameter as
7643 output target.
7644 (print_fp): Likewise.
7645 (round_str): Likewise.
7646 (round_for_all): Likewise.
7647 * stdlib/tst-strtod-round.c (tests): Move into
7648 * stdlib/tst-strtod-round-data.h: New file.
7649
7650 2016-05-24 Joseph Myers <joseph@codesourcery.com>
7651
7652 [BZ #15479]
7653 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7654 (__round): Do not force "inexact" exception.
7655 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7656 variable.
7657 (__round): Do not force "inexact" exception.
7658 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7659 (__roundf): Do not force "inexact" exception.
7660 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7661 (__roundl): Do not force "inexact" exception.
7662 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7663 (__roundl): Do not force "inexact" exception.
7664 * math/libm-test.inc (round_test_data): Do not allow spurious
7665 "inexact" exceptions.
7666
7667 [BZ #15479]
7668 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7669 exception in comment.
7670 (huge): Remove variable.
7671 (__floor): Do not force "inexact" exception.
7672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7673 "inexact" exception in comment.
7674 (huge): Remove variable.
7675 (__floor): Do not force "inexact" exception.
7676 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7677 exception in comment.
7678 (huge): Remove variable.
7679 (__floorf): Do not force "inexact" exception.
7680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7681 exception in comment.
7682 (huge): Remove variable.
7683 (__floorl): Do not force "inexact" exception.
7684
7685 [BZ #15479]
7686 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7687 exception in comment.
7688 (huge): Remove variable.
7689 (__ceil): Do not force "inexact" exception.
7690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7691 "inexact" exception in comment.
7692 (huge): Remove variable.
7693 (__ceil): Do not force "inexact" exception.
7694 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7695 (__ceilf): Do not force "inexact" exception.
7696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7697 exception in comment.
7698 (huge): Remove variable.
7699 (__ceill): Do not force "inexact" exception.
7700
7701 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 * config.h.in (BIND_NOW): New.
7704 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
7705 * configure: Regenerated.
7706 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7707 indirect branch via the GOT slot.
7708
7709 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7710
7711 [BZ #19765]
7712 * sysdeps/s390/mempcpy.S: New File.
7713 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7714 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7715 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7716 Add mempcpy variants.
7717 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7718 (memcpy): Adjust to be usable from mempcpy entry point.
7719 (__memcpy_mvcle): Likewise.
7720 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7721 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7722 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7723 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7724 (__memcpy_z10): Likewise.
7725 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7726
7727 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7728
7729 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7730 Remove __GI_ symbol.
7731 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7732 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7733 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7734 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7735 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7736 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7737
7738 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7739
7740 * sysdeps/s390/s390-64/memcpy.S (memcpy):
7741 Use cghi instead of chi to compare 64bit value.
7742
7743 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7744
7745 * sysdeps/s390/s390-32/memcpy.S (memcpy):
7746 Jump to 1MB check before executing mvc-loop.
7747
7748 2016-05-24 Florian Weimer <fweimer@redhat.com>
7749
7750 [BZ #6527]
7751 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7752 unconditionally.
7753 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7754
7755 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7756
7757 * stdlib/tst-strtod6.c (do_test): Use new type generic
7758 invocation of the test function.
7759 (test): Refactor into ...
7760 (TEST_STRTOD): New macro base function.
7761
7762 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7763
7764 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7765 (TEST_STRTOD): New macro.
7766 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7767
7768 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7769
7770 * stdlib/tst-strtod6.c (do_test): Use new type generic
7771 invocation of the test function.
7772 (test): Refactor into ...
7773 (TEST_STRTOD): New macro base function.
7774
7775 2016-05-23 Florian Weimer <fweimer@redhat.com>
7776
7777 CVE-2016-4429
7778 [BZ #20112]
7779 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7780 payload.
7781
7782 2016-05-23 Florian Weimer <fweimer@redhat.com>
7783
7784 [BZ #20111]
7785 * bits/sockaddr.h (_SS_SIZE): Define.
7786 * bits/socket.h (_SS_SIZE): Remove.
7787 (_SS_PADSIZE): Adjust to account for all padding.
7788 (struct sockaddr_storage): Update comment. Avoid implicit
7789 padding.
7790 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7791 (_SS_PADSIZE): Adjust to account for all padding.
7792 (struct sockaddr_storage): Update comment. Avoid implicit
7793 padding.
7794 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7795 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7796 (_SS_PADSIZE): Adjust to account for all padding.
7797 (struct sockaddr_storage): Update comment. Avoid implicit
7798 padding.
7799 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7800 __SS_SIZE is 126 in this version.
7801 * inet/tst-sockaddr.c: New file.
7802 * inet/Makefile (tests): Add tst-sockaddr.c
7803 (tst-sockaddr.c): Compile with non-strict aliasing.
7804
7805 2016-05-23 Joseph Myers <joseph@codesourcery.com>
7806
7807 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7808 [XPG3 || XPG4].
7809 (NL_ARGMAX): Also expect for [XPG3].
7810 (NL_LANGMAX): Likewise.
7811 (NL_MSGMAX): Likewise.
7812 (NL_NMAX): Likewise.
7813 (NL_SETMAX): Likewise.
7814 (NL_TEXTMAX): Likewise.
7815 (NZERO): Likewise.
7816 (TMP_MAX): Likewise.
7817 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7818 variable.
7819
7820 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7821 (PF_MAX): Update value.
7822 (AF_KCM): New macro.
7823 (SOL_NETBEUI): Likewise.
7824 (SOL_LLC): Likewise.
7825 (SOL_DCCP): Likewise.
7826 (SOL_NETLINK): Likewise.
7827 (SOL_TIPC): Likewise.
7828 (SOL_RXRPC): Likewise.
7829 (SOL_PPPOL2TP): Likewise.
7830 (SOL_BLUETOOTH): Likewise.
7831 (SOL_PNPIPE): Likewise.
7832 (SOL_RDS): Likewise.
7833 (SOL_IUCV): Likewise.
7834 (SOL_CAIF): Likewise.
7835 (SOL_ALG): Likewise.
7836 (SOL_NFC): Likewise.
7837 (SOL_KCM): Likewise.
7838 (MSG_BATCH): New enum value and macro.
7839
7840 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
7841
7842 [BZ #18185]
7843 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7844 sharing L2 cache to 2 for Knights Landing.
7845
7846 2016-05-20 Joseph Myers <joseph@codesourcery.com>
7847
7848 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7849 (FTW_DP): Do not expect for [XPG3 || XPG4].
7850 (FTW_SL): Do not expect for [XPG3].
7851 (FTW_SLN): Likewise.
7852 (FTW_PHYS): Likewise.
7853 (FTW_MOUNT): Likewise.
7854 (FTW_DEPTH): Likewise.
7855 (FTW_CHDIR): Likewise.
7856 (nftw): Likewise.
7857 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7858 variable.
7859
7860 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
7861
7862 * manual/errno.texi: Fix various typos & grammar errors.
7863
7864 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
7865
7866 * manual/intro.texi: Fix duplicated typo.
7867
7868 2016-05-19 Joseph Myers <joseph@codesourcery.com>
7869
7870 [BZ #13304]
7871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7872 <float.h>, <math_private.h> and <stdlib.h>.
7873 (add_split): New function.
7874 (mul_split): Likewise.
7875 (ext_val): New typedef.
7876 (store_ext_val): New function.
7877 (mul_ext_val): New function.
7878 (compare): New function.
7879 (add_split_ext): New function.
7880 (__fmal): After checking for Inf, NaN and zero, compute result as
7881 an exact sum of scaled double values in round-to-nearest before
7882 adding those up and adjusting for other rounding modes.
7883 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7884 tests of fma.
7885 * math/auto-libm-test-out: Regenerated.
7886
7887 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
7888
7889 [BZ #20119]
7890 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7891 processor level type mask for CPUID with EAX == 11.
7892
7893 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7896 logical threads if the HTT bit is 0.
7897 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7898 (index_cpu_HTT): Likewise.
7899 (reg_HTT): Likewise.
7900
7901 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 [BZ #20115]
7904 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7905 Remove alignments on jump targets.
7906
7907 2016-05-19 Joseph Myers <joseph@codesourcery.com>
7908
7909 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7910 (getpwent): Likewise.
7911 (setpwent): Likewise.
7912 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7913 variable.
7914
7915 * conform/data/search.h-data (insque): Do not expect for [XPG3].
7916 (remque): Likewise.
7917 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7918 variable.
7919
7920 2016-05-18 Joseph Myers <joseph@codesourcery.com>
7921
7922 * math/libm-test.inc: Update comment not to refer to signs of NaNs
7923 not being tested.
7924
7925 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7928 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
7929 call.
7930 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7931 (__condvar_cleanup1): Likewise.
7932
7933 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7936 New
7937 (__pthread_unwind): Renamed to ...
7938 (PTHREAD_UNWIND): This.
7939 (__pthread_enable_asynccancel): Replace
7940 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7941
7942 2016-05-18 Joseph Myers <joseph@codesourcery.com>
7943
7944 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7945 (CLONE_NEWCGROUP): New macro.
7946
7947 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7948 (Q_GETNEXTQUOTA): New macro.
7949
7950 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 [BZ #19907]
7953 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7954 buffer updated by the previous run.
7955 * string/test-memcpy.c (do_one_test): Likewise.
7956 * benchtests/bench-memmove.c (do_one_test): Add a comment.
7957 * string/test-memmove.c (do_one_test): Likewise.
7958
7959 2016-05-17 Joseph Myers <joseph@codesourcery.com>
7960
7961 [BZ #20094]
7962 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7963 not [__USE_XOPEN].
7964 (unlockpt): Likewise.
7965 (ptsname): Likewise.
7966 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7967 variable.
7968
7969 [BZ #20076]
7970 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7971 instead of [__USE_UNIX98].
7972 (S_ISSOCK): Likewise.
7973 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7974 variable.
7975
7976 [BZ #20074]
7977 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7978 [__USE_POSIX].
7979 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7980 variable.
7981
7982 [BZ #20051]
7983 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7984 (ttyslot): Do not declare.
7985 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7986 (ttyslot): New prototype.
7987 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7988 variable.
7989 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7990
7991 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7992
7993 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7994
7995 2016-05-13 Florian Weimer <fweimer@redhat.com>
7996
7997 Fix race condition in tst-mallocfork2, use fewer resources.
7998 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7999 to current process group.
8000 (signal_sender): Yield in the non-sleeping case.
8001
8002 2016-05-13 Joseph Myers <joseph@codesourcery.com>
8003
8004 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8005 (ecvt): Likewise.
8006 (fcvt): Likewise.
8007 (gcvt): Likewise.
8008 (getsubopt): Likewise.
8009 (grantpt): Likewise.
8010 (initstate): Likewise.
8011 (l64a): Likewise.
8012 (mktemp): Likewise.
8013 (mkstemp): Likewise.
8014 (ptsname): Likewise.
8015 (random): Likewise.
8016 (realpath): Likewise.
8017 (setstate): Likewise.
8018 (srandom): Likewise.
8019 (ttyslot): Likewise.
8020 (unlockpt): Likewise.
8021 (valloc): Likewise.
8022
8023 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8024 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8025 variable.
8026
8027 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
8028
8029 [BZ #20072]
8030 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8031 init_cpu_features only if SHARED is defined.
8032 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8033
8034 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
8035
8036 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8037 non-inclusive caches on Intel processors.
8038
8039 2016-05-13 Florian Weimer <fweimer@redhat.com>
8040
8041 * malloc/malloc.c (dumped_main_arena_start)
8042 (dumped_main_arena_end): New variables.
8043 (DUMPED_MAIN_ARENA_CHUNK): New macro.
8044 (do_check_chunk): Skip dumped fake mmapped chunks.
8045 (munmap_chunk): Likewise.
8046 (__libc_free): Do not adjust statistics for fake mmapped chunks.
8047 (__libc_realloc): Adjust hardening check. Always copy dumped fake
8048 mmapped chunks.
8049 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8050 Mark dumped chunks as using mmap. Update dumped_main_arena_start
8051 and dumped_main_arena_end to cover the dumped heap.
8052
8053 2016-05-12 Joseph Myers <joseph@codesourcery.com>
8054
8055 * conform/data/time.h-data (getdate_err): Do not expect for
8056 [XPG3].
8057 (getdate): Likewise.
8058 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8059 variable.
8060
8061 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8062 (F_ULOCK): Likewise.
8063 (F_TEST): Likewise.
8064 (F_TLOCK): Likewise.
8065 (useconds_t): Likewise.
8066 (intptr_t): Do not expect for [XPG3] or [XPG4].
8067 (brk): Do not expect for [XPG3]
8068 (fchown): Likewise.
8069 (fchdir): Likewise.
8070 (ftruncate): Likewise.
8071 (getdtablesize): Likewise.
8072 (gethostid): Likewise.
8073 (getpagesize): Likewise.
8074 (getpgid): Likewise.
8075 (getsid): Likewise.
8076 (getwd): Likewise.
8077 (lchown): Likewise.
8078 (lockf): Likewise.
8079 (readlink): Likewise.
8080 (sbrk): Likewise.
8081 (setpgrp): Likewise.
8082 (setregid): Likewise.
8083 (setreuid): Likewise.
8084 (symlink): Likewise.
8085 (sync): Likewise.
8086 (truncate): Likewise.
8087 (ualarm): Likewise.
8088 (usleep): Likewise.
8089 (vfork): Likewise.
8090 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8091 variable.
8092
8093 [BZ #20054]
8094 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8095 not [__USE_UNIX98].
8096 * conform/data/unistd.h-data (gethostname): Do not expect for
8097 [XPG3].
8098
8099 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8100 [!POSIX] (S_IFBLK): Likewise.
8101 [!POSIX] (S_IFCHR): Likewise.
8102 [!POSIX] (S_IFIFO): Likewise.
8103 [!POSIX] (S_IFREG): Likewise.
8104 [!POSIX] (S_IFDIR): Likewise.
8105 [!POSIX] (S_IFLNK): Likewise.
8106 [!POSIX] (S_IFSOCK): Likewise.
8107 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8108 variable.
8109 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8110
8111 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
8112
8113 * sysdeps/aarch64/memset.S (__memset):
8114 Rewrite of optimized memset.
8115
8116 2016-05-12 Florian Weimer <fweimer@redhat.com>
8117
8118 [BZ #19703]
8119 Partially async-signal-safe fork for single-threaded processes.
8120 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8121 variable. Do not acquire and reset/release malloc and libio locks
8122 in single-threaded processes.
8123 * malloc/tst-mallocfork2.c: New file.
8124 * malloc/Makefile (tests): Add it.
8125
8126 2016-05-12 Florian Weimer <fweimer@redhat.com>
8127
8128 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8129 argument. Use scratch buffer instead of extend_alloca.
8130 (gethosts): Use scratch buffer instead of extend_alloca.
8131 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
8132 extend_alloca.
8133 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8134
8135 2016-05-11 Joseph Myers <joseph@codesourcery.com>
8136
8137 [BZ #20055]
8138 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8139 instead of [__USE_UNIX98].
8140 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8141 [__USE_UNIX98].
8142 * conform/data/termios.h-data (tcgetsid): Do not expect for
8143 [XPG3].
8144 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8145 variable.
8146 (test-xfail-XPG4/termios.h/conform): Likewise.
8147
8148 2016-05-11 Florian Weimer <fweimer@redhat.com>
8149
8150 Do not use mcheck in localedef.
8151 * locale/programs/localedef.c (turn_on_mcheck)
8152 (__malloc_initialize_hook): Remove.
8153
8154 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8155
8156 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8157 * sysdeps/s390/s390-64/Makefile: Likewise.
8158
8159 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
8160
8161 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8162 Remove ifunc-defines.sym.
8163 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8164 Likewise.
8165 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8166 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8167 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8168 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8169 rtld-global-offsets.sym.
8170 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8171 * sysdeps/x86/cpu-features-offsets.sym: This.
8172 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8173 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8174
8175 2016-05-10 Joseph Myers <joseph@codesourcery.com>
8176
8177 [BZ #20073]
8178 * io/sys/stat.h (fchmod): Declare for
8179 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8180 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8181 variable.
8182
8183 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8184 [XPG3] (S_IFSOCK): Likewise.
8185 [XPG3] (S_ISVTX): Likewise.
8186 [XPG3] (S_ISLNK): Likewise.
8187 [XPG3] (S_ISSOCK): Likewise.
8188 [XPG3] (fchmod): Likewise.
8189 [XPG3] (lstat): Likewise.
8190 [XPG3] (mknod): Likewise.
8191
8192 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8193 [XPG3]. Expect type long and XFAIL for [XPG4].
8194 (st_blocks): Likewise.
8195
8196 [BZ #20044]
8197 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8198 (pthread_atfork): New prototype.
8199 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8200 variable.
8201
8202 [BZ #20043]
8203 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8204 prototype.
8205
8206 2016-05-10 Florian Weimer <fweimer@redhat.com>
8207
8208 [BZ #20017]
8209 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8210 gmtime.
8211
8212 2016-05-10 Florian Weimer <fweimer@redhat.com>
8213
8214 [BZ #19994]
8215 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8216 flag in _res.options.
8217
8218 2016-05-09 Joseph Myers <joseph@codesourcery.com>
8219
8220 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8221 [XPG3 || XPG4].
8222 (blksize_t): Likewise.
8223 (clockid_t): Likewise.
8224 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8225 variable.
8226 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8227
8228 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
8229
8230 * sysdeps/unix/sysv/linux/s390/init-first.c:
8231 Add VDSO_SYMBOL(getcpu).
8232 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8233 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8234 Add VDSO_SYMBOL(getcpu).
8235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8236 New define HAVE_GETCPU_VSYSCALL.
8237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8238
8239 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
8240
8241 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8242 instead of <sysdeps/x86_64/cacheinfo.c>.
8243 * sysdeps/x86_64/cacheinfo.c: Moved to ...
8244 * sysdeps/x86/cacheinfo.c: Here.
8245
8246 2016-05-04 Florian Weimer <fweimer@redhat.com>
8247
8248 * malloc/malloc-internal.h: Adjust header file guard.
8249
8250 2016-05-04 Florian Weimer <fweimer@redhat.com>
8251
8252 [BZ #19787]
8253 * inet/getnameinfo.c (check_sprintf_result): New function.
8254 (CHECKED_SNPRINTF): New macro.
8255 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8256 to the host buffer.
8257 (gni_host_local): Use checked_copy to copy the host name.
8258 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8259 (gni_serv_local): Use checked_copy to copy the service name.
8260 (getnameinfo): Remove unnecessary truncation of result buffers.
8261
8262 2016-05-04 Florian Weimer <fweimer@redhat.com>
8263
8264 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8265 in case of inet_ntop failure.
8266
8267 2016-05-04 Florian Weimer <fweimer@redhat.com>
8268
8269 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8270 avoid long lines.
8271 (gni_host_inet_numeric): Likewise. Reduce scope of local
8272 variables.
8273 (gni_host_inet, gni_host_local): Add comment.
8274 (gni_host): Add comment. Use temporary to avoid long lines.
8275
8276 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8277
8278 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8279 registers specifiers where general purpose registers specifiers should
8280 have been used.
8281
8282 2016-05-04 Florian Weimer <fweimer@redhat.com>
8283
8284 [BZ #19779]
8285 CVE-2016-1234
8286 Avoid copying names of directory entries.
8287 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8288 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8289 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8290 (struct readdir_result): New type.
8291 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8292 (GL_READDIR): New macros.
8293 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8294 (convert_dirent, convert_dirent64): New functions.
8295 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
8296 convert_dirent64. Adjust references to the readdir result.
8297 * sysdeps/unix/sysv/linux/i386/glob64.c:
8298 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8299 * posix/bug-glob2.c (LONG_NAME): Define.
8300 (filesystem): Add LONG_NAME.
8301 (my_DIR): Increase the size of room_for_dirent.
8302
8303 2016-05-03 Joseph Myers <joseph@codesourcery.com>
8304
8305 [BZ #20041]
8306 * misc/sys/select.h (__need_timespec): Only define if
8307 [__USE_XOPEN2K].
8308 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8309 variable.
8310 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8311 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8312 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8313
8314 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8315 Segher Boessenkool <segher@gcc.gnu.org>
8316
8317 [BZ #20004]
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8319 (__novec_swapcontext): Add missing load.
8320
8321 2016-05-02 Joseph Myers <joseph@codesourcery.com>
8322
8323 [BZ #20023]
8324 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8325 <time.h>.
8326 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8327 variable.
8328 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8329
8330 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8331
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8333 flags CLONE_VM compare.
8334
8335 2016-05-02 Florian Weimer <fweimer@redhat.com>
8336
8337 [BZ #20031]
8338 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8339 completely empty.
8340
8341 2016-05-02 Florian Weimer <fweimer@redhat.com>
8342
8343 [BZ #19573]
8344 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8345 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8346 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8347 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8348 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8349 (hesiod_free_list): Mark as hidden.
8350 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8351 res_set, res_get.
8352 * hesiod/hesiod.c: Remove unnecessary forward declarations.
8353 (init, __hesiod_res_get, __hesiod_res_set): Remove.
8354 (hesiod_init): Remove obsolete res_ninit call.
8355 (hesiod_end): Do not free resolver state. Do not invoke callback.
8356 (hesiod_bind): Do not call init.
8357 (get_txt_records): Use res_mkquery, res_send instead of
8358 res_nmkquery, res_nsend.
8359 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8360 instead of _nss_hesiod_init.
8361 (_nss_hesiod_initgroups_dyn): Likewise.
8362 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8363 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8364 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8365
8366 2016-05-02 Florian Weimer <fweimer@redhat.com>
8367
8368 * hesiod/hesiod_p.h (DEF_RHS): Remove.
8369 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8370
8371 2016-05-02 Florian Weimer <fweimer@redhat.com>
8372
8373 * hesiod/hesiod.h: Remove RCS keyword.
8374 * hesiod/hesiod_p.h: Likewise.
8375
8376 * hesiod/hesiod.c: Likewise.
8377
8378 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
8379
8380 [BZ #12450]
8381 * locale/iso-639.def: Add Samogitian/sgs.
8382
8383 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
8384
8385 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8386
8387 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8388
8389 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
8390 Carlos O'Donell <carlos@redhat.com>
8391
8392 [BZ #19072]
8393 * grp/Makefile (headers): Add grp-merge.h
8394 (routines): Add grp-merge.
8395 * grp/getgrgid_r.c: Include grp-merge.h.
8396 (DEEPCOPY_FN): Define.
8397 (MERGE_FN): Define.
8398 * grp/getgrname_r.c: Include grp-merge.h.
8399 (DEEPCOPY_FN): Define.
8400 (MERGE_FN): Define.
8401 * grp/grp-merge.c: New file.
8402 * grp/grp-merge.h: New file.
8403 * include/grp-merge.h: New file.
8404 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8405 __copy_grp@GLIBC_PRIVATE.
8406 * manual/nss.texi (Actions in the NSS configuration): Describe
8407 return, continue, and merge.
8408 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8409 (DEEPCOPY_FN): Define.
8410 (MERGE_FN): Define.
8411 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8412 (DEEPCOPY_FN): Define.
8413 (MERGE_FN): Define.
8414 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8415 [!MERGE_FN]: Define __merge_einval.
8416 (CHECK_MERGE): Define.
8417 (REENTRANT_NAME): Process merge if do_merge is true.
8418 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8419 (__nss_getent_r): Likewise.
8420 * nss/nsswitch.c (nss_parse_service_list): Likewise.
8421 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8422
8423 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8424
8425 [BZ #20012]
8426 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8427 length to calculate the buffer to read.
8428 (fmemopen_write): Set the buffer position based on bytes written.
8429 (fmemopen_seek): Return EINVAL for invalid whence modes.
8430
8431 [BZ #19957]
8432 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8433 tst-getpid2.
8434 (test): Add tst-clone2.
8435 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8436 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8437 pid/tid fields for CLONE_VM.
8438 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8439 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8440 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8441 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8442 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8443 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8444 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8445 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8447 Likewise.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8449 Likewise.
8450 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8452 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8453 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8454 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8455 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8456 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8457 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8458
8459 2016-04-29 Florian Weimer <fweimer@redhat.com>
8460
8461 [BZ #19642]
8462 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8463 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8464 (gni_serv_local, gni_serv): New functions extracted from
8465 getnameinfo.
8466 (getnameinfo): Call gni_host and gni_serv to perform the
8467 processing. Always free scratch buffer.
8468
8469 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8470
8471 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8472 remaining bytes in the dest string, with zeros.
8473
8474 2016-04-29 Florian Weimer <fweimer@redhat.com>
8475
8476 [BZ #20010]
8477 CVE-2016-3706
8478 * sysdeps/posix/getaddrinfo.c
8479 (convert_hostent_to_gaih_addrtuple): New function.
8480 (gethosts): Call convert_hostent_to_gaih_addrtuple.
8481 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8482 AF_INET data.
8483
8484 2016-04-29 Florian Weimer <fweimer@redhat.com>
8485
8486 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8487 callback function gl_readdir.
8488 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8489 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8490 (glob_in_dir): Remove len. Use strdup instead of malloc and
8491 memcpy to copy the name.
8492 * manual/pattern.texi (Calling Glob): Document requirements for
8493 implementations of the gl_readdir callback function.
8494 * manual/examples/mkdirent.c: New example.
8495 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8496 per the manual guidance.
8497 * posix/tst-gnuglob.c (my_readdir): Likewise.
8498
8499 2016-04-28 Joseph Myers <joseph@codesourcery.com>
8500
8501 [BZ #20014]
8502 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8503 not [__USE_POSIX].
8504 (getchar_unlocked): Likewise.
8505 (putc_unlocked): Likewise.
8506 (putchar_unlocked): Likewise.
8507 (flockfile): Likewise.
8508 (ftrylockfile): Likewise.
8509 (funlockfile): Likewise.
8510 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8511 variable.
8512 (test-xfail-XPG4/stdio.h/conform): Likewise.
8513
8514 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8515 Expect constant.
8516 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8517 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8518 variable.
8519 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8520 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8521
8522 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8523 [__USE_LARGEFILE64] (off64_t): Likewise.
8524 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8525 variable.
8526
8527 2016-04-28 Florian Weimer <fweimer@redhat.com>
8528
8529 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8530
8531 2016-04-28 Florian Weimer <fweimer@redhat.com>
8532
8533 * resolv/inet_addr.c: Reindent preprocessor conditionals.
8534 * resolv/res_init.c: Likewise.
8535 * resolv/res_mkquery.c: Likewise.
8536
8537 2016-04-28 Florian Weimer <fweimer@redhat.com>
8538
8539 * resolv/res_init.c (isascii): Do not define. Use definition in
8540 <ctype.h>.
8541 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8542 (LOG_AUTH): Remove.
8543 (SPRINTF): Remove, adjust caller.
8544 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8545
8546 2016-04-28 Florian Weimer <fweimer@redhat.com>
8547
8548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8549 SUNSECURITY conditional.
8550 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8551
8552 2016-04-28 Florian Weimer <fweimer@redhat.com>
8553
8554 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8555 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8556 Remove BSD-related preprocessor conditionals.
8557 * conf/portability.h: Remove.
8558
8559 2016-04-28 Florian Weimer <fweimer@redhat.com>
8560
8561 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8562 * resolv/res_data.c: Likewise.
8563
8564 2016-04-28 Florian Weimer <fweimer@redhat.com>
8565
8566 * resolv/res_comp.c: Remove code conditional on __ultrix__.
8567 * resolv/res_data.c: Remove code conditional on ultrix.
8568
8569 2016-04-28 Florian Weimer <fweimer@redhat.com>
8570
8571 * resolv/res_init.c (RFC1535): Do not define. Remove
8572 RFC1535 preprocessor conditionals.
8573 * resolv/README: Update. Do not claim strict RFC 1535 compliance
8574 because there configuration options which make the resolver
8575 behavior different.
8576
8577 2016-04-28 Florian Weimer <fweimer@redhat.com>
8578
8579 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
8580 RESOLVSORT preprocessor conditionals.
8581 * resolv/nss_dns/dns-host.c: Likewise.
8582 * resolv/res_init.c: Likewise.
8583
8584 2016-04-28 Florian Weimer <fweimer@redhat.com>
8585
8586 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
8587 is never defined.
8588
8589 2016-04-28 Florian Weimer <fweimer@redhat.com>
8590
8591 * inet/inet_lnaof.c: Remove SCSS keyword.
8592 * inet/inet_mkadr.c: Likewise.
8593 * inet/inet_net.c: Likewise.
8594 * inet/inet_netof.c: Likewise.
8595 * inet/rcmd.c: Likewise.
8596 * inet/rexec.c: Likewise.
8597 * inet/ruserpass.c: Likewise.
8598
8599 2016-04-28 Florian Weimer <fweimer@redhat.com>
8600
8601 * resolv/inet_addr.c: Remove _LIBC conditionals.
8602 * resolv/res_data.c: Likewise.
8603 * resolv/res_init.c: Likewise.
8604 * resolv/res_mkquery.c: Likewise.
8605 * resolv/res_libc.c: Update comment.
8606 * resolv/README: Update.
8607
8608 2016-04-28 Florian Weimer <fweimer@redhat.com>
8609
8610 * resolv/gethnamaddr.c: Remove SCSS keyword.
8611 * resolv/herror.c: Likewise.
8612 * resolv/inet_addr.c: Likewise.
8613 * resolv/inet_net_ntop.c: Likewise.
8614 * resolv/inet_net_pton.c: Likewise.
8615 * resolv/inet_neta.c: Likewise.
8616 * resolv/inet_ntop.c: Likewise.
8617 * resolv/inet_pton.c: Likewise.
8618 * resolv/ns_date.c: Remove RCS keyword.
8619 * resolv/ns_name.c: Likewise.
8620 * resolv/ns_netint.c: Likewise.
8621 * resolv/ns_parse.c: Likewise.
8622 * resolv/ns_print.c: Likewise.
8623 * resolv/ns_samedomain.c: Likewise.
8624 * resolv/ns_ttl.c: Likewise.
8625 * resolv/nsap_addr.c: Likewise.
8626 * resolv/res_comp.c: Remove SCSS and RCS keyword.
8627 * resolv/res_data.c: Remove RCS keyword.
8628 * resolv/res_debug.c: Remove SCSS and RCS keyword.
8629 * resolv/res_init.c: Likewise.
8630 * resolv/res_mkquery.c: Likewise.
8631 * resolv/res_query.c: Likewise.
8632 * resolv/res_send.c: Likewise.
8633
8634 2016-04-27 Joseph Myers <joseph@codesourcery.com>
8635
8636 * conform/data/stdio.h-data (fdopen): Expect also for
8637 [XPG3 || XPG4].
8638
8639 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8640 (fseeko): Likewise.
8641 (ftello): Likewise.
8642 (ftrylockfile): Likewise.
8643 (funlockfile): Likewise.
8644 (getc_unlocked): Likewise.
8645 (getchar_unlocked): Likewise.
8646 (putc_unlocked): Likewise.
8647 (putchar_unlocked): Likewise.
8648
8649 2016-04-27 Florian Weimer <fweimer@redhat.com>
8650
8651 [BZ #19868]
8652 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8653 DNS packet syntax checks (which were not needed before). Skip
8654 over non-PTR records.
8655
8656 2016-04-27 Florian Weimer <fweimer@redhat.com>
8657
8658 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8659 definition. Include <stddef.h> instead.
8660
8661 2016-04-27 Florian Weimer <fweimer@redhat.com>
8662
8663 [BZ #19831]
8664 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8665 function.
8666 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8667 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8668
8669 2016-04-27 Florian Weimer <fweimer@redhat.com>
8670
8671 [BZ #19862]
8672 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8673 (getanswer_r): Do not call syslog.
8674 (gaih_getanswer_slice): Likewise.
8675 * resolv/gethnamaddr.c (AskedForGot): Remove.
8676 (getanswer): Do not call syslog.
8677 (gethostbyaddr): Likewise.
8678
8679 2016-04-27 Joseph Myers <joseph@codesourcery.com>
8680
8681 * conform/data/signal.h-data (union sigval): Expect also if
8682 [XOPEN2K].
8683 (struct sigevent): Likewise.
8684 (SIGEV_NONE): Likewise.
8685 (SIGEV_SIGNAL): Likewise.
8686 (SIGEV_THREAD): Likewise.
8687 (SIGRTMIN): Likewise.
8688 (SIGRTMAX): Likewise.
8689 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8690 variable.
8691 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8692
8693 2016-04-27 Florian Weimer <fweimer@redhat.com>
8694
8695 [BZ #19830]
8696 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8697 (gaih_getanswer_slice): Likewise.
8698 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8699 Also check for availability of RR metadata.
8700
8701 2016-04-27 Florian Weimer <fweimer@redhat.com>
8702
8703 [BZ #19825]
8704 * resolv/res_send.c (send_vc): Remove early *resplen2
8705 initialization. Set *resplen2 on socket error. Call
8706 close_and_return_error for other errors.
8707
8708 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8709
8710 * sysdeps/unix/sysv/linux/netiucv/iucv.h
8711 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8712 (SCM_IUCV_TRGCLS): New define.
8713
8714 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8715
8716 [BZ #20005]
8717 * libio/fmemopen.c (fmemopen_write): Update internal position after
8718 write.
8719 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8720 * stdio-common/tst-fmemopen4.c: New file..
8721
8722 2016-04-26 Joseph Myers <joseph@codesourcery.com>
8723
8724 [BZ #19996]
8725 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8726 not [__USE_XOPEN2K].
8727 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8728 variable.
8729
8730 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8731 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8732 variable.
8733
8734 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8735 [__USE_XOPEN2K8].
8736 [__USE_LARGEFILE64] (off64_t): Likewise.
8737 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8738 variable.
8739
8740 2016-04-25 Joseph Myers <joseph@codesourcery.com>
8741
8742 [BZ #19989]
8743 * libio/stdio.h (cuserid): Do not declare if
8744 [__USE_XOPEN2K && !__USE_GNU].
8745 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8746 variable.
8747
8748 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8749
8750 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8751 (sysdep_routines): Add P8 and PPC64 strcspn targets.
8752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8753 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8754 ifunc'ed strcspn.
8755 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8756 [EALIGN]: Removed.
8757 [END]: Likewise
8758 [STRSPN]: Define instead of the above to control symbol name.
8759 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8760 New file.
8761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8762 Likewise.
8763 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8764 Likewise.
8765 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8766 Likewise.
8767 * sysdeps/powerpc/powerpc64/power8/strspn.S:
8768 [INITIAL_MASK]: New macro.
8769 [STRCSPN]: Likewise.
8770 [UPDATE_MASK]: Likewise.
8771 [USE_AS_STRCSPN]: Lisewise.
8772
8773 2016-04-25 Florian Weimer <fweimer@redhat.com>
8774
8775 [BZ #19931]
8776 * stdio-common/tst-vfprintf-width-prec.c: New file.
8777 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8778 (tests-special): Add tst-vfprintf-width-prec-mem.out.
8779 (generated): Add mtrace-related files.
8780 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8781 (tst-%-mem.out): New pattern rule, replaces
8782 tst-printf-bz18872-mem.out.
8783 * stdio-common/vfprintf.c (vfprintf): When handling a precision
8784 specifier, deallocate any previously allocated work buffer.
8785
8786 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8787
8788 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8789 Add nop before __startcontext, add explaining comments.
8790
8791 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
8792
8793 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8794 any more. Notably since IPV6_PKTINFO has been reintroduced with a
8795 completely different API.
8796
8797 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8798 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8799 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8800 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8801 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8802 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8803 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8804 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8805 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8806 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8807
8808 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8811
8812 2016-04-23 Mike Frysinger <vapier@gentoo.org>
8813
8814 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8815 when it is the default of 0.
8816
8817 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8818
8819 * sysdeps/powerpc/locale-defines.sym: Add new macros.
8820 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8821 (sysdep_routines): Add new strcasestr targets.
8822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8823 (__libc_ifunc_impl_list): Likewise.
8824 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8825 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8826 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8827 * sysdeps/powerpc/powerpc64/power8/Makefile:
8828 New file to add strcasestr-ppc64 to sysdep_routines.
8829 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8830 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8831
8832 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
8833
8834 * benchtests/Makefile (wcsmbs-benchset): Include only for
8835 native builds and runs.
8836 (LOCALES): Likewise.
8837 (bench-build): Build timing-type here instead of the bench
8838 target. Generate locale only for native builds.
8839 * benchtests/README: Add note for cross-building.
8840
8841 * benchtests/Makefile (bench-clean): Clean up extra-objs.
8842
8843 * benchtests/README: Update README to include instructions on
8844 using bench-build.
8845
8846 * Makefile.in (bench-build): New target.
8847 * Rules (PHONY): Add bench-build target.
8848 * benchtests/Makefile (bench): Depend on bench-build.
8849 (bench-build): New target.
8850
8851 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8852
8853 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8854 profil_reply_port.
8855 (profile_waiter): Do not initialize profil_reply_port.
8856 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8857 frequency instead of tick length in us.
8858
8859 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
8860
8861 [BZ #18712]
8862 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8863 (__old_mempcpy_small): Likewise.
8864 (__old_strcpy_small): Likewise.
8865 (__old_stpcpy_small): Likewise.
8866 (__old_strpbrk_c2): Fix compat symbol name.
8867 (__old_strpbrk_c3): Likewise.
8868 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8869 (__mempcpy_small): Remove.
8870 (__strcpy_small): Remove.
8871 (__stpcpy_small): Remove.
8872
8873 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
8874
8875 [BZ #19400]
8876 * locale/iso-639.def: Add the Talossan/tzl language.
8877
8878 2016-04-16 Mike Frysinger <vapier@gentoo.org>
8879
8880 [BZ #16983]
8881 * locale/programs/ld-address.c (address_finish): Update postal_fmt
8882 comment. Add "ln" to strchr check on postal_fmt.
8883
8884 2016-04-16 Mike Frysinger <vapier@gentoo.org>
8885
8886 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8887 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
8888 tel_dom_fmt.
8889
8890 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8891
8892 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8893 (sysdep_routines): Added __strlen_power8.
8894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8895 __strlen_power8 entry.
8896 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8897 Implementation for POWER8.
8898 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8899 for __strlen_power8.
8900 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8901 Implementation for POWER8.
8902
8903 2016-04-15 Mike Frysinger <vapier@gentoo.org>
8904
8905 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8906
8907 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8910 Goldmont and Airmont processors.
8911
8912 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
8913
8914 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8915 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8916 (__STRING2_SMALL_GET32): Remove.
8917 (memset): Remove.
8918 (__memset_1): Remove.
8919 (__memset_gc): Remove.
8920 (__mempcpy): Remove.
8921 (mempcpy): Remove.
8922 (__mempcpy_args): Remove.
8923 (strchr): Remove.
8924 (strcpy): Remove.
8925 (strcpy_args): Remove.
8926 (__stpcpy_args): Remove.
8927 (__strcmp_cc): Remove.
8928 (__strcmp_gc): Remove.
8929 (strstr): Remove.
8930
8931 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
8932
8933 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8934 * nis/nis_call.c (nis_server_cache_add): Likewise.
8935
8936 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8937
8938 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8939
8940 2016-04-14 Florian Weimer <fweimer@redhat.com>
8941
8942 * malloc/arena.c (__malloc_fork_lock_parent)
8943 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8944 internal_function attribute.
8945
8946 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
8947
8948 * stdio-common/printf_fp.c (__printf_fp_l):
8949 Rename ___printf_fp_l to __printf_fp_l and
8950 remove strong alias. Use libc_hidden_def instead
8951 of ldbl_hidden_def macro.
8952
8953 2016-04-14 Florian Weimer <fweimer@redhat.com>
8954
8955 Remove malloc hooks from fork handler. They are no longer needed
8956 because malloc runs right before fork, and no malloc calls from
8957 other fork handlers are not possible anymore.
8958 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8959 declarations.
8960 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8961 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8962 (atfork_recursive_cntr): Remove.
8963 (__malloc_fork_lock_parent): Do not override malloc hooks and
8964 thread_arena.
8965 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8966 thread_arena.
8967 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
8968 thread_arena instead of save_arena.
8969
8970 2016-04-14 Florian Weimer <fweimer@redhat.com>
8971
8972 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8973 (thread_atfork, thread_atfork_static): Remove.
8974 * sysdeps/mach/hurd/malloc-machine.h:
8975 (thread_atfork, thread_atfork_static): Remove.
8976
8977 2016-04-14 Florian Weimer <fweimer@redhat.com>
8978
8979 [BZ #19431]
8980 Run the malloc fork handler as late as possible to avoid deadlocks.
8981 * malloc/malloc-internal.h: New file.
8982 * malloc/malloc.c: Include it.
8983 * malloc/arena.c (ATFORK_MEM): Remove.
8984 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8985 Update comment.
8986 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8987 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8988 Remove outdated comment.
8989 (ptmalloc_init): Do not call thread_atfork. Remove
8990 thread_atfork_static.
8991 * malloc/tst-malloc-fork-deadlock.c: New file.
8992 * Makefile (tests): Add tst-malloc-fork-deadlock.
8993 (tst-malloc-fork-deadlock): Link against libpthread.
8994 * manual/memory.texi (Aligned Memory Blocks): Update safety
8995 annotation comments.
8996 * sysdeps/nptl/fork.c (__libc_fork): Call
8997 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8998 __malloc_fork_unlock_child.
8999 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9000
9001 2016-04-14 Florian Weimer <fweimer@redhat.com>
9002
9003 [BZ #19613]
9004 Remove union wait.
9005 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9006 (w_stopsig, w_stopval): Remove.
9007 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9008 stat_loc argument.
9009 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9010 (__WAIT_STATUS_DEFN): Remove.
9011 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9012 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9013 (wait, wait3, wait4): Use int * for the stat_loc argument.
9014 * posix/wait.c (__wait): Likewise.
9015 * posix/wait3.c (__wait3): Likewise.
9016 * posix/wait4.c (__wait4): Likewise.
9017 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9018 (__WAIT_STATUS_DEFN): Remove.
9019 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9020 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9021 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9022 argument.
9023 * sysdeps/posix/wait.c (__libc_wait): Likewise.
9024 * sysdeps/posix/wait3.c (__wait3): Likewise.
9025 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9026 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9027 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9028 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9029 stat_loc argument.
9030 * manual/process.texi (BSD Wait Functions): Remove union wait.
9031
9032 2016-04-13 Andreas Schwab <schwab@suse.de>
9033
9034 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9035 (test-extras): Add tst-tlsalign-vars.
9036 * math/Makefile: Wrap long lines.
9037 (libm-vec-test-wrappers): Define.
9038 (test-extras): Add $(libm-vec-test-wrappers).
9039 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9040 * nss/Makefile (extra-test-objs): Add nss_test1.os.
9041 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9042 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9043 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9044 (extra-test-objs): Add corresponding objects.
9045
9046 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 [BZ #19928]
9049 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9050 New.
9051 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9052 times of shared cache size.
9053 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9054 (VMOVNT): New.
9055 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9056 (VMOVNT): Likewise.
9057 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9058 (VMOVNT): Likewise.
9059 (VMOVU): Changed to movups for smaller code sizes.
9060 (VMOVA): Changed to movaps for smaller code sizes.
9061 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9062 comments.
9063 (PREFETCH): New.
9064 (PREFETCH_SIZE): Likewise.
9065 (PREFETCHED_LOAD_SIZE): Likewise.
9066 (PREFETCH_ONE_SET): Likewise.
9067 Rewrite to use forward and backward loops, which move 4 vector
9068 registers at a time, to support overlapping addresses and use
9069 non temporal store if size is above the threshold and there is
9070 no overlap between destination and source.
9071
9072 2016-04-12 Alex Smith <alex.smith@imgtec.com>
9073
9074 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9075 Include dl-vdso.
9076 * sysdeps/unix/sysv/linux/mips/Versions: Add
9077 __vdso_clock_gettime.
9078 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9079 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9080 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9081 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9082 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9083 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9084 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9085 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9086 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9087
9088 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9089
9090 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9091 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9093 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9094 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9095 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9098 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9100 syscalls generation.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9102 [__NR_pwrite64] (__NR_write): Remove define.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9104 [__NR_pwrite64] (__NR_write): Remove define.
9105 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9106 Remove define.
9107 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9108 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9109 Remove define.
9110 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9111 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9112 Linux implementation as base.
9113 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9114
9115 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9116 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9117 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9118 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9121 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9123 syscall generation.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9125 [__NR_pread64] (__NR_pread): Remove define.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9127 [__NR_pread64] (__NR_pread): Likewise.
9128 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9129 define.
9130 (__libc_pread): Use SYSCALL_LL macro on offset argument.
9131 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9132 Remove define.
9133 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9134 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9135 Linux implementation as base.
9136 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9137 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9138 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9139
9140 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9141 definition.
9142 (__ALIGNMENT_COUNT): Likewise.
9143 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9144 (__ALIGNMENT_COUNT): Likewise.
9145 (SYSCALL_LL): New define.
9146 (SYSCALL_LL64): Likewise.
9147 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9148 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9149 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9150 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9151
9152 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9153 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9154 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9155 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9157 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9158
9159 2016-04-11 Florian Weimer <fweimer@redhat.com>
9160
9161 [BZ #19865]
9162 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9163 original buffer before retry.
9164
9165 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9166
9167 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9168 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9169 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9170 GLRO(dl_auxv) list.
9171 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9172 including <ldsodefs.h>.
9173 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9174
9175 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
9176
9177 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9178 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9179 $(CPPFLAGS).
9180
9181 2016-04-09 Khem Raj <raj.khem@gmail.com>
9182
9183 [BZ #17950]
9184 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9185 Add -mfpmath=387.
9186
9187 2016-04-09 Mike Frysinger <vapier@gentoo.org>
9188
9189 * sysdeps/i386/configure.ac: Change == to = when calling test.
9190 * sysdeps/x86_64/configure.ac: Likewise.
9191 * sysdeps/i386/configure: Regenerated.
9192 * sysdeps/x86_64/configure: Likewise.
9193
9194 2016-04-08 Mike Frysinger <vapier@gentoo.org>
9195
9196 [BZ #16137]
9197 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9198 * benchtests/bench-strcoll.c (input_files): Likewise.
9199 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9200 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9201 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9202
9203 2016-04-08 Joseph Myers <joseph@codesourcery.com>
9204
9205 [BZ #19929]
9206 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9207 [__USE_XOPEN2K8 && !__USE_GNU].
9208 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9209 variable.
9210
9211 [BZ #19925]
9212 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9213 define if [!__USE_MISC && __USE_XOPEN2K].
9214 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9215 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9219 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9220 variable.
9221 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9222
9223 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9224
9225 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9226 (sysdep_routines): Add new strspn targets.
9227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9228 (__libc_ifunc_impl_list): Add strspn.
9229 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9230 New file.
9231 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9232 Likewise.
9233 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9234 Likewise.
9235 * sysdeps/powerpc/powerpc64/power8/strspn.S:
9236 Likewise.
9237
9238 2016-04-07 Florian Weimer <fweimer@redhat.com>
9239
9240 * misc/hsearch_r.c: Include <limits.h>.
9241
9242 2016-04-07 Florian Weimer <fweimer@redhat.com>
9243
9244 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9245
9246 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9249 (MEMCPY_SYMBOL): New.
9250 (MEMPCPY_SYMBOL): Likewise.
9251 (MEMMOVE_CHK_SYMBOL): Likewise.
9252 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9253 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9254 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
9255 Provide alias for memcpy in libc.a and ld.so.
9256
9257 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
9258
9259 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9260 (MEMSET_CHK_SYMBOL): New. Define if not defined.
9261 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9262 Disabled fro now.
9263 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9264 symbols. Properly check USE_MULTIARCH on __memset symbols.
9265
9266 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * benchtests/Makefile (string-benchset): Add memcpy-large,
9269 memmove-large and memset-large.
9270 * benchtests/bench-memcpy-large.c: New file.
9271 * benchtests/bench-memmove-large.c: Likewise.
9272 * benchtests/bench-memmove-large.c: Likewise.
9273 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9274
9275 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
9276
9277 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9278 32-bit displacement to avoid long nop between instructions.
9279
9280 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
9281
9282 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9283 a comment on VMOVU and VMOVA.
9284
9285 2016-04-04 Florian Weimer <fweimer@redhat.com>
9286
9287 [BZ #19633]
9288 Use specified locale for number formatting in strfmon_l.
9289 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9290 (__nl_lookup_word): New inline functions.
9291 * include/printf.h (__print_fp_l): Declare.
9292 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9293 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
9294 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9295 (___printf_fp): New function.
9296 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9297 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9298 * stdlib/tst-strfmon_l.c (do_test): New test.
9299 * stdlib/Makefile (tests): Add kt.
9300 (LOCALES): Build additional locales.
9301 (tst-strfmon_l.out): Require locales.
9302
9303 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9306 if not in libc.
9307 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9308 Likewise.
9309 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9310 Likewise.
9311 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9312 Likewise.
9313
9314 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9317 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9318 with unaligned_erms.
9319 (__memmove_erms): Skip if source == destination.
9320 (__memmove_unaligned_erms): Don't check source == destination
9321 first.
9322
9323 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
9324
9325 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9326 bit_arch_Fast_Copy_Backward for Intel Core proessors.
9327
9328 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9329
9330 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9331 * string/strspn.c (strspn): Likewise.
9332
9333 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
9334
9335 * benchtests/bench-memset.c (do_test): Support 64-byte
9336 alignment.
9337 (test_main): Test 64-byte alignment.
9338
9339 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
9340
9341 * benchtests/bench-memmove.c (test_main): Test 64-byte
9342 alignment.
9343
9344 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
9345
9346 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9347
9348 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9349
9350 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9351 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9352 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9353
9354 * string/strpbrk.c (strpbrk): Rewrite function.
9355 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9356 (__strpbrk_c2): Likewise.
9357 (__strpbrk_c3): Likewise.
9358 * string/string-inlines.c
9359 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9360 Likewise.
9361 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9362 Likewise.
9363
9364 * string/strspn.c (strcspn): Rewrite function.
9365 * string/bits/string2.h (strspn): Use __builtin_strcspn.
9366 (__strspn_c1): Remove inline function.
9367 (__strspn_c2): Likewise.
9368 (__strspn_c3): Likewise.
9369 * string/string-inlines.c
9370 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9371 compatibility symbol.
9372 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9373 Likewise.
9374 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9375 Likewise.
9376 * string/string-inlines.c: Include generic version.
9377
9378 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
9379 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9380
9381 * string/Version (libc): Add GLIBC_2.24.
9382 * string/strcspn.c (strcspn): Rewrite function.
9383 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9384 (__strcspn_c1): Remove inline function.
9385 (__strcspn_c2): Likewise.
9386 (__strcspn_c3): Likewise.
9387 * string/string-inline.c
9388 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9389 compatibility symbol.
9390 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9391 Likewise.
9392 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9393 Likewise.
9394 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9395
9396 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9397
9398 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9399 Use ahi instead of aghi to adjust stack pointer.
9400
9401 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9402
9403 [BZ #19853]
9404 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9405 TEST to take significant digits as second parameter.
9406 [TEST]: Redefine in terms of TEST_N taking 30
9407 significant digits.
9408 (do_test): Add test case to demonstrate precision
9409 failure in the ldbl-128ibm printf.
9410 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9411 (__mpn_extract_long_double): Carry 7 extra intermediate
9412 bits of precision to aide computing difference when
9413 signs differ.
9414
9415 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 [BZ #19881]
9418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9419 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9420 memset-avx512-unaligned-erms.
9421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9422 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9423 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9424 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9425 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9426 __memset_sse2_unaligned_erms, __memset_erms,
9427 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9428 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9429 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9430 file.
9431 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9432 Likewise.
9433 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9434 Likewise.
9435 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9436 Likewise.
9437
9438 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 [BZ #19776]
9441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9442 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9443 memmove-avx512-unaligned-erms.
9444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9445 (__libc_ifunc_impl_list): Test
9446 __memmove_chk_avx512_unaligned_2,
9447 __memmove_chk_avx512_unaligned_erms,
9448 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9449 __memmove_chk_sse2_unaligned_2,
9450 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9451 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9452 __memmove_avx512_unaligned_erms, __memmove_erms,
9453 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9454 __memcpy_chk_avx512_unaligned_2,
9455 __memcpy_chk_avx512_unaligned_erms,
9456 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9457 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9458 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9459 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9460 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9461 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9462 __mempcpy_chk_avx512_unaligned_erms,
9463 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9464 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9465 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9466 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9467 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9468 __mempcpy_erms.
9469 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9470 file.
9471 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9472 Likwise.
9473 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9474 Likwise.
9475 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9476 Likwise.
9477
9478 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9479
9480 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9481 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9482 (La_s390_64_regs): Likewise.
9483 (La_s390_32_retval): Append vector register lrv_v24.
9484 (La_s390_64_retval): Likeweise.
9485 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9486 Handle extended structs La_s390_32_regs and La_s390_32_retval.
9487 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9488 Handle extended structs La_s390_64_regs and La_s390_64_retval.
9489
9490 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9491
9492 [BZ #19916]
9493 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9494 to create a non-vector/vector version for _dl_runtime_resolve and
9495 _dl_runtime_profile. Move implementation to ...
9496 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9497 (_dl_runtime_resolve) Save and restore fpr/vrs.
9498 (_dl_runtime_profile) Save and restore vrs and fix some issues
9499 if _dl_call_pltexit is called.
9500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9501 Choose the correct resolver function if running on a machine with vx.
9502 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9503 to create a non-vector/vector version for _dl_runtime_resolve and
9504 _dl_runtime_profile. Move implementation to ...
9505 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9506 (_dl_runtime_resolve) Save and restore fpr/vrs.
9507 (_dl_runtime_profile) Save and restore vrs and fix some issues
9508 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9509 Choose the correct resolver function if running on a machine with vx.
9510
9511 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9512
9513 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9514
9515 2016-03-31 Florian Weimer <fweimer@redhat.com>
9516
9517 [BZ #19509]
9518 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9519 skip_map != NULL.
9520 * elf/tst-dlsym-error.c: New file.
9521 * elf/Makefile (tests): Add tst-dlsym-error.
9522 (tst-dlsym-error): Link against libdl.
9523
9524 2016-03-29 Joseph Myers <joseph@codesourcery.com>
9525
9526 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9527 (__ASSUME_FUTIMESAT): Remove macro.
9528 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9529
9530 2016-03-29 Florian Weimer <fweimer@redhat.com>
9531
9532 [BZ #19879]
9533 CVE-2016-3075
9534 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9535 copy name.
9536
9537 2016-03-29 Florian Weimer <fweimer@redhat.com>
9538
9539 [BZ #19837]
9540 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9541 error if parse_line fails.
9542
9543 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
9544
9545 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9546 (index_cpu_ERMS): Likewise.
9547 (reg_ERMS): Likewise.
9548
9549 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
9550
9551 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9552 PER_LINUX_FDPIC): Add.
9553
9554 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
9555
9556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9557 memcpy-avx512-no-vzeroupper.
9558 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9559 to ...
9560 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9561 (MEMCPY): Don't define.
9562 (MEMCPY_CHK): Likewise.
9563 (MEMPCPY): Likewise.
9564 (MEMPCPY_CHK): Likewise.
9565 (MEMPCPY_CHK): Renamed to ...
9566 (__mempcpy_chk_avx512_no_vzeroupper): This.
9567 (MEMPCPY_CHK): Renamed to ...
9568 (__mempcpy_chk_avx512_no_vzeroupper): This.
9569 (MEMCPY_CHK): Renamed to ...
9570 (__memmove_chk_avx512_no_vzeroupper): This.
9571 (MEMCPY): Renamed to ...
9572 (__memmove_avx512_no_vzeroupper): This.
9573 (__memcpy_avx512_no_vzeroupper): New alias.
9574 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9575
9576 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
9577
9578 [BZ #18858]
9579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9580 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9581 and mempcpy-avx512-no-vzeroupper.
9582 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9583 New.
9584 (MEMPCPY): Likewise.
9585 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9586 (MEMPCPY_CHK): New.
9587 (MEMPCPY): Likewise.
9588 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9589 (MEMPCPY): Likewise.
9590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9591 (MEMPCPY): Likewise.
9592 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9593 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9594 Likewise.
9595 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9596 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9597
9598 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
9599 Amit Pawar <Amit.Pawar@amd.com>
9600
9601 [BZ #19583]
9602 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9603 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9604 processors. Set Fast_Copy_Backward for AMD Excavator
9605 processors.
9606 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9607 New.
9608 (index_arch_Fast_Unaligned_Copy): Likewise.
9609 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9610 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9611
9612 2016-03-25 Florian Weimer <fweimer@redhat.com>
9613
9614 [BZ #19791]
9615 * resolv/res_send.c (close_and_return_error): New function.
9616 (send_dg): Initialize *resplen2 after reopen failure. Call
9617 close_and_return_error for error returns. On error paths without
9618 __res_iclose, initialze *resplen2 explicitly. Update comment for
9619 successful return.
9620
9621 2016-03-25 Florian Weimer <fweimer@redhat.com>
9622
9623 [BZ# 19860]
9624 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9625 zero if the compiler does not provide the AVX512F bit.
9626
9627 2016-03-24 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #19848]
9630 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9631 from 8 to 4.
9632 (__ieee754_powl): Compare integer exponent against 4 not 8.
9633 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9634 from 8 to 4.
9635 (__ieee754_powl): Compare integer exponent against 4 not 8.
9636 * math/auto-libm-test-in: Add more tests of pow.
9637 * math/auto-libm-test-out: Regenerated.
9638 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9640
9641 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
9642
9643 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9644 Make code unconditional.
9645 [!__NR_utimensat]: Remove conditional code.
9646 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9647 Make code unconditional.
9648 [!__NR_utimensat]: Remove conditional code.
9649 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9650 Make code unconditional.
9651 [!__NR_utimensat]: Remove conditional code.
9652
9653 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
9654
9655 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9656 Make code unconditional.
9657
9658 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
9659
9660 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9661 call-clobbered %eax on retry path.
9662 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9663
9664 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
9665
9666 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9667 Don't set %rcx twice before "rep movsb".
9668
9669 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
9670
9671 [BZ #19583]
9672 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9673 inline. Check family before setting family, model and
9674 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
9675 bits here.
9676 (init_cpu_features): Replace HAS_CPU_FEATURE and
9677 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9678 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
9679 for Intel processors with usable AVX2. Call get_common_indeces
9680 for other processors with family == NULL.
9681 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9682 (CPU_FEATURES_ARCH_P): Likewise.
9683 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9684 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9685
9686 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9687
9688 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9689 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9690 $(shared-thread-library) instead of hardcoding the path to libpthread.
9691
9692 2016-03-22 Joseph Myers <joseph@codesourcery.com>
9693
9694 * sysdeps/unix/sysv/linux/kernel-features.h
9695 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9696 * sysdeps/unix/sysv/linux/getdents.c
9697 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9698 [!have_no_getdents64_defined]: Likewise.
9699 (__GETDENTS): Remove __have_no_getdents64 conditional.
9700
9701 2016-03-21 Joseph Myers <joseph@codesourcery.com>
9702
9703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9704 Remove macro.
9705 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9706 <kernel-features.h>.
9707 (signalfd) [__NR_signalfd4]: Make code unconditional.
9708 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9709
9710 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9711
9712 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9713 style.
9714
9715 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9718 (__pthread_enable_asynccancel): Use JUMPTARGET to call
9719 __pthread_unwind.
9720 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9721 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9722 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9723 (__condvar_cleanup1): Likewise.
9724
9725 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
9726
9727 [BZ #19822]
9728 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9729 move it to the final $@ location.
9730
9731 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9732
9733 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9734 access where posix_spawn success and pid argument is null.
9735 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9736 success case.
9737
9738 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
9739
9740 * sysdeps/mach/hurd/i386/c++-types.data: New file.
9741
9742 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9743
9744 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9745 and __fcntl.
9746 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9747 __fcntl only.
9748 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9749 adding attribute_hidden to __open and __fcntl.
9750
9751 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9752 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9753 depend on libc-modules.h,
9754 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9755
9756 2016-03-17 Joseph Myers <joseph@codesourcery.com>
9757
9758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9759 Remove macro.
9760 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9761 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9762 entry.
9763
9764 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9765 Remove macro.
9766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9767 include <kernel-features.h>.
9768 [!__ASSUME_FALLOCATE]: Remove conditional code.
9769 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9770
9771 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9774 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9775 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9776 (_ZGVdN4v_cos_avx2): Likewise.
9777 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9778 (_ZGVdN4v_cos): Likewise.
9779 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9780 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9781 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9782 (_ZGVdN4v_exp_avx2): Likewise.
9783 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9784 (_ZGVdN4v_exp): Likewise.
9785 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9786 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9787 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9788 (_ZGVdN4v_log_avx2): Likewise.
9789 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9790 (_ZGVdN4v_log): Likewise.
9791 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9792 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9793 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9794 (_ZGVdN4vv_pow_avx2): Likewise.
9795 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9796 (_ZGVdN4vv_pow): Likewise.
9797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9798 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9799 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9800 (_ZGVdN4v_sin_avx2): Likewise.
9801 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9802 (_ZGVdN4v_sin): Likewise.
9803 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9804 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9806 (_ZGVdN4vvv_sincos_avx2): Likewise.
9807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9808 (_ZGVdN4vvv_sincos): Likewise.
9809 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9810 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9811 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9812 (_ZGVbN4v_cosf_sse4): Likewise.
9813 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9814 (_ZGVdN8v_cosf_avx2): Likewise.
9815 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9816 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9817 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9818 (_ZGVbN4v_expf_sse4): Likewise.
9819 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9820 (_ZGVdN8v_expf_avx2): Likewise.
9821 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9822 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9823 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9824 (_ZGVbN4v_logf_sse4): Likewise.
9825 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9826 (_ZGVdN8v_logf_avx2): Likewise.
9827 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9828 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9829 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9830 (_ZGVbN4vv_powf_sse4): Likewise.
9831 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9832 (_ZGVdN8vv_powf_avx2): Likewise.
9833 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9834 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9835 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9836 (_ZGVbN4vvv_sincosf_sse4): Likewise.
9837 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9838 (_ZGVdN8vvv_sincosf_avx2): Likewise.
9839 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9840 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9841 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9842 (_ZGVbN4v_sinf_sse4): Likewise.
9843 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9844 (_ZGVdN8v_sinf_avx2): Likewise.
9845 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9846 Use JUMPTARGET to call callee.
9847 (WRAPPER_IMPL_SSE2_ff): Likewise.
9848 (WRAPPER_IMPL_SSE2_fFF): Likewise.
9849 (WRAPPER_IMPL_AVX): Likewise.
9850 (WRAPPER_IMPL_AVX_ff): Likewise.
9851 (WRAPPER_IMPL_AVX_fFF): Likewise.
9852 (WRAPPER_IMPL_AVX512): Likewise.
9853 (WRAPPER_IMPL_AVX512_ff): Likewise.
9854 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9855 Likewise.
9856 (WRAPPER_IMPL_SSE2_ff): Likewise.
9857 (WRAPPER_IMPL_SSE2_fFF): Likewise.
9858 (WRAPPER_IMPL_AVX): Likewise.
9859 (WRAPPER_IMPL_AVX_ff): Likewise.
9860 (WRAPPER_IMPL_AVX_fFF): Likewise.
9861 (WRAPPER_IMPL_AVX512): Likewise.
9862 (WRAPPER_IMPL_AVX512_ff): Likewise.
9863 (WRAPPER_IMPL_AVX512_fFF): Likewise.
9864
9865 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9866
9867 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9868 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9869 qualifier.
9870 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9871 internal_function qualifiers.
9872
9873 2016-03-15 Carlos O'Donell <carlos@redhat.com>
9874
9875 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9876 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9877 * math/atest-exp.c (exp_mpn): Mark chk unused.
9878 * math/atest-exp2.c (exp_mpn): Likwise.
9879 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9880 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9881
9882 2016-03-15 Joseph Myers <joseph@codesourcery.com>
9883
9884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9885 Remove macro.
9886 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9887 <kernel-features.h>.
9888 [__NR_ppoll]: Make code unconditional.
9889 [!__ASSUME_PPOLL]: Remove conditional code.
9890
9891 * sysdeps/unix/sysv/linux/kernel-features.h
9892 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9893 (__ASSUME_ACCEPT4): Likewise.
9894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9895 Define.
9896 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9897 Likewise.
9898 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9899 Likewise.
9900 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9901 Likewise.
9902 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9903 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9904 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9905 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9906 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9907 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9909 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9910 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9911 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9912 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9913 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9915 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9916 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9917 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9918 Likewise.
9919 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9920 Likewise.
9921 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9922 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9923 0x040300].
9924 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9925 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9926 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9927 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9928 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9929 0x030300].
9930 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9931 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9932 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9933 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9934 0x040300].
9935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9936 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9938 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9939 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9940 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9941 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9942 0x030300].
9943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9944 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9945 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9946 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9947 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9948 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9949 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9950 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9951 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9952 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9953 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9954 0x040300].
9955 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9956 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9957 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9958 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9959 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9960 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9962 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9963 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9964 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9966 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9967 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9968 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9969 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9970 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9971 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9972 Likewise.
9973 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9974 Likewise.
9975
9976 2016-03-15 Andreas Schwab <schwab@suse.de>
9977
9978 [BZ #19257]
9979 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9980 statp->_u._ext.nscount as loop count.
9981
9982 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
9983
9984 * math/test-signgam-finite-c99.c: Also #undef
9985 __LIBC_INTERNAL_MATH_INLINES.
9986 * math/test-signgam-main.c: Likewise.
9987
9988 2016-03-14 Joseph Myers <joseph@codesourcery.com>
9989
9990 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9991 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9992 (MADV_FREE): Likewise.
9993 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9994 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9995 EPOLLEXCLUSIVE.
9996
9997 2016-03-14 Carlos O'Donell <carlos@redhat.com>
9998
9999 * timezone/README: Remove mention of checktab.awk. Mention wiki
10000 SharedSourceFiles.
10001
10002 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
10003
10004 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10005 WUNTRACED.
10006
10007 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10008
10009 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10010 order to match the type of p when calling atomic_exchange_acq().
10011
10012 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10013
10014 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10015 cfi_offset calls.
10016 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10017 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10018 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10019 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10020 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10021
10022 2016-03-10 Carlos O'Donell <carlos@redhat.com>
10023
10024 * timezone/checktab.awk: Removed.
10025
10026 2016-03-10 Joseph Myers <joseph@codesourcery.com>
10027
10028 * manual/math.texi (Errors in Math Functions): Document relaxed
10029 accuracy goals for IBM long double.
10030 * math/libm-test.inc (test_exceptions): Always allow spurious
10031 "underflow" and "inexact" exceptions for IBM long double.
10032
10033 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
10034
10035 [BZ #19762]
10036 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10037 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10038 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10039 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10040 (bit_arch_*): This for feature array.
10041 (bit_*): Renamed to ...
10042 (bit_cpu_*): This for cpu array.
10043 (index_*): Renamed to ...
10044 (index_arch_*): This for feature array.
10045 (index_*): Renamed to ...
10046 (index_cpu_*): This for cpu array.
10047 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10048 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10049 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10050 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10051 bit_##name with index_cpu_##name and bit_cpu_##name.
10052 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10053 bit_##name with index_arch_##name and bit_arch_##name.
10054
10055 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
10056
10057 [BZ #19792]
10058 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10059 Terminate FDE before return label.
10060
10061 2016-03-09 Joseph Myers <joseph@codesourcery.com>
10062
10063 [BZ #19790]
10064 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10065 (rintl): Define as macro.
10066 [USE_AS_NEARBYINTL] (__rintl): Likewise.
10067 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10068 of fesetround. Ensure results are evaluated before end of scope.
10069 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10070 USE_AS_NEARBYINTL and include s_rintl.c.
10071 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10072 Disable exception traps in new environment.
10073 (libc_feholdsetround_ppc_ctx): Likewise.
10074
10075 2016-03-08 Roland McGrath <roland@hack.frob.com>
10076
10077 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10078 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10079 (tst_audit10_aux) [__AVX512F__]: ... here.
10080
10081 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
10082
10083 * include/sys/auxv.h: New file.
10084
10085 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 [BZ #19759]
10088 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10089
10090 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10091
10092 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10093 operand modifier.
10094 (feclearexcept): Likewise.
10095
10096 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10097
10098 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10099 to reflect the entire 32-bit HWCAP.
10100 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10101 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
10102
10103 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 [BZ #19783]
10106 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10107 $(test-via-rtld-prefix).
10108 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10109
10110 2016-03-08 Florian Weimer <fweimer@redhat.com>
10111
10112 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10113 union wait. Report any non-zero exit status as error.
10114
10115 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10116
10117 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10118 configured with --enable-hardcoded-path-in-tests.
10119
10120 2016-03-08 Joseph Myers <joseph@codesourcery.com>
10121
10122 [BZ #19677]
10123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10124 (__ieee754_remainderl): Put zero low parts in canonical form.
10125 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10126 file. Based on
10127 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10128 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10129 with wrapper round test-fmodrem-ldbl-128ibm.c.
10130 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10131 file.
10132 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10133 Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10135 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10136
10137 2016-03-07 Florian Weimer <fweimer@redhat.com>
10138
10139 [BZ #19610]
10140 * elf/ldconfig.c (opt_link): Update comment.
10141 (options): Update help string for option -X.
10142 (search_dir): Unlink stale symbolic link only if updating symbolic
10143 links.
10144 * elf/tst-ldconfig-X.sh: New file.
10145 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10146 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10147
10148 2016-03-07 Andreas Schwab <schwab@suse.de>
10149
10150 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10151 needed arguments.
10152
10153 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
10154
10155 [BZ #15333]
10156 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10157 to lstat64.
10158
10159 2016-03-07 Florian Weimer <fweimer@redhat.com>
10160
10161 * libio/filedoalloc.c (isatty): Remove.
10162 (local_isatty): Add comment. Call __isatty directly.
10163 (_IO_file_doallocate): Update comment. Assume _LIBC.
10164 * libio/wfiledoalloc.c (isatty): Remove.
10165 (_IO_wfile_doallocate): Update comment.
10166
10167 2016-03-07 Florian Weimer <fweimer@redhat.com>
10168
10169 [BZ #19269]
10170 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10171 tst-audit4-aux.o.
10172 (tst-audit10): Depend on tst-audit10-aux.o.
10173 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10174 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10175 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10176 instead of inline AVX code.
10177 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10178 instead of inline AVX512 code.
10179 * sysdeps/x86_64/tst-audit4-aux.c: New file
10180 * sysdeps/x86_64/tst-audit10-aux.c: New file
10181
10182 [BZ #19648]
10183 * test-skeleton.c (main): Do not set RLIMIT_DATA.
10184
10185 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10186
10187 [BZ #14750]
10188 [BZ #10354]
10189 [BZ #18433]
10190 * include/sched.h (__clone): Add hidden prototype.
10191 (__clone2): Likewise.
10192 * include/unistd.h (__dup): Likewise.
10193 * posix/Makefile (tests): Add tst-spawn2.
10194 * posix/tst-spawn2.c: New file.
10195 * sysdeps/posix/dup.c (__dup): Add hidden definition.
10196 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10197 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10198 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10199 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10200 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10201 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10202 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10203 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10204 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10205 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10207 Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10209 Likewise.
10210 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10211 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10212 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10213 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10214 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10215 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10216 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10217 * sysdeps/unix/sysv/linux/nptl-signals.h
10218 (____nptl_is_internal_signal): New function.
10219 * sysdeps/unix/sysv/linux/spawni.c: New file.
10220
10221 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10222 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10223 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10224 * posix/tst-execvp2.c (do_test): Likewise.
10225 * posix/tst-execvp3.c (do_test): Likewise.
10226 * posix/tst-execvp4.c (do_test): Likewise.
10227 * posix/tst-execvpe1.c: New file.
10228 * posix/tst-execvpe2.c: Likewise.
10229 * posix/tst-execvpe3.c: Likewise.
10230 * posix/tst-execvpe4.c: Likewise.
10231 * posix/tst-execvpe5.c: Likewise.
10232 * posix/tst-execvpe6.c: Likewise.
10233
10234 [BZ #19534]
10235 * posix/execl.c (execl): Remove dynamic memory allocation.
10236 * posix/execle.c (execle): Likewise.
10237 * posix/execlp.c (execlp): Likewise.
10238
10239 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10242 Replace .text with .text.avx512.
10243 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10244 Likewise.
10245
10246 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
10247
10248 * sysdeps/generic/libnsl.abilist: New file.
10249 * sysdeps/generic/libutil.abilist: New file.
10250
10251 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 [BZ #19762]
10254 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10255 HAS_ARCH_FEATURE with Fast_Rep_String.
10256 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10257 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10258 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10259 Likewise.
10260 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10261 Likewise.
10262 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10263 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10264 Likewise.
10265 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10266 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10267 Likewise.
10268
10269 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 [BZ #19745]
10272 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10273 with *%rax in call.
10274
10275 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
10276
10277 [BZ #19745]
10278 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10279 with *__libc_start_main@GOTPCREL(%rip) in call.
10280
10281 2016-03-04 Roland McGrath <roland@hack.frob.com>
10282
10283 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10284 inside conditional for nonempty $(CXX).
10285
10286 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10287 nonempty.
10288
10289 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10290 to test for empty $(CXX) rather than $(CXX) of "no".
10291
10292 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10295
10296 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
10297 H.J. Lu <hongjiu.lu@intel.com>
10298
10299 [BZ #18880]
10300 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10301 instead of Slow_BSF, and also check for Fast_Copy_Backward to
10302 enable __memcpy_ssse3_back.
10303
10304 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
10305
10306 [BZ #19758]
10307 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10308 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10309
10310 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10311
10312 [BZ #19490]
10313 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10314 (__fentry__): Likewise.
10315
10316 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 * gmon/Makefile (noprof): Add $(sysdep_noprof).
10319 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10320
10321 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10324 __mcount_internal directly.
10325 (C_LABEL(__fentry__)): Likewise.
10326 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10327 directly.
10328
10329 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10332 (__start_context): Call __setcontext directly.
10333
10334 2016-02-26 Joseph Myers <joseph@codesourcery.com>
10335
10336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10337 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10338 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10339 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10340 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10341 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10342 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10343 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10344 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10345 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10346 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10347 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10348 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10349 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10350 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10351 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10352 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10354 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10355 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10356 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10357 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10358 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10359 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10360 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10361 Remove conditional code.
10362 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10363 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10364 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10365 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10366 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10367 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10368 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10369 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10370 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10371 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10372 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10373 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10374
10375 2016-02-24 Marko Myllynen <myllynen@redhat.com>
10376
10377 * NEWS (2.23): Fix typo in bug 19048 text.
10378
10379 2016-02-24 Carlos O'Donell <carlos@redhat.com>
10380
10381 [BZ #14259]
10382 * Makeconfig: Rename msgcatdir to localedir.
10383 Rename inst_msgcatdir to inst_localedir.
10384 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10385 * config.make.in: Add localedir.
10386 * elf/Makefile ($(objpfx)sotruss): Use localedir.
10387 (ldd-rewrite): Likewise.
10388 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10389 (install-others): Use inst_localedir.
10390 (CPPFLAGS): Use localedir.
10391 * locale/Makefile (locale-CPPFLAGS): Likewise.
10392 * po/Makefile (mo-installed): Use inst_localedir.
10393
10394 [BZ #19575]
10395 * localedata/charmaps/GB18030: Update comments regarding PAU to
10396 non-PUA mappings.
10397
10398 2016-02-24 Joseph Myers <joseph@codesourcery.com>
10399
10400 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10401 test for header.
10402 * sysdeps/unix/sysv/linux/configure: Regenerated.
10403 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10404 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10405 Remove conditional code.
10406 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10407
10408 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10409 Define to 3.2.0.
10410 (arch_minimum_kernel): Likewise.
10411 * sysdeps/unix/sysv/linux/configure: Regenerated.
10412 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10413 Define to 2.6.32.
10414 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10415 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10416 (arch_minimum_kernel): Define to 2.6.32.
10417 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10418 * README: Document Linux 3.2 requirement.
10419 * manual/install.texi (Linux): Document Linux 3.2 headers
10420 requirement.
10421 * INSTALL: Regenerated.
10422
10423 2016-02-24 Andreas Schwab <schwab@suse.de>
10424
10425 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10426 if !NO_LONG_DOUBLE.
10427
10428 2016-02-22 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10431 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10432
10433 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
10434
10435 [BZ #19512]
10436 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10437
10438 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
10439
10440 * posix/tst-dir.c: Include libc-internal.h.
10441
10442 2016-02-20 Florian Weimer <fweimer@redhat.com>
10443
10444 [BZ #19056]
10445 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10446 * manual/filesys.texi (Reading/Closing Directory): Mention
10447 deprecaion.
10448 * posix/tst-dir.c (main): Disable deprecation warning in test.
10449
10450 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 [BZ #19679]
10453 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10454 Renamed to ...
10455 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
10456 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10457 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
10458 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10459 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10460 * sysdeps/x86_64/dl-trampoline.h
10461 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10462 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10463
10464 2016-02-19 Mark Wielaard <mjw@redhat.com>
10465
10466 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10467
10468 2016-02-19 Mark Wielaard <mjw@redhat.com>
10469
10470 * elf/elf.h (R_386_GOT32X): New.
10471 (R_386_NUM): Update.
10472 (R_X86_64_GOTPCRELX: New.
10473 (R_X86_64_REX_GOTPCRELX): New.
10474 (R_X86_64_NUM): Update.
10475
10476 2016-02-19 Mike Frysinger <vapier@gentoo.org>
10477
10478 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10479
10480 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
10481
10482 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10483 assign attr->stackaddr to it, and adjust it down when
10484 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
10485 [_STACK_GROWS_UP]: Delete assert.
10486 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10487 Implement stack grows up logic.
10488 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10489 stack grows up logic.
10490
10491 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10492
10493 * NEWS: Update with 2.24 template.
10494
10495 2016-02-19 Joseph Myers <joseph@codesourcery.com>
10496
10497 [BZ #19678]
10498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10499 Ensure +0.0 is returned when taking the next value below the least
10500 positive value.
10501
10502 2016-02-19 Florian Weimer <fweimer@redhat.com>
10503
10504 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10505 available. Do not define NO_THREADS.
10506 * malloc/malloc.c: Do not check NO_THREADS.
10507 * malloc/arena.c: Likewise.
10508
10509 2016-02-19 Florian Weimer <fweimer@redhat.com>
10510
10511 * malloc/malloc.c (__libc_mallinfo): Update comment.
10512 (struct malloc_par): Remove max_total_mem member, it was always 0.
10513 (int_mallinfo): Store 0 into usmblks (no functional change).
10514 * malloc/hooks.c (struct malloc_state): Document that
10515 max_total_mem is always 0.
10516 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10517 always 0.
10518 * manual/memory.texi (Statistics of Malloc): Likewise.
10519
10520 2016-02-19 Florian Weimer <fweimer@redhat.com>
10521
10522 * malloc/malloc.c (sysmalloc): Do not update arena_max.
10523 * malloc/arena.c (arena_max): Remove.
10524 (heap_trim, _int_new_arena): Do not update arena_max.
10525
10526 2016-02-19 Florian Weimer <fweimer@redhat.com>
10527
10528 * resolv/res_init.c (res_ninit): Update comment.
10529
10530 2016-02-19 Florian Weimer <fweimer@redhat.com>
10531
10532 [BZ #19505]
10533 * posix/spawn_int.h: Add headers and include guard.
10534 (__spawn_valid_fd): New function.
10535 * posix/spawn_faction_addopen.c
10536 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10537 * posix/spawn_faction_addclose.c
10538 (posix_spawn_file_actions_addclose): Likewise.
10539 * posix/spawn_faction_adddup2.c
10540 (posix_spawn_file_actions_adddup2): Likewise. Add check for
10541 second file descriptor.
10542 * posix/spawn_valid_fd.c: New file.
10543 * posix/tst-posix_spawn-fd.c: New file.
10544 * posix/Makefile (routines): Add spawn_valid_fd.
10545 (tests): Add tst-posix_spawn-fd.
10546
10547 2016-02-19 Florian Weimer <fweimer@redhat.com>
10548
10549 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10550 (do_test): Limit the number of arenas, so that we can use fewer
10551 outer threads. Limit timeout to 3 seconds, in preparation for a
10552 larger TIMEOUT value.
10553
10554 2016-02-19 Joseph Myers <joseph@codesourcery.com>
10555
10556 [BZ #19674]
10557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10558 sign in overflowing and underflowing results when overflow or
10559 underflow is detected early. Include sign in result before rather
10560 than after scaling.
10561
10562 [BZ #19603]
10563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10564 (__ieee754_remainderl): Adjust sign of integer version of low part
10565 when taking absolute value of high part.
10566 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10567 * math/libm-test.inc (remainder_test_data): Add another test.
10568 (remquo_test_data): Likewise.
10569
10570 2016-02-18 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #19602]
10573 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10574 equal high parts and both low parts zero specially.
10575 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10576 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10577 Add test-fmodl-ldbl-128ibm.
10578
10579 [BZ #19595]
10580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10581 common logic for all cases of shifting subnormal results. Do not
10582 insert sign bit in shifted mantissa. Always pass -1023 as biased
10583 exponent to ldbl_insert_mantissa in subnormal case.
10584
10585 [BZ #19594]
10586 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10587 on high and low parts then adjust result and use
10588 ldbl_canonicalize_int if needed.
10589
10590 [BZ #19593]
10591 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10592 on high part and __floor or __ceil on low part then use
10593 ldbl_canonicalize_int if needed.
10594
10595 [BZ #19592]
10596 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10597 high and low parts then use ldbl_canonicalize_int if needed.
10598
10599 [BZ #17899]
10600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10601 New function.
10602 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10603 on high and low parts then use ldbl_canonicalize_int if needed.
10604
10605 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10606
10607 * configure: Regenerated.
10608
10609 * po/libc.pot: Regenerated.
10610
10611 * po/be.po: Updated translation.
10612 * po/bg.po: Likewise.
10613 * po/ca.po: Likewise.
10614 * po/cs.po: Likewise.
10615 * po/da.po: Likewise.
10616 * po/el.po: Likewise.
10617 * po/eo.po: Likewise.
10618 * po/es.po: Likewise.
10619 * po/fi.po: Likewise.
10620 * po/fr.po: Likewise.
10621 * po/gl.po: Likewise.
10622 * po/hr.po: Likewise.
10623 * po/hu.po: Likewise.
10624 * po/ia.po: Likewise.
10625 * po/id.po: Likewise.
10626 * po/it.po: Likewise.
10627 * po/ja.po: Likewise.
10628 * po/lt.po: Likewise.
10629 * po/nb.po: Likewise.
10630 * po/nl.po: Likewise.
10631 * po/pt_BR.po: Likewise.
10632 * po/rw.po: Likewise.
10633 * po/sk.po: Likewise.
10634 * po/sl.po: Likewise.
10635 * po/sv.po: Likewise.
10636 * po/tr.po: Likewise.
10637 * po/zh_CN.po: Likewise.
10638 * po/zh_TW.po: Likewise.
10639
10640 * version.h (RELEAES): Set to "development".
10641 (VERSION): Set to 2.23.90.
10642
10643 * version.h (RELEASE): Set to "stable".
10644 (VERSION): Set to 2.23.
10645 * include/feature.h (__GLIBC_MINOR__): Set to 23.
10646
10647 * NEWS: Updated fixed bugs.
10648
10649 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
10650 Wilco Dijkstra <wdijkstr@arm.com>
10651
10652 [BZ #19462]
10653 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10654 (_STRING_INLINE_unaligned): This.
10655 * include/string.h: Include <string_private.h>.
10656 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10657 _STRING_INLINE_unaligned.
10658 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10659 (_STRING_INLINE_unaligned): New.
10660 * sysdeps/aarch64/string_private.h: New file.
10661 * sysdeps/generic/string_private.h: Likewise.
10662 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10663 * sysdeps/s390/string_private.h: Likewise.
10664 * sysdeps/x86/string_private.h: Likewise.
10665 * sysdeps/m68k/m680x0/m68020/bits/string.h
10666 (_STRING_ARCH_unaligned): Renamed to ...
10667 (_STRING_INLINE_unaligned): This.
10668 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10669 to ...
10670 (_STRING_INLINE_unaligned): This.
10671 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10672 to ...
10673 (_STRING_INLINE_unaligned): This.
10674 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10675 to ...
10676 (_STRING_INLINE_unaligned): This.
10677
10678 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
10679 H.J. Lu <hongjiu.lu@intel.com>
10680
10681 [BZ #19590]
10682 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10683 relocation.
10684
10685 2016-02-15 Carlos O'Donell <carlos@redhat.com>
10686
10687 [BZ #18665]
10688 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10689 *herrno_p.
10690 (gaih_getanswer): Document functional behviour. Return tryagain
10691 if any result is tryagain.
10692 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10693 when freed.
10694 * resolv/res_send.c: Add copyright text.
10695 (__libc_res_nsend): Document that MAXPACKET is expected.
10696 (send_vc): Document. Remove buffer reuse.
10697 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10698 size of the buffer. Add Dprint for truncated UDP buffer.
10699
10700 2016-02-14 Carlos O'Donell <carlos@redhat.com>
10701
10702 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10703 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10704 * INSTALL: Regenerate.
10705
10706 2016-02-14 Jakub Jelinek <jakub@redhat.com>
10707 Jonathan Wakely <jwakely@redhat.com>
10708 Carlos O'Donell <carlos@redhat.com>
10709
10710 [BZ 19439]
10711 * math/Makefile (tests): Add test-math-isinff.
10712 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10713 * math/bits/mathcalls.h [__USE_MISC]: Use
10714 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10715 functions not in C++11 and which don't conflict e.g. isinff,
10716 isinfl etc.
10717 * math/test-math-isinff.cc: New file.
10718
10719 2016-02-12 Florian Weimer <fweimer@redhat.com>
10720
10721 * misc/bug18240.c (do_test): Set RLIMIT_AS.
10722
10723 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10724
10725 [BZ #19529]
10726 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10727
10728 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10729
10730 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10731
10732 2016-02-01 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #19550]
10735 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10736 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10737 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10738 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10739 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10740 New syscall entry.
10741 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10742 New syscall entry.
10743 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10744 syscall entry.
10745
10746 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
10747
10748 [BZ #18240]
10749 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10750 unsigned int wraparound.
10751
10752 2016-01-27 Florian Weimer <fweimer@redhat.com>
10753
10754 [BZ #18240]
10755 * misc/bug18240.c: New test.
10756 * misc/Makefile (tests): Add it.
10757
10758 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
10759 Joseph Myers <joseph@codesourcery.com>
10760
10761 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10762 load in branch delay slot when less than a word of input left.
10763
10764 2016-01-27 Andreas Schwab <schwab@suse.de>
10765
10766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10767 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10768 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10769 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10770
10771 2016-01-26 David S. Miller <davem@davemloft.net>
10772
10773 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10774
10775 2016-01-25 David S. Miller <davem@davemloft.net>
10776
10777 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10778 __sqrtl_finite.
10779 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10780 instead using versioned_symbol.
10781 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10782 of entries.
10783
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10785 __sqrtl_finite to GLIBC_2.23
10786
10787 2016-01-25 Ricchard Henderson <rth@redhat.com>
10788
10789 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10790
10791 2016-01-25 Andreas Schwab <schwab@suse.de>
10792
10793 [BZ #17514]
10794 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10795 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10796 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10797 * nptl/tst-mutex-errorcheck.c: New file.
10798
10799 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10800
10801 [BZ #18560]
10802 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10803 (IPCOP_semop): Likewise.
10804 (IPCOP_semget): Likewise.
10805 (IPCOP_semctl): Likewise.
10806 (IPCOP_msgsnd): Likewise.
10807 (IPCOP_msgrcv): Likewise.
10808 (IPCOP_msgget): Likewise.
10809 (IPCOP_msgctl): Likewise.
10810 (IPCOP_shmat): Likewise.
10811 (IPCOP_shmdt): Likewise.
10812 (IPCOP_shmget): Likewise.
10813 (IPCOP_shmctl): Likewise.
10814
10815 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
10816
10817 * string/tst-endian.c: Include <libc-internal.h>.
10818 (do_test): Ignore tautological-compare warnings around
10819 "htobeXX (beXXtoh (i)) != i" and
10820 "htoleXX (leXXtoh (i)) != i" if-statements.
10821
10822 2016-01-24 David S. Miller <davem@davemloft.net>
10823
10824 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10825 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10826 alias.
10827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10828 __sqrtl_finite.
10829
10830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10831
10832 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
10833
10834 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10835 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10836 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10837
10838 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10839
10840 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10841 (thread_func): Use new function to simplify barrier check.
10842 (do_test): Use new function to simplify checking barrier exit
10843 code, and actually join the child thread.
10844
10845 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10846
10847 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10848 semicolon.
10849 (__libc_tend): Likewise.
10850 (__libc_tabort): Likewise.
10851
10852 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
10853
10854 * sysdeps/nios2/libm-test-ulps: Update.
10855 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10856 (__gtsf2): Likewise.
10857 (__unorddf2): Likewise.
10858 (__unordsf2): Likewise.
10859 (__ledf2): Likewise.
10860
10861 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
10862
10863 * nis/nis_table.c (__follow_path): Disable diagnostic for
10864 uninitialized variable that is a false positive for gcc 4.7.
10865 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10866
10867 2016-01-20 Roland McGrath <roland@hack.frob.com>
10868
10869 * sysdeps/nacl/lowlevellock-futex.h
10870 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10871 Always evaluate PRIVATE argument.
10872
10873 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10874
10875 [BZ #19490]
10876 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10877 (pthread_cond_broadcast): Use ENTRY/END
10878 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10879 (pthread_cond_signal): Likewise.
10880 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10881 Likewise.
10882 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10883 Likewise.
10884 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10885 Likewise.
10886
10887 2016-01-20 Joseph Myers <joseph@codesourcery.com>
10888
10889 * sysdeps/ieee754/dbl-64/s_finite.c
10890 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10891 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10892 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10894 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10895
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10897 (__gtsf2): Add as optional for libc.so.
10898 (__unordsf2): Likewise.
10899 (__signbit): Remove for libc.so.
10900 (__signbitl): Likewise.
10901
10902 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10903
10904 * iconvdata/bug-iconv11.c (test_ibm93x):
10905 Use %zu printf format specifier for size_t argument.
10906
10907 2016-01-19 Joseph Myers <joseph@codesourcery.com>
10908
10909 * math/gen-libm-test.pl (parse_ulps): Do not reduce
10910 already-recorded ulps.
10911 * sysdeps/arm/libm-test-ulps: Regenerated.
10912 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10913 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10914 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10915
10916 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
10917 Paul Pluzhnikov <ppluzhnikov@google.com>
10918
10919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10920 assembler not supporting AVX-512.
10921
10922 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
10923
10924 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10925
10926 2016-01-18 Joseph Myers <joseph@codesourcery.com>
10927
10928 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10929 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10930
10931 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10932
10933 * sysdeps/arm/libm-test-ulps: Regenerated.
10934
10935 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10936
10937 [BZ #19451]
10938 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10939
10940 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
10941
10942 [BZ #19486]
10943 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10944 * sysdeps/generic/fix-fp-int-convert-overflow.h
10945 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10946 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10947 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10948 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10949 Likewise.
10950 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10951 Avoid conversions to long int where inexact exceptions
10952 could be raised.
10953 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10954 Likewise.
10955 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10956 Avoid conversions to long long int where inexact exceptions
10957 could be raised.
10958 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10959 Likewise.
10960
10961 2016-01-17 Mike Frysinger <vapier@gentoo.org>
10962
10963 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10964 * configure: Regenerated.
10965
10966 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
10967
10968 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10969
10970 2016-01-16 Mike Frysinger <vapier@gentoo.org>
10971
10972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10973 outside of comment.
10974
10975 2016-01-15 Torvald Riegel <triegel@redhat.com>
10976
10977 * nptl/tst-barrier1.c: Add description on first line.
10978 * nptl/tst-barrier2.c: Likewise.
10979 * nptl/tst-barrier3.c: Likewise.
10980 * nptl/tst-barrier4.c: Likewise.
10981 * nptl/tst-barrier5.c: Likewise.
10982
10983 2016-01-15 Torvald Riegel <triegel@redhat.com>
10984
10985 [BZ #18868]
10986 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10987
10988 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
10989
10990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10992 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10993 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10994 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10995 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10996 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10997 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10998 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10999 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11000 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11001
11002 2016-01-15 Torvald Riegel <triegel@redhat.com>
11003
11004 [BZ #13065]
11005 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11006 new implementation.
11007 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11008 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11009 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11010 (BARRIER_IN_THRESHOLD): New macro.
11011 * nptl/pthread_barrierattr_setpshared.c
11012 (pthread_barrierattr_setpshared): Clean up.
11013 * nptl/tst-barrier4.c: Correct comment.
11014 * nptl/tst-barrier5.c: New file.
11015 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11016 (gen-as-const-headers): Remove lowlevelbarrier.sym.
11017 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11018 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11019 * nptl/lowlevelbarrier.sym: Remove.
11020 * nptl/DESIGN-barrier.txt: Remove.
11021 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11022 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11023 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11024 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11025 error.
11026 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11027 implementation.
11028
11029 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11030
11031 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11032 (do_child): Mask SIGRTMIN while thr is running.
11033
11034 2016-01-15 Martin Sebor <msebor@redhat.com>
11035
11036 [BZ #19432]
11037 * iconvdata/Makefile: Add bug-iconv11.
11038 * iconvdata/bug-iconv11.c: New test.
11039 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11040 * iconvdata/ibm933.c: Same.
11041 * iconvdata/ibm935.c: Same.
11042 * iconvdata/ibm937.c: Same.
11043 * iconvdata/ibm939.c: Same.
11044
11045 2016-01-15 Martin Sebor <msebor@redhat.com>
11046
11047 [BZ #19443]
11048 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11049 [DEBUG] (_ufc_set_bits): Declare used.
11050 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11051 [DEBUG] (print_all): Declare used.
11052 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11053 operands of the ternary ?: expression to target type.
11054 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11055 calling the undeclared abort.
11056 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11057
11058 2016-01-15 Martin Sebor <msebor@redhat.com>
11059
11060 [BZ #18755]
11061 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11062 warnings.
11063 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11064 (__gai_create_helper_thread): Same.
11065 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11066 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11067 to suppress -Wmaybe-uninitialized warnings.
11068
11069 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
11070
11071 [BZ #19465]
11072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11073 inside if.
11074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11075 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11077
11078 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
11079
11080 [BZ #19466]
11081 * time/tst-mktime2.c (time_t_max): Removed.
11082 (time_t_min): Likewise.
11083 (TYPE_SIGNED): New.
11084 (TYPE_MINIMUM): Likewise.
11085 (TYPE_MAXIMUM): Likewise.
11086 (TIME_T_MIN): Likewise.
11087 (TIME_T_MAX): Likewise.
11088 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11089 and TIME_T_MIN.
11090 (do_test): Likewise.
11091
11092 2016-01-14 Amit Pawar <amit.pawar@amd.com>
11093
11094 [BZ #19467]
11095 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11096 index_Fast_Unaligned_Load flag for Excavator family CPUs.
11097
11098 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
11099
11100 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11101
11102 2016-01-13 Carlos O'Donell <carlos@redhat.com>
11103
11104 * benchtests/Makefile (PYTHON): Define.
11105 (bench-func): Use $(PYTHON) to run python scripts.
11106 ($(objpfx)bench-%.c): Likewise.
11107
11108 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
11109
11110 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11111 leading slash when `file_name' is "/".
11112
11113 2016-01-12 Joseph Myers <joseph@codesourcery.com>
11114
11115 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11116 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11117 Likewise.
11118 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11119 Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11121 Likewise.
11122 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11123 enum constant and macro.
11124 (PTRACE_SETSIGMASK): Likewise.
11125 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11126 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11127 (PTRACE_GETSIGMASK): Likewise.
11128 (PTRACE_SETSIGMASK): Likewise.
11129 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11130 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11131 Likewise.
11132 (PTRACE_SETSIGMASK): Likewise.
11133 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11135 (PTRACE_GETSIGMASK): Likewise.
11136 (PTRACE_SETSIGMASK): Likewise.
11137 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11139 Likewise.
11140 (PTRACE_SETSIGMASK): Likewise.
11141 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11143 Likewise.
11144 (PTRACE_SETSIGMASK): Likewise.
11145 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11146 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11147 Likewise.
11148 (PTRACE_SETSIGMASK): Likewise.
11149 (PTRACE_SECCOMP_GET_FILTER): Likewise.
11150
11151 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
11152 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11153
11154 [BZ #19439]
11155 * math/bits/mathcalls.h
11156 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11157 prototype.
11158 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11159
11160 2016-01-11 Andreas Schwab <schwab@suse.de>
11161
11162 [BZ #19253]
11163 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11164 cache when TZDEFRULES was used.
11165 * time/tst-tzname.c: New file.
11166 * time/Makefile (test): Add tst-tzname.
11167 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11168 * timezone/Makefile (test-zones): Add $(posixrules-file).
11169 ($(testdata)/$(posixrules-file)): New rule.
11170
11171 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
11172
11173 Fix doc quoting problems with Texinfo 5
11174 Without this change, in the info file output, Texinfo 5 quotes code
11175 in text with undirected single quotes 'like this' and generates
11176 code examples that with many PDF readers cannot be cut out of PDFs
11177 and pasted into code.
11178 * manual/libc.texinfo: Configure the libc manual like the GNU
11179 Emacs manual, by using @documentencoding and setting
11180 txicodequoteundirected and txicodequotebacktick. This way,
11181 Texinfo 5 quotes code in text with directed single quotes ‘like
11182 this’ and produces examples that can be cut out of PDFs. This
11183 change causes Texinfo 5 to generate info files that contain UTF-8
11184 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11185 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11186
11187 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11188
11189 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11190 __libc_tabort, __libc_tend): New wrappers that enforce compiler
11191 barriers to their respective compiler built-ins.
11192 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11193 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11194 * sysdeps/powerpc/sysdep.h: Likewise.
11195 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11196 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11198
11199 2016-01-08 Marko Myllynen <myllynen@redhat.com>
11200
11201 * scripts/config.guess: Revert previous shebang change.
11202 * scripts/config.sub: Likewise.
11203 * scripts/mkinstalldirs: Likewise.
11204
11205 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11206
11207 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11208 PPC_FEATURE2_HAS_IEEE128.
11209 * sysdeps/powerpc/dl-procinfo.c:
11210 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11211
11212 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
11213
11214 [BZ #19415]
11215 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11216 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
11217 (_dl_lookup_address): Rewrite using function resolver trampoline.
11218 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11219 two bits in address.
11220
11221 2016-01-07 Mike Frysinger <vapier@gentoo.org>
11222
11223 * longlong.h: Change !__SHMEDIA__ to
11224 (!defined (__SHMEDIA__) || !__SHMEDIA__).
11225 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11226
11227 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
11228 Joseph Myers <joseph@codesourcery.com>
11229 Mark Shinwell <shinwell@codesourcery.com>
11230 Andrew Stubbs <ams@codesourcery.com>
11231 Rich Felker <dalias@libc.org>
11232
11233 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11234
11235 2016-01-07 Richard Henderson <rth@redhat.com>
11236
11237 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11238
11239 2016-01-07 Mike Frysinger <vapier@gentoo.org>
11240
11241 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11242 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11243 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11244 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11245 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11246
11247 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
11248 Joseph Myers <joseph@codesourcery.com>
11249
11250 * timezone/private.h: Update from tzcode 2015g.
11251 * timezone/tzfile.h: Likewise.
11252 * timezone/tzselect.ksh: Likewise.
11253 * timezone/zdump.c: Likewise.
11254 * timezone/zic.c: Likewise.
11255 * timezone/ialloc.c: Remove file.
11256 * timezone/scheck.c: Likewise.
11257 * timezone/Makefile (extra-objs): Remove variable.
11258 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11259 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11260 -Wno-maybe-uninitialized.
11261 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11262 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11263 (CFLAGS-ialloc.c): Remove variable.
11264 (CFLAGS-scheck.c): Likewise.
11265 * timezone/README: Update list of files from tzcode.
11266
11267 2016-01-07 Khem Raj <raj.khem@gmail.com>
11268
11269 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11270 instead of __fxprintf when _LIBC is undefined.
11271
11272 2016-01-07 Marko Myllynen <myllynen@redhat.com>
11273
11274 * catgets/test-gencat.sh: Remove space after shebang.
11275 * conform/GlibcConform.pm: Likewise.
11276 * conform/check-header-lists.sh: Likewise.
11277 * conform/conformtest.pl: Likewise.
11278 * conform/linknamespace.pl: Likewise.
11279 * conform/list-header-symbols.pl: Likewise.
11280 * debug/catchsegv.sh: Likewise.
11281 * elf/genrtldtbl.awk: Likewise.
11282 * elf/tst-pathopt.sh: Likewise.
11283 * elf/tst-rtld-load-self.sh: Likewise.
11284 * grp/tst_fgetgrent.sh: Likewise.
11285 * iconvdata/gen-8bit-gap-1.sh: Likewise.
11286 * iconvdata/gen-8bit-gap.sh: Likewise.
11287 * iconvdata/gen-8bit.sh: Likewise.
11288 * iconvdata/run-iconv-test.sh: Likewise.
11289 * intl/tst-gettext.sh: Likewise.
11290 * intl/tst-gettext2.sh: Likewise.
11291 * intl/tst-gettext4.sh: Likewise.
11292 * intl/tst-gettext6.sh: Likewise.
11293 * intl/tst-translit.sh: Likewise.
11294 * io/ftwtest-sh: Likewise.
11295 * libio/test-freopen.sh: Likewise.
11296 * locale/gen-translit.pl: Likewise.
11297 * malloc/tst-mtrace.sh: Likewise.
11298 * manual/check-safety.sh: Likewise.
11299 * manual/libc-texinfo.sh: Likewise.
11300 * manual/tsort.awk: Likewise.
11301 * manual/xtract-typefun.awk: Likewise.
11302 * nptl/tst-cancel-wrappers.sh: Likewise.
11303 * nptl/tst-tls6.sh: Likewise.
11304 * posix/globtest.sh: Likewise.
11305 * posix/tst-getconf.sh: Likewise.
11306 * posix/wordexp-tst.sh: Likewise.
11307 * scripts/check-c++-types.sh: Likewise.
11308 * scripts/check-local-headers.sh: Likewise.
11309 * scripts/config.guess: Likewise.
11310 * scripts/config.sub: Likewise.
11311 * scripts/cpp: Likewise.
11312 * scripts/cross-test-ssh.sh: Likewise.
11313 * scripts/documented.sh: Likewise.
11314 * scripts/evaluate-test.sh: Likewise.
11315 * scripts/gen-libc-abis: Likewise.
11316 * scripts/gen-sorted.awk: Likewise.
11317 * scripts/list-fixed-bugs.py: Likewise.
11318 * scripts/merge-test-results.sh: Likewise.
11319 * scripts/mkinstalldirs: Likewise.
11320 * scripts/rellns-sh: Likewise.
11321 * scripts/test-installation.pl: Likewise.
11322 * scripts/update-copyrights: Likewise.
11323 * stdio-common/tst-printf.sh: Likewise.
11324 * stdio-common/tst-unbputc.sh: Likewise.
11325 * stdlib/tst-fmtmsg.sh: Likewise.
11326 * stdlib/tst-setcontext3.sh: Likewise.
11327 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11328 * sysdeps/unix/make-syscalls.sh: Likewise.
11329
11330 2016-01-06 John David Anglin <dave.anglin@bell.net>
11331
11332 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11333 asm stw with atomic_exchange_rel. Add explanatory comment.
11334 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11335 Likewise.
11336
11337 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
11338
11339 [BZ #19122]
11340 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11341 * sysdeps/generic/dl-unistd.h: New file.
11342 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11343
11344 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
11345
11346 [BZ #19122]
11347 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11348 * sysdeps/generic/dl-mman.h: New file.
11349 * sysdeps/mach/hurd/dl-mman.h: Likewise.
11350
11351 2016-01-05 Joseph Myers <joseph@codesourcery.com>
11352
11353 * manual/texinfo.tex: Update to version 2016-01-04.21 with
11354 trailing whitespace removed.
11355 * scripts/config.guess: Update to version 2016-01-01.
11356 * scripts/config.sub: Update to version 2016-01-01.
11357 * scripts/move-if-change: Update from gnulib.
11358
11359 2016-01-04 Anton Blanchard <anton@samba.org>
11360
11361 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11362 for array indices.
11363 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11364
11365 2016-01-04 Joseph Myers <joseph@codesourcery.com>
11366
11367 * NEWS: Update copyright dates.
11368 * catgets/gencat.c (print_version): Likewise.
11369 * csu/version.c (banner): Likewise.
11370 * debug/catchsegv.sh: Likewise.
11371 * debug/pcprofiledump.c (print_version): Likewise.
11372 * debug/xtrace.sh (do_version): Likewise.
11373 * elf/ldconfig.c (print_version): Likewise.
11374 * elf/ldd.bash.in: Likewise.
11375 * elf/pldd.c (print_version): Likewise.
11376 * elf/sotruss.sh: Likewise.
11377 * elf/sprof.c (print_version): Likewise.
11378 * iconv/iconv_prog.c (print_version): Likewise.
11379 * iconv/iconvconfig.c (print_version): Likewise.
11380 * locale/programs/locale.c (print_version): Likewise.
11381 * locale/programs/localedef.c (print_version): Likewise.
11382 * login/programs/pt_chown.c (print_version): Likewise.
11383 * malloc/memusage.sh (do_version): Likewise.
11384 * malloc/memusagestat.c (print_version): Likewise.
11385 * malloc/mtrace.pl: Likewise.
11386 * manual/libc.texinfo: Likewise.
11387 * nptl/version.c (banner): Likewise.
11388 * nscd/nscd.c (print_version): Likewise.
11389 * nss/getent.c (print_version): Likewise.
11390 * nss/makedb.c (print_version): Likewise.
11391 * posix/getconf.c (main): Likewise.
11392 * scripts/test-installation.pl: Likewise.
11393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11394
11395 * All files with FSF copyright notices: Update copyright dates
11396 using scripts/update-copyrights.
11397 * intl/plural.c: Regenerated.
11398 * locale/programs/charmap-kw.h: Likewise.
11399 * locale/programs/locfile-kw.h: Likewise.
11400
11401 2016-01-02 Helge Deller <deller@gmx.de>
11402
11403 [BZ #19285]
11404 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11405 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11406 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11407 (MADV_xxK_PAGES): Remove.
11408
11409 2016-01-01 Mike Frysinger <vapier@gentoo.org>
11410
11411 [BZ #15421]
11412 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11413 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
11414 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11415 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11416
11417 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
11418
11419 [BZ #19408]
11420 * sysdeps/unix/sysv/linux/personality.c: New file.
11421 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11422 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11423 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11424 (sysdep_routines): Add personality.
11425 (tests): Add tst-personality.
11426 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11428 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11429 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11430 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11431 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11432 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11433 Likewise.
11434 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11435 Likewise.
11436 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11437 Likewise.
11438 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11440 Likewise.
11441
11442 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
11443
11444 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11445 (PATH_ARM_SYSTYPE): Remove.
11446 (PATH_CPUINFO): Likewise.
11447 (IO_BASE_FOOTBRIDGE): Likewise.
11448 (IO_SHIFT_FOOTBRIDGE): Likewise.
11449 (struct platform): Likewise.
11450 (init_iosys): Remove compatibility code for 2.4 kernels.
11451 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11452
11453 2015-12-29 Florian Weimer <fweimer@redhat.com>
11454
11455 * malloc/tst-malloc-thread-fail.c: New file.
11456 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11457 (tst-malloc-thread-fail): Link against libpthread.
11458
11459 2015-12-29 Mike Frysinger <vapier@gentoo.org>
11460
11461 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
11462 (get_parser): New function.
11463 (main): New function.
11464
11465 2015-12-29 Rob Wu <rob@robwu.nl>
11466
11467 [BZ #19369]
11468 * resolv/res_init.c (__res_vinit): Reset defdname before use.
11469
11470 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
11471
11472 [BZ #19270]
11473 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11474
11475 2015-12-28 Mike Frysinger <vapier@gentoo.org>
11476
11477 [BZ #15421]
11478 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11479
11480 2015-12-23 Torvald Riegel <triegel@redhat.com>
11481
11482 [BZ #13690]
11483 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11484 after releasing it.
11485 (__lll_robust_unlock): Likewise.
11486 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11487 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11488 (lll_robust_unlock): Likewise.
11489 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11490 Prevent warnings in callers.
11491
11492 2015-12-23 Florian Weimer <fweimer@redhat.com>
11493
11494 * malloc/arena.c (list_lock): Update comment.
11495
11496 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11497
11498 * sysdeps/powerpc/hwcapinfo.c: Export symbol
11499 __parse_hwcap_and_convert_at_platform to libc.a.
11500
11501 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11502
11503 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11504 platform and feature support for POWER9.
11505 * sysdeps/powerpc/dl-procinfo.h: Likewise.
11506 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11507 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11508 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11509 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11510 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11511 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11512 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11513
11514 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11515
11516 Harmonize generic stdio-lock support with nptl
11517
11518 This fixes build when _IO_funlockfile is a macro, fixes build where
11519 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11520 stack unwind.
11521
11522 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11523 _IO_release_lock ): Use cleanup attribute on new
11524 _IO_acquire_lock_file variable instead of assuming that
11525 _IO_release_lock will be called.
11526 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11527 _IO_acquire_lock_needs_exceptions_enabled.
11528 (_IO_acquire_lock_clear_flags2): New macro.
11529
11530 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11531
11532 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11533
11534 2015-12-21 Florian Weimer <fweimer@redhat.com>
11535
11536 [BZ #19182]
11537 * malloc/arena.c (list_lock): Document lock ordering requirements.
11538 (free_list_lock): New lock.
11539 (ptmalloc_lock_all): Comment on free_list_lock.
11540 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11541 (detach_arena): Update comment. free_list_lock is now needed.
11542 (_int_new_arena): Use free_list_lock around detach_arena call.
11543 Acquire arena lock after list_lock. Add comment, including FIXME
11544 about incorrect synchronization.
11545 (get_free_list): Switch to free_list_lock.
11546 (reused_arena): Acquire free_list_lock around detach_arena call
11547 and attached threads counter update. Add two FIXMEs about
11548 incorrect synchronization.
11549 (arena_thread_freeres): Switch to free_list_lock.
11550 * malloc/malloc.c (struct malloc_state): Update comments to
11551 mention free_list_lock.
11552
11553 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
11554
11555 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11556 Remove functions.
11557 (sloww, sloww1): Accept argument to offset quadrant.
11558 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11559 quadrant.
11560 (__sin, __cos): Consolidate common code into new functions.
11561 (reduce_sincos_1, do_sincos_1): New functions.
11562 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11563
11564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11565 code to new functions.
11566 (reduce_sincos_2, do_sincos_2): New functions.
11567 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11568
11569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11570 common code for sincos.
11571 (__cos) [!IN_SINCOS]: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11573 New function.
11574 (__sincos): Use it.
11575
11576 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
11577
11578 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11579 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11580 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11581
11582 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
11583
11584 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11587 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11588 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11589 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11590 index_Prefer_No_VZEROUPPER): New feature.
11591 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11592 Prefer_No_VZEROUPPER for Knights Landing.
11593
11594 015-12-18 Torvald Riegel <triegel@redhat.com>
11595
11596 * math/atest-exp2.c (mp_exp_m1): Remove.
11597
11598 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11599
11600 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11601 syscalls.
11602 (__SYSCALL0): New macro.
11603 (__SYSCALL1): Likewise.
11604 (__SYSCALL2): Likewise.
11605 (__SYSCALL3): Likewise.
11606 (__SYSCALL4): Likewise.
11607 (__SYSCALL5): Likewise.
11608 (__SYSCALL6): Likewise.
11609 (__SYSCALL_CONCAT_X): Likewise.
11610 (__SYSCALL_CONCAT): Likewise.
11611 (__SYSCALL_DIST): Likewise.
11612 (__SYSCALL_CALL): Likewise.
11613
11614 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
11615
11616 [BZ #19363]
11617 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11618
11619 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11620
11621 [BZ #19375]
11622 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11623 negative subnormals.
11624
11625 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
11626
11627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11628 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11629 (INTERNAL_SYSCALL_NCS): Use it.
11630 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11631
11632 2015-12-16 Florian Weimer <fweimer@redhat.com>
11633
11634 [BZ #19243]
11635 * malloc/arena.c (get_free_list): Remove assert and adjust
11636 reference count handling. Add comment about reused_arena
11637 interaction.
11638 (reused_arena): Add comments abount get_free_list interaction.
11639 * malloc/tst-malloc-thread-exit.c: New file.
11640 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11641 (tst-malloc-thread-exit): Link against libpthread.
11642
11643 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
11644
11645 [BZ #19367]
11646 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11647 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11648 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11649 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11650 (index_Prefer_MAP_32BIT_EXEC): Likewise.
11651
11652 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11655 Silvermont optimizations for Knights Landing.
11656
11657 2015-12-15 Andreas Schwab <schwab@suse.de>
11658
11659 [BZ #17197]
11660 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11661 immediately after emitting SI.
11662 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11663 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11664 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11665 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11666 * iconvdata/bug-iconv10.c: New file.
11667 * iconvdata/Makefile (tests): Add bug-iconv10.
11668 ($(objpfx)bug-iconv10.out): New rule.
11669
11670 2015-12-15 Florian Weimer <fweimer@redhat.com>
11671
11672 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11673 aliasing violation.
11674
11675 2015-12-14 Joseph Myers <joseph@codesourcery.com>
11676
11677 [BZ #18472]
11678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11679 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11680 conditionals for them.
11681 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11682 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11684 sys/kdaemon.h.
11685 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11686 compat-only syscall, obsoleted in glibc 2.23.
11687 (create_module): Likewise.
11688 (get_kernel_syms): Likewise.
11689 (query_module): Likewise.
11690 (uselib): Likewise.
11691 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11692
11693 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
11694
11695 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11696 <linux/version.h>.
11697 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11698 conditional code.
11699 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11700 and ioshift_name initialization.
11701
11702 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
11703
11704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11705 Fix indentation.
11706
11707 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
11708
11709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11710
11711 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
11712
11713 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11714
11715 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
11716 Jakub Wilk <jwilk@debian.org>
11717
11718 [BZ #19347]
11719 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11720 to change the group of the device to the tty group.
11721
11722 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
11723
11724 Split large string section; add truncation advice
11725 * manual/examples/strncat.c: Remove.
11726 This example was misleading, as the code would have undefined
11727 behavior if "hello" was longer than SIZE. Anyway, the manual
11728 shouldn't encourage strncpy+strncat for this sort of thing.
11729 * manual/string.texi (Copying Strings and Arrays): Split into
11730 three sections Copying Strings and Arrays, Concatenating Strings,
11731 and Truncating Strings, as this section was way too long. All
11732 cross-referenced changed. Add advice about string-truncation
11733 functions. Remove misleading strncat example.
11734
11735 2015-12-10 Carlos O'Donell <carlos@redhat.com>
11736
11737 * manual/nss.texi (NSS Modules Interface): Document
11738 NSS_STATUS_NOTFOUND and SUCCESS.
11739
11740 2015-12-09 Mike FABIAN <mfabian@redhat.com>
11741
11742 [BZ 18568]
11743 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11744 201505L, for Unicode 8.
11745
11746 2015-12-09 Carlos O'Donell <carlos@redhat.com>
11747
11748 * locale/C-translit.h: Regenerate.
11749
11750 2015-12-09 Mike FABIAN <mfabian@redhat.com>
11751
11752 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11753 and U+0153.
11754
11755 2015-12-09 Joseph Myers <joseph@codesourcery.com>
11756
11757 [BZ #19351]
11758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11759 expanding log(1+z), compare z rather than its square with epsilon
11760 to determine when to avoid evaluating the expansion.
11761
11762 [BZ #19350]
11763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11764 Increase overflow threshold.
11765
11766 [BZ #19349]
11767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11768 when small.
11769
11770 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11771 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11772 New macro.
11773 [__LINUX_KERNEL_VERSION >= 0x040300]
11774 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11775 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11776 Likewise.
11777 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11778 Likewise.
11779 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11780 Likewise.
11781 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11782 Likewise.
11783 [__LINUX_KERNEL_VERSION >= 0x040300]
11784 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11785 [__LINUX_KERNEL_VERSION >= 0x040300]
11786 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11787 [__LINUX_KERNEL_VERSION >= 0x040300]
11788 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11789 [__LINUX_KERNEL_VERSION >= 0x040300]
11790 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11791 [__LINUX_KERNEL_VERSION >= 0x040300]
11792 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11793 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11794 Likewise.
11795 [__LINUX_KERNEL_VERSION >= 0x040300]
11796 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11797 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11798 Likewise.
11799 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11800 Likewise.
11801 [__LINUX_KERNEL_VERSION >= 0x040300]
11802 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11803 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11804 Likewise.
11805 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11806 Likewise.
11807 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11808 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11809 Likewise.
11810 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11811 Likewise.
11812 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11813 Likewise.
11814 [__LINUX_KERNEL_VERSION >= 0x040300]
11815 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11816 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11817 Likewise.
11818 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11819 Likewise.
11820 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11821 Likewise.
11822 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11823 Likewise.
11824 [__LINUX_KERNEL_VERSION >= 0x040300]
11825 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11826 [__LINUX_KERNEL_VERSION >= 0x040300]
11827 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11828 [__LINUX_KERNEL_VERSION >= 0x040300]
11829 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11830 [__LINUX_KERNEL_VERSION >= 0x040300]
11831 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11832 [__LINUX_KERNEL_VERSION >= 0x040300]
11833 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11834 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11835 Likewise.
11836 [__LINUX_KERNEL_VERSION >= 0x040300]
11837 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11838 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11839 Likewise.
11840 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11841 Likewise.
11842 [__LINUX_KERNEL_VERSION >= 0x040300]
11843 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11844 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11845 Likewise.
11846 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11847 Likewise.
11848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11849 (__ASSUME_SOCKET_SYSCALL): Likewise.
11850 (__ASSUME_BIND_SYSCALL): Likewise.
11851 (__ASSUME_CONNECT_SYSCALL): Likewise.
11852 (__ASSUME_LISTEN_SYSCALL): Likewise.
11853 (__ASSUME_ACCEPT_SYSCALL): Likewise.
11854 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11855 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11856 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11857 (__ASSUME_SEND_SYSCALL): Likewise.
11858 (__ASSUME_SENDTO_SYSCALL): Likewise.
11859 (__ASSUME_RECV_SYSCALL): Likewise.
11860 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11861 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11862 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11863 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11864 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11865 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11866 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11867 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11868 Likewise.
11869 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11870 Likewise.
11871 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11872 Likewise.
11873 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11874 Likewise.
11875 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11876 Likewise.
11877 [__LINUX_KERNEL_VERSION >= 0x020625]
11878 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11879 [__LINUX_KERNEL_VERSION >= 0x020625]
11880 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11881 [__LINUX_KERNEL_VERSION >= 0x020625]
11882 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11883 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11884 Likewise.
11885 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11886 Likewise.
11887 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11888 Likewise.
11889 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11890 Likewise.
11891 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11892 Likewise.
11893 [__LINUX_KERNEL_VERSION >= 0x020625]
11894 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11895 [__LINUX_KERNEL_VERSION >= 0x020625]
11896 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11897 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11898 Likewise.
11899 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11900 Likewise.
11901
11902 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
11903
11904 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11905 record the current if the current ABI and CPU support the FP64
11906 extension.
11907 (has-modd-spreg): Define to record the current if the current ABI and
11908 CPU support 32-bit floating point values in odd FPU registers.
11909 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11910 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11911 $(has-modd-spreg) equals yes.
11912 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11913 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11914 $(has-modd-spreg) equal yes.
11915
11916 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
11917
11918 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11919 basename.
11920
11921 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
11922
11923 * benchtests/Makefile (bench-math): Move ffs and ffsll...
11924 (bench-string): ... here.
11925 (bench): Add bench-string.
11926 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11927 to *-benchset to reflect what they are.
11928 (benchset): Adjust.
11929
11930 * benchtests/sincos-inputs: Add inputs from sin-inputs and
11931 cos-inputs.
11932
11933 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
11934
11935 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11936 __attribute__ ((__simd__)) for vector math function declarations.
11937
11938 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
11939
11940 Fix typo in strncat, wcsncat manual entries
11941 * manual/string.texi (Copying and Concatenation): Fix typos in
11942 sample implementations of strncat and wcsncat, by having them use
11943 the old value of the destination length, not the new one.
11944
11945 2015-12-04 Joseph Myers <joseph@codesourcery.com>
11946
11947 [BZ #16961]
11948 [BZ #16962]
11949 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11950 string on the stack for strtod.
11951 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11952 a string on the stack for strtof.
11953 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11954 constructing a string on the stack for strtold.
11955 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11956 __strtold_nan to GLIBC_PRIVATE.
11957 * math/test-nan-overflow.c: New file.
11958 * math/test-nan-payload.c: Likewise.
11959 * math/Makefile (tests): Add test-nan-overflow and
11960 test-nan-payload.
11961
11962 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
11963
11964 Consistency about byte vs character in string.texi
11965 * manual/string.texi (String and Array Utilities):
11966 Distinguish more carefully among bytes, multibyte characters,
11967 and wide characters. Use "byte" when talking about C 'char',
11968 to distinguish it more clearly from multibyte characters.
11969 Say "wide character" or "multibyte character" instead of
11970 "character", when a wide or multibyte character is intended.
11971 Similarly for "multibyte string" versus "string".
11972 Define these terms more carefully.
11973
11974 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
11975
11976 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11977 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11978 Likewise.
11979 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11980 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11981 * sysdeps/sh/math_private.h: New file.
11982 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11983 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11984 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11985 long double function name.
11986 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11992 Remove __finitel, __isinfl, and __isnanl.
11993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11994 Likewise.
11995 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11997 Remove __finitel.
11998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11999 Likewise.
12000 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12001
12002 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
12003
12004 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12005 installed libmvec_nonshared.a.
12006
12007 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12008
12009 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12010 (sysdep_routines): Likewise.
12011 (sysdep-rtld-routines): Likewise.
12012 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12013 [$(subdir) = nptl](tests-static): test-get_hwcap-static
12014 * sysdeps/powerpc/Versions: Added new
12015 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12016 * sysdeps/powerpc/hwcapinfo.c: New file.
12017 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12018 and parse hwcap, hwcap2 and platform number information.
12019 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
12020 to store HWCAP+HWCAP2 and platform number.
12021 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12022 for HWCAP+HWCAP2 and platform number in the TCB.
12023 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
12024 the HWCAP, HWCAP2 and platform number in the TCB.
12025 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12026 (TLS_INIT_TP): Included calls to add the hwcap and
12027 at_platform values in the TCB in TP initialization.
12028 (TLS_DEFINE_INIT_TP): Likewise.
12029 (THREAD_GET_HWCAP): New macro.
12030 (THREAD_SET_HWCAP): Likewise.
12031 (THREAD_GET_AT_PLATFORM): Likewise.
12032 (THREAD_SET_AT_PLATFORM): Likewise.
12033 * sysdeps/powerpc/powerpc32/dl-machine.h:
12034 (dl_platform_init): New function that calls
12035 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12036 powerpc32.
12037 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12038 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
12039 this functionality, static linking case.
12040 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
12041 linking case.
12042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12043 __parse_hwcap_and_convert_at_platform for the static linking case.
12044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12045 Included the new __parse_hwcap_and_convert_at_platform symbol in the
12046 ABI list for GLIBC 2.23.
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12048 Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12050 Likewise.
12051
12052 2015-12-02 Ludovic Courtès <ludo@gnu.org>
12053
12054 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12055 * configure: Regenerate.
12056 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12057 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
12058
12059 2015-12-02 Carlos O'Donell <carlos@redhat.com>
12060
12061 * iconvdata/ibm930.c: Add comment explaining encoding uses.
12062 * iconvdata/ibm933.c: Likewise.
12063 * iconvdata/ibm935.c: Likewise.
12064 * iconvdata/ibm937.c: Likewise.
12065 * iconvdata/ibm939.c: Likewise.
12066
12067 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12068
12069 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12070 pthread_join.
12071 * nptl/tst-cancel21.c (tf): Likewise.
12072
12073 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
12074
12075 [BZ #19313]
12076 * bits/typesizes.h (__CPU_MASK_TYPE): New.
12077 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12078 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12079 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12080 Likewise.
12081 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12082 Likewise.
12083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12084 Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12086 Likewise.
12087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12088 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12089 unsigned long int with __CPU_MASK_TYPE.
12090
12091 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
12092
12093 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12094
12095 2015-12-01 Joseph Myers <joseph@codesourcery.com>
12096
12097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12098 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12099 t512.x.
12100 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12101
12102 2015-11-30 Amit Pawar <amit.pawar@amd.com>
12103
12104 [BZ #19214]
12105 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12106 argument to return extended model. Update family and model
12107 with extended family and model when family == 0x0f.
12108 (init_cpu_features): Updated.
12109
12110 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12111
12112 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12113 signed off_t, so 32bit bigger than 2GiB values are fine actually.
12114
12115 * sysdeps/mach/hurd/mmap64.c: New file.
12116
12117 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
12118
12119 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12120 rights for its main user thread in NEWTASK.
12121
12122 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
12123
12124 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12125 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12126
12127 2015-11-27 Carlos O'Donell <carlos@redhat.com>
12128
12129 [BZ #14259]
12130 * Makeconfig: Rename localedir to complocaledir.
12131 Rename inst_localedir to inst_complocaledir.
12132 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12133 * config.make.in: Use complocaledir and libc_cv_complocaledir.
12134 * configure.ac: Use libc_cv_complocaledir.
12135 * configure: Regenerate.
12136 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12137 -DCOMPLOCALEDIR.
12138 * locale/findlocale.c: Use COMPLOCALEDIR.
12139 * locale/loadarchive.c: Likewise.
12140 * locale/programs/locale.c: Likewise.
12141 * locale/programs/localedef.c: Likewise.
12142 * locale/programs/locarchive.c: Likewise.
12143 * localedata/Makefile: Use inst_complocaledir.
12144 * sysdeps/gnu/configure: Regenerate.
12145 * sysdeps/hppa/configure: Regenerate.
12146 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12147 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12149 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12150 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12151 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12152 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12153
12154 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
12155
12156 [BZ #19058]
12157 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12158 AS_NEEDED.
12159 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12160 workaround.
12161 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12162 libmvec-static-only-routines): Added new file.
12163 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12164
12165 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166
12167 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12168 of interrupted RPC instead of restoring it.
12169
12170 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12171 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12172 libc_hidden_def.
12173 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12174 into initialized data instead of common. Define rtld_hidden_data_def.
12175 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12176 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12177 libc_hidden_def.
12178 (if_freenameindex): Add libc_hidden_weak.
12179 (if_nameindex): Add libc_hidden_weak.
12180 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12181 __open64.
12182 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12183 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12184 * sysdeps/mach/nanosleep.c: Include <time.h>
12185 (__nanosleep): Rename to __libc_nanosleep.
12186 (__nanosleep): Add weak_alias.
12187 (nanosleep): Update alias.
12188
12189 2015-11-24 Joseph Myers <joseph@codesourcery.com>
12190
12191 * stdlib/strtod_nan.c: New file.
12192 * stdlib/strtod_nan_double.h: Likewise.
12193 * stdlib/strtod_nan_float.h: Likewise.
12194 * stdlib/strtod_nan_main.c: Likewise.
12195 * stdlib/strtod_nan_narrow.h: Likewise.
12196 * stdlib/strtod_nan_wide.h: Likewise.
12197 * stdlib/strtof_nan.c: Likewise.
12198 * stdlib/strtold_nan.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12201 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12202 * wcsmbs/wcstod_nan.c: Likewise.
12203 * wcsmbs/wcstof_nan.c: Likewise.
12204 * wcsmbs/wcstold_nan.c: Likewise.
12205 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12206 strtold_nan.
12207 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12208 wcstof_nan.
12209 * include/stdlib.h (__strtof_nan): Declare and use
12210 libc_hidden_proto.
12211 (__strtod_nan): Likewise.
12212 (__strtold_nan): Likewise.
12213 (__wcstof_nan): Likewise.
12214 (__wcstod_nan): Likewise.
12215 (__wcstold_nan): Likewise.
12216 * include/wchar.h (____wcstoull_l_internal): Declare.
12217 * stdlib/strtod_l.c: Do not include <ieee754.h>.
12218 (____strtoull_l_internal): Remove declaration.
12219 (STRTOF_NAN): Define macro.
12220 (SET_MANTISSA): Remove macro.
12221 (STRTOULL): Likewise.
12222 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12223 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12224 (STRTOF_NAN): Define macro.
12225 (SET_MANTISSA): Remove macro.
12226 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12227 (SET_MANTISSA): Remove macro.
12228 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12229 macro.
12230 (SET_MANTISSA): Remove macro.
12231 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12232 macro.
12233 (SET_MANTISSA): Remove macro.
12234 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12235 (SET_MANTISSA): Remove macro.
12236 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12237 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12238 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12239
12240 [BZ #19266]
12241 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12242 upper case and lower case letters inside NAN(), not using TOLOWER.
12243 * stdlib/tst-strtod-nan-locale-main.c: New file.
12244 * stdlib/tst-strtod-nan-locale.c: Likewise.
12245 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12246 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12247 Depend on $(gen-locales).
12248 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12249 * wcsmbs/tst-wcstod-nan-locale.c: New file.
12250 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12251 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12252 Depend on $(gen-locales).
12253 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12254
12255 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
12256
12257 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12258
12259 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12261 __finitel, __isinfl, and __isnanl.
12262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12263 Likewise.
12264 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12266 __finitel.
12267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12268 Likewise.
12269 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12270
12271 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
12272
12273 * malloc/memusage.c (me): Remove redundant getenv call.
12274
12275 2015-10-24 Florian Weimer <fweimer@redhat.com>
12276
12277 [BZ #19143]
12278 [BZ #19164]
12279 * nptl/check-cpuset.h: Remove.
12280 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12281 Remove CPU set size check.
12282 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12283 Likewise.
12284 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12285 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12286 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12287 (__pthread_setaffinity_new): Remove CPU set size check.
12288 * sysdeps/unix/sysv/linux/sched_setaffinity.c
12289 (__kernel_cpumask_size): Remove.
12290 (__sched_setaffinity_new): Remove CPU set size check.
12291 * manual/threads.texi (Default Thread Attributes): Remove stale
12292 reference to check_cpuset_attr, determine_cpumask_size in comment.
12293 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12294 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
12295 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12296 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12297 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12298 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12299 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12300 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12301 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12302 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12303 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12304 skeleton test file.
12305 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
12306 tst-affinity-pid.
12307
12308 2015-11-24 Florian Weimer <fweimer@redhat.com>
12309
12310 * scripts/update-abilist.sh: New file.
12311 * Makefile (+subdir_targets): Add subdir_update-all-abi.
12312 * Makerules (update-all-abi-%, update-all-abi)
12313 (subdir_update-all-abi): New targets.
12314 * elf/Makefile (update-all-abi): New target.
12315
12316 2015-11-24 Florian Weimer <fweimer@redhat.com>
12317
12318 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12319 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12320 (__libc_lock_define_initialized): Use it.
12321 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12322 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12323 * malloc/malloc.c (main_arena): Likewise.
12324 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12325 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12326
12327 2015-11-23 Joseph Myers <joseph@codesourcery.com>
12328
12329 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12330 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12331 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12332 (PTRACE_O_MASK): Update value.
12333 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12334 New value in enum __ptrace_setoptions.
12335 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12336 (PTRACE_O_MASK): Update value.
12337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12338 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12339 (PTRACE_O_MASK): Update value.
12340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12341 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12342 (PTRACE_O_MASK): Update value.
12343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12344 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12345 (PTRACE_O_MASK): Update value.
12346 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12347 New value in enum __ptrace_setoptions.
12348 (PTRACE_O_MASK): Update value.
12349 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12350 New value in enum __ptrace_setoptions.
12351 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12352 (PTRACE_O_MASK): Update value.
12353
12354 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12355 New macro.
12356 (PACKET_AUXDATA): Likewise.
12357 (PACKET_ORIGDEV): Likewise.
12358 (PACKET_VERSION): Likewise.
12359 (PACKET_HDRLEN): Likewise.
12360 (PACKET_RESERVE): Likewise.
12361 (PACKET_TX_RING): Likewise.
12362 (PACKET_LOSS): Likewise.
12363 (PACKET_VNET_HDR): Likewise.
12364 (PACKET_TX_TIMESTAMP): Likewise.
12365 (PACKET_TIMESTAMP): Likewise.
12366 (PACKET_FANOUT): Likewise.
12367 (PACKET_TX_HAS_OFF): Likewise.
12368 (PACKET_QDISC_BYPASS): Likewise.
12369 (PACKET_ROLLOVER_STATS): Likewise.
12370 (PACKET_FANOUT_DATA): Likewise.
12371 (PACKET_MR_UNICAST): Likewise.
12372
12373 [BZ #19242]
12374 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12375 (TOUPPER): Likewise.
12376 * stdlib/tst-strtol-locale-main.c: New file.
12377 * stdlib/tst-strtol-locale.c: Likewise.
12378 * stdlib/Makefile (tests): Add tst-strtol-locale.
12379 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12380 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12381 Depend on $(gen-locales).
12382 * wcsmbs/tst-wcstol-locale.c: New file.
12383 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12384 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12385 tr_TR.ISO-8859-9.
12386 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12387 Depend on $(gen-locales).
12388
12389 2015-11-20 Roland McGrath <roland@hack.frob.com>
12390
12391 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12392 __glibc_likely instead of __builtin_expect. After falling back to
12393 dyncode_create in a non-ET_DYN case, use the allocate_code_data
12394 system interface to register the code pages as occupied.
12395
12396 2015-11-20 Joseph Myers <joseph@codesourcery.com>
12397
12398 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12399 [!ARM_MATH_PRIVATE_H].
12400 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12401 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12402 [!HPPA_MATH_PRIVATE_H].
12403 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12404 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12405 to [!I386_MATH_PRIVATE_H].
12406 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12407 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12408 Change guard to [!M68K_MATH_PRIVATE_H].
12409 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12410 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12411 guard to [!MICROBLAZE_MATH_PRIVATE_H].
12412 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12413 macro.
12414 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12415 [!MIPS_MATH_PRIVATE_H].
12416 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12417 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12418 [!NIO2_MATH_PRIVATE_H].
12419 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12420 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12421 [!TILE_MATH_PRIVATE_H].
12422 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12423
12424 [BZ #15421]
12425 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12426 initialize with 0 and define as weak alias of __signgam.
12427 * include/math.h [!_ISOMAC] (__signgam): Declare.
12428 * math/Makefile (libm-calls): Add w_lgamma_compat.
12429 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12430 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12431 test-signgam-ullong-init.
12432 (tests-static): Add test-signgam-uchar-static,
12433 test-signgam-uchar-init-static, test-signgam-uint-static,
12434 test-signgam-uint-init-static, test-signgam-ullong-static and
12435 test-signgam-ullong-init-static.
12436 (CFLAGS-test-signgam-uchar.c): New variable.
12437 (CFLAGS-test-signgam-uchar-init.c): Likewise.
12438 (CFLAGS-test-signgam-uchar-static.c): Likewise.
12439 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12440 (CFLAGS-test-signgam-uint.c): Likewise.
12441 (CFLAGS-test-signgam-uint-init.c): Likewise.
12442 (CFLAGS-test-signgam-uint-static.c): Likewise.
12443 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12444 (CFLAGS-test-signgam-ullong.c): Likewise.
12445 (CFLAGS-test-signgam-ullong-init.c): Likewise.
12446 (CFLAGS-test-signgam-ullong-static.c): Likewise.
12447 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12448 * math/Versions (libm): Add GLIBC_2.23.
12449 * math/lgamma-compat.h: New file.
12450 * math/test-signgam-main.c: Likewise.
12451 * math/test-signgam-uchar-init-static.c: Likewise.
12452 * math/test-signgam-uchar-init.c: Likewise.
12453 * math/test-signgam-uchar-static.c: Likewise.
12454 * math/test-signgam-uchar.c: Likewise.
12455 * math/test-signgam-uint-init-static.c: Likewise.
12456 * math/test-signgam-uint-init.c: Likewise.
12457 * math/test-signgam-uint-static.c: Likewise.
12458 * math/test-signgam-uint.c: Likewise.
12459 * math/test-signgam-ullong-init-static.c: Likewise.
12460 * math/test-signgam-ullong-init.c: Likewise.
12461 * math/test-signgam-ullong-static.c: Likewise.
12462 * math/test-signgam-ullong.c: Likewise.
12463 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12464 wrapper of w_lgamma_main.c.
12465 * math/w_lgamma_compat.c: New file.
12466 * math/w_lgamma_compatf.c: Likewise.
12467 * math/w_lgamma_compatl.c: Likewise.
12468 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
12469 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
12470 defining compatibility symbols.
12471 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
12472 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12473 wrapper of w_lgammaf_main.c.
12474 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
12475 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
12476 defining compatibility symbols.
12477 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
12478 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12479 wrapper of w_lgammal_main.c.
12480 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
12481 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
12482 defining compatibility symbols.
12483 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
12484 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12485 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12486 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
12487 <lgamma-compat.h>.
12488 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
12489 (__ieee754_gamma): Define as alias.
12490 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12491 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
12492 <lgamma-compat.h>.
12493 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
12494 (__ieee754_gammaf): Define as alias.
12495 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12496 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
12497 <lgamma-compat.h>.
12498 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
12499 (__ieee754_gammal): Define as alias.
12500 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12501 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
12502 <math/w_lgamma_compat.c>.
12503 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12504 Define as alias of __lgamma_compat and use in defining lgammal.
12505 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12506 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
12507 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12508 (USE_AS_COMPAT): New macro.
12509 (LGAMMA_OLD_VER): Undefine and redefine.
12510 (lgammal): Do not define here.
12511 (gammal): Only define here if [GAMMA_ALIAS].
12512 * conform/linknamespace.pl (@whitelist): Remove signgam.
12513 * sysdeps/nacl/libm.abilist: Update.
12514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12527 Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12529 Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12531 Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12533 Likewise.
12534 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12540 Likewise.
12541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12542 Likewise.
12543 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12546
12547 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12548
12549 [BZ #16364]
12550 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12551 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12552
12553 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12554
12555 * sysdeps/s390/fpu/bits/mathinline.h:
12556 Use __asm__ [__volatile__] instead of asm [volatile].
12557 * sysdeps/s390/abort-instr.h: Likewise.
12558 * sysdeps/s390/atomic-machine.h: Likewise.
12559 * sysdeps/s390/bits/string.h: Likewise.
12560 * sysdeps/s390/dl-tls.h: Likewise.
12561 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12562 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12563 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12564 * sysdeps/s390/fpu/fesetround.c: Likewise.
12565 * sysdeps/s390/fpu/fpu_control.h: Likewise.
12566 * sysdeps/s390/fpu/s_fma.c: Likewise.
12567 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12568 * sysdeps/s390/memusage.h: Likewise.
12569 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12570 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12571 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12572 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12573 * sysdeps/s390/nptl/tls.h: Likewise.
12574 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12575 * sysdeps/s390/s390-32/backtrace.c: Likewise.
12576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12577 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12578 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12579 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12580 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12581 * sysdeps/s390/s390-64/backtrace.c: Likewise.
12582 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12583 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12584 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12585 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12586 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12588 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12589 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12590 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12591 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12592 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12594 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12596 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12597
12598 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12600
12601 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12602 Add lwarx hint, and use macro for acquire instruction.
12603 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12604 Likewise.
12605 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12606 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12607 update to use new atomic macros.
12608
12609 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12610
12611 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12612 (__lll_trylock_elision): Fix setting of adapt_count.
12613 * sysdeps/unix/sysv/linux/powerpc/htm.h
12614 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12615 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12616 (_ABORT_SYSCALL): Renumber, and clarify definition.
12617 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12618
12619 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12620
12621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12622 after system headers to prevent MIN/MAX redefinition. Define
12623 HAVE_ALLOCA to preserve builtin alloca usage.
12624
12625 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
12626
12627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12628 static and don't set or restore rounding.
12629 (__cos)[IN_SINCOS]: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12631 (__sincos): Set and restore rounding mode. Remove check for infinite
12632 or NaN input.
12633
12634 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12635
12636 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12637 as used.
12638
12639 2015-11-16 Florian Weimer <fweimer@redhat.com>
12640
12641 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12642
12643 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 * config.make.in (have-glob-dat-reloc): New.
12646 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
12647 target supports GLOB_DAT relocaton. AC_SUBST.
12648 * configure: Regenerated.
12649 * elf/Makefile (tests): Add tst-prelink.
12650 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12651 (tst-prelink-ENV): New.
12652 ($(objpfx)tst-prelink-conflict.out): Likewise.
12653 ($(objpfx)tst-prelink-cmp.out): Likewise.
12654 * sysdeps/x86/tst-prelink.c: Moved to ...
12655 * elf/tst-prelink.c: Here.
12656 * sysdeps/x86/tst-prelink.exp: Moved to ...
12657 * elf/tst-prelink.exp: Here.
12658 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12659 (tst-prelink-ENV): Removed.
12660 ($(objpfx)tst-prelink-conflict.out): Likewise.
12661 ($(objpfx)tst-prelink-cmp.out): Likewise.
12662 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12663
12664 2015-11-13 Joseph Myers <joseph@codesourcery.com>
12665
12666 [BZ #14551]
12667 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12668 (__mpn_construct_long_double): If high part overflows to infinity,
12669 set errno and recompute overflowed result of the correct sign.
12670 * sysdeps/ieee754/ldbl-128ibm/Makefile
12671 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12672 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12673 $(libm).
12674 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12675
12676 2015-11-12 Joseph Myers <joseph@codesourcery.com>
12677
12678 [BZ #15479]
12679 [BZ #19238]
12680 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12681 floating-point state after first operation on input. Restore full
12682 state rather than just rounding mode.
12683 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12684 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12685 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12686
12687 [BZ #19235]
12688 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12689 add 0.5 to integer arguments.
12690 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12691 Likewise.
12692 (.LC2): New object.
12693
12694 2015-11-11 Mike Frysinger <vapier@gentoo.org>
12695
12696 * scripts/pylintrc (reports): Set to no.
12697
12698 2015-11-10 Roland McGrath <roland@hack.frob.com>
12699
12700 * elf/dl-load.c (open_verify): Take new argument FD.
12701 Skip __open call if passed FD is not -1.
12702 (_dl_map_object, open_path): Update callers.
12703 * elf/dl-sysdep-open.h: New file.
12704 * elf/dl-load.c: Include it.
12705 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12706 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12707 * sysdeps/nacl/dl-sysdep-open.h: New file.
12708 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12709 from libc to rtld.
12710
12711 2015-11-10 Joseph Myers <joseph@codesourcery.com>
12712
12713 [BZ #19228]
12714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12715 and restore full floating-point state.
12716 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12717 Likewise.
12718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12719 Likewise.
12720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12721 Likewise.
12722 * math/test-nearbyint-except-2.c: New file.
12723 * math/Makefile (tests): Add test-nearbyint-except-2.
12724
12725 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
12726
12727 [BZ #19178]
12728 * sysdeps/x86/Makefile (tests): Add tst-prelink.
12729 (tst-prelink-ENV): New.
12730 ($(objpfx)tst-prelink-conflict.out): Likewise.
12731 ($(objpfx)tst-prelink-cmp.out): Likewise.
12732 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12733 * sysdeps/x86/tst-prelink.c: New file.
12734 * sysdeps/x86/tst-prelink.exp: Likewise.
12735
12736 2015-11-10 Joseph Myers <joseph@codesourcery.com>
12737
12738 * math/auto-libm-test-in: Add another test of pow.
12739 * math/auto-libm-test-out: Regenerated.
12740 * math/libm-test.inc (pow_test_data): Add another test.
12741
12742 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12743
12744 [BZ #19219]
12745 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12746 weak_alias to nearbyintl.
12747
12748 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
12749
12750 * sysdeps/aarch64/bits/string.h: New file.
12751 (_STRING_ARCH_unaligned): Define.
12752
12753 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
12754
12755 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12756 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12757 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12758 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12760
12761 2015-11-09 Ulrich Drepper <drepper@gmail.com>
12762
12763 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12764 for original name of the DSO. Add it to the name list of the DSO
12765 if it is actually given.
12766 (_dl_map_object): Keep track of whether an audit module rewrote
12767 the file name. If yes, pass the original name to
12768 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
12769 debugging is enabled, log the change of the file name.
12770 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12771 _dl_map_object_from_fd.
12772 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12773 * elf/tst-audit11.c: New file
12774 * elf/tst-auditmod11.c: New file.
12775 * elf/tst-audit11mod1.c: New file.
12776 * elf/tst-audit11mod2.c: New file.
12777 * elf/tst-audit11mod2.map: New file.
12778 * elf/tst-audit12.c: New file
12779 * elf/tst-auditmod12.c: New file.
12780 * elf/tst-audit12mod1.c: New file.
12781 * elf/tst-audit12mod2.c: New file.
12782 * elf/tst-audit12mod2.map: New file.
12783 * elf/tst-audit12mod3.c: New file.
12784
12785 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
12786
12787 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12788 Don't create weak aliases,
12789 because versioned symbols are created later.
12790 * sysdeps/s390/s390-32/setjmp.S
12791 (setjmp, _setjmp): Remove weak and rename to an unique name
12792 in SHARED case due to existing versioned symbols.
12793 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12794 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12795 (getcontext): Create weak alias only in non SHARED case.
12796 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12797
12798 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
12799
12800 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12801 (__ASSUME_*_SYSCALL) Define new macros.
12802 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12803 Remove socketcall syscalls.
12804 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12805 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12806 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12807 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12808 * sysdeps/unix/sysv/linux/send.c (__libc_send):
12809 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12810
12811 2015-11-09 Florian Weimer <fweimer@redhat.com>
12812
12813 [BZ #12926]
12814 Terminate process on invalid netlink response.
12815 * sysdeps/unix/sysv/linux/netlinkaccess.h
12816 (__netlink_assert_response): Declare.
12817 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12818 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12819 (sysdep_routines): Add netlink_assert_response.
12820 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12821 __netlink_assert_response.
12822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12823 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12824 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12825 __netlink_assert_response.
12826
12827 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 [BZ #19178]
12830 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12831 (RTYPE_CLASS_PLT): Likewise.
12832 (RTYPE_CLASS_COPY): Likewise.
12833 (RTYPE_CLASS_TLS): Likewise.
12834 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12835 to set relocation type class for DL_DEBUG_PRELINK. Keep only
12836 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12837 DL_DEBUG_PRELINK.
12838
12839 2015-11-06 Joseph Myers <joseph@codesourcery.com>
12840
12841 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12842 calls with argument -0.5.
12843 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12844
12845 * configure.ac (libc_cv_z_nodelete): Remove configure test.
12846 (libc_cv_z_nodlopen): Likewise.
12847 (libc_cv_z_initfirst): Likewise.
12848 * configure: Regenerated.
12849
12850 2015-11-06 Florian Weimer <fweimer@redhat.com>
12851
12852 Simplify abilist format to be line-based.
12853 * scripts/abilist.awk: Collect descriptors in the descs variable.
12854 (emit): Write descs variable and sort it
12855 externally, with sort.
12856 * sysdeps/**/*.abilist: Convert to new format.
12857
12858 2015-11-06 Mark Wielaard <mjw@redhat.com>
12859
12860 [BZ #11460]
12861 * io/Makefile (routines): Add fts64.
12862 (tests): Add tst-fts and tst-fts-lfs.
12863 (CFLAGS-fts64.c): New.
12864 * io/Versions (GLIBC_2.23): New.
12865 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12866 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12867 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12868 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12869 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12870 (FTSENT64): Likewise.
12871 (fts64_children): Likewise.
12872 (fts64_close): Likewise.
12873 (fts64_open): Likewise.
12874 (fts64_read): Likewise.
12875 (fts64_set): Likewise.
12876 * io/fts64.c: New file.
12877 * io/tst-fts.c: New test.
12878 * io/tst-fts-lfs.c: Likewise.
12879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12880 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12881 fts64_set.
12882 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12898 Likewise.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12911 * sysdeps/wordsize-64/fts.c: New file.
12912 * sysdeps/wordsize-64/fts64.c: Likewise.
12913 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12914 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12915 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12917
12918 2015-11-05 Joseph Myers <joseph@codesourcery.com>
12919
12920 * math/libm-test.inc (NON_FINITE): New macro.
12921 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12922 * math/gen-libm-test.pl (show_exceptions): Add argument
12923 $non_finite.
12924 (parse_args): Update call to show_exceptions.
12925 * math/test-math-finite.h: New file.
12926 * math/test-math-no-finite.h: Likewise.
12927 * math/test-double-finite.c: Likewise.
12928 * math/test-float-finite.c: Likewise.
12929 * math/test-ldouble-finite.c: Likewise.
12930 * math/test-double.c: Include "test-math-no-finite.h".
12931 * math/test-float.c: Include "test-math-no-finite.h".
12932 * math/test-ldouble.c: Include "test-math-no-finite.h".
12933 * math/test-math-inline.h (TEST_FINITE): New macro.
12934 * math/test-math-vector.h (TEST_FINITE): Likewise.
12935 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12936 (libm-tests): Add test-float-finite and test-double-finite.
12937 ($(objpfx)test-float-finite.o): New dependency on
12938 $(objpfx)libm-test.stmp.
12939 ($(objpfx)test-double-finite.o): Likewise.
12940 ($(objpfx)test-ldouble-finite.o): Likewise.
12941 (libm-test-no-inline-cflags): New variable.
12942 (libm-test-finite-cflags): Likewise.
12943 (CFLAGS-test-float-finite.c): Likewise.
12944 (CFLAGS-test-double-finite.c): Likewise.
12945 (CFLAGS-test-ldouble-finite.c): Likewise.
12946 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12947 (CFLAGS-test-double.c): Likewise.
12948 (CFLAGS-test-ldouble.c): Likewise.
12949
12950 2015-11-05 Roland McGrath <roland@hack.frob.com>
12951
12952 * io/fcntl.c (__fcntl): Add ... to prototype.
12953 * misc/ioctl.c (__ioctl): Likewise.
12954 * misc/syscall.c (syscall): Likewise.
12955
12956 2015-11-05 Joseph Myers <joseph@codesourcery.com>
12957
12958 * scripts/list-fixed-bugs.py: New file.
12959
12960 [BZ #19213]
12961 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12962 returned for argument 1.
12963 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12964 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12965 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12966 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12967 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12968 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12969
12970 [BZ #19211]
12971 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12972 __USE_XOPEN], not if [!__USE_ISOC99].
12973 (lgammaf): Likewise.
12974 (lgammal): Likewise.
12975 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12976 (gammaf): Likewise.
12977 (gammal): Likewise.
12978 * math/test-signgam-finite-c11.c: New file.
12979 * math/test-signgam-finite-c99.c: Likewise.
12980 * math/test-signgam-finite.c: Likewise.
12981 * math/Makefile (tests): Add test-signgam-finite,
12982 test-signgam-finite-c99 and test-signgam-finite-c11.
12983 (CFLAGS-test-signgam-finite.c): New variable.
12984 (CFLAGS-test-signgam-finite-c99.c): Likewise.
12985 (CFLAGS-test-signgam-finite-c11.c): Likewise.
12986
12987 [BZ #19212]
12988 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12989 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12990 500].
12991 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12992 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12993 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12994 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12995 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12996 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12997 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12998 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12999 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13000 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13001
13002 [BZ #19209]
13003 * math/bits/math-finite.h (ldexp): Remove declaration.
13004 (ldexpf): Likewise.
13005 (ldexpl): Likewise.
13006
13007 [BZ #19205]
13008 * math/bits/math-finite.h (acosf): Condition declaration on
13009 [__USE_ISOC99].
13010 (acosl): Likewise.
13011 (acoshf): Likewise.
13012 (acoshl): Likewise.
13013 (asinf): Likewise.
13014 (asinl): Likewise.
13015 (atan2f): Likewise.
13016 (atan2l): Likewise.
13017 (atanhf): Likewise.
13018 (atanhl): Likewise.
13019 (coshf): Likewise.
13020 (coshl): Likewise.
13021 (expf): Likewise.
13022 (expl): Likewise.
13023 (fmodf): Likewise.
13024 (fmodl): Likewise.
13025 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13026 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13027 (j0l): Likewise.
13028 (y0f): Likewise.
13029 (y0l): Likewise.
13030 (j1f): Likewise.
13031 (j1l): Likewise.
13032 (y1f): Likewise.
13033 (y1l): Likewise.
13034 (jnf): Likewise.
13035 (jnl): Likewise.
13036 (ynf): Likewise.
13037 (ynl): Likewise.
13038 (lgammaf_r): Condition declaration on [__USE_ISOC99].
13039 (lgammal_r): Likewise.
13040 (__lgamma_r_finite): New declaration.
13041 (__lgammaf_r_finite): Likewise.
13042 (__lgammal_r_finite): Likewise.
13043 (lgamma): Use __lgamma_r_finite.
13044 (lgammaf): Condition definition on [__USE_ISOC99]. Use
13045 __lgammaf_r_finite.
13046 (lgammal): Condition definition on [__USE_ISOC99]. Use
13047 __lgammal_r_finite.
13048 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
13049 __lgamma_r_finite.
13050 (gammaf): Condition definition on [__USE_ISOC99]. Use
13051 __lgammaf_r_finite.
13052 (gammal): Condition definition on [__USE_ISOC99]. Use
13053 __lgammal_r_finite.
13054 (logf): Condition declaration on [__USE_ISOC99].
13055 (logl): Likewise.
13056 (log10f): Likewise.
13057 (log10l): Likewise.
13058 (ldexpf): Likewise.
13059 (ldexpl): Likewise.
13060 (powf): Likewise.
13061 (powl): Likewise.
13062 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13063 __USE_ISOC99].
13064 (remainderf): Condition declaration on [__USE_ISOC99].
13065 (remainderl): Likewise.
13066 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13067 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13068 (scalbl): Likewise.
13069 (sinhf): Condition declaration on [__USE_ISOC99].
13070 (sinhl): Likewise.
13071 (sqrtf): Likewise.
13072 (sqrtl): Likewise.
13073
13074 2015-11-04 Joseph Myers <joseph@codesourcery.com>
13075
13076 * sysdeps/arm/atomic-machine.h
13077 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13078 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13079 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13080 Remove conditional code.
13081 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13082 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13083 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13084 Change conditional to [__ASSEMBLER__].
13085 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13086 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13087 [!__ASSEMBLER__].
13088 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13089 code.
13090 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13091 conditional macro definitions.
13092 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13093 (__arch_compare_and_exchange_val_16_acq): Likewise.
13094 (__arch_compare_and_exchange_val_32_acq): Likewise.
13095 (atomic_exchange_and_add): Likewise.
13096 (atomic_add): Likewise.
13097 (atomic_add_negative): Likewise.
13098 (atomic_add_zero): Likewise.
13099 (atomic_bit_set): Likewise.
13100 (atomic_bit_test_set): Likewise.
13101 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13102 code unconditional.
13103 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13104
13105 * math/test-math-errno.h: New file.
13106 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13107 empty.
13108 (TEST_ERRNO): New macro.
13109 (TEST_EXCEPTIONS): Likewise.
13110 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13111 (TEST_EXCEPTIONS): Likewise.
13112 * math/test-math-vector.h (TEST_ERRNO): Likewise.
13113 * math/test-double.c: Include "test-math-errno.h".
13114 * math/test-float.c: Likewise.
13115 * math/test-ldouble.c: Likewise.
13116 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13117 code unconditional.
13118 (test_exceptions): Only run code if TEST_EXCEPTIONS.
13119 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13120 unconditional.
13121 (test_errno): Only run code if TEST_ERRNO.
13122 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13123
13124 2015-11-04 Florian Weimer <fweimer@redhat.com>
13125
13126 * nptl/tst-once5.cc: Remove attribution.
13127
13128 2015-11-04 Joseph Myers <joseph@codesourcery.com>
13129
13130 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13131 sqrt, tan, tanh, y0, y1 and yn.
13132 * math/auto-libm-test-out: Regenerated.
13133 * math/libm-test.inc (scalb_test_data): Add more tests.
13134 (scalbn_test_data): Likewise.
13135 (scalbln_test_data): Likewise.
13136 (signbit_test_data): Likewise.
13137 (sin_test_data): Likewise.
13138 (sincos_test_data): Likewise.
13139 (sinh_test_data): Likewise.
13140 (sqrt_test_data): Likewise.
13141 (tan_test_data): Likewise.
13142 (tanh_test_data): Likewise.
13143 (tgamma_test_data): Likewise.
13144 (y0_test_data): Likewise.
13145 (y1_test_data): Likewise.
13146 (yn_test_data): Likewise.
13147 (significand_test_data): Likewise.
13148 * sysdeps/i386/fpu/libm-test-ulps: Update.
13149
13150 2015-11-03 David Kastrup <dak@gnu.org>
13151
13152 [BZ #18604]
13153 * assert/assert.h (assert): Don't macro-expand failed assertion
13154 expression in error message.
13155 * malloc/malloc.c (assert): Likewise.
13156
13157 2015-11-03 Joseph Myers <joseph@codesourcery.com>
13158
13159 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13160 test.
13161 * configure: Regenerated.
13162
13163 2015-11-02 Joseph Myers <joseph@codesourcery.com>
13164
13165 * math/libm-test.inc (modf_test_data): Add more tests.
13166 (nearbyint_test_data): Likewise.
13167 (nextafter_test_data): Likewise.
13168 (nexttoward_test_data): Likewise.
13169 (pow_test_data): Likewise.
13170 (remainder_test_data): Likewise.
13171 (remquo_test_data): Likewise.
13172 (rint_test_data): Likewise.
13173
13174 [BZ #19201]
13175 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13176 Check for zero remainder in case of large exponents and ensure
13177 correct sign of result in that case.
13178 * math/libm-test.inc (remainder_test_data): Add more tests.
13179
13180 [BZ #6799]
13181 * math/s_nextafter.c: Include <errno.h>.
13182 (__nextafter): Set errno on overflow and underflow.
13183 * math/s_nexttowardf.c: Include <errno.h>.
13184 (__nexttowardf): Set errno on overflow and underflow.
13185 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13186 (__nextafterl): Set errno on overflow and underflow.
13187 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13188 (__nexttoward): Set errno on overflow and underflow.
13189 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13190 (__nexttowardf): Set errno on overflow and underflow.
13191 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13192 (__nextafterf): Set errno on overflow and underflow.
13193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13194 (__nextafterl): Set errno on overflow and underflow.
13195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13196 (__nexttoward): Set errno on overflow and underflow.
13197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13198 (__nexttowardf): Set errno on overflow and underflow.
13199 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13200 (__nextafterl): Set errno on overflow and underflow.
13201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13202 (__nexttoward): Set errno on overflow and underflow.
13203 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13204 (__nexttowardf): Set errno on overflow and underflow.
13205 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13206 (__nexttoward): Set errno on overflow and underflow.
13207 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13208 (__nexttowardf): Set errno on overflow and underflow.
13209 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13210 (__nldbl_nexttowardf): Set errno on overflow and underflow.
13211 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13212 (__nextafterl): Set errno on overflow and underflow.
13213 * math/libm-test.inc (nextafter_test_data): Do not allow errno
13214 setting to be missing on overflow. Add more tests.
13215 (nexttoward_test_data): Likewise.
13216
13217 * configure.ac (libc_cv_initfini_array): Remove configure test.
13218 * configure: Regenerated.
13219
13220 2015-10-29 Joseph Myers <joseph@codesourcery.com>
13221
13222 [BZ #19189]
13223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13224 non-finite argument handle arguments with negative sign.
13225
13226 * math/libm-test.inc (j0_test_data): Do not test sign of zero
13227 result from infinite argument.
13228 (j1_test_data): Likewise.
13229 (jn_test_data): Likewise.
13230 (y0_test_data): Likewise.
13231 (y1_test_data): Likewise.
13232 (yn_test_data): Likewise.
13233
13234 [BZ #16171]
13235 * math/w_remainder.c (drem): Define as weak alias of __remainder.
13236 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13237 * math/w_remainderf.c (dremf): Define as weak alias of
13238 __remainderf.
13239 * math/w_remainderl.c (dreml): Define as weak alias of
13240 __remainderl.
13241 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13242 __remainder.
13243 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13244 __remainderf.
13245 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13246 __remainderl.
13247 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13248 weak alias of remainderl.
13249 * sysdeps/ieee754/ldbl-opt/w_remainder.c
13250 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13251 alias of __remainder.
13252 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13253 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13254 strong alias of __remainderl.
13255 (dreml): Use long_double_symbol.
13256 * math/Makefile (libm-calls): Remove w_drem.
13257 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13258 (CFLAGS-nldbl-drem.c): Remove variable.
13259 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13260 * math/w_drem.c: Remove file.
13261 * math/w_dremf.c: Likewise.
13262 * math/w_dreml.c: Likewise.
13263 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13264 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13265 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13266
13267 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13268 * sysdeps/i386/configure: Regenerated.
13269 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13270 * sysdeps/x86_64/configure: Regenerated.
13271
13272 * configure.ac (libc_cv_asm_protected_directive): Remove configure
13273 test.
13274 (libc_cv_visibility_attribute): Likewise.
13275 (libc_cv_protected_data): Test unconditionally.
13276 (libc_cv_broken_visibility_attribute): Remove configure test.
13277 (libc_cv_have_sdata_section): Test unconditionally.
13278 * configure: Regenerated.
13279
13280 * include/libc-internal.h (libc_max_align_t): Remove typedef.
13281 * include/scratch_buffer.h: Include <stddef.h> instead of
13282 <libc-internal.h>.
13283 (struct scratch_buffer): Use max_align_t instead of
13284 libc_max_align_t.
13285
13286 2015-10-29 Florian Weimer <fweimer@redhat.com>
13287
13288 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13289 instead of extend_alloca. Change control flow to avoid a goto.
13290 Remove assert which is trivially always true.
13291
13292 2015-10-28 Joseph Myers <joseph@codesourcery.com>
13293
13294 [BZ #16068]
13295 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13296 (FE_ALL_EXCEPT_X86): New macro.
13297 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13298 FE_ALL_EXCEPT. Ensure precision control is included in
13299 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13300 handle "denormal operand exception" and clear FZ and DAZ bits.
13301 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13302 (FE_ALL_EXCEPT_X86): New macro.
13303 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13304 FE_ALL_EXCEPT. Ensure precision control is included in
13305 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13306 handle "denormal operand exception" and clear FZ and DAZ bits.
13307 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13308 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13309 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13310 test-fenv-x87 and test-fenv-sse-2.
13311 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13312
13313 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13314 * math/test-double.h (BUILD_COMPLEX): New macro.
13315 * math/test-float.h (BUILD_COMPLEX): Likewise.
13316 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13317
13318 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13319 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13320 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13322 instead of DBL_DENORM_MIN in comment.
13323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13324 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13326 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13328 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13329
13330 2015-10-28 Florian Weimer <fweimer@redhat.com>
13331
13332 [BZ# 19048]
13333 * malloc/malloc.c (struct malloc_state): Update comment. Add
13334 attached_threads member.
13335 (main_arena): Initialize attached_threads.
13336 * malloc/arena.c (list_lock): Update comment.
13337 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13338 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13339 (deattach_arena): New function.
13340 (_int_new_arena): Initialize arena reference count and deattach
13341 replaced arena.
13342 (get_free_list, reused_arena): Update reference count and deattach
13343 replaced arena.
13344 (arena_thread_freeres): Update arena reference count and only put
13345 unreferenced arenas on the free list.
13346
13347 2015-10-28 Joseph Myers <joseph@codesourcery.com>
13348
13349 [BZ #19181]
13350 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13351 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13352 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13353 * math/test-fenv-clear-main.c: New file.
13354 * math/test-fenv-clear.c: Likewise.
13355 * math/Makefile (tests): Add test-fenv-clear.
13356 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13357 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13358 test-fenv-clear-sse.
13359 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13360
13361 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13362 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13363 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13364
13365 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13366
13367 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13368 static libc.
13369
13370 2015-10-28 Joseph Myers <joseph@codesourcery.com>
13371
13372 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13373 test.
13374 * sysdeps/i386/configure: Regenerated.
13375 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13376 test.
13377 * sysdeps/x86_64/configure: Regenerated.
13378 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13380 memset-avx2 unconditionally instead of conditionally on
13381 [$(config-cflags-avx2) = yes].
13382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13383 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13384 unconditional.
13385 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13386 * sysdeps/x86_64/multiarch/memset_chk.S
13387 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13388 to [IS_IN (libc) && SHARED].
13389
13390 2015-10-27 Joseph Myers <joseph@codesourcery.com>
13391
13392 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13393 configure test.
13394 * sysdeps/arm/configure: Regenerated.
13395 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13396 Define variable if not already defined.
13397
13398 [BZ #17404]
13399 * sysdeps/mips/atomic-machine.h
13400 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13401 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13402 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13403
13404 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13405 unconditional.
13406 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13407 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13408 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13409 unconditional.
13410 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13411 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13412 unconditional.
13413 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13414 * stdlib/setenv.c
13415 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13416 code unconditional.
13417 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13418 Remove conditional code.
13419 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13420 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13421 unconditional.
13422 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13423 code.
13424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13425 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13426 unconditional.
13427 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13428 code.
13429 * sysdeps/ieee754/ldbl-128/k_tanl.c
13430 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13431 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13432 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13433 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13434 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13435 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13436 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13437 unconditional.
13438 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13439 code.
13440 * sysdeps/ieee754/ldbl-96/k_tanl.c
13441 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13442 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13443
13444 * nptl/tst-initializers1-c11.c: New file.
13445 * nptl/tst-initializers1-gnu11.c: Likewise.
13446 * nptl/Makefile (tests): Add these new tests.
13447 (CFLAGS-tst-initializers1-c11.c): New variable.
13448 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13449
13450 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13451 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13452 instead of -std=gnu99.
13453 * configure.ac (systemtap): Test with -std=gnu11 instead of
13454 -std=gnu99.
13455 * configure: Regenerated.
13456 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13457 in compilation command in comment.
13458
13459 * sysdeps/nptl/configure.ac: Remove file.
13460 * sysdeps/nptl/configure: Remove generated file.
13461 * configure.ac (libc_cv_forced_unwind): Do not substitute.
13462 * configure: Regenerated.
13463 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13464 * config.make.in (have-forced-unwind): Remove variable.
13465 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13466 unconditional.
13467 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13468 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13469 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13470 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13471 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13472 unconditional.
13473
13474 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13475
13476 [BZ #19174]
13477 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13478 .skip_lock_out_of_tbegin_retries.
13479 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13480 (__lll_lock_elision): Likewise, and respect a value of
13481 try_tbegin <= 0.
13482
13483 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13484
13485 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13486 statement.
13487
13488 2015-10-27 Joseph Myers <joseph@codesourcery.com>
13489
13490 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13491 variable.
13492 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13493 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13494
13495 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13496 of -std=c1x -D_ISOC11_SOURCE.
13497
13498 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13499 * configure: Regenerated.
13500 * manual/install.texi (Tools for Compilation): Document
13501 requirement for GCC 4.7 or later.
13502 * INSTALL: Regenerated.
13503
13504 2015-10-27 Ludovic Courtès <ludo@gnu.org>
13505
13506 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13507 on CNT to a conditional jump to 'puntdata'.
13508
13509 2015-10-27 Joseph Myers <joseph@codesourcery.com>
13510
13511 * configure.ac (libc_cv_gcc___thread): Remove configure test.
13512 (libc_cv_gcc_tls_model_attr): Likewise.
13513 * configure: Regenerated.
13514
13515 * configure.ac (libc_cv_need_minus_P): Remove configure test.
13516 * configure: Regenerated.
13517 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13518
13519 2015-10-26 Joseph Myers <joseph@codesourcery.com>
13520
13521 * configure.ac (old_glibc_headers): Remove configure test.
13522 * configure: Regenerated.
13523 * config.make.in (old-glibc-headers): Remove variable.
13524 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13525 (install): Remove dependency on remove-old-headers.
13526 (headers2_0): Remove variable.
13527 (remove-old-headers): Remove rule.
13528
13529 * configure.ac (libc_cv_dot_text): Remove configure test.
13530 (libc_cv_asm_set_directive): Use .text instead of
13531 ${libc_cv_dot_text} in configure test.
13532 * configure: Regenerated.
13533
13534 2015-10-26 Florian Weimer <fweimer@redhat.com>
13535
13536 [BZ #19168]
13537 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13538
13539 2015-10-26 Florian Weimer <fweimer@redhat.com>
13540
13541 * configure.ac (CXX): Clear the variable if the C++ toolchain does
13542 not support static linking.
13543 * configure: Regenerate.
13544
13545 2015-10-23 Joseph Myers <joseph@codesourcery.com>
13546
13547 * math/libm-test.inc (check_float_internal): Do not special-case
13548 errors up to 0.5 ulp.
13549
13550 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13551 log2.
13552 * math/auto-libm-test-out: Regenerated.
13553 * math/libm-test.inc (MAX_EXP): New macro.
13554 (ilogb_test_data): Add more tests.
13555 (isfinite_test_data): Likewise.
13556 (isgreater_test_data): Likewise.
13557 (isgreaterequal_test_data): Likewise.
13558 (isinf_test_data): Likewise.
13559 (isless_test_data): Likewise.
13560 (islessequal_test_data): Likewise.
13561 (islessgreater_test_data): Likewise.
13562 (isnan_test_data): Likewise.
13563 (isnormal_test_data): Likewise.
13564 (issignaling_test_data): Likewise.
13565 (isunordered_test_data): Likewise.
13566 (j0_test_data): Likewise.
13567 (j1_test_data): Likewise.
13568 (jn_test_data): Likewise.
13569 (lgamma_test_data): Likewise.
13570 (log_test_data): Likewise.
13571 (log10_test_data): Likewise.
13572 (log1p_test_data): Likewise.
13573 (log2_test_data): Likewise.
13574 (logb_test_data): Likewise.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13576
13577 [BZ #18611]
13578 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13579 avoid excess range and precision on underflow.
13580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13581 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13583 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13584 underflow.
13585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13588 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13589 * math/auto-libm-test-in: Do not allow missing errno setting for
13590 tests of j1 and jn.
13591 * math/auto-libm-test-out: Regenerated.
13592
13593 2015-10-22 Joseph Myers <joseph@codesourcery.com>
13594
13595 [BZ #15491]
13596 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13597 floating-point environment instead of clearing all exceptions.
13598 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13599 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13600 merging in "invalid" exceptions from frndint.
13601 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13602 * math/test-nearbyint-except.c: New file.
13603 * math/Makefile (tests): Add test-nearbyint-except.
13604
13605 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
13606
13607 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13608
13609 * sysdeps/tile/libm-test-ulps: Regenerated.
13610
13611 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13612
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13614 (__NR_sync_file_range2): Assume it is always defined.
13615 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13616 (__NR_sync_file_range): Assume it is always defined.
13617
13618 2015-10-22 Andreas Schwab <schwab@suse.de>
13619
13620 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13621 INTERNAL_SYSCALL_ERRNO.
13622 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13623 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13624 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13625 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13626 Likewise.
13627 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13628
13629 2015-10-21 Joseph Myers <joseph@codesourcery.com>
13630
13631 * io/tst-fcntl.c (fd): New static variable.
13632 (do_prepare): Open temporary file here....
13633 (do_test): ...not here.
13634
13635 * io/ftwtest-sh: Also trap on exit to remove temporary files.
13636
13637 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
13638
13639 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13640 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13641 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13642 Moved before "#ifdef __ASSEMBLER__".
13643
13644 2015-10-21 Joseph Myers <joseph@codesourcery.com>
13645
13646 [BZ #19156]
13647 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13648 arguments very close to 0.
13649
13650 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
13651
13652 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13653 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13654
13655 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
13656
13657 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13658 New. Defined for GCC 5 and above when not compiling for
13659 profiling.
13660 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13661
13662 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13663 Renamed to ...
13664 (CFLAGS-epoll_pwait.o): This.
13665 (CFLAGS-mmap.c): Renamed to ...
13666 (CFLAGS-mmap.o): This.
13667 (CFLAGS-mmap64.c): Renamed to ...
13668 (CFLAGS-mmap64.o): This.
13669 (CFLAGS-epoll_pwait.os): New.
13670 (CFLAGS-mmap.os): Likewise.
13671 (CFLAGS-mmap64.os): Likewise.
13672 (CFLAGS-semtimedop.os): Likewise.
13673 (CFLAGS-semtimedop.c): Renamed to ...
13674 (CFLAGS-semtimedop.o): This.
13675
13676 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13677
13678 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13679 warning message.
13680
13681 2015-10-21 Joseph Myers <joseph@codesourcery.com>
13682
13683 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13684 * Makefile ($(objpfx)c++-types-check.out): Filter out
13685 $(+gccwarn-c) instead of -Wstrict-prototypes.
13686
13687 * io/fts.c (fts_open): Convert to prototype-style function
13688 definition.
13689 * malloc/mcheck.c (mcheck): Likewise.
13690 (mcheck_pedantic): Likewise.
13691 * posix/regexec.c (re_search_2_stub): Likewise. Use
13692 internal_function.
13693 (re_search_internal): Likewise.
13694 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13695 prototype-style function definition.
13696 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13697 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13698 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13699 (xdr_utmpptr): Likewise.
13700 (xdr_utmparr): Likewise.
13701 (xdr_utmpidle): Likewise.
13702 (xdr_utmpidleptr): Likewise.
13703 (xdr_utmpidlearr): Likewise.
13704
13705 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13706 log, log10 and log2.
13707 * math/auto-libm-test-out: Regenerated.
13708 * math/libm-test.inc (fmod_test_data): Add more tests.
13709 (fpclassify_test_data): Likewise.
13710 (frexp_test_data): Likewise.
13711 (hypot_test_data): Likewise.
13712 (ilogb_test_data): Likewise.
13713
13714 2015-10-20 Joseph Myers <joseph@codesourcery.com>
13715
13716 * debug/fortify_fail.c (__fortify_fail): Convert to
13717 prototype-style function definition. Use internal_function.
13718 * libio/genops.c (save_for_backup): Convert to prototype-style
13719 function definition.
13720 * libio/wgenops.c (save_for_wbackup): Likewise.
13721 * login/grantpt.c (grantpt): Likewise.
13722 * login/ptsname.c (ptsname): Likewise.
13723 (__ptsname_r): Likewise.
13724 * login/unlockpt.c (unlockpt): Likewise.
13725 * mach/msgserver.c (__mach_msg_server): Likewise.
13726 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13727 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13728 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13729 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13730 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13731 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13732 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13733 Likewise.
13734 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
13735 internal_function.
13736 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13737 prototype-style function definition.
13738 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13739 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13740 (__pthread_create_2_0): Likewise.
13741 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13742 * nptl/register-atfork.c (__register_atfork): Likewise.
13743 * posix/glob.c (glob): Likewise.
13744 * posix/regcomp.c (re_comp): Likewise.
13745 * posix/regexec.c (re_exec): Likewise.
13746 * stdlib/add_n.c [__STDC__]: Make code unconditional.
13747 [!__STDC__]: Remove conditional code.
13748 * stdlib/cmp.c [__STDC__]: Make code unconditional.
13749 [!__STDC__]: Remove conditional code.
13750 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13751 [!__STDC__]: Remove conditional code.
13752 * stdlib/divrem.c [__STDC__]: Make code unconditional.
13753 [!__STDC__]: Remove conditional code.
13754 * stdlib/lshift.c [__STDC__]: Make code unconditional.
13755 [!__STDC__]: Remove conditional code.
13756 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13757 [!__STDC__]: Remove conditional code.
13758 * stdlib/mul.c [__STDC__]: Make code unconditional.
13759 [!__STDC__]: Remove conditional code.
13760 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13761 [!__STDC__]: Remove conditional code.
13762 * stdlib/rshift.c [__STDC__]: Make code unconditional.
13763 [!__STDC__]: Remove conditional code.
13764 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13765 function definition.
13766 (STRTOF): Likewise.
13767 * stdlib/strtod_l.c (__STRTOF): Likewise.
13768 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13769 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13770 (__strtol_l): Likewise.
13771 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13772 [!__STDC__]: Remove conditional code.
13773 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13774 definition.
13775 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13776 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13777 type.
13778 (__strcasecmp): Convert to prototype-style function definition.
13779 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13780 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13781 type.
13782 (__strncasecmp): Convert to prototype-style function definition.
13783 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13784 * sunrpc/xdr.c (xdr_union): Likewise.
13785 * sunrpc/xdr_array.c (xdr_array): Likewise.
13786 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13787 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13788 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13789 Likewise.
13790 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13791 Likewise.
13792 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13793 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13794 Likewise.
13795 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13796 (LOCALE_PARAM_PROTO): Likewise.
13797 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13798 argument type.
13799 (ut_argument_spec): Remove macro.
13800 (ut_argument_spec_iso): Rename to ut_argument_spec.
13801 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
13802 prototype-style function definition.
13803 (memcpy_uppcase): Likewise.
13804 (__strftime_internal): Likewise.
13805 (my_strftime): Likewise.
13806 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13807 (LOCALE_PARAM_DECL): Likewise.
13808 [_LIBC] (LOCALE_PARAM): Include argument type.
13809 (__strptime_internal): Convert to prototype-style function
13810 definition.
13811 (strptime): Likewise.
13812 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13813 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13814 type.
13815 (__wcscasecmp): Convert to prototype-style function definition.
13816 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13817 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13818 type.
13819 (__wcsncasecmp): Convert to prototype-style function definition.
13820
13821 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13822 function definition.
13823 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13824 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13825 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13826 * elf/dl-minimal.c (_itoa): Likewise.
13827 * hurd/hurdmalloc.c (malloc): Likewise.
13828 (free): Likewise.
13829 (realloc): Likewise.
13830 * inet/inet6_option.c (inet6_option_space): Likewise.
13831 (inet6_option_init): Likewise.
13832 (inet6_option_append): Likewise.
13833 (inet6_option_alloc): Likewise.
13834 (inet6_option_next): Likewise.
13835 (inet6_option_find): Likewise.
13836 * io/ftw.c (FTW_NAME): Likewise.
13837 (NFTW_NAME): Likewise.
13838 (NFTW_NEW_NAME): Likewise.
13839 (NFTW_OLD_NAME): Likewise.
13840 * libio/iofwide.c (_IO_fwide): Likewise.
13841 * libio/strops.c (_IO_str_init_static_internal): Likewise.
13842 (_IO_str_init_static): Likewise.
13843 (_IO_str_init_readonly): Likewise.
13844 (_IO_str_overflow): Likewise.
13845 (_IO_str_underflow): Likewise.
13846 (_IO_str_count): Likewise.
13847 (_IO_str_seekoff): Likewise.
13848 (_IO_str_pbackfail): Likewise.
13849 (_IO_str_finish): Likewise.
13850 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13851 (_IO_wstr_overflow): Likewise.
13852 (_IO_wstr_underflow): Likewise.
13853 (_IO_wstr_count): Likewise.
13854 (_IO_wstr_seekoff): Likewise.
13855 (_IO_wstr_pbackfail): Likewise.
13856 (_IO_wstr_finish): Likewise.
13857 * locale/programs/localedef.c (normalize_codeset): Likewise.
13858 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13859 (add_locales_to_archive): Likewise.
13860 (delete_locales_from_archive): Likewise.
13861 * malloc/malloc.c (__libc_mallinfo): Likewise.
13862 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13863 * misc/tsearch.c (__tfind): Likewise.
13864 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13865 * nptl/pthread_attr_getdetachstate.c
13866 (__pthread_attr_getdetachstate): Likewise.
13867 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13868 Likewise.
13869 * nptl/pthread_attr_getinheritsched.c
13870 (__pthread_attr_getinheritsched): Likewise.
13871 * nptl/pthread_attr_getschedparam.c
13872 (__pthread_attr_getschedparam): Likewise.
13873 * nptl/pthread_attr_getschedpolicy.c
13874 (__pthread_attr_getschedpolicy): Likewise.
13875 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13876 Likewise.
13877 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13878 Likewise.
13879 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13880 Likewise.
13881 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13882 Likewise.
13883 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13884 (__pthread_attr_init_2_0): Likewise.
13885 * nptl/pthread_attr_setdetachstate.c
13886 (__pthread_attr_setdetachstate): Likewise.
13887 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13888 Likewise.
13889 * nptl/pthread_attr_setinheritsched.c
13890 (__pthread_attr_setinheritsched): Likewise.
13891 * nptl/pthread_attr_setschedparam.c
13892 (__pthread_attr_setschedparam): Likewise.
13893 * nptl/pthread_attr_setschedpolicy.c
13894 (__pthread_attr_setschedpolicy): Likewise.
13895 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13896 Likewise.
13897 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13898 Likewise.
13899 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13900 Likewise.
13901 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13902 Likewise.
13903 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13904 Likewise.
13905 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13906 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13907 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13908 use internal_function.
13909 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13910 prototype-style function definition.
13911 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13912 (__pthread_mutex_cond_lock_adjust): Likewise. Use
13913 internal_function.
13914 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13915 Convert to prototype-style function definition.
13916 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13917 Likewise.
13918 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13919 Likewise.
13920 (__pthread_mutex_unlock): Likewise.
13921 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13922 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13923 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13924 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13925 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13926 * nss/makedb.c (process_input): Likewise.
13927 * posix/fnmatch.c (__strchrnul): Likewise.
13928 (__wcschrnul): Likewise.
13929 (fnmatch): Likewise.
13930 * posix/fnmatch_loop.c (FCT): Likewise.
13931 * posix/glob.c (globfree): Likewise.
13932 (__glob_pattern_type): Likewise.
13933 (__glob_pattern_p): Likewise.
13934 * posix/regcomp.c (re_compile_pattern): Likewise.
13935 (re_set_syntax): Likewise.
13936 (re_compile_fastmap): Likewise.
13937 (regcomp): Likewise.
13938 (regerror): Likewise.
13939 (regfree): Likewise.
13940 * posix/regexec.c (regexec): Likewise.
13941 (re_match): Likewise.
13942 (re_search): Likewise.
13943 (re_match_2): Likewise.
13944 (re_search_2): Likewise.
13945 (re_search_stub): Likewise. Use internal_function
13946 (re_copy_regs): Likewise.
13947 (re_set_registers): Convert to prototype-style function
13948 definition.
13949 (prune_impossible_nodes): Likewise. Use internal_function.
13950 * resolv/inet_net_pton.c (inet_net_pton): Convert to
13951 prototype-style function definition.
13952 (inet_net_pton_ipv4): Likewise.
13953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13954 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13955 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13956 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13957 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13958 Make variadic.
13959 * time/strptime_l.c (localtime_r): Convert to prototype-style
13960 function definition.
13961 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13962 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13963 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13964 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13965
13966 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13967 definition.
13968 (_ufc_doit_r): Likewise.
13969 * crypt/crypt_util.c (_ufc_copymem): Likewise.
13970 (_ufc_output_conversion_r): Likewise.
13971 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13972 * inet/rcmd.c (rcmd_af): Likewise.
13973 (rcmd): Likewise.
13974 (ruserok_af): Likewise.
13975 (ruserok): Likewise.
13976 (ruserok2_sa): Likewise.
13977 (ruserok_sa): Likewise.
13978 (iruserok_af): Likewise.
13979 (iruserok): Likewise.
13980 (__ivaliduser): Likewise.
13981 (__validuser2_sa): Likewise.
13982 * inet/rexec.c (rexec_af): Likewise.
13983 (rexec): Likewise.
13984 * inet/ruserpass.c (ruserpass): Likewise.
13985 * locale/programs/xmalloc.c (xcalloc): Likewise.
13986 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13987 * math/w_drem.c (__drem): Likewise.
13988 * math/w_dremf.c (__dremf): Likewise.
13989 * math/w_dreml.c (__dreml): Likewise.
13990 * misc/daemon.c (daemon): Likewise.
13991 * resolv/res_debug.c (p_fqnname): Likewise.
13992 * stdlib/div.c (div): Likewise.
13993 * string/memcmp.c (memcmp_bytes): Likewise.
13994 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13995 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13996
13997 * crypt/cert.c (main): Convert to prototype-style function
13998 definition.
13999 * io/pipe.c (__pipe): Likewise.
14000 * io/pipe2.c (__pipe2): Likewise.
14001 * misc/futimesat.c (futimesat): Likewise.
14002 * misc/utimes.c (__utimes): Likewise.
14003 * posix/execve.c (__execve): Likewise.
14004 * posix/execvp.c (execvp): Likewise.
14005 * posix/execvpe.c (__execvpe): Likewise.
14006 * posix/fexecve.c (fexecve): Likewise.
14007 * socket/socketpair.c (socketpair): Likewise.
14008 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14009 * stdlib/erand48.c (erand48): Likewise.
14010 * stdlib/erand48_r.c (__erand48_r): Likewise.
14011 * stdlib/jrand48.c (jrand48): Likewise.
14012 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14013 * stdlib/lcong48.c (lcong48): Likewise.
14014 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14015 * stdlib/nrand48.c (nrand48): Likewise.
14016 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14017 * stdlib/seed48.c (seed48): Likewise.
14018 * stdlib/seed48_r.c (__seed48_r): Likewise.
14019 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14020 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14021 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14022
14023 2015-10-19 Joseph Myers <joseph@codesourcery.com>
14024
14025 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14026 * configure: Regenerated.
14027 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14028 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14029 unconditional.
14030 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14031 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14032 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14033 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14034 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14035 unconditional.
14036 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14037
14038 * posix/Makefile (CFLAGS-regex.c): Remove variable.
14039 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14040
14041 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14042 function definition.
14043 * crypt/crypt_util.c (__encrypt_r): Likewise.
14044 * libio/genops.c (_IO_no_init): Likewise.
14045 * libio/iofopncook.c (_IO_fopencookie): Likewise.
14046 (_IO_old_fopencookie): Likewise.
14047 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14048 * libio/iogetline.c (_IO_getline): Likewise.
14049 (_IO_getline_info): Likewise.
14050 * libio/iogetwline.c (_IO_getwline): Likewise.
14051 (_IO_getwline_info): Likewise.
14052 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14053 * libio/vswprintf.c (_IO_vswprintf): Likewise.
14054 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14055 (find_entry): Likewise.
14056 (iterate_table): Likewise.
14057 (lookup): Likewise.
14058 * login/forkpty.c (forkpty): Likewise.
14059 * misc/hsearch_r.c (__hsearch_r): Likewise.
14060 * misc/select.c (__select): Likewise.
14061 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14062 Likewise.
14063 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14064 Likewise.
14065 * nptl/old_pthread_cond_timedwait.c
14066 (__pthread_cond_timedwait_2_0): Likewise.
14067 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14068 * nptl/pthread_barrierattr_getpshared.c
14069 (pthread_barrierattr_getpshared): Likewise.
14070 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14071 Likewise.
14072 * nptl/pthread_mutex_setprioceiling.c
14073 (pthread_mutex_setprioceiling): Likewise.
14074 * nptl/pthread_mutexattr_getprioceiling.c
14075 (pthread_mutexattr_getprioceiling): Likewise.
14076 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14077 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14078 Likewise.
14079 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14080 Likewise.
14081 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14082 Likewise.
14083 * socket/recvfrom.c (__recvfrom): Likewise.
14084 * socket/sendto.c (__sendto): Likewise.
14085 * socket/setsockopt.c (__setsockopt): Likewise.
14086 * stdio-common/_itoa.c (_itoa): Likewise.
14087 * stdio-common/_itowa.c (_itowa): Likewise.
14088 * stdio-common/reg-printf.c (__register_printf_specifier):
14089 Likewise.
14090 (__register_printf_function): Likewise.
14091 * stdio-common/tempname.c (__path_search): Likewise.
14092 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14093 * stdlib/mul_1.c (mpn_mul_1): Likewise.
14094 * stdlib/random_r.c (__initstate_r): Likewise.
14095 * stdlib/setenv.c (__add_to_environ): Likewise.
14096 * stdlib/submul_1.c (mpn_submul_1): Likewise.
14097 * streams/getpmsg.c (getpmsg): Likewise.
14098 * streams/putmsg.c (putmsg): Likewise.
14099 * streams/putpmsg.c (putpmsg): Likewise.
14100 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14101 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14102 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14103 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14104 * sunrpc/pm_getport.c (pmap_getport): Likewise.
14105 * sunrpc/svc_udp.c (cache_get): Likewise.
14106 * sunrpc/xdr_array.c (xdr_vector): Likewise.
14107 * sysdeps/mach/hurd/getcwd.c
14108 (__canonicalize_directory_name_internal): Likewise.
14109 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14110 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14111 * sysdeps/mach/hurd/select.c (__select): Likewise.
14112 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14113 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14114 * sysdeps/sparc/nptl/pthread_barrier_init.c
14115 (__pthread_barrier_init): Likewise.
14116 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14117 (__pthread_cond_timedwait): Likewise.
14118 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14119 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14120 Likewise.
14121 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14122 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14123 Likewise.
14124 * sysvipc/semtimedop.c (semtimedop): Likewise.
14125 * time/setitimer.c (__setitimer): Likewise.
14126 * time/strftime_l.c (emacs_strftime): Likewise.
14127
14128 2015-10-19 Mike Frysinger <vapier@gentoo.org>
14129
14130 * config.make.in (have-ssp): Delete.
14131 (stack-protector): New variable.
14132 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
14133 cache test for -fstack-protector-strong. Export stack_protector to
14134 the best ssp flag.
14135 * configure: Regenerated.
14136 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14137 * nscd/Makefile (CFLAGS-nscd): Likewise.
14138 * resolv/Makefile (CFLAGS-libresolv): Likewise.
14139
14140 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 [BZ #19122]
14143 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14144 attribute_hidden.
14145
14146 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14147
14148 [BZ #18743]
14149 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14150 code to...
14151 (ELIDE_LOCK): ...here.
14152 (__get_new_count): New function with part of the code from
14153 __elide_lock that updates the value of adapt_count after a
14154 transaction abort.
14155 (__elided_trylock): Moved this code to...
14156 (ELIDE_TRYLOCK): ...here.
14157
14158 2015-10-19 Mike Frysinger <vapier@gentoo.org>
14159
14160 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14161 * configure: Regenerate.
14162 * INSTALL: Regenerate.
14163 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14164 and tweak grammar.
14165
14166 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
14167
14168 * login/programs/pt_chown.c: Include signal.h
14169 (main): Clear any signal mask from the parent process.
14170
14171 2015-10-19 Joseph Myers <joseph@codesourcery.com>
14172
14173 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14174 * configure: Regenerated.
14175 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14176 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14177 $(gnu89-inline-CFLAGS).
14178
14179 * configure.ac (libc_cv_asm_weak_directive): Remove configure
14180 test.
14181 (libc_cv_asm_weakext_directive): Likewise.
14182 * configure: Regenerated.
14183 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14184 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14185 * include/libc-symbols.h
14186 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14187 #error.
14188 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14189 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14190
14191 * sysdeps/arm/backtrace.c (__backtrace): Convert to
14192 prototype-style function definition.
14193 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14194 * sysdeps/i386/ffs.c (__ffs): Likewise.
14195 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14196 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14197 Likewise.
14198 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14199 Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14202 Likewise.
14203 * sysdeps/m68k/ffs.c (__ffs): Likewise.
14204 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14205 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14206 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14207 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14208 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14209 * sysdeps/mach/hurd/access.c (__access): Likewise.
14210 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14211 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14212 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14213 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14214 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14215 (cthread_getspecific): Likewise.
14216 (cthread_setspecific): Likewise.
14217 (__libc_getspecific): Likewise.
14218 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14219 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14220 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14221 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14222 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14223 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14224 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14225 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14226 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14227 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14228 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14229 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14230 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14231 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14232 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14233 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14234 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14235 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14236 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14237 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14238 * sysdeps/mach/hurd/link.c (__link): Likewise.
14239 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14240 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14241 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14242 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14243 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14244 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14245 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14246 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14247 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14248 * sysdeps/mach/hurd/rename.c (rename): Likewise.
14249 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14250 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14251 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14252 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14253 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14254 * sysdeps/mach/hurd/send.c (__send): Likewise.
14255 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14256 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14257 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14258 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14259 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14260 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14261 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14262 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14263 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14264 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14265 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14266 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14267 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14268 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14269 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14270 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14271 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14272 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14273 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14274 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14275 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14276 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14277 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14278 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14279 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14280 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14281 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14282 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14283 * sysdeps/posix/alarm.c (alarm): Likewise.
14284 * sysdeps/posix/cuserid.c (cuserid): Likewise.
14285 * sysdeps/posix/dirfd.c (dirfd): Likewise.
14286 * sysdeps/posix/dup.c (__dup): Likewise.
14287 * sysdeps/posix/dup2.c (__dup2): Likewise.
14288 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14289 (main): Likewise.
14290 * sysdeps/posix/flock.c (__flock): Likewise.
14291 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14292 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14293 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14294 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14295 * sysdeps/posix/isatty.c (__isatty): Likewise.
14296 * sysdeps/posix/killpg.c (killpg): Likewise.
14297 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14298 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14299 * sysdeps/posix/raise.c (raise): Likewise.
14300 * sysdeps/posix/remove.c (remove): Likewise.
14301 * sysdeps/posix/rename.c (rename): Likewise.
14302 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14303 * sysdeps/posix/seekdir.c (seekdir): Likewise.
14304 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14305 * sysdeps/posix/sigignore.c (sigignore): Likewise.
14306 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14307 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14308 * sysdeps/posix/sigset.c (sigset): Likewise.
14309 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14310 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14311 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14312 * sysdeps/posix/time.c (time): Likewise.
14313 * sysdeps/posix/ttyname.c (getttyname): Likewise.
14314 (ttyname): Likewise.
14315 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14316 * sysdeps/posix/utime.c (utime): Likewise.
14317 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14318 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14319 Likewise.
14320 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14321 (pthread_spin_trylock): Likewise.
14322 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14323 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14324 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14325 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14326 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14327 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14328 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14329 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14330 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14331 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14332 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14333 * sysdeps/s390/ffs.c (__ffs): Likewise.
14334 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14335 Likewise.
14336 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14337 Likewise.
14338 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14339 Likewise.
14340 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14341 (pthread_barrier_destroy): Likewise.
14342 * sysdeps/sparc/nptl/pthread_barrier_wait.c
14343 (__pthread_barrier_wait): Likewise.
14344 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14345 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14346 (__pthread_barrier_wait): Likewise.
14347 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14348 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14349 (memcmp_not_common_alignment): Likewise.
14350 (MEMCMP): Likewise.
14351 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14352 (_wordcopy_fwd_dest_aligned): Likewise.
14353 (_wordcopy_bwd_aligned): Likewise.
14354 (_wordcopy_bwd_dest_aligned): Likewise.
14355 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14356 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14357 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14358 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14359 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14360 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14361 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14362 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14363 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14364 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14365 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14366 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14367 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14368 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14369 * sysdeps/unix/stime.c (stime): Likewise.
14370 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14371 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14372 Likewise. Use internal_function.
14373 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14374 Convert to prototype-style function definition.
14375 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14376 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14378 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14379 Likewise. Use internal_function.
14380 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14381 prototype-style function definition
14382 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14383 Likewise.
14384 (__getlogin_r): Likewise.
14385 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14386 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14387 (__pthread_cond_broadcast): Likewise.
14388 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14389 (__pthread_cond_destroy): Likewise.
14390 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14391 (__pthread_cond_init): Likewise.
14392 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14393 (__pthread_cond_signal): Likewise.
14394 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14395 (__pthread_cond_wait): Likewise.
14396 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14397 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14398 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14399 Likewise.
14400 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14401 Likewise.
14402 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14403 Likewise.
14404 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14405 Likewise.
14406 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14408 (__ftruncate64): Likewise.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14410 (truncate64): Likewise.
14411 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14412 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14413 (pthread_getcpuclockid): Likewise.
14414 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14415 Likewise.
14416 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14417 Likewise.
14418 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14419 Likewise.
14420 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14421 Likewise.
14422 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14423 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14424 (__libc_sigaction): Likewise.
14425 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14426 Likewise.
14427 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14428 (__sigprocmask): Likewise.
14429 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14430 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14431 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14432 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14433 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14434 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14435 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14436 Likewise.
14437 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14438 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14439 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14440 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14442 Likewise.
14443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14444 (__sigprocmask): Likewise.
14445 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14446 (cfgetispeed): Likewise.
14447 (cfsetospeed): Likewise.
14448 (cfsetispeed): Likewise.
14449 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14450 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14451 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14452 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14453 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14454 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14455 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14456 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14457 Likewise.
14458 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14459 Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14461 Likewise.
14462 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14463 Likewise.
14464 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14465
14466 2015-10-17 Florian Weimer <fweimer@redhat.com>
14467
14468 sunrpc: Rewrite with explicit TLS access using __thread.
14469 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14470 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14471 directly.
14472 (__rpc_thread_variables): Access thread_rpc_vars directly.
14473 Eliminate redundant assignment of the tvp variable.
14474
14475 2015-10-17 Florian Weimer <fweimer@redhat.com>
14476
14477 malloc: Rewrite with explicit TLS access using __thread.
14478 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14479 (tsd_setspecific, tsd_getspecific): Remove.
14480 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14481 (tsd_setspecific, tsd_getspecific): Likewise.
14482 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14483 (tsd_setspecific, tsd_getspecific): Likewise.
14484 * malloc/arena.c (thread_arena): New TLS variable.
14485 (arena_key): Remove variable.
14486 (arena_get): Use thread_arena.
14487 (arena_lookup): Remove macro.
14488 (malloc_atfork, free_atfork, ptmalloc_lock_all)
14489 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14490 (_int_new_arena, get_free_list, reused_arena)
14491 (arena_thread_freeres): Use thread_arena.
14492 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14493 tsd_getspecific, tsd_setspecific from safety annotations.
14494 (Allocating Cleared Space): Remove arena_lookup from safety
14495 annotations.
14496
14497 2015-10-17 Florian Weimer <fweimer@redhat.com>
14498
14499 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14500 struct scratch_buffer instead of extend_alloca.
14501
14502 2015-10-17 Florian Weimer <fweimer@redhat.com>
14503
14504 * sysdeps/unix/sysv/linux/kernel-features.h
14505 (__ASSUME_SOCK_CLOEXEC): Remove.
14506 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14507 (__have_paccept): Remove unused macro.
14508 * include/unistd.h (__have_sock_cloexec): Remove declaration.
14509 * misc/syslog.c (openlog_internal): Remove fallback code for
14510 !__ASSUME_SOCK_CLOEXEC.
14511 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14512 missing SOCK_CLOEXEC.
14513 * nscd/connections.c (have_sock_cloexec): Remove definition.
14514 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14515 * nscd/nscd_helper.c (open_socket): Remove fallback code for
14516 !__ASSUME_SOCK_CLOEXEC.
14517 * resolv/res_send.c (__have_o_nonblock): Remove definition.
14518 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14519 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14520 definition.
14521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14522 code for !__ASSUME_SOCK_CLOEXEC.
14523
14524 2015-10-17 Florian Weimer <fweimer@redhat.com>
14525
14526 [BZ #18982]
14527 * manual/stdio.texi (Variable Arguments Output): Add portability
14528 note, explaining that vfprintf clobbers the va_list pointer.
14529
14530 2015-10-16 Joseph Myers <joseph@codesourcery.com>
14531
14532 * math/libm-test.inc (fabs_test_data): Add more tests.
14533 (fdim_test_data): Likewise.
14534 (fma_test_data): Likewise.
14535 (fmax_test_data): Likewise.
14536 (fmin_test_data): Likewise.
14537 (fmod_test_data): Likewise.
14538
14539 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
14540
14541 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
14542 data.
14543
14544 2015-10-16 Joseph Myers <joseph@codesourcery.com>
14545
14546 * math/libm-test.inc (ceil_test_data): Add more tests and more
14547 expectations for "inexact".
14548 (floor_test_data): Add more tests.
14549 (round_test_data): Likewise.
14550 (trunc_test_data): Likewise.
14551
14552 * crypt/cert.c (good_bye): Convert to prototype-style function
14553 definition.
14554 (get8): Likewise.
14555 (put8): Likewise.
14556 * crypt/crypt-entry.c (crypt): Likewise.
14557 (__fcrypt): Likewise.
14558 * crypt/crypt_util.c (_ufc_prbits): Likewise.
14559 (_ufc_set_bits): Likewise.
14560 (_ufc_clearmem): Likewise.
14561 (__init_des_r): Likewise.
14562 (shuffle_sb): Likewise.
14563 (shuffle_sb): Likewise.
14564 (_ufc_setup_salt_r): Likewise.
14565 (_ufc_mk_keytab_r): Likewise.
14566 (_ufc_dofinalperm_r): Likewise.
14567 (encrypt): Likewise.
14568 (__setkey_r): Likewise.
14569 (setkey): Likewise.
14570 * crypt/md5.c (md5_init_ctx): Likewise.
14571 (md5_read_ctx): Likewise.
14572 (md5_finish_ctx): Likewise.
14573 (md5_stream): Likewise.
14574 (md5_buffer): Likewise.
14575 (md5_process_bytes): Likewise.
14576 * crypt/sha256.c (__sha256_init_ctx): Likewise.
14577 (__sha256_finish_ctx): Likewise.
14578 (__sha256_process_bytes): Likewise.
14579 * crypt/sha512.c (__sha512_init_ctx): Likewise.
14580 (__sha512_finish_ctx): Likewise.
14581 (__sha512_process_bytes): Likewise.
14582 * ctype/isctype.c (__isctype): Likewise.
14583 * debug/backtrace.c (__backtrace): Likewise.
14584 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14585 * debug/fgets_chk.c (__fgets_chk): Likewise.
14586 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14587 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14588 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14589 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14590 * debug/memset_chk.c (__memset_chk): Likewise.
14591 * debug/strcat_chk.c (__strcat_chk): Likewise.
14592 * debug/strncat_chk.c (__strncat_chk): Likewise.
14593 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14594 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14595 * dirent/dirfd.c (dirfd): Likewise.
14596 * dirent/getdents.c (__getdirentries): Likewise.
14597 * dirent/getdents64.c (getdirentries64): Likewise.
14598 * dirent/rewinddir.c (__rewinddir): Likewise.
14599 * dirent/seekdir.c (seekdir): Likewise.
14600 * dirent/telldir.c (telldir): Likewise.
14601 * elf/sln.c (makesymlinks): Likewise.
14602 (makesymlink): Likewise.
14603 * gmon/gmon.c (__moncontrol): Likewise.
14604 (__monstartup): Likewise.
14605 (write_hist): Likewise.
14606 (write_call_graph): Likewise.
14607 (write_bb_counts): Likewise.
14608 * grp/setgroups.c (setgroups): Likewise.
14609 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14610 * inet/inet_net.c (inet_network): Likewise.
14611 * inet/inet_netof.c (inet_netof): Likewise.
14612 * inet/rcmd.c (rresvport_af): Likewise.
14613 (rresvport): Likewise.
14614 * io/access.c (__access): Likewise.
14615 * io/chdir.c (__chdir): Likewise.
14616 * io/chmod.c (__chmod): Likewise.
14617 * io/chown.c (__chown): Likewise.
14618 * io/close.c (__close): Likewise.
14619 * io/creat.c (creat): Likewise.
14620 * io/creat64.c (creat64): Likewise.
14621 * io/dup.c (__dup): Likewise.
14622 * io/dup2.c (__dup2): Likewise.
14623 * io/dup3.c (__dup3): Likewise.
14624 * io/euidaccess.c (__euidaccess): Likewise.
14625 * io/faccessat.c (faccessat): Likewise.
14626 * io/fchmod.c (__fchmod): Likewise.
14627 * io/fchmodat.c (fchmodat): Likewise.
14628 * io/fchown.c (__fchown): Likewise.
14629 * io/fchownat.c (fchownat): Likewise.
14630 * io/fcntl.c (__fcntl): Likewise.
14631 * io/flock.c (__flock): Likewise.
14632 * io/fts.c (fts_load): Likewise.
14633 (fts_close): Likewise.
14634 (fts_read): Likewise.
14635 (fts_set): Likewise.
14636 (fts_children): Likewise.
14637 (fts_build): Likewise.
14638 (fts_stat): Likewise.
14639 (fts_sort): Likewise.
14640 (fts_alloc): Likewise.
14641 (fts_lfree): Likewise.
14642 (fts_palloc): Likewise.
14643 (fts_padjust): Likewise.
14644 (fts_maxarglen): Likewise.
14645 (fts_safe_changedir): Likewise.
14646 * io/getwd.c (getwd): Likewise.
14647 * io/isatty.c (__isatty): Likewise.
14648 * io/lchown.c (__lchown): Likewise.
14649 * io/link.c (__link): Likewise.
14650 * io/linkat.c (linkat): Likewise.
14651 * io/lseek.c (__libc_lseek): Likewise.
14652 * io/mkdir.c (__mkdir): Likewise.
14653 * io/mkdirat.c (mkdirat): Likewise.
14654 * io/mkfifo.c (mkfifo): Likewise.
14655 * io/mkfifoat.c (mkfifoat): Likewise.
14656 * io/open.c (__libc_open): Likewise.
14657 * io/open64.c (__libc_open64): Likewise.
14658 * io/readlink.c (__readlink): Likewise.
14659 * io/readlinkat.c (readlinkat): Likewise.
14660 * io/rmdir.c (__rmdir): Likewise.
14661 * io/symlink.c (__symlink): Likewise.
14662 * io/symlinkat.c (symlinkat): Likewise.
14663 * io/ttyname.c (ttyname): Likewise.
14664 * io/ttyname_r.c (__ttyname_r): Likewise.
14665 * io/umask.c (__umask): Likewise.
14666 * io/unlink.c (__unlink): Likewise.
14667 * io/unlinkat.c (unlinkat): Likewise.
14668 * io/utime.c (utime): Likewise.
14669 * libio/clearerr.c (clearerr): Likewise.
14670 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14671 * libio/feof.c (_IO_feof): Likewise.
14672 * libio/feof_u.c (feof_unlocked): Likewise.
14673 * libio/ferror.c (_IO_ferror): Likewise.
14674 * libio/ferror_u.c (ferror_unlocked): Likewise.
14675 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14676 * libio/fileno.c (__fileno): Likewise.
14677 * libio/fputc.c (fputc): Likewise.
14678 * libio/fputc_u.c (fputc_unlocked): Likewise.
14679 * libio/fputwc.c (fputwc): Likewise.
14680 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14681 * libio/freopen.c (freopen): Likewise.
14682 * libio/freopen64.c (freopen64): Likewise.
14683 * libio/fseek.c (fseek): Likewise.
14684 * libio/fseeko.c (fseeko): Likewise.
14685 * libio/fseeko64.c (fseeko64): Likewise.
14686 * libio/ftello.c (__ftello): Likewise.
14687 * libio/ftello64.c (ftello64): Likewise.
14688 * libio/fwide.c (fwide): Likewise.
14689 * libio/genops.c (_IO_un_link): Likewise.
14690 (_IO_link_in): Likewise.
14691 (_IO_least_marker): Likewise.
14692 (_IO_switch_to_main_get_area): Likewise.
14693 (_IO_switch_to_backup_area): Likewise.
14694 (_IO_switch_to_get_mode): Likewise.
14695 (_IO_free_backup_area): Likewise.
14696 (_IO_switch_to_put_mode): Likewise.
14697 (__overflow): Likewise.
14698 (__underflow): Likewise.
14699 (__uflow): Likewise.
14700 (_IO_setb): Likewise.
14701 (_IO_doallocbuf): Likewise.
14702 (_IO_default_underflow): Likewise.
14703 (_IO_default_uflow): Likewise.
14704 (_IO_default_xsputn): Likewise.
14705 (_IO_sgetn): Likewise.
14706 (_IO_default_xsgetn): Likewise.
14707 (_IO_sync): Likewise.
14708 (_IO_default_setbuf): Likewise.
14709 (_IO_default_seekpos): Likewise.
14710 (_IO_default_doallocate): Likewise.
14711 (_IO_init): Likewise.
14712 (_IO_old_init): Likewise.
14713 (_IO_default_sync): Likewise.
14714 (_IO_default_finish): Likewise.
14715 (_IO_default_seekoff): Likewise.
14716 (_IO_sputbackc): Likewise.
14717 (_IO_sungetc): Likewise.
14718 (_IO_set_column): Likewise.
14719 (_IO_set_column): Likewise.
14720 (_IO_adjust_column): Likewise.
14721 (_IO_get_column): Likewise.
14722 (_IO_init_marker): Likewise.
14723 (_IO_remove_marker): Likewise.
14724 (_IO_marker_difference): Likewise.
14725 (_IO_marker_delta): Likewise.
14726 (_IO_seekmark): Likewise.
14727 (_IO_unsave_markers): Likewise.
14728 (_IO_nobackup_pbackfail): Likewise.
14729 (_IO_default_pbackfail): Likewise.
14730 (_IO_default_seek): Likewise.
14731 (_IO_default_stat): Likewise.
14732 (_IO_default_read): Likewise.
14733 (_IO_default_write): Likewise.
14734 (_IO_default_showmanyc): Likewise.
14735 (_IO_default_imbue): Likewise.
14736 (_IO_iter_next): Likewise.
14737 (_IO_iter_file): Likewise.
14738 * libio/getc.c (_IO_getc): Likewise.
14739 * libio/getwc.c (_IO_getwc): Likewise.
14740 * libio/iofclose.c (_IO_new_fclose): Likewise.
14741 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14742 * libio/iofflush.c (_IO_fflush): Likewise.
14743 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14744 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14745 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14746 * libio/iofgets.c (_IO_fgets): Likewise.
14747 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14748 * libio/iofgetws.c (fgetws): Likewise.
14749 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14750 * libio/iofopen64.c (_IO_fopen64): Likewise.
14751 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14752 (_IO_cookie_write): Likewise.
14753 (_IO_cookie_seek): Likewise.
14754 (_IO_cookie_close): Likewise.
14755 (_IO_cookie_seekoff): Likewise.
14756 (_IO_old_cookie_seek): Likewise.
14757 * libio/iofputs.c (_IO_fputs): Likewise.
14758 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14759 * libio/iofputws.c (fputws): Likewise.
14760 * libio/iofputws_u.c (fputws_unlocked): Likewise.
14761 * libio/iofread.c (_IO_fread): Likewise.
14762 * libio/iofread_u.c (__fread_unlocked): Likewise.
14763 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14764 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14765 * libio/ioftell.c (_IO_ftell): Likewise.
14766 * libio/iofwrite.c (_IO_fwrite): Likewise.
14767 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14768 * libio/iogets.c (_IO_gets): Likewise.
14769 * libio/iopadn.c (_IO_padn): Likewise.
14770 * libio/iopopen.c (_IO_new_proc_open): Likewise.
14771 (_IO_new_popen): Likewise.
14772 (_IO_new_proc_close): Likewise.
14773 * libio/ioputs.c (_IO_puts): Likewise.
14774 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14775 (_IO_seekoff): Likewise.
14776 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14777 (_IO_seekpos): Likewise.
14778 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14779 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14780 * libio/ioungetc.c (_IO_ungetc): Likewise.
14781 * libio/ioungetwc.c (ungetwc): Likewise.
14782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14783 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14784 * libio/iowpadn.c (_IO_wpadn): Likewise.
14785 * libio/libc_fatal.c (__libc_fatal): Likewise.
14786 * libio/memstream.c (__open_memstream): Likewise.
14787 (_IO_mem_sync): Likewise.
14788 (_IO_mem_finish): Likewise.
14789 * libio/oldfileops.c (_IO_old_file_init): Likewise.
14790 (_IO_old_file_close_it): Likewise.
14791 (_IO_old_file_finish): Likewise.
14792 (_IO_old_file_fopen): Likewise.
14793 (_IO_old_file_attach): Likewise.
14794 (_IO_old_file_setbuf): Likewise.
14795 (_IO_old_do_write): Likewise.
14796 (old_do_write): Likewise.
14797 (_IO_old_file_underflow): Likewise.
14798 (_IO_old_file_overflow): Likewise.
14799 (_IO_old_file_sync): Likewise.
14800 (_IO_old_file_seekoff): Likewise.
14801 (_IO_old_file_write): Likewise.
14802 (_IO_old_file_xsputn): Likewise.
14803 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14804 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14805 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14806 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14807 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14808 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14809 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14810 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14811 (_IO_old_popen): Likewise.
14812 (_IO_old_proc_close): Likewise.
14813 * libio/oldpclose.c (__old_pclose): Likewise.
14814 * libio/pclose.c (__new_pclose): Likewise.
14815 * libio/peekc.c (_IO_peekc_locked): Likewise.
14816 * libio/putc.c (_IO_putc): Likewise.
14817 * libio/putc_u.c (putc_unlocked): Likewise.
14818 * libio/putchar.c (putchar): Likewise.
14819 * libio/putchar_u.c (putchar_unlocked): Likewise.
14820 * libio/putwc.c (putwc): Likewise.
14821 * libio/putwc_u.c (putwc_unlocked): Likewise.
14822 * libio/putwchar.c (putwchar): Likewise.
14823 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14824 * libio/rewind.c (rewind): Likewise.
14825 * libio/setbuf.c (setbuf): Likewise.
14826 * libio/setlinebuf.c (setlinebuf): Likewise.
14827 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14828 * libio/vscanf.c (_IO_vscanf): Likewise.
14829 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14830 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14831 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14832 * libio/wgenops.c (_IO_least_wmarker): Likewise.
14833 (_IO_switch_to_main_wget_area): Likewise.
14834 (_IO_switch_to_wbackup_area): Likewise.
14835 (_IO_wsetb): Likewise.
14836 (_IO_wdefault_pbackfail): Likewise.
14837 (_IO_wdefault_finish): Likewise.
14838 (_IO_wdefault_uflow): Likewise.
14839 (__woverflow): Likewise.
14840 (__wuflow): Likewise.
14841 (__wunderflow): Likewise.
14842 (_IO_wdefault_xsputn): Likewise.
14843 (_IO_wdefault_xsgetn): Likewise.
14844 (_IO_wdoallocbuf): Likewise.
14845 (_IO_wdefault_doallocate): Likewise.
14846 (_IO_switch_to_wget_mode): Likewise.
14847 (_IO_free_wbackup_area): Likewise.
14848 (_IO_switch_to_wput_mode): Likewise.
14849 (_IO_sputbackwc): Likewise.
14850 (_IO_sungetwc): Likewise.
14851 (_IO_adjust_wcolumn): Likewise.
14852 (_IO_init_wmarker): Likewise.
14853 (_IO_wmarker_delta): Likewise.
14854 (_IO_seekwmark): Likewise.
14855 (_IO_unsave_wmarkers): Likewise.
14856 * libio/wmemstream.c (open_wmemstream): Likewise.
14857 (_IO_wmem_sync): Likewise.
14858 (_IO_wmem_finish): Likewise.
14859 * locale/nl_langinfo.c (nl_langinfo): Likewise.
14860 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14861 * locale/programs/simple-hash.c (init_hash): Likewise.
14862 (delete_hash): Likewise.
14863 (insert_entry): Likewise.
14864 (set_entry): Likewise.
14865 (next_prime): Likewise.
14866 (is_prime): Likewise.
14867 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14868 (xmalloc): Likewise.
14869 (xrealloc): Likewise.
14870 * locale/programs/xstrdup.c (xstrdup): Likewise.
14871 * localedata/collate-test.c (xstrcoll): Likewise.
14872 * localedata/xfrm-test.c (xstrcmp): Likewise.
14873 * login/getlogin_r.c (__getlogin_r): Likewise.
14874 * login/getpt.c (__posix_openpt): Likewise.
14875 * login/login_tty.c (login_tty): Likewise.
14876 * login/setlogin.c (setlogin): Likewise.
14877 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14878 (mach_msg_destroy_port): Likewise.
14879 (mach_msg_destroy_memory): Likewise.
14880 * malloc/mcheck.c (flood): Likewise.
14881 * misc/acct.c (acct): Likewise.
14882 * misc/brk.c (__brk): Likewise.
14883 * misc/chflags.c (chflags): Likewise.
14884 * misc/chroot.c (chroot): Likewise.
14885 * misc/fchflags.c (fchflags): Likewise.
14886 * misc/fstab.c (getfsspec): Likewise.
14887 (getfsfile): Likewise.
14888 * misc/fsync.c (fsync): Likewise.
14889 * misc/ftruncate.c (__ftruncate): Likewise.
14890 * misc/ftruncate64.c (__ftruncate64): Likewise.
14891 * misc/getdomain.c (getdomainname): Likewise.
14892 (getdomainname): Likewise.
14893 * misc/gethostname.c (__gethostname): Likewise.
14894 * misc/getpass.c (getpass): Likewise.
14895 * misc/getttyent.c (skip): Likewise.
14896 (value): Likewise.
14897 * misc/gtty.c (gtty): Likewise.
14898 * misc/hsearch.c (hsearch): Likewise.
14899 (hcreate): Likewise.
14900 * misc/hsearch_r.c (__hcreate_r): Likewise.
14901 (__hdestroy_r): Likewise.
14902 * misc/ioctl.c (__ioctl): Likewise.
14903 * misc/mkdtemp.c (mkdtemp): Likewise.
14904 * misc/mkostemp.c (mkostemp): Likewise.
14905 * misc/mkostemp64.c (mkostemp64): Likewise.
14906 * misc/mkostemps.c (mkostemps): Likewise.
14907 * misc/mkostemps64.c (mkostemps64): Likewise.
14908 * misc/mkstemp.c (mkstemp): Likewise.
14909 * misc/mkstemp64.c (mkstemp64): Likewise.
14910 * misc/mkstemps.c (mkstemps): Likewise.
14911 * misc/mkstemps64.c (mkstemps64): Likewise.
14912 * misc/mktemp.c (__mktemp): Likewise.
14913 * misc/preadv.c (preadv): Likewise.
14914 * misc/preadv64.c (preadv64): Likewise.
14915 * misc/pwritev.c (pwritev): Likewise.
14916 * misc/pwritev64.c (pwritev64): Likewise.
14917 * misc/readv.c (__readv): Likewise.
14918 * misc/revoke.c (revoke): Likewise.
14919 * misc/setdomain.c (setdomainname): Likewise.
14920 * misc/setegid.c (setegid): Likewise.
14921 * misc/seteuid.c (seteuid): Likewise.
14922 * misc/sethostid.c (sethostid): Likewise.
14923 * misc/sethostname.c (sethostname): Likewise.
14924 * misc/setregid.c (__setregid): Likewise.
14925 * misc/setreuid.c (__setreuid): Likewise.
14926 * misc/sstk.c (sstk): Likewise.
14927 * misc/stty.c (stty): Likewise.
14928 * misc/syscall.c (syscall): Likewise.
14929 * misc/syslog.c (setlogmask): Likewise.
14930 * misc/truncate.c (__truncate): Likewise.
14931 * misc/truncate64.c (truncate64): Likewise.
14932 * misc/ualarm.c (ualarm): Likewise.
14933 * misc/usleep.c (usleep): Likewise.
14934 * misc/ustat.c (ustat): Likewise.
14935 * misc/writev.c (__writev): Likewise.
14936 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14937 * nptl/old_pthread_cond_broadcast.c
14938 (__pthread_cond_broadcast_2_0): Likewise.
14939 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14940 Likewise.
14941 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14942 Likewise.
14943 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14944 Likewise.
14945 * nptl/pt-raise.c (raise): Likewise.
14946 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14947 Likewise.
14948 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14949 * nptl/pthread_barrierattr_destroy.c
14950 (pthread_barrierattr_destroy): Likewise.
14951 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14952 Likewise.
14953 * nptl/pthread_barrierattr_setpshared.c
14954 (pthread_barrierattr_setpshared): Likewise.
14955 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14956 Likewise.
14957 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14958 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14959 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14960 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14961 Likewise.
14962 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14963 Likewise.
14964 * nptl/pthread_condattr_getpshared.c
14965 (pthread_condattr_getpshared): Likewise.
14966 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14967 Likewise.
14968 * nptl/pthread_condattr_setpshared.c
14969 (pthread_condattr_setpshared): Likewise.
14970 * nptl/pthread_detach.c (pthread_detach): Likewise.
14971 * nptl/pthread_equal.c (__pthread_equal): Likewise.
14972 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14973 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14974 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14975 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14976 Likewise.
14977 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14978 Likewise.
14979 * nptl/pthread_mutex_getprioceiling.c
14980 (pthread_mutex_getprioceiling): Likewise.
14981 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14982 Likewise.
14983 * nptl/pthread_mutexattr_getprotocol.c
14984 (pthread_mutexattr_getprotocol): Likewise.
14985 * nptl/pthread_mutexattr_getpshared.c
14986 (pthread_mutexattr_getpshared): Likewise.
14987 * nptl/pthread_mutexattr_getrobust.c
14988 (pthread_mutexattr_getrobust): Likewise.
14989 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14990 Likewise.
14991 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14992 Likewise.
14993 * nptl/pthread_mutexattr_setprioceiling.c
14994 (pthread_mutexattr_setprioceiling): Likewise.
14995 * nptl/pthread_mutexattr_setprotocol.c
14996 (pthread_mutexattr_setprotocol): Likewise.
14997 * nptl/pthread_mutexattr_setpshared.c
14998 (pthread_mutexattr_setpshared): Likewise.
14999 * nptl/pthread_mutexattr_setrobust.c
15000 (pthread_mutexattr_setrobust): Likewise.
15001 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15002 Likewise.
15003 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15004 Likewise.
15005 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15006 Likewise.
15007 * nptl/pthread_rwlockattr_getkind_np.c
15008 (pthread_rwlockattr_getkind_np): Likewise.
15009 * nptl/pthread_rwlockattr_getpshared.c
15010 (pthread_rwlockattr_getpshared): Likewise.
15011 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15012 Likewise.
15013 * nptl/pthread_rwlockattr_setkind_np.c
15014 (pthread_rwlockattr_setkind_np): Likewise.
15015 * nptl/pthread_rwlockattr_setpshared.c
15016 (pthread_rwlockattr_setpshared): Likewise.
15017 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15018 Likewise.
15019 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15020 Likewise.
15021 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15022 Likewise.
15023 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15024 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15025 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15026 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15027 * nptl/sem_close.c (sem_close): Likewise.
15028 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15029 * nptl/sem_init.c (__old_sem_init): Likewise.
15030 * nptl/sigaction.c (__sigaction): Likewise.
15031 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15032 * posix/_exit.c (_exit): Likewise.
15033 * posix/alarm.c (alarm): Likewise.
15034 * posix/confstr.c (confstr): Likewise.
15035 * posix/fpathconf.c (__fpathconf): Likewise.
15036 * posix/getgroups.c (__getgroups): Likewise.
15037 * posix/getpgid.c (__getpgid): Likewise.
15038 * posix/group_member.c (__group_member): Likewise.
15039 * posix/pathconf.c (__pathconf): Likewise.
15040 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15041 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15042 * posix/setgid.c (__setgid): Likewise.
15043 * posix/setpgid.c (__setpgid): Likewise.
15044 * posix/setuid.c (__setuid): Likewise.
15045 * posix/sleep.c (__sleep): Likewise.
15046 * posix/sysconf.c (__sysconf): Likewise.
15047 * posix/times.c (__times): Likewise.
15048 * posix/uname.c (__uname): Likewise.
15049 * posix/waitid.c (__waitid): Likewise.
15050 * pwd/getpw.c (__getpw): Likewise.
15051 * resolv/base64.c (b64_pton): Likewise.
15052 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15053 * resolv/gethnamaddr.c (Dprintf): Likewise.
15054 (gethostbyname): Likewise.
15055 (gethostbyname2): Likewise.
15056 (gethostbyaddr): Likewise.
15057 (_sethtent): Likewise.
15058 (_gethtbyname): Likewise.
15059 (_gethtbyname2): Likewise.
15060 (_gethtbyaddr): Likewise.
15061 (map_v4v6_address): Likewise.
15062 (map_v4v6_hostent): Likewise.
15063 (addrsort): Likewise.
15064 (ht_sethostent): Likewise.
15065 (ht_gethostbyname): Likewise.
15066 (ht_gethostbyaddr): Likewise.
15067 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15068 (inet_net_ntop_ipv4): Likewise.
15069 * resolv/inet_neta.c (inet_neta): Likewise.
15070 * resolv/inet_ntop.c (inet_ntop): Likewise.
15071 (inet_ntop4): Likewise.
15072 (inet_ntop6): Likewise.
15073 * resolv/inet_pton.c (__inet_pton): Likewise.
15074 (inet_pton4): Likewise.
15075 (inet_pton6): Likewise.
15076 * resolv/res_debug.c (loc_aton): Likewise.
15077 (loc_ntoa): Likewise.
15078 * resource/getpriority.c (__getpriority): Likewise.
15079 * resource/getrusage.c (__getrusage): Likewise.
15080 * resource/nice.c (nice): Likewise.
15081 * resource/setpriority.c (__setpriority): Likewise.
15082 * resource/setrlimit64.c (setrlimit64): Likewise.
15083 * resource/vlimit.c (vlimit): Likewise.
15084 * resource/vtimes.c (vtimes): Likewise.
15085 * rt/aio_error.c (aio_error): Likewise.
15086 * rt/aio_return.c (aio_return): Likewise.
15087 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15088 * signal/kill.c (__kill): Likewise.
15089 * signal/killpg.c (killpg): Likewise.
15090 * signal/raise.c (raise): Likewise.
15091 * signal/sigaction.c (__sigaction): Likewise.
15092 * signal/sigaddset.c (sigaddset): Likewise.
15093 * signal/sigaltstack.c (sigaltstack): Likewise.
15094 * signal/sigandset.c (sigandset): Likewise.
15095 * signal/sigblock.c (__sigblock): Likewise.
15096 * signal/sigdelset.c (sigdelset): Likewise.
15097 * signal/sigempty.c (sigemptyset): Likewise.
15098 * signal/sigfillset.c (sigfillset): Likewise.
15099 * signal/sighold.c (sighold): Likewise.
15100 * signal/sigignore.c (sigignore): Likewise.
15101 * signal/sigintr.c (siginterrupt): Likewise.
15102 * signal/sigisempty.c (sigisemptyset): Likewise.
15103 * signal/sigismem.c (sigismember): Likewise.
15104 * signal/signal.c (signal): Likewise.
15105 * signal/sigorset.c (sigorset): Likewise.
15106 * signal/sigpause.c (__sigpause): Likewise.
15107 * signal/sigpending.c (sigpending): Likewise.
15108 * signal/sigprocmask.c (__sigprocmask): Likewise.
15109 * signal/sigrelse.c (sigrelse): Likewise.
15110 * signal/sigreturn.c (__sigreturn): Likewise.
15111 * signal/sigset.c (sigset): Likewise.
15112 * signal/sigsetmask.c (__sigsetmask): Likewise.
15113 * signal/sigstack.c (sigstack): Likewise.
15114 * signal/sigsuspend.c (__sigsuspend): Likewise.
15115 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15116 * signal/sysv_signal.c (__sysv_signal): Likewise.
15117 * socket/accept.c (accept): Likewise.
15118 * socket/accept4.c (__libc_accept4): Likewise.
15119 * socket/bind.c (__bind): Likewise.
15120 * socket/connect.c (__connect): Likewise.
15121 * socket/getpeername.c (getpeername): Likewise.
15122 * socket/getsockname.c (__getsockname): Likewise.
15123 * socket/getsockopt.c (getsockopt): Likewise.
15124 * socket/listen.c (__listen): Likewise.
15125 * socket/recv.c (__recv): Likewise.
15126 * socket/recvmsg.c (__recvmsg): Likewise.
15127 * socket/send.c (__send): Likewise.
15128 * socket/sendmsg.c (__sendmsg): Likewise.
15129 * socket/shutdown.c (shutdown): Likewise.
15130 * socket/sockatmark.c (sockatmark): Likewise.
15131 * socket/socket.c (__socket): Likewise.
15132 * stdio-common/ctermid.c (ctermid): Likewise.
15133 * stdio-common/cuserid.c (cuserid): Likewise.
15134 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15135 * stdio-common/remove.c (remove): Likewise.
15136 * stdio-common/rename.c (rename): Likewise.
15137 * stdio-common/renameat.c (renameat): Likewise.
15138 * stdio-common/tempname.c (__gen_tempname): Likewise.
15139 * stdio-common/xbug.c (InitBuffer): Likewise.
15140 (AppendToBuffer): Likewise.
15141 (ReadFile): Likewise.
15142 * stdlib/a64l.c (a64l): Likewise.
15143 * stdlib/drand48_r.c (drand48_r): Likewise.
15144 * stdlib/getcontext.c (getcontext): Likewise.
15145 * stdlib/getenv.c (getenv): Likewise.
15146 * stdlib/l64a.c (l64a): Likewise.
15147 * stdlib/llabs.c (llabs): Likewise.
15148 * stdlib/lldiv.c (lldiv): Likewise.
15149 * stdlib/lrand48_r.c (lrand48_r): Likewise.
15150 * stdlib/mrand48_r.c (mrand48_r): Likewise.
15151 * stdlib/putenv.c (putenv): Likewise.
15152 * stdlib/random.c (__srandom): Likewise.
15153 (__initstate): Likewise.
15154 (__setstate): Likewise.
15155 * stdlib/random_r.c (__srandom_r): Likewise.
15156 (__setstate_r): Likewise.
15157 (__random_r): Likewise.
15158 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15159 * stdlib/setcontext.c (setcontext): Likewise.
15160 * stdlib/setenv.c (setenv): Likewise.
15161 (unsetenv): Likewise.
15162 * stdlib/srand48.c (srand48): Likewise.
15163 * stdlib/srand48_r.c (__srand48_r): Likewise.
15164 * stdlib/swapcontext.c (swapcontext): Likewise.
15165 * stdlib/system.c (__libc_system): Likewise.
15166 * stdlib/tst-strtod.c (expand): Likewise.
15167 * stdlib/tst-strtol.c (expand): Likewise.
15168 * stdlib/tst-strtoll.c (expand): Likewise.
15169 * streams/fattach.c (fattach): Likewise.
15170 * streams/fdetach.c (fdetach): Likewise.
15171 * streams/getmsg.c (getmsg): Likewise.
15172 * streams/isastream.c (isastream): Likewise.
15173 * string/ffs.c (__ffs): Likewise.
15174 * string/ffsll.c (ffsll): Likewise.
15175 * string/memcmp.c (memcmp_common_alignment): Likewise.
15176 (memcmp_not_common_alignment): Likewise.
15177 (MEMCMP): Likewise.
15178 * string/memcpy.c (memcpy): Likewise.
15179 * string/memmove.c (MEMMOVE): Likewise.
15180 * string/memset.c (memset): Likewise.
15181 * string/rawmemchr.c (RAWMEMCHR): Likewise.
15182 * string/strchrnul.c (STRCHRNUL): Likewise.
15183 * string/strerror.c (strerror): Likewise.
15184 * string/strndup.c (__strndup): Likewise.
15185 * string/strverscmp.c (__strverscmp): Likewise.
15186 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15187 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15188 (clnttcp_freeres): Likewise.
15189 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15190 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15191 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15192 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15193 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15194 (xdr_callhdr): Likewise.
15195 * sunrpc/rpcinfo.c (udpping): Likewise.
15196 (tcpping): Likewise.
15197 (pstatus): Likewise.
15198 (pmapdump): Likewise.
15199 (brdcst): Likewise.
15200 (deletereg): Likewise.
15201 (getprognum): Likewise.
15202 (getvers): Likewise.
15203 (get_inet_address): Likewise.
15204 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15205 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15206 (svcudp_stat): Likewise.
15207 (svcudp_recv): Likewise.
15208 (svcudp_reply): Likewise.
15209 (svcudp_getargs): Likewise.
15210 (svcudp_freeargs): Likewise.
15211 (svcudp_destroy): Likewise.
15212 * sunrpc/xdr.c (xdr_bytes): Likewise.
15213 (xdr_netobj): Likewise.
15214 (xdr_string): Likewise.
15215 (xdr_wrapstring): Likewise.
15216 * sunrpc/xdr_float.c (xdr_float): Likewise.
15217 (xdr_double): Likewise.
15218 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15219 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15220 * sysvipc/ftok.c (ftok): Likewise.
15221 * sysvipc/msgctl.c (msgctl): Likewise.
15222 * sysvipc/msgget.c (msgget): Likewise.
15223 * sysvipc/msgrcv.c (msgrcv): Likewise.
15224 * sysvipc/msgsnd.c (msgsnd): Likewise.
15225 * sysvipc/semget.c (semget): Likewise.
15226 * sysvipc/semop.c (semop): Likewise.
15227 * sysvipc/shmat.c (shmat): Likewise.
15228 * sysvipc/shmctl.c (shmctl): Likewise.
15229 * sysvipc/shmdt.c (shmdt): Likewise.
15230 * sysvipc/shmget.c (shmget): Likewise.
15231 * termios/cfmakeraw.c (cfmakeraw): Likewise.
15232 * termios/speed.c (cfgetospeed): Likewise.
15233 (cfgetispeed): Likewise.
15234 (cfsetospeed): Likewise.
15235 (cfsetispeed): Likewise.
15236 * termios/tcflow.c (tcflow): Likewise.
15237 * termios/tcflush.c (tcflush): Likewise.
15238 * termios/tcgetattr.c (__tcgetattr): Likewise.
15239 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15240 * termios/tcgetsid.c (tcgetsid): Likewise.
15241 * termios/tcsendbrk.c (tcsendbreak): Likewise.
15242 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15243 * time/adjtime.c (__adjtime): Likewise.
15244 * time/dysize.c (dysize): Likewise.
15245 * time/ftime.c (ftime): Likewise.
15246 * time/getitimer.c (__getitimer): Likewise.
15247 * time/gettimeofday.c (__gettimeofday): Likewise.
15248 * time/gmtime.c (__gmtime_r): Likewise.
15249 (gmtime): Likewise.
15250 * time/localtime.c (__localtime_r): Likewise.
15251 (localtime): Likewise.
15252 * time/offtime.c (__offtime): Likewise.
15253 * time/settimeofday.c (__settimeofday): Likewise.
15254 * time/stime.c (stime): Likewise.
15255 * time/strftime_l.c (tm_diff): Likewise.
15256 (iso_week_days): Likewise.
15257 * time/strptime.c (strptime): Likewise.
15258 * time/time.c (time): Likewise.
15259 * time/timespec_get.c (timespec_get): Likewise.
15260 * time/tzset.c (tzset_internal): Likewise.
15261 (compute_change): Likewise.
15262 (__tz_compute): Likewise.
15263 * wcsmbs/btowc.c (__btowc): Likewise.
15264 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15265 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15266 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15267 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15268 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15269 * wcsmbs/wcscat.c (__wcscat): Likewise.
15270 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15271 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15272 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15273 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15274 * wcsmbs/wcsdup.c (wcsdup): Likewise.
15275 * wcsmbs/wcslen.c (__wcslen): Likewise.
15276 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15277 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15278 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15279 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15280 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15281 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15282 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15283 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15284 * wcsmbs/wcstok.c (wcstok): Likewise.
15285 * wcsmbs/wctob.c (wctob): Likewise.
15286 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15287 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15288 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15289 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15290 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15291 * wcsmbs/wmemset.c (__wmemset): Likewise.
15292 * wctype/wcfuncs.c (__towlower): Likewise.
15293 (__towupper): Likewise.
15294
15295 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15296 (lll_unlock_elision): Add adapt_count parameter.
15297
15298 2015-10-15 Joseph Myers <joseph@codesourcery.com>
15299
15300 * sysdeps/nptl/configure.ac: Do not give errors based on the
15301 results of top-level configure tests.
15302 * sysdeps/nptl/configure: Regenerated.
15303
15304 * configure.ac (libc_cv_Bgroup): Remove configure test.
15305 * configure: Regenerated.
15306 * config.make.in (have-Bgroup): Remove variable.
15307
15308 * configure.ac (sizeof_long_double): Remove configure test.
15309 * configure: Regenerated.
15310 * config.make.in (sizeof-long-double): Remove variable.
15311
15312 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15313 * configure: Regenerated.
15314 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15315 variable.
15316 (exceptions): Likewise.
15317 * sysdeps/arm/configure: Regenerated.
15318 * config.make.in (exceptions): Remove variable.
15319 * Makeconfig (uses-callbacks): Use -fexceptions instead of
15320 $(exceptions).
15321 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15322 (CFLAGS-vdprintf_chk.c): Likewise.
15323 (CFLAGS-printf_chk.c): Likewise.
15324 (CFLAGS-fprintf_chk.c): Likewise.
15325 (CFLAGS-vprintf_chk.c): Likewise.
15326 (CFLAGS-vfprintf_chk.c): Likewise.
15327 (CFLAGS-gets_chk.c): Likewise.
15328 (CFLAGS-fgets_chk.c): Likewise.
15329 (CFLAGS-fgets_u_chk.c): Likewise.
15330 (CFLAGS-fread_chk.c): Likewise.
15331 (CFLAGS-fread_u_chk.c): Likewise.
15332 (CFLAGS-wprintf_chk.c): Likewise.
15333 (CFLAGS-fwprintf_chk.c): Likewise.
15334 (CFLAGS-vwprintf_chk.c): Likewise.
15335 (CFLAGS-vfwprintf_chk.c): Likewise.
15336 (CFLAGS-fgetws_chk.c): Likewise.
15337 (CFLAGS-fgetws_u_chk.c): Likewise.
15338 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15339 (CFLAGS-fputc.c): Likewise.
15340 (CFLAGS-fputwc.c): Likewise.
15341 (CFLAGS-freopen64.c): Likewise.
15342 (CFLAGS-freopen.c): Likewise.
15343 (CFLAGS-fseek.c): Likewise.
15344 (CFLAGS-fseeko64.c): Likewise.
15345 (CFLAGS-fseeko.c): Likewise.
15346 (CFLAGS-ftello64.c): Likewise.
15347 (CFLAGS-ftello.c): Likewise.
15348 (CFLAGS-fwide.c): Likewise.
15349 (CFLAGS-genops.c): Likewise.
15350 (CFLAGS-getc.c): Likewise.
15351 (CFLAGS-getchar.c): Likewise.
15352 (CFLAGS-getwc.c): Likewise.
15353 (CFLAGS-getwchar.c): Likewise.
15354 (CFLAGS-iofclose.c): Likewise.
15355 (CFLAGS-iofflush.c): Likewise.
15356 (CFLAGS-iofgetpos64.c): Likewise.
15357 (CFLAGS-iofgetpos.c): Likewise.
15358 (CFLAGS-iofgets.c): Likewise.
15359 (CFLAGS-iofgetws.c): Likewise.
15360 (CFLAGS-iofputs.c): Likewise.
15361 (CFLAGS-iofputws.c): Likewise.
15362 (CFLAGS-iofread.c): Likewise.
15363 (CFLAGS-iofsetpos64.c): Likewise.
15364 (CFLAGS-iofsetpos.c): Likewise.
15365 (CFLAGS-ioftell.c): Likewise.
15366 (CFLAGS-iofwrite.c): Likewise.
15367 (CFLAGS-iogetdelim.c): Likewise.
15368 (CFLAGS-iogetline.c): Likewise.
15369 (CFLAGS-iogets.c): Likewise.
15370 (CFLAGS-iogetwline.c): Likewise.
15371 (CFLAGS-ioputs.c): Likewise.
15372 (CFLAGS-ioseekoff.c): Likewise.
15373 (CFLAGS-ioseekpos.c): Likewise.
15374 (CFLAGS-iosetbuffer.c): Likewise.
15375 (CFLAGS-iosetvbuf.c): Likewise.
15376 (CFLAGS-ioungetc.c): Likewise.
15377 (CFLAGS-ioungetwc.c): Likewise.
15378 (CFLAGS-oldfileops.c): Likewise.
15379 (CFLAGS-oldiofclose.c): Likewise.
15380 (CFLAGS-oldiofgetpos64.c): Likewise.
15381 (CFLAGS-oldiofgetpos.c): Likewise.
15382 (CFLAGS-oldiofsetpos64.c): Likewise.
15383 (CFLAGS-oldiofsetpos.c): Likewise.
15384 (CFLAGS-peekc.c): Likewise.
15385 (CFLAGS-putc.c): Likewise.
15386 (CFLAGS-putchar.c): Likewise.
15387 (CFLAGS-putwc.c): Likewise.
15388 (CFLAGS-putwchar.c): Likewise.
15389 (CFLAGS-rewind.c): Likewise.
15390 (CFLAGS-wfileops.c): Likewise.
15391 (CFLAGS-wgenops.c): Likewise.
15392 (CFLAGS-oldiofopen.c): Likewise.
15393 (CFLAGS-iofopen.c): Likewise.
15394 (CFLAGS-iofopen64.c): Likewise.
15395 (CFLAGS-oldtmpfile.c): Likewise.
15396 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15397 (CFLAGS-fprintf.c): Likewise.
15398 (CFLAGS-printf.c): Likewise.
15399 (CFLAGS-vfwprintf.c): Likewise.
15400 (CFLAGS-vfscanf.c): Likewise.
15401 (CFLAGS-vfwscanf.c): Likewise.
15402 (CFLAGS-fscanf.c): Likewise.
15403 (CFLAGS-scanf.c): Likewise.
15404 (CFLAGS-isoc99_vfscanf.c): Likewise.
15405 (CFLAGS-isoc99_vscanf.c): Likewise.
15406 (CFLAGS-isoc99_fscanf.c): Likewise.
15407 (CFLAGS-isoc99_scanf.c): Likewise.
15408 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15409 (CFLAGS-isoc99_fwscanf.c): Likewise.
15410 (CFLAGS-isoc99_vwscanf.c): Likewise.
15411 (CFLAGS-isoc99_vfwscanf.c): Likewise.
15412
15413 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15414 after mkstemp64.
15415 * login/tst-utmp.c (do_prepare): Likewise.
15416 * rt/tst-aio.c (do_prepare): Likewise.
15417 * rt/tst-aio64.c (do_prepare): Likewise.
15418
15419 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15420
15421 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15422 (__lll_lock_elision): Remove adapt_count decrement...
15423 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15424 (__lll_trylock_elision): Likewise.
15425 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15426 (__lll_unlock_elision): ... to here. And utilize
15427 new adapt_count parameter.
15428 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15429 (__lll_unlock_elision): Update to include adapt_count
15430 parameter.
15431 (lll_unlock_elision): Pass pointer to adapt_count
15432 variable.
15433
15434 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15435
15436 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15437 Add elision adapt_count parameter to list of arguments.
15438 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15439 (lll_unlock_elision): Update with new parameter list
15440 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15441 (lll_unlock_elision): Likewise.
15442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15443 (lll_unlock_elision): Likewise.
15444
15445 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 [BZ #19122]
15448 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15449 attribute_hidden.
15450
15451 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15452 attribute_hidden.
15453 [IS_IN (rtld)] (__strdup): Likewise.
15454 [IS_IN (rtld)] (__strerror_r): Likewise.
15455 [IS_IN (rtld)] (__strsep_g): Likewise.
15456 [IS_IN (rtld)] (memchr): Likewise.
15457 [IS_IN (rtld)] (memcmp): Likewise.
15458 [IS_IN (rtld)] (memcpy): Likewise.
15459 [IS_IN (rtld)] (memmove): Likewise.
15460 [IS_IN (rtld)] (memset): Likewise.
15461 [IS_IN (rtld)] (rawmemchr): Likewise.
15462 [IS_IN (rtld)] (stpcpy): Likewise.
15463 [IS_IN (rtld)] (strchr): Likewise.
15464 [IS_IN (rtld)] (strcmp): Likewise.
15465 [IS_IN (rtld)] (strlen): Likewise.
15466 [IS_IN (rtld)] (strnlen): Likewise.
15467 [IS_IN (rtld)] (strsep): Likewise.
15468
15469 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15470 attribute_hidden.
15471 [IS_IN (rtld)] (__strtoul_internal): Likewise.
15472
15473 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15474 attribute_hidden.
15475 [IS_IN (rtld)] (__libc_sigaction): Likewise.
15476
15477 * include/setjmp.h (__longjmp): Add attribute_hidden.
15478 [IS_IN (rtld)] (__sigsetjmp): Likewise.
15479
15480 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15481 Add attribute_hidden.
15482
15483 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15484 [IS_IN (rtld)] (__open): Likewise.
15485 [IS_IN (rtld)] (__fcntl): Likewise.
15486
15487 * include/dirent.h (__opendirat): Add attribute_hidden.
15488 (__getdents): Likewise.
15489 (__getdents64): Likewise.
15490 (__alloc_dir): Likewise.
15491 [IS_IN (rtld)] (__closedir): Likewise.
15492 [IS_IN (rtld)] (__fdopendir): Likewise.
15493 [IS_IN (rtld)] (__readdir): Likewise.
15494 [IS_IN (rtld)] (__readdir64): Likewise.
15495 [IS_IN (rtld)] (__rewinddir): Likewise.
15496
15497 * include/dlfcn.h (_dl_catch_error): Moved to ...
15498 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15499 attribute_hidden.
15500
15501 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15502 (_itoa_word): Likewise.
15503
15504 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15505 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15506 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15507 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15508 (_dl_higher_prime_number): Likewise.
15509 (_dl_debug_printf_c): Likewise.
15510 (_dl_signal_cerror): Likewise.
15511 (_dl_receive_error): Likewise.
15512 (_dl_reloc_bad_type): Likewise.
15513 (_dl_resolve_conflicts): Likewise.
15514 (_dl_check_all_versions): Likewise.
15515 (_dl_check_map_versions): Likewise.
15516 (_dl_sort_fini): Likewise.
15517 (_dl_debug_initialize): Likewise.
15518 (_dl_init_paths): Likewise.
15519 (_dl_show_auxv): Likewise.
15520 (_dl_next_ld_env_entry): Likewise.
15521 (_dl_important_hwcaps): Likewise.
15522 (_dl_load_cache_lookup): Likewise.
15523 (_dl_update_slotinfo): Likewise.
15524 (_dl_show_scope): Likewise.
15525
15526 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15527 attribute_hidden.
15528 (_wordcopy_fwd_dest_aligned): Likewise.
15529 (_wordcopy_bwd_aligned): Likewise.
15530 (_wordcopy_bwd_dest_aligned): Likewise.
15531
15532 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15533 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15534 Likewise.
15535 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15536 Likewise.
15537 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15538
15539 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
15540
15541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15542 GCC 5 requirement.
15543
15544 2015-10-15 Joseph Myers <joseph@codesourcery.com>
15545
15546 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15547 test.
15548 * sysdeps/i386/configure: Regenerated.
15549 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15550 code unconditional.
15551
15552 * configure.ac (libc_cv_asm_previous_directive): Remove configure
15553 test.
15554 (libc_cv_asm_popsection_directive): Likewise.
15555 * configure: Regenerated.
15556 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15557 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15558 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15559 (__make_section_unallocated): Make definition unconditional.
15560 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15561 Remove conditional definition.
15562 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15563 (__make_section_unallocated): Likewise.
15564
15565 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15566 * configure: Regenerated.
15567 * config.make.in (static-libgcc): Remove variable.
15568 * Makerules (build-shlib-helper): Use -static-libgcc instead of
15569 $(static-libgcc).
15570 (build-module-helper): Likewise.
15571
15572 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15573 * configure: Regenerated.
15574
15575 2015-10-15 Florian Weimer <fweimer@redhat.com>
15576
15577 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15578 (struct char_buffer): New type.
15579 (char_buffer_start, char_buffer_size, char_buffer_error)
15580 (char_buffer_rewind, char_buffer_add): New functions.
15581 (ADDW): Remove macro, replaced by the char_buffer_add function.
15582 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15583 of extend_alloca. Make control flow more explicit.
15584
15585 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
15586
15587 [BZ #19137]
15588 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15589 Add -fomit-frame-pointer.
15590 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15591
15592 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
15593
15594 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15595 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15597 only if !__GNUC_PREREQ (5,0).
15598 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15599 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15600 (INTERNAL_SYSCALL_NCS): Likewise.
15601 (LOADREGS_0): New macro for GCC 5.
15602 (ASMARGS_0): Likewise.
15603 (LOADREGS_1): Likewise.
15604 (ASMARGS_1): Likewise.
15605 (LOADREGS_2): Likewise.
15606 (ASMARGS_2): Likewise.
15607 (LOADREGS_3): Likewise.
15608 (ASMARGS_3): Likewise.
15609 (LOADREGS_4): Likewise.
15610 (ASMARGS_4): Likewise.
15611 (LOADREGS_5): Likewise.
15612 (ASMARGS_5): Likewise.
15613 (LOADREGS_6): Likewise.
15614 (ASMARGS_6): Likewise.
15615
15616 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15619 -fomit-frame-pointer.
15620 (CFLAGS-mmap64.c): Likewise.
15621 (CFLAGS-semtimedop.c): Likewise.
15622 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15623 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15624 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15625 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15626
15627 2015-10-15 Florian Weimer <fweimer@redhat.com>
15628
15629 [BZ #18928]
15630 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15631 _dl_pointer_guard member.
15632 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15633 initializer.
15634 (security_init): Always set up pointer guard.
15635 (process_envvars): Do not process LD_POINTER_GUARD.
15636
15637 2015-10-14 Joseph Myers <joseph@codesourcery.com>
15638
15639 [BZ #19134]
15640 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15641 (.LC2): Likewise.
15642 (.LC3): Likewise.
15643 (__lround): Do not add 0.5 to integer or out-of-range arguments.
15644
15645 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
15646
15647 [BZ #19129]
15648 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15649 r0 and r1.
15650
15651 2015-10-14 Namhyung Kim <namhyung@gmail.com>
15652
15653 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15654
15655 2015-10-14 Carlos O'Donell <carlos@redhat.com>
15656
15657 * include/stap-probe.h: Fix macro definition formatting.
15658
15659 2015-10-14 Florian Weimer <fweimer@redhat.com>
15660
15661 [BZ #19074]
15662 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15663 load and store num_ifs.
15664
15665 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 [BZ #18822]
15668 * sysdeps/unix/sysv/linux/sched_getaffinity.c
15669 (__sched_getaffinity_new): Add libc_hidden_proto and
15670 libc_hidden_def.
15671
15672 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 [BZ #19007]
15675 * scripts/localplt.awk: Also allow GOT references.
15676 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15677 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15678 with "+ REL R_386_GLOB_DAT".
15679 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15680 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15681
15682 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
15683
15684 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15685 INLINE_SYSCALL_ERROR_RETURN_VALUE.
15686 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15687 Likewise.
15688 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15689 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15690 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15691 INTERNAL_SYSCALLINTERNAL_SYSCALL and
15692 INLINE_SYSCALL_ERROR_RETURN_VALUE.
15693 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15694 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15695 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15696 Likewise.
15697 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15698
15699 2015-10-13 Joseph Myers <joseph@codesourcery.com>
15700
15701 [BZ #19125]
15702 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15703 <math_private.h> and <stdint.h>.
15704 (__llround): Avoid conversions to and from long long int, and
15705 subtractions, where those might raise spurious exceptions.
15706 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15707 <math_private.h> and <stdint.h>.
15708 (__llroundf): Avoid conversions to and from long long int, and
15709 subtractions, where those might raise spurious exceptions.
15710
15711 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15714 INLINE_SYSCALL_ERROR_RETURN_VALUE.
15715 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15716 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15718 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15719 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15720 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15721 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15722 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15723 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15724 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15725 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15726 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15727 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15728 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15729 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15730 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15731 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15732 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15734 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15735 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15736 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15737 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15738 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15739 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15740 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15741 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15742 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15743 (__xstat64_conv): Likewise.
15744 (__xstat32_conv): Likewise.
15745
15746 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * sysdeps/unix/sysv/linux/sysdep.h: New file.
15749 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15750 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15751 <sysdeps/unix/sysv/linux/sysdep.h>.
15752 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15753 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15754 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15756 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15757 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15758 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15759 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15760 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15765 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15766 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15768 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15769 (sysdep-dl-routines): Add sysdep.
15770 [$(subdir) == nptl] (libpthread-routines): Likewise.
15771 [$(subdir) == rt] (librt-routines): Likewise.
15772 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15773 PIC when branching to SYSCALL_ERROR_LABEL.
15774 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15776 <sysdeps/unix/sysv/linux/sysdep.h>.
15777 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15778 (SYSCALL_ERROR_ERRNO): Removed.
15779 (SYSCALL_ERROR_HANDLER): Changed to empty.
15780 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15781 (__syscall_error): New prototype.
15782 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15783 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15784
15785 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
15786
15787 [BZ #19124]
15788 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15789 (_dl_runtime_resolve_avx512): Make it a hidden alias of
15790 _dl_runtime_resolve_avx.
15791 (_dl_runtime_profile_avx512): Make it a hidden alias of
15792 _dl_runtime_profile_avx.
15793
15794 2015-10-13 Joseph Myers <joseph@codesourcery.com>
15795
15796 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15797 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15798 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15799 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15800
15801 [BZ #16422]
15802 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15803 New configure test.
15804 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15805 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15806 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15807 <math_private.h> and <stdint.h>.
15808 (__llrint): Avoid conversions to long long int where those might
15809 raise spurious exceptions.
15810 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15811 <math_private.h> and <stdint.h>.
15812 (__llrintf): Avoid conversions to long long int where those might
15813 raise spurious exceptions.
15814
15815 2015-10-12 Andreas Schwab <schwab@suse.de>
15816
15817 [BZ #18969]
15818 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
15819 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15820 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
15821 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15822 $(gen-locales).
15823 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
15824 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15825 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15826 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15827 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15828 $(gen-locales).
15829 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
15830 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15831 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15832 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15833 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15834 ($(objpfx)tst-ftell-active-handler.out)
15835 ($(objpfx)tst-ftell-append.out)
15836 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15837 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15838 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15839 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15840 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
15841 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15842 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15843 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15844 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15845 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15846 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15847 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15848 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15849 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15850 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15851 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15852 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15853 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15854 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
15855 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15856 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15857 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15858 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15859 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
15860 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15861 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15862 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15863 $(gen-locales).
15864 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
15865 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15866 $(gen-locales).
15867 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
15868 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15869 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15870 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15871 $(gen-locales).
15872 * libio/tst_wprintf2.c (main): Use explicit locale.
15873 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15874
15875 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15876
15877 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15878 __msg_sig_post.
15879 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15880
15881 2015-10-09 Joseph Myers <joseph@codesourcery.com>
15882
15883 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15884 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15885
15886 * sysdeps/arm/libm-test-ulps: Regenerated.
15887
15888 [BZ #15470]
15889 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15890
15891 [BZ #16399]
15892 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15893 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15894 and <fix-fp-int-convert-overflow.h>.
15895 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15896 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15897 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15898 and <fix-fp-int-convert-overflow.h>.
15899 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15900 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15901 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15902 <fix-fp-int-convert-overflow.h>.
15903 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15904 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15905 * sysdeps/ieee754/dbl-64/s_lround.c: Include
15906 <fix-fp-int-convert-overflow.h>.
15907 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15908 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15909 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15910 and <fix-fp-int-convert-overflow.h>.
15911 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15912 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15913 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15914 <limits.h> and <fix-fp-int-convert-overflow.h>.
15915 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15916 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15917 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15918 and <fix-fp-int-convert-overflow.h>.
15919 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15920 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15921 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15922 and <fix-fp-int-convert-overflow.h>.
15923 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15924 FIX_DBL_LLONG_CONVERT_OVERFLOW.
15925 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15926
15927 2015-10-09 Carlos O'Donell <carlos@redhat.com>
15928
15929 [BZ #18589]
15930 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15931 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15932 $(gen-locales).
15933
15934 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15935 Phil Blundell <pb@pbcl.net>
15936
15937 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15938 * nptl/tst-cancel26.c: New file.
15939 * nptl/tst-cancel27.c: Likewise.
15940
15941 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
15942
15943 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15944 __ILP32__ isn't defined.
15945 (lrint): Likewise.
15946 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15947 (lrintf): Likewise.
15948 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15949 (lrintl): Likewise.
15950 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15951 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15952 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15953
15954 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15955
15956 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15958
15959 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15960 file.
15961 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15962 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15963
15964 2015-10-09 Joseph Myers <joseph@codesourcery.com>
15965
15966 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15967 configure test.
15968 * sysdeps/i386/configure: Regenerated.
15969 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15970 configure test.
15971 * sysdeps/x86_64/configure: Regenerated.
15972 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15973 Make code unconditional.
15974
15975 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15976 test.
15977 * sysdeps/i386/configure: Regenerated.
15978 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15979 test.
15980 * sysdeps/x86_64/configure: Regenerated.
15981 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15982 Make code unconditional.
15983 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15984 Likewise.
15985 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15986 Likewise.
15987 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15988 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15989 code unconditional.
15990 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15991 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15992 code unconditional.
15993 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15994 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15995 code unconditional.
15996 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15997 code unconditional.
15998 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15999 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16000 code unconditional.
16001 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16002 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16003 code unconditional.
16004 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16005 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16006 code unconditional.
16007 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16008 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16009 code unconditional.
16010 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16011 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16012
16013 [BZ #19095]
16014 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16015 mantissa to long int before shifting left.
16016
16017 2015-10-08 Joseph Myers <joseph@codesourcery.com>
16018
16019 [BZ #19094]
16020 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16021 <limits.h>.
16022 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16023 when result overflows but exception would not result from cast.
16024 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16025 <limits.h>.
16026 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16027 when result overflows but exception would not result from cast.
16028 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16029 <limits.h>.
16030 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16031 when result overflows but exception would not result from cast.
16032 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16033 <limits.h>.
16034 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16035 when result overflows but exception would not result from cast.
16036 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16037 <limits.h>.
16038 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16039 when result overflows but exception would not result from cast.
16040 * math/libm-test.inc (lrint_test_data): Add more tests.
16041 (llrint_test_data): Likewise.
16042
16043 2015-10-08 Roland McGrath <roland@hack.frob.com>
16044
16045 [BZ #18872]
16046 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16047 Move out from under [$(run-built-tests) = yes] conditional.
16048 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16049 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16050
16051 2015-10-08 Carlos O'Donell <carlos@redhat.com>
16052
16053 [BZ #18589]
16054 * string/Makefile (tests): Add bug-strcoll2.
16055 (LOCALES): Add cs_CZ.UTF-8.
16056 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16057
16058 [BZ #18589]
16059 * string/bug-strcoll2.c: New file.
16060 * locale/categories.def: Revert commit
16061 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16062 * locale/langinfo.h: Likewise.
16063 * locale/localeinfo.h: Likewise.
16064 * locale/C-collate.c: Likewise.
16065 * locale/programs/ld-collate.c (collate_output): Likewise.
16066 * string/strcoll_l.c (STRDIFF): Likewise.
16067 (STRCOLL): Likewise.
16068 * wcsmbs/wcscoll_l.c: Likewise.
16069
16070 2015-10-08 Joseph Myers <joseph@codesourcery.com>
16071
16072 * math/libm-test.inc (lround_test_data): Do not expect the absence
16073 of "inexact" for some tests with non-integer arguments.
16074 (llround_test_data): Likewise.
16075
16076 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16077 test.
16078 (libc_cv_cc_sse2avx): Likewise.
16079 * sysdeps/i386/configure: Regenerated.
16080 * sysdeps/i386/i686/multiarch/Makefile
16081 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16082 [$(subdir) = math].
16083 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16084 code unconditional.
16085 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16086 Likewise.
16087 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16088 Likewise.
16089 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16090 Likewise.
16091 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16092 test.
16093 (libc_cv_cc_sse2avx): Likewise.
16094 * sysdeps/x86_64/configure: Regenerated.
16095 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16096 unconditional.
16097 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16098 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16099 unconditional.
16100 (_dl_runtime_profile)
16101 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16102 conditional code.
16103 * sysdeps/x86_64/fpu/multiarch/Makefile
16104 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16106 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16107 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16108 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16109 * sysdeps/x86_64/fpu/multiarch/e_log.c
16110 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16111 * sysdeps/x86_64/fpu/multiarch/s_atan.c
16112 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16113 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16114 Likewise.
16115 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16116 Likewise.
16117 * sysdeps/x86_64/fpu/multiarch/s_sin.c
16118 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16119 * sysdeps/x86_64/fpu/multiarch/s_tan.c
16120 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16121 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16122 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16123 (HAVE_SSE2AVX_SUPPORT): Likewise.
16124
16125 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
16126
16127 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16128 instead of #pragma optimize.
16129
16130 2015-10-07 Carlos O'Donell <carlos@redhat.com>
16131
16132 [BZ #17195]
16133 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16134 as is similarly done in systrim and _int_free already.
16135
16136 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16137
16138 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16139
16140 2015-10-07 Joseph Myers <joseph@codesourcery.com>
16141
16142 [BZ #19088]
16143 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16144 <limits.h>.
16145 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16146 overflows but exception would not result from cast.
16147 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16148 and <limits.h>.
16149 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16150 overflows but exception would not result from cast.
16151 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16152 <limits.h>.
16153 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16154 overflows but exception would not result from cast.
16155 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16156 <limits.h>.
16157 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16158 overflows but exception would not result from cast.
16159 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16160 <limits.h>.
16161 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16162 overflows but exception would not result from cast.
16163 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16164 <limits.h>.
16165 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16166 overflows but exception would not result from cast.
16167 * math/libm-test.inc (lround_test_data): Add more tests.
16168 (llround_test_data): Likewise.
16169
16170 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
16171
16172 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16173 (CFLAGS-ialloc.c): Ditto.
16174 (CFLAGS-scheck.c): Ditto.
16175
16176 2015-10-07 Carlos O'Donell <carlos@redhat.com>
16177
16178 [BZ #19086]
16179 * manual/filesys.texi (Storage Allocation): Fix argument order for
16180 posix_fallocate64.
16181
16182 2015-10-07 Joseph Myers <joseph@codesourcery.com>
16183
16184 [BZ #19085]
16185 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16186 exponent below 48 inside case for non-overflowing exponent.
16187 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16188
16189 2015-10-07 Florian Weimer <fweimer@redhat.com>
16190
16191 * iconvdata/cp737.h (from_idx): Add const.
16192 * iconvdata/cp775.h (from_idx): Likewise.
16193
16194 2015-10-07 Joseph Myers <joseph@codesourcery.com>
16195
16196 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16197 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16198 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16199
16200 [BZ #19079]
16201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16202 file, conditioned on [!_LP64].
16203 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16204 [!_LP64] (__lround): Do not define as function or alias.
16205 [!_LP64] (lround): Likewise.
16206 [!_LP64] (__lroundl): Likewise.
16207 [!_LP64] (lroundl): Likewise.
16208 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16209 macro.
16210 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16211 Likewise.
16212
16213 2015-10-06 Joseph Myers <joseph@codesourcery.com>
16214
16215 * math/libm-test.inc (lrint_test_data): Add more tests.
16216 (llrint_test_data): Likewise.
16217 (lround_test_data): Likewise.
16218 (llround_test_data): Likewise.
16219
16220 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16221 (llrint_test_data): Add tests used for lrint.
16222
16223 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16224 test.
16225 * sysdeps/i386/configure: Regenerated.
16226 * sysdeps/i386/i686/multiarch/Makefile
16227 [$(config-cflags-sse4) = yes]: Make code unconditional.
16228 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16229 Likewise.
16230 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16231 Likewise.
16232 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16233 test.
16234 * sysdeps/x86_64/configure: Regenerated.
16235 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16236 Make code unconditional.
16237 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16238 Likewise.
16239 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16240 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16241
16242 * scripts/rpm2dynsym.sh: Remove file.
16243
16244 2015-10-06 Florian Weimer <fweimer@redhat.com>
16245
16246 * configure.ac (libc_cv_cxx_thread_local): Define.
16247 * configure: Regenerate.
16248 * config.make.in (have-cxx-thread_local): Define.
16249 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16250 (LDLIBS-tst-thread_local1): Define.
16251 (tests): Add tst-thread_local1.
16252 [have-cxx-thread_local != yes] (tests-unsupported): Add
16253 tst-thread_local1.
16254 * nptl/tst-thread_local1.cc: New file.
16255
16256 2015-10-06 Joseph Myers <joseph@codesourcery.com>
16257
16258 [BZ #19078]
16259 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16260 (u_thres): Likewise.
16261 (__expl): Determine whether to call __kernel_standard_l based on
16262 value of result, not argument.
16263
16264 * math/libm-test.inc (scalb_test_data): Add more expectations for
16265 the "inexact" exception.
16266
16267 [BZ #19077]
16268 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16269 0.0L for argument 1.0L.
16270
16271 [BZ #19076]
16272 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16273 constant 0.0L when computing infinite result.
16274
16275 2015-10-06 Florian Weimer <fweimer@redhat.com>
16276
16277 [BZ #10432]
16278 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16279 malloc_usable_size.
16280
16281 2015-10-06 Florian Weimer <fweimer@redhat.com>
16282
16283 [BZ #19018]
16284 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16285 Mangle function pointer before storing it.
16286 (__call_tls_dtors): Demangle function pointer before calling it.
16287
16288 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16289
16290 [BZ #19012]
16291 * iconv/gconv_db.c (gen_steps): Check for additional errors.
16292 Clean up on failure.
16293
16294 2015-10-05 Joseph Myers <joseph@codesourcery.com>
16295
16296 [BZ #19071]
16297 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16298 long int variable to store possibly incremented high part of
16299 mantissa.
16300 * math/libm-test.inc (lround_test_data): Add tests used for
16301 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
16302 for tests requiring 64-bit long. Do not condition tests on
16303 [TEST_FLOAT] unnecessarily.
16304 (llround_test_data): Add tests used for lround. Add another
16305 expectation for the "inexact" exception. Do not condition tests
16306 on [TEST_FLOAT] unnecessarily.
16307
16308 [BZ #887]
16309 [BZ #19049]
16310 [BZ #19050]
16311 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16312 * sysdeps/ieee754/dbl-64/e_log10.c: Include
16313 <fix-int-fp-convert-zero.h>.
16314 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16315 * sysdeps/ieee754/dbl-64/e_log2.c: Include
16316 <fix-int-fp-convert-zero.h>.
16317 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16318 * sysdeps/ieee754/dbl-64/s_erf.c: Include
16319 <fix-int-fp-convert-zero.h>.
16320 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16321 * sysdeps/ieee754/dbl-64/s_logb.c: Include
16322 <fix-int-fp-convert-zero.h>.
16323 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16324 * sysdeps/ieee754/flt-32/e_log10f.c: Include
16325 <fix-int-fp-convert-zero.h>.
16326 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16327 * sysdeps/ieee754/flt-32/e_log2f.c: Include
16328 <fix-int-fp-convert-zero.h>.
16329 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16330 * sysdeps/ieee754/flt-32/s_erff.c: Include
16331 <fix-int-fp-convert-zero.h>.
16332 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16333 * sysdeps/ieee754/flt-32/s_logbf.c: Include
16334 <fix-int-fp-convert-zero.h>.
16335 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16337 <fix-int-fp-convert-zero.h>.
16338 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16340 <fix-int-fp-convert-zero.h>.
16341 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16342 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16343 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16344 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16345 file.
16346 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16347
16348 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16349
16350 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16351
16352 2015-10-02 Joseph Myers <joseph@codesourcery.com>
16353
16354 [BZ #19059]
16355 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16356 overflowing computation.
16357 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16358 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16360 Likewise.
16361 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16362 Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16364 Likewise.
16365 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16366 Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16368 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16369 Likewise.
16370 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16371 Likewise.
16372 * math/libm-test.inc (nexttoward_test_data): Add more tests.
16373
16374 * nss/rewrite_field.c (__nss_rewrite_field): Use
16375 internal_function.
16376 * nss/valid_field.c (__nss_valid_field): Likewise.
16377 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16378
16379 2015-10-02 Florian Weimer <fweimer@redhat.com>
16380
16381 [BZ #18724]
16382 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16383 (__nss_invalid_field_characters, __nss_valid_field)
16384 (__nss_valid_list_field, __nss_rewrite_field): Declare.
16385 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16386 tst-field.c: New file.
16387 * nss/Makefile (routines): Add valid_field, rewrite_field.
16388 (tests-static): Define unconditionally.
16389 (tests): Include tests-static.
16390 [build-static-nss] (tests-static): Use append.
16391 [build-static-nss] (tests): Remove modification.
16392 * nss/getent.c (print_group): Call putgrent. Report error.
16393 (print_gshadow): Call putsgent. Report error.
16394 (print_passwd): Call putpwent. Report error.
16395 (print_shadow): Call putspent. Report error.
16396 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16397 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16398 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
16399 name, password, directory, shell fields for valid syntax. Rewrite
16400 GECOS field to match syntax.
16401 * pwd/Makefile (tests): Add tst-putpwent.
16402 * pwd/tst-putpwent.c: New file.
16403 * grp/putgrent.c (putgrent): Convert to ISO function definition.
16404 Check grName, grpasswd, gr_mem fields for valid syntax.
16405 Change loop variable i to size_t.
16406 * grp/Makefile (tests): Add tst-putgrent.
16407 * grp/tst-putgrent.c: New file.
16408 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16409 valid syntax.
16410 * shadow/Makefile (tests): Add tst-putspent.
16411 * shadow/tst-putspent.c: New file.
16412 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16413 sg_mem fields for valid syntax.
16414 * gshadow/Makefile (tests): Add tst-putsgent.
16415 * gshadow/tst-putsgent.c: New file.
16416
16417 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16418
16419 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16420 assembly instructions.
16421
16422 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16423
16424 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16425 prefix from operands.
16426
16427 2015-10-01 Joseph Myers <joseph@codesourcery.com>
16428
16429 [BZ #16347]
16430 [BZ #19046]
16431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16432 <libc-internal.h>.
16433 (MAXLGM): Do not use diagnostic control macros.
16434 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16435 threshold for ldbl-128ibm.
16436 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16437 instead of multiplying by log then subtracting.
16438 * math/auto-libm-test-in: Add more tests of lgamma.
16439 * math/auto-libm-test-out: Regenerated.
16440
16441 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16442 (TYPE_HEX_DIG): Likewise.
16443 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16444 precisions when printing floating-point numbers.
16445 (check_float_internal): Likewise.
16446
16447 2015-09-30 Joseph Myers <joseph@codesourcery.com>
16448
16449 [BZ #16620]
16450 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16451 of log (10) rounded downward to 48 bits.
16452 (log10_low): Use corresponding low part of log (10).
16453
16454 [BZ #19032]
16455 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16456 compute result as (x - x) / (x - x) not as 0 / 0.
16457 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16458 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16459
16460 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16461 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16462 and expm1.
16463 * math/auto-libm-test-out: Regenerated.
16464 * math/libm-test.inc (acos_test_data): Add more tests.
16465 (asin_test_data): Likewise.
16466 (asinh_test_data): Likewise.
16467 (atan_test_data): Likewise.
16468 (atanh_test_data): Likewise.
16469 (atan2_test_data): Likewise.
16470 (cbrt_test_data): Likewise.
16471 (ceil_test_data): Likewise.
16472 (copysign_test_data): Likewise.
16473 (cos_test_data): Likewise.
16474 (cosh_test_data): Likewise.
16475 (erf_test_data): Likewise.
16476 (erfc_test_data): Likewise.
16477 (exp_test_data): Likewise.
16478 (exp10_test_data): Likewise.
16479 (exp2_test_data): Likewise.
16480 (expm1_test_data): Likewise.
16481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16482
16483 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
16484
16485 [BZ #19006]
16486 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16487 to ...
16488 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16489 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16490 to ...
16491 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16492 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16493 to ...
16494 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16495 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16496 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16497 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16498 to ...
16499 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16500 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16501 Moved to ...
16502 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16503 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16504 Moved to ...
16505 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16506 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16507 to ...
16508 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16509 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16510 Moved to ...
16511 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16513 to ...
16514 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16515 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16516 Removed.
16517 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16518 Likewise.
16519 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16520 Likewise.
16521 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16522 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16523 Likewise.
16524 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16525 Likewise.
16526 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16527 Likewise.
16528 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16529 Likewise.
16530 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16531 Likewise.
16532 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16533 Likewise.
16534 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16535 Likewise.
16536 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16537 Likewise.
16538 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16539 Likewise.
16540 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16541 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16542 Likewise.
16543 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16544 Likewise.
16545 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16546 Likewise.
16547 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16548 Likewise.
16549 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16550 Likewise.
16551 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16552 Replace ../i486/pthread_cond_timedwait.S with
16553 ../pthread_cond_timedwait.S.
16554
16555 2015-09-30 Joseph Myers <joseph@codesourcery.com>
16556
16557 * math/libm-test.inc (acos_test_data): Refine expectations for
16558 errno and "inexact" exceptions.
16559 (acosh_test_data): Likewise.
16560 (asin_test_data): Likewise.
16561 (asinh_test_data): Likewise.
16562 (atan_test_data): Likewise.
16563 (atanh_test_data): Likewise.
16564 (atan2_test_data): Likewise.
16565 (cbrt_test_data): Likewise.
16566 (ceil_test_data): Likewise.
16567 (copysign_test_data): Likewise.
16568 (cosh_test_data): Likewise.
16569 (erf_test_data): Likewise.
16570 (erfc_test_data): Likewise.
16571 (exp_test_data): Likewise.
16572 (exp10_test_data): Likewise.
16573 (exp2_test_data): Likewise.
16574 (expm1_test_data): Likewise.
16575 (fabs_test_data): Likewise.
16576 (floor_test_data): Likewise.
16577 (fma_test_data): Likewise.
16578 (fmax_test_data): Likewise.
16579 (fmin_test_data): Likewise.
16580 (fmod_test_data): Likewise.
16581 (fpclassify_test_data): Likewise.
16582 (frexp_test_data): Likewise.
16583 (hypot_test_data): Likewise.
16584 (ilogb_test_data): Likewise.
16585 (isgreater_test_data): Likewise.
16586 (isgreaterequal_test_data): Likewise.
16587 (isinf_test_data): Likewise.
16588 (isless_test_data): Likewise.
16589 (islessequal_test_data): Likewise.
16590 (islessgreater_test_data): Likewise.
16591 (isnan_test_data): Likewise.
16592 (isnormal_test_data): Likewise.
16593 (issignaling_test_data): Likewise.
16594 (isunordered_test_data): Likewise.
16595 (j0_test_data): Likewise.
16596 (j1_test_data): Likewise.
16597 (jn_test_data): Likewise.
16598 (lgamma_test_data): Likewise.
16599 (lrint_test_data): Likewise.
16600 (llrint_test_data): Likewise.
16601 (log_test_data): Likewise.
16602 (log10_test_data): Likewise.
16603 (log1p_test_data): Likewise.
16604 (log2_test_data): Likewise.
16605 (logb_test_data): Likewise.
16606 (lround_test_data): Likewise.
16607 (llround_test_data): Likewise.
16608 (modf_test_data): Likewise.
16609 (nearbyint_test_data): Likewise.
16610 (nextafter_test_data): Likewise.
16611 (nexttoward_test_data): Likewise.
16612 (pow_test_data): Likewise.
16613 (remainder_test_data): Likewise.
16614 (remquo_test_data): Likewise.
16615 (rint_test_data): Likewise.
16616 (round_test_data): Likewise.
16617 (signbit_test_data): Likewise.
16618 (sinh_test_data): Likewise.
16619 (sqrt_test_data): Likewise.
16620 (tanh_test_data): Likewise.
16621 (tgamma_test_data): Likewise.
16622 (trunc_test_data): Likewise.
16623 (y0_test_data): Likewise.
16624 (y1_test_data): Likewise.
16625 (yn_test_data): Likewise.
16626 (significand_test_data): Likewise.
16627
16628 2015-09-29 Carlos O'Donell <carlos@redhat.com>
16629
16630 * manual/filesys.texi (Storage Allocation): Document that
16631 posix_fallocate emulation fails when fd is open with O_WRONLY.
16632
16633 2015-09-28 Joseph Myers <joseph@codesourcery.com>
16634
16635 [BZ #19016]
16636 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16637 allow more cases with X^2 + Y^2 >= 0.5.
16638 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
16639 normal element in sum instead of special-casing based on values of
16640 arguments.
16641 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16642 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
16643 -1 as normal element in sum instead of special-casing based on
16644 values of arguments.
16645 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16646 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16647 (__x2y2m1): Update comment.
16648 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
16649 as normal element in sum instead of special-casing based on values
16650 of arguments.
16651 * math/s_clog.c (__clog): Handle more cases using log1p without
16652 hypot.
16653 * math/s_clog10.c (__clog10): Likewise.
16654 * math/s_clog10f.c (__clog10f): Likewise.
16655 * math/s_clog10l.c (__clog10l): Likewise.
16656 * math/s_clogf.c (__clogf): Likewise.
16657 * math/s_clogl.c (__clogl): Likewise.
16658 * math/auto-libm-test-in: Add more tests of clog and clog10.
16659 * math/auto-libm-test-out: Regenerated.
16660 * sysdeps/i386/fpu/libm-test-ulps: Update.
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662
16663 2015-09-28 Martin Sebor <msebor@redhat.com>
16664
16665 [BZ #18969]
16666 * string/Makefile (LOCALES): Define.
16667 (gen-locales.mk): Include.
16668 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16669 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16670 * string/tst-strxfrm2.c (do_test): Print the name of the locale
16671 on setlocale failure.
16672
16673 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16674
16675 [BZ #18985]
16676 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16677 (__strftime_internal): Likewise.
16678 * time/tst-strftime.c (do_bz18985): New test.
16679 (do_test): Call it.
16680
16681 2015-09-26 Joseph Myers <joseph@codesourcery.com>
16682
16683 [BZ #18956]
16684 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16685 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
16686 extracting high part.
16687 * math/auto-libm-test-in: Add another test of pow.
16688 * math/auto-libm-test-out: Regenerated.
16689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16690
16691 2015-09-25 Joseph Myers <joseph@codesourcery.com>
16692
16693 [BZ #18825]
16694 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16695 New macro.
16696 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16697 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16698 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16699 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16700 DBL_NARROW_EVAL, reloading the PIC register as needed.
16701 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16702 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16703 FLT_NARROW_EVAL. Use separate return path for case when first
16704 argument is NaN.
16705 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
16706 DEFINE_LDBL_MIN.
16707 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16708 PIC register.
16709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16710 math_check_force_underflow_nonneg.
16711 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16712 underflow for subnormal result.
16713 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16715 math_check_force_underflow_nonneg.
16716 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16717 math_check_force_underflow.
16718 * sysdeps/x86_64/fpu/x86_64-math-asm.h
16719 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16720 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
16721 DEFINE_LDBL_MIN.
16722 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16723 * math/auto-libm-test-in: Add more tests of pow.
16724 * math/auto-libm-test-out: Regenerated.
16725
16726 2015-09-25 Florian Weimer <fweimer@redhat.com>
16727
16728 * nss/bug17079.c (init_test_items): Add diagnostic for
16729 inconsistent entries.
16730 (test_buffer_size): Skip inconsistent entries.
16731
16732 2015-09-25 Joseph Myers <joseph@codesourcery.com>
16733
16734 [BZ #13304]
16735 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16736 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16737 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16738
16739 [BZ #13304]
16740 * sysdeps/microblaze/s_fma.c: New file.
16741 * sysdeps/microblaze/s_fmaf.c: Likewise.
16742 * sysdeps/microblaze/sfp-machine.h: Likewise.
16743
16744 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
16745
16746 [BZ #17250]
16747 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16748 member.
16749
16750 2015-09-24 Joseph Myers <joseph@codesourcery.com>
16751
16752 [BZ #18803]
16753 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16754 (MO): New macro.
16755 (__ieee754_hypot) [PIC]: Load PIC register.
16756 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16757 DBL_NARROW_EVAL.
16758 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16759 math_check_force_underflow_nonneg in case where result might be
16760 tiny.
16761 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16762 Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16764 Likewise.
16765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16766 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16767 * math/auto-libm-test-in: Add more tests of hypot.
16768 * math/auto-libm-test-out: Regenerated.
16769
16770 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
16771
16772 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16773
16774 2015-09-24 Joseph Myers <joseph@codesourcery.com>
16775
16776 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16777 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16778 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16779 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16780 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16781 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16782 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16783
16784 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16785 LOAD_PIC_REG.
16786
16787 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16788 (FLT_CHECK_FORCE_UFLOW): Likewise.
16789 (DBL_CHECK_FORCE_UFLOW): Likewise.
16790 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16791 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16792 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16793 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16794 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16795 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16796 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16797 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16798 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16799 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16800 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16801 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16802 (flt_min): Replace with use of DEFINE_FLT_MIN.
16803 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16804 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16805 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16806 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16807 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16808 (flt_min): Replace with use of DEFINE_FLT_MIN.
16809 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16810 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16811 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16812 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16813 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16814 (flt_min): Replace with use of DEFINE_FLT_MIN.
16815 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16816 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16817 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16818 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16819 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16820 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16821 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16822 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16823 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16824 (__atan): Use DBL_CHECK_FORCE_UFLOW.
16825 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16826 (flt_min): Replace with use of DEFINE_FLT_MIN.
16827 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16828 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16829 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16830 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
16831 main computation.
16832 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16833 (flt_min): Replace with use of DEFINE_FLT_MIN.
16834 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
16835 main computation.
16836 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16837 (dbl_min): Replace with use of DEFINE_DBL_MIN.
16838 (MO): New macro.
16839 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16840 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16841 (flt_min): Replace with use of DEFINE_FLT_MIN.
16842 (MO): New macro.
16843 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16844 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16845 (__log1pl): Use MO.
16846
16847 [BZ #19003]
16848 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16849 $(config-cflags-nofma).
16850
16851 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16852
16853 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16854
16855 2015-09-23 Joseph Myers <joseph@codesourcery.com>
16856
16857 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16858 (TWO127): Likewise.
16859
16860 * sysdeps/generic/math_private.h (fabs_tg): New macro.
16861 (min_of_type): Likewise.
16862 (math_check_force_underflow): Likewise.
16863 (math_check_force_underflow_nonneg): Likewise.
16864 (math_check_force_underflow_complex): Likewise.
16865 * math/e_exp2l.c (__ieee754_exp2l): Use
16866 math_check_force_underflow_nonneg.
16867 * math/k_casinh.c (__kernel_casinh): Likewise.
16868 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16869 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16870 * math/s_catan.c (__catan): Use
16871 math_check_force_underflow_complex.
16872 * math/s_catanf.c (__catanf): Likewise.
16873 * math/s_catanh.c (__catanh): Likewise.
16874 * math/s_catanhf.c (__catanhf): Likewise.
16875 * math/s_catanhl.c (__catanhl): Likewise.
16876 * math/s_catanl.c (__catanl): Likewise.
16877 * math/s_ccosh.c (__ccosh): Likewise.
16878 * math/s_ccoshf.c (__ccoshf): Likewise.
16879 * math/s_ccoshl.c (__ccoshl): Likewise.
16880 * math/s_cexp.c (__cexp): Likewise.
16881 * math/s_cexpf.c (__cexpf): Likewise.
16882 * math/s_cexpl.c (__cexpl): Likewise.
16883 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16884 * math/s_clog10.c (__clog10): Likewise.
16885 * math/s_clog10f.c (__clog10f): Likewise.
16886 * math/s_clog10l.c (__clog10l): Likewise.
16887 * math/s_clogf.c (__clogf): Likewise.
16888 * math/s_clogl.c (__clogl): Likewise.
16889 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16890 * math/s_csinf.c (__csinf): Likewise.
16891 * math/s_csinh.c (__csinh): Likewise.
16892 * math/s_csinhf.c (__csinhf): Likewise.
16893 * math/s_csinhl.c (__csinhl): Likewise.
16894 * math/s_csinl.c (__csinl): Likewise.
16895 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16896 * math/s_csqrtf.c (__csqrtf): Likewise.
16897 * math/s_csqrtl.c (__csqrtl): Likewise.
16898 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16899 * math/s_ctanf.c (__ctanf): Likewise.
16900 * math/s_ctanh.c (__ctanh): Likewise.
16901 * math/s_ctanhf.c (__ctanhf): Likewise.
16902 * math/s_ctanhl.c (__ctanhl): Likewise.
16903 * math/s_ctanl.c (__ctanl): Likewise.
16904 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16905 instead of volatile.
16906 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16907 math_check_force_underflow.
16908 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16909 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16910 volatile when forcing underflow.
16911 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16912 math_check_force_underflow_nonneg.
16913 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16914 Likewise.
16915 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16916 math_check_force_underflow.
16917 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16918 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16919 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16920 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16921 math_check_force_underflow_nonneg.
16922 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16923 math_check_force_underflow.
16924 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16926 instead of volatile.
16927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16928 math_check_force_underflow.
16929 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16930 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16931 math_check_force_underflow_nonneg.
16932 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16933 math_check_force_underflow.
16934 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16935 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16936 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16937 math_check_force_underflow_nonneg.
16938 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16939 Likewise.
16940 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16941 math_check_force_underflow.
16942 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16943 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16944 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16945 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16946 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16947 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16948 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16949 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16950 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16951 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16952 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16953 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16954 Likewise.
16955 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16956 math_check_force_underflow_nonneg.
16957 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16958 Likewise.
16959 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16960 math_check_force_underflow.
16961 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16962 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16963 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16964 Likewise.
16965 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16966 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16968 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16969 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16970 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16972 instead of volatile.
16973 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16974 math_check_force_underflow.
16975 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16977 math_check_force_underflow.
16978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16979 Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16981 Use math_check_force_underflow_nonneg.
16982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16983 math_check_force_underflow.
16984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16985 Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16987 Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16994 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16995 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16997 math_check_force_underflow_nonneg.
16998 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16999 math_check_force_underflow.
17000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17001 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17002 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17003 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17004 math_check_force_underflow_nonneg.
17005 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17006 math_check_force_underflow.
17007 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17009 instead of volatile.
17010 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17011 math_check_force_underflow.
17012
17013 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17014 * stdlib/strtod_l.c: Include <math_private.h>.
17015 (overflow_value): Use math_narrow_eval.
17016 (underflow_value): Likewise.
17017 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17018 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17019 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17020 (__ieee754_gamma_r): Likewise.
17021 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17022 Likewise.
17023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17024 Likewise.
17025 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17026 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17027 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17028 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17029 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17030 (__ieee754_gammaf_r): Likewise.
17031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17032 Likewise.
17033 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17034 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17035 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17036 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17038 volatile.
17039 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17041 math_narrow_eval.
17042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17043 Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17045 Likewise.
17046 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17047 Likewise.
17048 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17049 volatile.
17050 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17051 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17052 math_narrow_eval.
17053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17054 Likewise.
17055 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17056 Likewise.
17057
17058 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * nptl/Versions: Remove ignored symbols.
17061
17062 2015-09-22 Florian Weimer <fweimer@redhat.com>
17063
17064 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
17065 * nss/Makefile (tests): Update.
17066
17067 2015-09-22 Florian Weimer <fweimer@redhat.com>
17068
17069 * nss/bug18287.c: New file.
17070 * nss/Makefile (tests): Add bug18287.
17071
17072 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17073
17074 * mach/Versions (__mach_host_self_): Add symbol.
17075
17076 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17077
17078 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17079 vm_page_size.
17080
17081 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17082
17083 Really fix sysdeps/i386/fpu/s_scalbn.S build
17084
17085 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17086 (libc: GLIBC_2_22): Remove unused version set.
17087
17088 2015-09-18 Mike Frysinger <vapier@gentoo.org>
17089
17090 * config.make.in (enable-timezone-tools): New variable.
17091 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17092 (enable_timezone_tools): Export to generated files.
17093 * configure: Regenerate.
17094 * INSTALL: Regenerate.
17095 * manual/install.texi (--disable-timezone-tools): Document new flag.
17096 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17097 ifeq ($(enable-timezone-tools),yes) check.
17098
17099 2015-09-18 Joseph Myers <joseph@codesourcery.com>
17100
17101 * timezone/Makefile: Revert previous change.
17102
17103 [BZ #18980]
17104 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17105 (DEFINE_DBL_MIN): Likewise.
17106 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17107 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17108 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17109 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17110 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17111 (dbl_min): Replace with use of DEFINE_DBL_MIN.
17112 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17113 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17114 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17115 (dbl_min): Replace with use of DEFINE_DBL_MIN.
17116 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17117 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17118 (flt_min): Replace with use of DEFINE_FLT_MIN.
17119 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17120 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17121 (dbl_min): Replace with use of DEFINE_DBL_MIN.
17122 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17123 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17124 (flt_min): Replace with use of DEFINE_FLT_MIN.
17125 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17126 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17127 (flt_min): Replace with use of DEFINE_FLT_MIN.
17128 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17129 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17130 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17131 (__ieee754_hypot): Use DBL_NARROW_EVAL.
17132 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17133 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17134 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17135 (__ieee754_pow): Use DBL_NARROW_EVAL.
17136 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17137 (__ieee754_powf): Use FLT_NARROW_EVAL.
17138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17139 (__ieee754_expf_sse2): Convert double-precision result to single
17140 precision.
17141 * sysdeps/i386/fpu/libm-test-ulps: Update.
17142
17143 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17144
17145 * timezone/Makefile: Ignore unused variable errors due to private.h
17146 (time_t_min) and (time_t_max).
17147 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
17148 Likewise.
17149
17150 2015-09-18 Joseph Myers <joseph@codesourcery.com>
17151
17152 [BZ #18981]
17153 * sysdeps/i386/fpu/i386-math-asm.h: New file.
17154 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17155 (__ieee754_scalb): Use DBL_NARROW_EVAL.
17156 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17157 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17158 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17159 (__scalbn): Use DBL_NARROW_EVAL.
17160 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17161 (__scalbnf): Use FLT_NARROW_EVAL.
17162
17163 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17164
17165 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17166 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17167 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17168 * stdio-common/printf_fp.c (___printf_fp):
17169 Use signbit to get the sign. Use isinf macro to allow inlining.
17170 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17171 * stdio-common/printf_size.c (__printf_size): Likewise.
17172
17173 2015-09-18 Mike Frysinger <vapier@gentoo.org>
17174
17175 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17176
17177 2015-09-18 Joseph Myers <joseph@codesourcery.com>
17178
17179 [BZ #18980]
17180 * sysdeps/generic/math_private.h: Include <float.h>.
17181 (math_narrow_eval): New macro.
17182 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17183 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17184 math_narrow_eval on overflowing return value.
17185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17186 Likewise.
17187 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17188 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17190 Likewise.
17191 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17192
17193 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17194
17195 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17196 * math/Makefile: Remove isinf_ns.c.
17197 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17198 * math/multc3.c (__multc3): Likewise.
17199 * math/s_casin.c (__casin): Likewise.
17200 * math/s_casinf.c (__casinf): Likewise.
17201 * math/s_casinl.c (__casinl): Likewise.
17202 * math/s_cproj.c (__cproj): Likewise.
17203 * math/s_cprojf.c (__cprojf): Likewise.
17204 * math/s_cprojl.c (__cprofl): Likewise.
17205 * math/s_ctan.c (__ctan): Likewise.
17206 * math/s_ctanf.c (__ctanf): Likewise.
17207 * math/s_ctanh.c (__ctanh): Likewise.
17208 * math/s_ctanhf.c (__ctanhf): Likewise.
17209 * math/s_ctanhl.c (__ctanhl): Likewise.
17210 * math/s_ctanl.c (__ctanl): Likewise.
17211 * math/w_fmod.c (__fmod): Likewise.
17212 * math/w_fmodf.c (__fmodf): Likewise.
17213 * math/w_fmodl.c (_fmodl): Likewise.
17214 * math/w_remainder.c (__remainder): Likewise.
17215 * math/w_remainderf.c (__remainderf): Likewise.
17216 * math/w_remainderl.c (__remainderl): Likewise.
17217 * math/w_scalb.c (__scalb): Likewise.
17218 * math/w_scalbf.c (__scalbf): Likewise.
17219 * math/w_scalbl.c (__scalbl): Likewise.
17220 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17221 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17222 with isinf.
17223 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17225 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17226 __isinf_nsf with isinf.
17227 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17228 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17229 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17230 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17231 with isinf.
17232 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17233 __isinf_nsl with isinf.
17234 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17235 with isinf.
17236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17237 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17238 __isinf_nsl with isinf.
17239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17240 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17241 with isinf.
17242
17243 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17244
17245 * resolv/base64.c (rcsid): Remove unused static.
17246 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17247 static. (tqpi1): Likewise.
17248 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17249 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17250 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17251 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17255 * timezone/private.h (time_t_min): Likewise. (time_t_max):
17256 Likewise.
17257
17258 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
17259
17260 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17261 <nptl/pthreadP.h>.
17262 (_longjmp_unwind): Use __libc_ptf_call.
17263 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17264
17265 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
17266
17267 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17268 * sysdeps/arm/__longjmp.S: Likewise.
17269
17270 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17271
17272 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17273 Use __builtin_signbit.
17274 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17275 Use __builtin_signbitf.
17276 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17277 Use __builtin_signbitl.
17278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17279 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17280
17281 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17282
17283 [BZ #15367]
17284 [BZ #17441]
17285
17286 * math/Makefile: Build test-snan.c with -fsignaling-nans.
17287 * math/math.h (fpclassify): Use __builtin_fpclassify when
17288 available. (signbit): Use __builtin_signbit(f/l).
17289 (isfinite): Use__builtin_isfinite. (isnormal): Use
17290 __builtin_isnormal. (isnan): Use __builtin_isnan.
17291 (isinf): Use __builtin_isinf_sign.
17292
17293 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
17294
17295 * benchtests/Makefile: Add bench-math-inlines, link with libm.
17296 * benchtests/bench-math-inlines.c: New benchmark.
17297 * benchtests/bench-util.h: New file.
17298 * benchtests/bench-util.c: New file.
17299 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17300
17301 2015-09-18 Carlos O'Donell <carlos@redhat.com>
17302
17303 * elf/tst-dlmopen1.c: Define TEST_SO.
17304 (do_test): Use TEST_SO.
17305
17306 * elf/dl-load.c: Include libc-internal.h.
17307 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17308
17309 2015-09-18 Vincent Bernat <vincent@bernat.im>
17310
17311 [BZ #17887]
17312 * time/strptime_l.c (__strptime_internal): Make %z accept
17313 [+-]HH:MM time zones.
17314
17315 2015-09-18 Vincent Bernat <vincent@bernat.im>
17316
17317 [BZ #17886]
17318 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17319 valid time zone.
17320
17321 2015-09-17 Mike Frysinger <vapier@gentoo.org>
17322
17323 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17324 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17325 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17326 (__ASSUME_FDATASYNC): Delete.
17327
17328 2015-09-17 Joseph Myers <joseph@codesourcery.com>
17329
17330 * conform/linknamespace.pl: Require weak undefined symbols to be
17331 in the standard namespace.
17332 (%strong_syms): Rename to %seen_syms.
17333 (%strong_seen): Rename to %seen_where.
17334
17335 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
17336
17337 [BZ #18970]
17338 * misc/error.c (error): Replace pthread_setcancelstate with
17339 __pthread_setcancelstate.
17340 (error_at_line): Likewise.
17341 * posix/wordexp.c (parse_comm): Likewise.
17342 * stdlib/fmtmsg.c (fmtmsg): Likewise.
17343 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17344 (__pthread_setcancelstate): This.
17345 (pthread_setcancelstate): Add an alias.
17346 * nptl/nptl-init.c (pthread_functions): Replace
17347 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17348 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17349 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17350 hidden_proto.
17351 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17352 it with hidden_def.
17353 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17354 (pthread_setcancelstate): Renamed to ...
17355 (__pthread_setcancelstate): This.
17356 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17357 __libc_ptf_call with __pthread_setcancelstate.
17358
17359 2015-09-17 Joseph Myers <joseph@codesourcery.com>
17360 Andreas Schwab <schwab@suse.de>
17361
17362 [BZ #17118]
17363 * math/s_ctan.c (__ctan): Determine sign of zero real part of
17364 result when imaginary part of argument is infinite using sine and
17365 cosine.
17366 * math/s_ctanf.c (__ctanf): Likewise.
17367 * math/s_ctanl.c (__ctanl): Likewise.
17368 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17369 of result when real part of argument is infinite using sine and
17370 cosine.
17371 * math/s_ctanhf.c (__ctanhf): Likewise.
17372 * math/s_ctanhl.c (__ctanhl): Likewise.
17373 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17374 (ctanh_test_data): Add more tests of ctanh.
17375
17376 2015-09-17 Joseph Myers <joseph@codesourcery.com>
17377
17378 [BZ #15384]
17379 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17380 bit-mask as in subtraction.
17381 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17382 Likewise.
17383 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17384 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17386
17387 [BZ #18951]
17388 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17389 underflow exception for small results.
17390 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17391 Likewise.
17392 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17393 Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17395 Likewise.
17396 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17397 Likewise.
17398 * math/auto-libm-test-in: Add more tests of tgamma.
17399 * math/auto-libm-test-out: Regenerated.
17400
17401 2015-09-17 Andreas Schwab <schwab@suse.de>
17402
17403 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17404
17405 2015-09-16 Joseph Myers <joseph@codesourcery.com>
17406
17407 [BZ #18977]
17408 * math/bits/mathcalls.h
17409 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17410 not declare.
17411 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17412 Likewise.
17413 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17414 Likewise.
17415 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17416 Likewise.
17417 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17418 Likewise.
17419 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17420 Likewise.
17421 * conform/data/math.h-data
17422 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17423 function.
17424 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17425 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17426 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17427 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17428 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17429 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17430 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17431 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17432 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17433 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17434 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17435
17436 [BZ #6803]
17437 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17438 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17439 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17440 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17441 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17442 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17443 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17444 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17445 [NO_LONG_DOUBLE] (scalbnl): Likewise.
17446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17447 Likewise.
17448 [NO_LONG_DOUBLE] (scalbnl): Likewise.
17449 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17452 long_double_symbol calls.
17453 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17454 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17455 strong alias of __ldexpl.
17456 (scalbnl): Define using long_double_symbol.
17457 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17458 Remove alias.
17459 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17460 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17461 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17462 (scalbln_test_data): Add more errno expectations.
17463
17464 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
17465
17466 Cache the host port like we cache the task port. This way we do not
17467 need to call the kernel just to get the port. Furthermore, we no
17468 longer increase the reference count on every invocation of
17469 `mach_host_self'.
17470
17471 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17472 Protect declarations against the macro expansion.
17473 * mach/mach_init.c (__mach_host_self_): New variable.
17474 (mach_init): Initialize `__mach_host_self_'.
17475 * mach/mach_init.h (__mach_host_self_): New declaration.
17476 (__mach_host_self, mach_host_self): New macros.
17477 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17478 Release reference.
17479
17480 2015-09-16 Joseph Myers <joseph@codesourcery.com>
17481
17482 [BZ #4404]
17483 * po/de.po: Update from Translation Project.
17484
17485 [BZ #16415]
17486 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17487 (__expm1l): Remove code to handle positive infinity and overflow.
17488 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17489 variable.
17490 (__expm1l): Remove code to handle positive infinity and overflow.
17491
17492 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
17493 Paul Pluzhnikov <ppluzhnikov@google.com>
17494
17495 [BZ #18872]
17496 * stdio-common/Makefile (tst-printf-bz18872): New test.
17497 (tst-printf-bz18872-mem.out): Likewise.
17498 * stdio-common/tst-printf-bz18872.sh: Generate new test.
17499 * stdio-common/vfprintf.c: Fix memory leaks.
17500
17501 2015-09-16 Andreas Schwab <schwab@suse.de>
17502
17503 [BZ #17244]
17504 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17505 Remove extra va_start/va_end calls.
17506
17507 [BZ #17243]
17508 * posix/execl.c (execl): Add missing va_end.
17509 * posix/execle.c (execle): Likewise.
17510 * posix/execlp.c (execlp): Likewise.
17511
17512 2015-09-15 Roland McGrath <roland@hack.frob.com>
17513
17514 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17515 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17516
17517 2015-09-15 Joseph Myers <joseph@codesourcery.com>
17518
17519 [BZ #18967]
17520 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
17521 undefine around includes of <bits/mathcalls.h>.
17522 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17523 not declare function.
17524 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17525 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17526 (scalb): Likewise.
17527 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17528 not define macro.
17529 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17530 variable.
17531 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17532 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17533 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17534
17535 [BZ #18857]
17536 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17537 return non-finite argument without doing ordered comparisons on
17538 it.
17539
17540 [BZ #16296]
17541 * math/fenv.h (fegetround): Use __attribute_pure__.
17542 * include/fenv.h (__fegetround): Likewise.
17543
17544 [BZ #18595]
17545 * math/s_ctan.c (__ctan): Force underflow exception for results
17546 whose real or imaginary part has small absolute value.
17547 * math/s_ctanf.c (__ctanf): Likewise.
17548 * math/s_ctanh.c (__ctanh): Likewise.
17549 * math/s_ctanhf.c (__ctanhf): Likewise.
17550 * math/s_ctanhl.c (__ctanhl): Likewise.
17551 * math/s_ctanl.c (__ctanl): Likewise.
17552 * math/auto-libm-test-in: Do not allow missing underflow for ctan
17553 and ctanh. Add more tests of ctan and ctanh.
17554
17555 [BZ #15918]
17556 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17557 handling of cases where one argument is an infinity.
17558
17559 [BZ #18875]
17560 [BZ #18966]
17561 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17562 (MO): New macro.
17563 (__ieee754_exp10): For small results, force underflow exception
17564 and remove excess range and precision from return value.
17565 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17566 (MO): New macro.
17567 (__ieee754_exp10f): For small results, force underflow exception
17568 and remove excess range and precision from return value.
17569 * math/auto-libm-test-in: Add more tests of exp10.
17570 * math/auto-libm-test-out: Regenerated.
17571
17572 2015-09-14 Joseph Myers <joseph@codesourcery.com>
17573
17574 [BZ #18875]
17575 [BZ #18961]
17576 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17577 (MO): New macro.
17578 (__ieee754_exp): For small results, force underflow exception and
17579 remove excess range and precision from return value.
17580 (__exp_finite): Likewise.
17581 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17582 (MO): New macro.
17583 (__ieee754_expf): For small results, force underflow exception and
17584 remove excess range and precision from return value.
17585 (__expf_finite): Likewise.
17586 * math/auto-libm-test-in: Add more tests of exp.
17587 * math/auto-libm-test-out: Regenerated.
17588
17589 [BZ #16521]
17590 [BZ #18875]
17591 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17592 small results.
17593 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17594 (MO): New macro.
17595 (__ieee754_exp2): For small results, force underflow exception and
17596 remove excess range and precision from return value.
17597 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17598 (MO): New macro.
17599 (__ieee754_exp2f): For small results, force underflow exception
17600 and remove excess range and precision from return value.
17601 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17602 (MO): New macro.
17603 (__ieee754_exp2l): Force underflow exception for small results.
17604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17605 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17606 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17607 (MO): New macro.
17608 (__ieee754_exp2l): Force underflow exception for small results.
17609 * math/auto-libm-test-in: Add more tests or exp2.
17610 * math/auto-libm-test-out: Regenerated.
17611
17612 2015-09-14 Carlos O'Donell <carlos@redhat.com>
17613
17614 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17615
17616 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17617 /dev/null.
17618
17619 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
17620
17621 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17622 io fs process)): Drop spurious backslash.
17623
17624 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17625
17626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17627 Use sysinfo system call instead of parsing /proc/meminfo.
17628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17629 Likewise.
17630
17631 2015-09-11 Mike Frysinger <vapier@gentoo.org>
17632
17633 [BZ #16985]
17634 * programs/localedef.c (main): Display argv[remaining] when
17635 output_path is NULL.
17636
17637 2015-09-11 Joseph Myers <joseph@codesourcery.com>
17638
17639 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17640 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17641 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17642 tanh.
17643 * math/auto-libm-test-out: Regenerated.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17646 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648
17649 2015-09-11 Roland McGrath <roland@hack.frob.com>
17650
17651 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17652 Use 'override' keyword to freeze the value here, preventing
17653 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17654
17655 2015-09-11 Joseph Myers <joseph@codesourcery.com>
17656
17657 [BZ #14912]
17658 * sysdeps/aarch64/bits/atomic.h: Move to ...
17659 * sysdeps/aarch64/atomic-machine.h: ...here.
17660 (_AARCH64_BITS_ATOMIC_H): Rename macro to
17661 _AARCH64_ATOMIC_MACHINE_H.
17662 * sysdeps/alpha/bits/atomic.h: Move to ...
17663 * sysdeps/alpha/atomic-machine.h: ...here.
17664 * sysdeps/arm/bits/atomic.h: Move to ...
17665 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
17666 * bits/atomic.h: Move to ...
17667 * sysdeps/generic/atomic-machine.h: ...here.
17668 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17669 * sysdeps/i386/bits/atomic.h: Move to ...
17670 * sysdeps/i386/atomic-machine.h: ...here.
17671 * sysdeps/ia64/bits/atomic.h: Move to ...
17672 * sysdeps/ia64/atomic-machine.h: ...here.
17673 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17674 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17675 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17676 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17677 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17678 * sysdeps/microblaze/bits/atomic.h: Move to ...
17679 * sysdeps/microblaze/atomic-machine.h: ...here.
17680 * sysdeps/mips/bits/atomic.h: Move to ...
17681 * sysdeps/mips/atomic-machine.h: ...here.
17682 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17683 * sysdeps/powerpc/bits/atomic.h: Move to ...
17684 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
17685 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17686 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
17687 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
17688 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17689 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
17690 <atomic-machine.h> instead of <bits/atomic.h>.
17691 * sysdeps/s390/bits/atomic.h: Move to ...
17692 * sysdeps/s390/atomic-machine.h: ...here.
17693 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17694 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17695 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17696 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17697 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17698 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17699 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17700 * sysdeps/tile/bits/atomic.h: Move to ...
17701 * sysdeps/tile/atomic-machine.h: ...here.
17702 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17703 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
17704 <sysdeps/tile/atomic-machine.h> instead of
17705 <sysdeps/tile/bits/atomic.h>.
17706 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17707 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17708 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
17709 <sysdeps/tile/atomic-machine.h> instead of
17710 <sysdeps/tile/bits/atomic.h>.
17711 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17712 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17713 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
17714 <sysdeps/arm/atomic-machine.h> instead of
17715 <sysdeps/arm/bits/atomic.h>.
17716 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17717 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17718 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17719 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17720 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17721 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17722 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17723 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17724 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17725 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17726 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17727 * sysdeps/x86_64/bits/atomic.h: Move to ...
17728 * sysdeps/x86_64/atomic-machine.h: ...here.
17729 * include/atomic.h: Include <atomic-machine.h> instead of
17730 <bits/atomic.h>.
17731
17732 * sysdeps/mips/mips32/libm-test-ulps: Update.
17733 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17734
17735 [BZ #18952]
17736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17737 not convert non-integer negative arguments to int to determine the
17738 value of signgam.
17739 * math/auto-libm-test-in: Add more tests of lgamma.
17740 * math/auto-libm-test-out: Regenerated.
17741
17742 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17743 cosh, csqrt, erfc, expm1 and lgamma.
17744 * math/auto-libm-test-out: Regenerated.
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747
17748 2015-09-10 Joseph Myers <joseph@codesourcery.com>
17749
17750 [BZ #2542]
17751 [BZ #2543]
17752 [BZ #2558]
17753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17754 __lgamma_neg for arguments from -28.0 to -2.0.
17755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17756 __lgamma_negf for arguments from -15.0 to -2.0.
17757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17758 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17760 Call __lgamma_negl for arguments from -33.0 to -2.0.
17761 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17762 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17763 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17772 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17773 (__lgamma_neg): Likewise.
17774 (__lgamma_negl): Likewise.
17775 (__lgamma_product): Likewise.
17776 (__lgamma_productl): Likewise.
17777 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17778 * math/auto-libm-test-in: Add more tests of lgamma.
17779 * math/auto-libm-test-out: Regenerated.
17780 * sysdeps/i386/fpu/libm-test-ulps: Update.
17781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17782
17783 2015-09-09 Justin Maggard <jmaggard@netgear.com>
17784
17785 [BZ #18675]
17786 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17787
17788 2015-09-08 Joseph Myers <joseph@codesourcery.com>
17789
17790 [BZ #14912]
17791 * bits/libc-lock.h: Move to ...
17792 * sysdeps/generic/libc-lock.h: ...here.
17793 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17794 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17795 * sysdeps/mach/hurd/libc-lock.h: ...here.
17796 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17797 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17798 * sysdeps/mach/bits/libc-lock.h: Move to ...
17799 * sysdeps/mach/libc-lock.h: ...here.
17800 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17801 * sysdeps/nptl/bits/libc-lock.h: Move to ...
17802 * sysdeps/nptl/libc-lock.h: ...here.
17803 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17804 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17805 * sysdeps/nptl/libc-lockP.h: ...here.
17806 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17807 * crypt/crypt_util.c: Include <libc-lock.h> instead of
17808 <bits/libc-lock.h>.
17809 * dirent/scandir-tail.c: Likewise.
17810 * dlfcn/dlerror.c: Likewise.
17811 * elf/dl-close.c: Likewise.
17812 * elf/dl-iteratephdr.c: Likewise.
17813 * elf/dl-lookup.c: Likewise.
17814 * elf/dl-open.c: Likewise.
17815 * elf/dl-support.c: Likewise.
17816 * elf/dl-writev.h: Likewise.
17817 * elf/rtld.c: Likewise.
17818 * grp/fgetgrent.c: Likewise.
17819 * gshadow/fgetsgent.c: Likewise.
17820 * gshadow/sgetsgent.c: Likewise.
17821 * iconv/gconv_conf.c: Likewise.
17822 * iconv/gconv_db.c: Likewise.
17823 * iconv/gconv_dl.c: Likewise.
17824 * iconv/gconv_int.h: Likewise.
17825 * iconv/gconv_trans.c: Likewise.
17826 * include/link.h: Likewise.
17827 * inet/getnameinfo.c: Likewise.
17828 * inet/getnetgrent.c: Likewise.
17829 * inet/getnetgrent_r.c: Likewise.
17830 * intl/bindtextdom.c: Likewise.
17831 * intl/dcigettext.c: Likewise.
17832 * intl/finddomain.c: Likewise.
17833 * intl/gettextP.h: Likewise.
17834 * intl/loadmsgcat.c: Likewise.
17835 * intl/localealias.c: Likewise.
17836 * intl/textdomain.c: Likewise.
17837 * libidn/idn-stub.c: Likewise.
17838 * libio/libioP.h: Likewise.
17839 * locale/duplocale.c: Likewise.
17840 * locale/freelocale.c: Likewise.
17841 * locale/newlocale.c: Likewise.
17842 * locale/setlocale.c: Likewise.
17843 * login/getutent_r.c: Likewise.
17844 * login/getutid_r.c: Likewise.
17845 * login/getutline_r.c: Likewise.
17846 * login/utmp-private.h: Likewise.
17847 * login/utmpname.c: Likewise.
17848 * malloc/mtrace.c: Likewise.
17849 * misc/efgcvt.c: Likewise.
17850 * misc/error.c: Likewise.
17851 * misc/fstab.c: Likewise.
17852 * misc/getpass.c: Likewise.
17853 * misc/mntent.c: Likewise.
17854 * misc/syslog.c: Likewise.
17855 * nis/nis_call.c: Likewise.
17856 * nis/nis_callback.c: Likewise.
17857 * nis/nss-default.c: Likewise.
17858 * nis/nss_compat/compat-grp.c: Likewise.
17859 * nis/nss_compat/compat-initgroups.c: Likewise.
17860 * nis/nss_compat/compat-pwd.c: Likewise.
17861 * nis/nss_compat/compat-spwd.c: Likewise.
17862 * nis/nss_nis/nis-alias.c: Likewise.
17863 * nis/nss_nis/nis-ethers.c: Likewise.
17864 * nis/nss_nis/nis-grp.c: Likewise.
17865 * nis/nss_nis/nis-hosts.c: Likewise.
17866 * nis/nss_nis/nis-network.c: Likewise.
17867 * nis/nss_nis/nis-proto.c: Likewise.
17868 * nis/nss_nis/nis-pwd.c: Likewise.
17869 * nis/nss_nis/nis-rpc.c: Likewise.
17870 * nis/nss_nis/nis-service.c: Likewise.
17871 * nis/nss_nis/nis-spwd.c: Likewise.
17872 * nis/nss_nisplus/nisplus-alias.c: Likewise.
17873 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17874 * nis/nss_nisplus/nisplus-grp.c: Likewise.
17875 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17876 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17877 * nis/nss_nisplus/nisplus-network.c: Likewise.
17878 * nis/nss_nisplus/nisplus-proto.c: Likewise.
17879 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17880 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17881 * nis/nss_nisplus/nisplus-service.c: Likewise.
17882 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17883 * nis/ypclnt.c: Likewise.
17884 * nptl/libc_pthread_init.c: Likewise.
17885 * nss/getXXbyYY.c: Likewise.
17886 * nss/getXXent.c: Likewise.
17887 * nss/getXXent_r.c: Likewise.
17888 * nss/nss_db/db-XXX.c: Likewise.
17889 * nss/nss_db/db-netgrp.c: Likewise.
17890 * nss/nss_db/nss_db.h: Likewise.
17891 * nss/nss_files/files-XXX.c: Likewise.
17892 * nss/nss_files/files-alias.c: Likewise.
17893 * nss/nsswitch.c: Likewise.
17894 * posix/regex_internal.h: Likewise.
17895 * posix/wordexp.c: Likewise.
17896 * pwd/fgetpwent.c: Likewise.
17897 * resolv/res_hconf.c: Likewise.
17898 * resolv/res_libc.c: Likewise.
17899 * shadow/fgetspent.c: Likewise.
17900 * shadow/lckpwdf.c: Likewise.
17901 * shadow/sgetspent.c: Likewise.
17902 * socket/opensock.c: Likewise.
17903 * stdio-common/reg-modifier.c: Likewise.
17904 * stdio-common/reg-printf.c: Likewise.
17905 * stdio-common/reg-type.c: Likewise.
17906 * stdio-common/vfprintf.c: Likewise.
17907 * stdio-common/vfscanf.c: Likewise.
17908 * stdlib/abort.c: Likewise.
17909 * stdlib/cxa_atexit.c: Likewise.
17910 * stdlib/fmtmsg.c: Likewise.
17911 * stdlib/random.c: Likewise.
17912 * stdlib/setenv.c: Likewise.
17913 * string/strsignal.c: Likewise.
17914 * sunrpc/auth_none.c: Likewise.
17915 * sunrpc/bindrsvprt.c: Likewise.
17916 * sunrpc/create_xid.c: Likewise.
17917 * sunrpc/key_call.c: Likewise.
17918 * sunrpc/rpc_thread.c: Likewise.
17919 * sysdeps/arm/backtrace.c: Likewise.
17920 * sysdeps/generic/ldsodefs.h: Likewise.
17921 * sysdeps/generic/stdio-lock.h: Likewise.
17922 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17923 * sysdeps/i386/backtrace.c: Likewise.
17924 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17925 * sysdeps/m68k/backtrace.c: Likewise.
17926 * sysdeps/mach/hurd/cthreads.c: Likewise.
17927 * sysdeps/mach/hurd/dirstream.h: Likewise.
17928 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17929 * sysdeps/nptl/malloc-machine.h: Likewise.
17930 * sysdeps/nptl/stdio-lock.h: Likewise.
17931 * sysdeps/posix/dirstream.h: Likewise.
17932 * sysdeps/posix/getaddrinfo.c: Likewise.
17933 * sysdeps/posix/system.c: Likewise.
17934 * sysdeps/pthread/aio_suspend.c: Likewise.
17935 * sysdeps/s390/s390-32/backtrace.c: Likewise.
17936 * sysdeps/s390/s390-64/backtrace.c: Likewise.
17937 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17938 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17940 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17941 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17942 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17943 * sysdeps/unix/sysv/linux/system.c: Likewise.
17944 * sysdeps/x86_64/backtrace.c: Likewise.
17945 * time/alt_digit.c: Likewise.
17946 * time/era.c: Likewise.
17947 * time/tzset.c: Likewise.
17948 * wcsmbs/wcsmbsload.c: Likewise.
17949 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17950 instead of <bits/libc-lock.h> in comment.
17951
17952 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
17953
17954 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17955 Only use .set mips2 if the current ISA is below mips2.
17956 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17957 Likewise.
17958 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17959 mips32r2 if the current ISA is below mips32r2.
17960 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17961 (TLS_IE): Updated to use the TLD_RDHWR macro.
17962 (TLS_LE): Likewise.
17963 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17964 __ASSEMBLER__ condition.
17965
17966 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
17967
17968 Fix parallel build of before-compile targets.
17969
17970 * sysdeps/mach/Makefile ($(patsubst
17971 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17972 mach-before-compile target.
17973 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17974 io fs process)): Move rule to dedicated hurd-before-compile target.
17975
17976 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17977
17978 Fix rules generating headers in hurd/ and mach/ when initial make call
17979 has subdir= explicitly set.
17980
17981 * sysdeps/mach/Makefile ($(patsubst
17982 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17983 calling $(MAKE).
17984 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17985 io fs process)): Force subdir to hurd when calling $(MAKE).
17986 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17987 subdir to mach when calling $(MAKE).
17988
17989 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
17990
17991 Check sysheaders when looking for Mach and Hurd headers
17992
17993 * sysdeps/mach/configure.ac: Add sysheaders check.
17994 * sysdeps/mach/configure: Regenerate.
17995 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17996 * sysdeps/mach/hurd/configure: Regenerate.
17997
17998 2015-09-04 Roland McGrath <roland@hack.frob.com>
17999
18000 [BZ #18921]
18001 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18002 Fix inverted sense of test of 'o_directory_works' value.
18003 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18004 Bernhard Voelker <mail@bernhard-voelker.de>.
18005
18006 2015-09-04 Joseph Myers <joseph@codesourcery.com>
18007
18008 [BZ #14912]
18009 * bits/linkmap.h: Move to ...
18010 * sysdeps/generic/linkmap.h: ...here.
18011 * sysdeps/aarch64/bits/linkmap.h: Move to ...
18012 * sysdeps/aarch64/linkmap.h: ...here.
18013 * sysdeps/arm/bits/linkmap.h: Move to ...
18014 * sysdeps/arm/linkmap.h: ...here.
18015 * sysdeps/hppa/bits/linkmap.h: Move to ...
18016 * sysdeps/hppa/linkmap.h: ...here.
18017 * sysdeps/ia64/bits/linkmap.h: Move to ...
18018 * sysdeps/ia64/linkmap.h: ...here.
18019 * sysdeps/mips/bits/linkmap.h: Move to ...
18020 * sysdeps/mips/linkmap.h: ...here.
18021 * sysdeps/s390/bits/linkmap.h: Move to ...
18022 * sysdeps/s390/linkmap.h: ...here.
18023 * sysdeps/sh/bits/linkmap.h: Move to ...
18024 * sysdeps/sh/linkmap.h: ...here.
18025 * sysdeps/x86/bits/linkmap.h: Move to ...
18026 * sysdeps/x86/linkmap.h: ...here.
18027 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18028
18029 2015-09-04 Andreas Schwab <schwab@suse.de>
18030
18031 [BZ #18635]
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18033 (__makecontext): Terminate FDE before return label.
18034 (__novec_makecontext): Likewise.
18035
18036 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18037
18038 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18039 first member of struct sv in syscall macro.
18040
18041 2015-09-04 Joseph Myers <joseph@codesourcery.com>
18042
18043 [BZ #14912]
18044 * bits/stdio-lock.h: Move to ...
18045 * sysdeps/generic/stdio-lock.h: ...here.
18046 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18047 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18048 * sysdeps/nptl/stdio-lock.h: ...here.
18049 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18050 * include/libio.h: Include <stdio-lock.h> instead of
18051 <bits/stdio-lock.h>.
18052 * sysdeps/nptl/fork.c: Likewise.
18053 * sysdeps/pthread/flockfile.c: Likewise.
18054 * sysdeps/pthread/ftrylockfile.c: Likewise.
18055 * sysdeps/pthread/funlockfile.c: Likewise.
18056
18057 [BZ #14912]
18058 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18059 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18060 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18061 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18062 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18063 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18064 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18065
18066 2015-09-03 Roland McGrath <roland@hack.frob.com>
18067
18068 * elf/Makefile (test-xfail-tst-protected1a): New variable.
18069 (test-xfail-tst-protected1b): New variable.
18070
18071 2015-09-03 Joseph Myers <joseph@codesourcery.com>
18072
18073 [BZ #14912]
18074 * bits/libc-tsd.h: Move to ...
18075 * sysdeps/generic/libc-tsd.h: ...here.
18076 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18077 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18078 * sysdeps/mach/hurd/libc-tsd.h: ...here.
18079 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18080 * include/ctype.h: Include <libc-tsd.h> instead of
18081 <bits/libc-tsd.h>.
18082 * include/rpc/rpc.h: Likewise.
18083 * locale/localeinfo.h: Likewise.
18084 * sunrpc/rpc_thread.c: Likewise.
18085 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18086 * sysdeps/nptl/malloc-machine.h: Likewise.
18087
18088 * Makefile (headers): Remove bits/libc-lock.h.
18089 * libio/Makefile (headers): Remove bits/stdio-lock.h.
18090
18091 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18092 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18093 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18094 <bits/stdio-lock.h>.
18095 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18096 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18097
18098 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
18099
18100 [BZ #18757]
18101 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18102 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18103 BZ #18757.
18104
18105 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
18106
18107 * malloc/mtrace.pl: Filter out NULL entries.
18108
18109 2015-09-01 Joseph Myers <joseph@codesourcery.com>
18110
18111 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18112 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18113 macro.
18114
18115 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18116 (TCP_CC_INFO): Likewise.
18117 (TCP_SAVE_SYN): Likewise.
18118 (TCP_SAVED_SYN): Likewise.
18119
18120 2015-08-31 Brett Neumeier <brett@neumeier.us>
18121
18122 [BZ #18870]
18123 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18124
18125 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
18126
18127 [BZ #18873]
18128 Fix broken overflow check in posix_fallocate
18129 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18130 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18131 Fix parenthesization typo.
18132
18133 2015-08-28 Mike Frysinger <vapier@gentoo.org>
18134
18135 [BZ #18887]
18136 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18137 tst-mntent-blank-passno.
18138 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18139 * misc/tst-mntent-blank-corrupt.c: New test.
18140 * misc/tst-mntent-blank-passno.c: New test ripped from ...
18141 * misc/tst-mntent.c (do_test): ... here.
18142
18143 2015-08-29 Mike Frysinger <vapier@gentoo.org>
18144
18145 [BZ #4404]
18146 * po/de.po: Fix SIGALRM typo.
18147
18148 2015-08-28 James Perkins <james@loowit.net>
18149
18150 * time/tst-strptime2.c (tests): Replace short list of test
18151 strings for strptime %z specifier with code which exhaustively
18152 tests every combination of sign and 0 to 5 digits. Tests for
18153 rejection of invalid strings.
18154
18155 2015-08-28 James Perkins <james@loowit.net>
18156
18157 [BZ #16141]
18158 * time/strptime_l.c (__strptime_internal): Fix %z minutes
18159 calculation, removing incorrect decimal time rounding, so that
18160 all minute values result in a valid seconds value.
18161 * time/strptime_l.c (__strptime_internal): Extend %z time zone
18162 offset range limits to UTC-99:59 through UTC+99:59 to parse
18163 current and historical use cases.
18164 * time/tst-strptime2.c (tests): Modify and add tests for the
18165 strptime %z input field descriptor, specifically conversion of
18166 minutes to seconds and validating an offset range of -9959 to
18167 +9959.
18168
18169 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18170 Dmitry V. Levin <ldv@altlinux.org>
18171
18172 [BZ #18877]
18173 * posix/Makefile (tests): Add tst-mmap-offset.
18174 * posix/tst-mmap.c: New file.
18175 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18176 offset calculation for negative values.
18177
18178 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 * sysdeps/i386/init-arch.h: New file.
18181 * sysdeps/i386/i586/init-arch.h: Likewise.
18182 * sysdeps/i386/i686/init-arch.h: Likewise.
18183 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18184 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
18185 * sysdeps/x86/cpu-features.h (bit_I586): New.
18186 (bit_I686): Likewise.
18187 (bit_CX8): Likewise.
18188 (bit_CMOV): Likewise.
18189 (index_CX8): Likewise.
18190 (index_CMOV): Likewise.
18191 (index_I586): Likewise.
18192 (index_I686): Likewise.
18193 (reg_CX8): Likewise.
18194 (reg_CMOV): Likewise.
18195 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18196 available at compile-time.
18197 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18198 available at compile-time.
18199 * sysdeps/x86/init-arch.h (USE_I586): New macro.
18200 (USE_I686): Likewise.
18201
18202 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * sysdeps/i386/bcopy.S: New file.
18205 * sysdeps/i386/bzero.S: Likewise.
18206 * sysdeps/i386/memcpy.S: Likewise.
18207 * sysdeps/i386/memmove.S: Likewise.
18208 * sysdeps/i386/mempcpy.S: Likewise.
18209 * sysdeps/i386/memset.S: Likewise.
18210 * sysdeps/i386/bzero.c: Removed.
18211 * sysdeps/i386/memset.c: Likewise.
18212 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18213 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18214 * sysdeps/i386/i586/memset_chk.S: Likewise.
18215 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18216 * sysdeps/i386/memcpy_chk.S: Here.
18217 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18218 * sysdeps/i386/memmove_chk.S: Here.
18219 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18220 * sysdeps/i386/mempcpy_chk.S: Likewise.
18221 * sysdeps/i386/i686/memset_chk.S: Moved to ...
18222 * sysdeps/i386/memset_chk.S: Likewise.
18223
18224 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
18225
18226 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18227 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18228 file, move DIAG_POP_NEEDS_COMMENT to end of file.
18229 * soft-fp/fmadf4.c: Ditto.
18230 * soft-fp/fmatf4.c: Ditto.
18231
18232 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18233
18234 * sysdeps/i386/i586/Implies: Removed.
18235 * sysdeps/i386/i686/Implies: Likewise.
18236
18237 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * sysdeps/i386/i486/strlen.S: Moved to ...
18240 * sysdeps/i386/strlen.S: Here.
18241
18242 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * sysdeps/i386/i486/strcat.S: Moved to ...
18245 * sysdeps/i386/strcat.S: Here.
18246
18247 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18250 * sysdeps/i386/pthread_spin_trylock.S: Here.
18251 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18252 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18253
18254 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 * sysdeps/i386/i486/string-inlines.c: Moved to ...
18257 * sysdeps/i386/string-inlines.c: Here.
18258
18259 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18260
18261 * sysdeps/i386/i486/htonl.S: Moved ...
18262 * sysdeps/i386/htonl.S: here.
18263
18264 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18267 * sysdeps/i386/bits/atomic.h: Here.
18268
18269 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 * sysdeps/i386/i486/Versions: Removed.
18272
18273 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
18274
18275 [BZ #2898]
18276 * misc/mktemp.c: Add mkdtemp to the link_warning message.
18277 Based on patch by Aurelien Jarno.
18278
18279 2015-08-26 Stan Shebs <stanshebs@google.com>
18280
18281 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18282 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18283
18284 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18285
18286 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18287 * sysdeps/powerpc/dl-procinfo.c:
18288 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18289 feature so it shows when LD_SHOW_AUXV=1.
18290
18291 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18292
18293 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18294 (__arch_compare_and_exchange_val_32_acq): Remove and use common
18295 definition. ISA 2.07B no longer requires full sync.
18296
18297 2015-08-26 Mike Frysinger <vapier@gentoo.org>
18298
18299 [BZ #18863]
18300 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18301 (si_call_addr): Define.
18302 (si_syscall): Define.
18303 (si_arch): Define.
18304
18305 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
18306
18307 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18308 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18309 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18310 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18311 (__memset_zero_constant_len_parameter): New.
18312 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18313 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18314 (__memset_zero_constant_len_parameter): Don't define if
18315 __memset_chk or USE_AS_BZERO are defined.
18316
18317 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18318 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18319 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18320
18321 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18322 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18323 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18324 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
18325 comments.
18326 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18327 -mno-mmx for $(all-rtld-routines).
18328 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18329 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
18330 i386.
18331
18332 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18333
18334 * sysdeps/generic/unwind.h
18335 (_Unwind_Word): Use __mode__(__unwind_word__)
18336 instead of __mode__(__word__).
18337 (_Unwind_Sword): Likewise.
18338
18339 * sysdeps/s390/s390-64/utf8-utf16-z9.c
18340 (MAX_NEEDED_INPUT): New define.
18341 (MAX_NEEDED_OUTPUT): New define.
18342
18343 * NEWS: New item for IBM z13 string optimizations.
18344
18345 * sysdeps/s390/multiarch/memrchr-c.c: New File.
18346 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18347 * sysdeps/s390/multiarch/memrchr.c: Likewise.
18348 * sysdeps/s390/multiarch/Makefile
18349 (sysdep_routines): Add memrchr functions.
18350 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18351 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18352
18353 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18354 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18355 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18356 * sysdeps/s390/multiarch/Makefile
18357 (sysdep_routines): Add wmemcmp functions.
18358 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18359 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18360 * benchtests/bench-wmemcmp.c: New File.
18361 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18362
18363 * sysdeps/s390/multiarch/wmemset-c.c: New File.
18364 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18365 * sysdeps/s390/multiarch/wmemset.c: Likewise.
18366 * sysdeps/s390/multiarch/Makefile
18367 (sysdep_routines): Add wmemset functions.
18368 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18369 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18370 * wcsmbs/wmemset.c: Use WMEMSET if defined.
18371 * string/test-memset.c: Add wmemset support.
18372 * wcsmbs/test-wmemset.c: New File.
18373 * wcsmbs/Makefile (strop-tests): Add wmemset.
18374 * benchtests/bench-memset.c: Add wmemset support.
18375 * benchtests/bench-wmemset.c: New File.
18376 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18377
18378 * sysdeps/s390/multiarch/memccpy-c.c: New File.
18379 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18380 * sysdeps/s390/multiarch/memccpy.c: Likewise.
18381 * sysdeps/s390/multiarch/Makefile
18382 (sysdep_routines): Add memccpy functions.
18383 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18384 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18385 * string/memccpy.c: Use MEMCCPY if defined.
18386
18387 * sysdeps/s390/multiarch/memchr-vx.S: New File.
18388 * sysdeps/s390/multiarch/memchr.c: Likewise.
18389 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18390 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18391 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18392 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18393 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18394 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18395 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18396 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18397 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18398 and rawmemchr functions.
18399 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18400 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18401 and wmemchr.
18402 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18403 * string/test-memchr.c: Add wmemchr support.
18404 * wcsmbs/test-wmemchr.c: New File.
18405 * wcsmbs/Makefile (strop-tests): Add wmemchr.
18406 * benchtests/bench-memchr.c: Add wmemchr support.
18407 * benchtests/bench-wmemchr.c: New File.
18408 * benchtests/Makefile (wcsmbs-bench): wmemchr.
18409
18410 * sysdeps/s390/multiarch/strcspn-c.c: New File.
18411 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18412 * sysdeps/s390/multiarch/strcspn.c: Likewise.
18413 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18414 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18415 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18416 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18417 wcscspn functions.
18418 * sysdeps/s390/multiarch/ifunc-impl-list.c
18419 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18420 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18421 * string/test-strcspn.c: Add wcscspn support.
18422 * wcsmbs/test-wcscspn.c: New File.
18423 * wcsmbs/Makefile (strop-tests): Add wcscspn.
18424 * benchtests/bench-strcspn.c: Add wcscspn support.
18425 * benchtests/bench-wcscspn.c: New File.
18426 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18427
18428 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18429 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18430 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18431 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18432 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18433 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18434 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18435 wcspbrk functions.
18436 * sysdeps/s390/multiarch/ifunc-impl-list.c
18437 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18438 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18439 * string/test-strpbrk.c: Add wcspbrk support.
18440 * wcsmbs/test-wcspbrk.c: New File.
18441 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18442 * benchtests/bench-strpbrk.c: Add wcspbrk support.
18443 * benchtests/bench-wcspbrk.c: New File.
18444 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18445
18446 * sysdeps/s390/multiarch/strspn-c.c: New File.
18447 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18448 * sysdeps/s390/multiarch/strspn.c: Likewise.
18449 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18450 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18451 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18452 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18453 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18454 wcsspn functions.
18455 * sysdeps/s390/multiarch/ifunc-impl-list.c
18456 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18457 * string/test-strspn.c: Add wcsspn support.
18458 * wcsmbs/test-wcsspn.c: New File.
18459 * wcsmbs/Makefile (strop-tests): Add wcsspn.
18460 * benchtests/bench-strspn.c: Add wcsspn support.
18461 * benchtests/bench-wcsspn.c: New File.
18462 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18463
18464 * sysdeps/s390/multiarch/strrchr-c.c: New File.
18465 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18466 * sysdeps/s390/multiarch/strrchr.c: Likewise.
18467 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18468 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18469 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18470 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18471 wcsrchr functions.
18472 * sysdeps/s390/multiarch/ifunc-impl-list.c
18473 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18474 * benchtests/bench-wcsrchr.c: New File.
18475 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18476
18477 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18478 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18479 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18480 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18481 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18482 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18483 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18484 wcschrnul functions.
18485 * sysdeps/s390/multiarch/ifunc-impl-list.c
18486 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18487 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18488 * string/test-strchr.c: Add wcschrnul support.
18489 * wcsmbs/test-wcschrnul.c: New File.
18490 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18491 * benchtests/bench-strchr.c: Add wcschrnul support.
18492 * benchtests/bench-wcschrnul.c: New File.
18493 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18494
18495 * sysdeps/s390/multiarch/strchr-c.c: New File.
18496 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18497 * sysdeps/s390/multiarch/strchr.c: Likewise.
18498 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18499 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18500 * sysdeps/s390/multiarch/wcschr.c: Likewise.
18501 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18502 wcschr functions.
18503 * sysdeps/s390/multiarch/ifunc-impl-list.c
18504 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18505 * string/strchr.c (STRCHR): Define and use macro.
18506 * benchtests/bench-wcschr.c: New File.
18507 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18508
18509 * sysdeps/s390/multiarch/strncmp-c.c: New File.
18510 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18511 * sysdeps/s390/multiarch/strncmp.c: Likewise.
18512 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18513 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18514 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18515 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18516 wcsncmp functions.
18517 * sysdeps/s390/multiarch/ifunc-impl-list.c
18518 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18519 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18520 * benchtests/bench-strncmp.c: Add wcsncmp support.
18521 * benchtests/bench-wcsncmp.c: New File.
18522 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18523
18524 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18525 * sysdeps/s390/multiarch/strcmp.c: Likewise.
18526 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18527 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18528 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18529 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18530 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18531 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18532 wcscmp functions.
18533 * sysdeps/s390/multiarch/ifunc-impl-list.c
18534 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18535 * string/strcmp.c (STRCMP): Define and use macro.
18536 * benchtests/bench-wcscmp.c: New File.
18537 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18538 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18539 instead of _HAVE_STRING_ARCH_memchr.
18540
18541 * sysdeps/s390/multiarch/strncat-c.c: New File.
18542 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18543 * sysdeps/s390/multiarch/strncat.c: Likewise.
18544 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18545 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18546 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18547 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18548 wcsncat functions.
18549 * sysdeps/s390/multiarch/ifunc-impl-list.c
18550 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18551 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18552 * string/test-strncat.c: Add wcsncat support.
18553 * wcsmbs/test-wcsncat.c: New File.
18554 * wcsmbs/Makefile (strop-tests): Add wcsncat.
18555 * benchtests/bench-strncat.c: Add wcsncat support.
18556 * benchtests/bench-wcsncat.c: New File.
18557 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18558
18559 * sysdeps/s390/multiarch/strcat-c.c: New File.
18560 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18561 * sysdeps/s390/multiarch/strcat.c: Likewise.
18562 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18563 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18564 * sysdeps/s390/multiarch/wcscat.c: Likewise.
18565 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18566 wcscat functions.
18567 * sysdeps/s390/multiarch/ifunc-impl-list.c
18568 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18569 * string/strcat.c (STRCAT): Define and use macro.
18570 * wcsmbs/wcscat.c: Use WCSCAT if defined.
18571 * string/test-strcat.c: Add wcscat support.
18572 * wcsmbs/test-wcscat.c: New File.
18573 * wcsmbs/Makefile (strop-tests): Add wcscat.
18574 * benchtests/bench-strcat.c: Add wcscat support.
18575 * benchtests/bench-wcscat.c: New File.
18576 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18577
18578 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18579 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18580 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18581 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18582 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18583 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18584 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18585 wcpncpy functions.
18586 * sysdeps/s390/multiarch/ifunc-impl-list.c
18587 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18588 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18589 * string/test-stpncpy.c: Add wcpncpy support.
18590 * wcsmbs/test-wcpncpy.c: New File.
18591 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18592 * benchtests/bench-stpncpy.c: Add wcpncpy support.
18593 * benchtests/bench-wcpncpy.c: New File.
18594 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18595
18596 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18597 * sysdeps/s390/multiarch/strncpy.c: Likewise.
18598 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18599 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18600 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18601 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18602 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18603 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18604 wcsncpy functions.
18605 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18606 * sysdeps/s390/multiarch/ifunc-impl-list.c
18607 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18608 * string/test-strncpy.c: Add wcsncpy support.
18609 * wcsmbs/test-wcsncpy.c: New File.
18610 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18611 * benchtests/bench-strncpy.c: Add wcsncpy support.
18612 * benchtests/bench-wcsncpy.c: New File.
18613 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18614
18615 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18616 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18617 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18618 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18619 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18620 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18621 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18622 wcpcpy functions.
18623 * string/stpcpy.c: Use STPCPY if defined.
18624 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18625 * sysdeps/s390/multiarch/ifunc-impl-list.c
18626 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18627 * string/test-stpcpy.c: Add wcpcpy support.
18628 * wcsmbs/test-wcpcpy.c: New File.
18629 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18630 * benchtests/bench-stpcpy.c: Add wcpcpy support.
18631 * benchtests/bench-wcpcpy.c: New File.
18632 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18633
18634 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18635 * sysdeps/s390/multiarch/strcpy.c: Likewise.
18636 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18637 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18638 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18639 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18640 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18641 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18642 wcscpy functions.
18643 * sysdeps/s390/multiarch/ifunc-impl-list.c
18644 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18645 * benchtests/bench-wcscpy.c: New File.
18646 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18647
18648 * sysdeps/s390/multiarch/strnlen-c.c: New File.
18649 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18650 * sysdeps/s390/multiarch/strnlen.c: Likewise.
18651 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18652 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18653 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18654 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18655 wcsnlen functions.
18656 * sysdeps/s390/multiarch/ifunc-impl-list.c
18657 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18658 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18659 * string/test-strnlen.c: Add wcsnlen support.
18660 * wcsmbs/test-wcsnlen.c: New File.
18661 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18662 * benchtests/bench-strnlen.c: Add wcsnlen support.
18663 * benchtests/bench-wcsnlen.c: New File.
18664 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18665
18666 * sysdeps/s390/multiarch/Makefile: New File.
18667 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18668 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18669 * sysdeps/s390/multiarch/strlen.c: Likewise.
18670 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18671 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18672 * sysdeps/s390/multiarch/wcslen.c: Likewise.
18673 * string/strlen.c (STRLEN): Define and use macro.
18674 * sysdeps/s390/multiarch/ifunc-impl-list.c
18675 (IFUNC_VX_IMPL): New macro function.
18676 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18677 * benchtests/Makefile (wcsmbs-bench): New variable.
18678 (string-bench-all): Added wcsmbs-bench.
18679 * benchtests/bench-wcslen.c: New File.
18680
18681 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18682 s390_vx_libc_ifunc2): New macro function.
18683
18684 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18685 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18686 assembler support.
18687 * sysdeps/s390/configure: Regenerated.
18688
18689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18690 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18691
18692 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18693 * sysdeps/s390/dl-procinfo.h: Add vector capability.
18694 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18695
18696 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18697 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18699 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18700 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18701 (memcmp, bcmp): Use __memcmp_default as alias source.
18702 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18703 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18704 Rename to __memcmp_default.
18705 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18706 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18707 (memcpy): Use __memcpy_default as alias source.
18708 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18709 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18710 Rename to __memcpy_default.
18711 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18712 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18713 (memset): Use __memset_default as alias source.
18714 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18715 * sysdeps/s390/s390-32/memset.S (__memset_g5):
18716 Rename to __memset_default.
18717 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18718 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18719 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18720 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18721 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18722 (memcmp, bcmp): Use __memcmp_default as alias source.
18723 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18724 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18725 Rename to __memcmp_default.
18726 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18727 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18728 (memcpy): Use __memcpy_default as alias source.
18729 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18730 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18731 Rename to __memcpy_default.
18732 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18733 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18734 (memset): Use __memset_default as alias source.
18735 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18736 * sysdeps/s390/s390-64/memset.S (__memset_z900):
18737 Rename to __memset_default.
18738 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18739 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18740
18741 [BZ #18610]
18742 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18743 __ieee_instruction_pointer to __unused.
18744 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18745 __ieee_instruction_pointer.
18746 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18747 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18748 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18749 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18750 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18751 Mark dxc-field as reserved.
18752
18753 2015-08-25 Roland McGrath <roland@hack.frob.com>
18754
18755 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18756 if the weak reference is not null.
18757
18758 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
18759
18760 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18761
18762 [BZ #11214]
18763 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18764
18765 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18766
18767 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18768 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18769 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18770 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18771 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18772 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18773 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18774 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18775 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18776 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18777 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18778 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18779 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18780 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18781 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18782 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18783 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18784 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18785
18786 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18787
18788 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18789 register other than r0 for tabort, it has special meaning.
18790 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18791 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18792 transaction before starting syscall.
18793
18794 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18795
18796 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18797
18798 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
18799
18800 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18801
18802 * sysdeps/x86_64/rtld-memcmp.c: Removed.
18803 * sysdeps/x86_64/rtld-memset.S: Likewise.
18804 * sysdeps/x86_64/rtld-strchr.S: Likewise.
18805 * sysdeps/x86_64/rtld-strlen.S: Likewise.
18806 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18807 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18808
18809 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18810
18811 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
18812
18813 * debug/strcpy_chk.c: Improve performance.
18814 * debug/stpcpy_chk.c: Likewise.
18815 * sysdeps/x86_64/strcpy_chk.S: Remove.
18816 * sysdeps/x86_64/stpcpy_chk.S: Remove.
18817
18818 [BZ #18240]
18819 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18820
18821 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 [BZ #15128]
18824 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18825 ifuncmain8.
18826 (modules-names): Add ifuncmod8.
18827 ($(objpfx)ifuncmain8): New rule.
18828 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18829 <cpuid.h>.
18830 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18831 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18832 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18833 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18834 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18835 * sysdeps/x86_64/dl-trampoline.h: Likewise.
18836 * sysdeps/x86_64/ifuncmain8.c: New file.
18837 * sysdeps/x86_64/ifuncmod8.c: Likewise.
18838 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18839 Removed.
18840 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18841 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18842 Change rtld_savespace_sse to __glibc_unused2.
18843 (RTLD_CHECK_FOREIGN_CALL): Removed.
18844 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18845 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18846 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18847
18848 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
18849
18850 * sysdeps/aarch64/bzero.S (__bzero): Remove.
18851
18852 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
18853
18854 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18855 Unconditionally set __fpcr to avoid uninialized warning.
18856 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18857
18858 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18859
18860 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18861 is corrupt.
18862
18863 * malloc/arena.c (arena_get2): Drop unused argument.
18864 (arena_lock): Adjust.
18865 (arena_get_retry): Likewise.
18866
18867 2015-08-24 Andreas Schwab <schwab@suse.de>
18868
18869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18870 Don't define.
18871 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18872 (__ASSUME_IPC64): Don't undef.
18873 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18874 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18875 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18876 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18877 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18878 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18879 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18880 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18881 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18882 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18883 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18884 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18885 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18886 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18887 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18888 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18889 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18890 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18891 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18892 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18893 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18894
18895 2015-08-21 Mike Frysinger <vapier@gentoo.org>
18896
18897 * manual/Makefile (install): Only build manual when perl is available.
18898
18899 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18900
18901 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18902 '#undef memcpy' by '#undef memchr'.
18903
18904 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18905
18906 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18907 memchr not point to the internal __GI_memchr implementation.
18908
18909 2015-08-20 Joseph Myers <joseph@codesourcery.com>
18910
18911 * timezone/Makefile (CFLAGS-zdump.c): Remove
18912 -Wno-strict-prototypes.
18913 (CFLAGS-zic.c): Likewise.
18914 (CFLAGS-ialloc.c): Likewise.
18915 (CFLAGS-scheck.c): Likewise.
18916
18917 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18918 -Wno-error=undef.
18919
18920 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
18921
18922 * i386/i686/multiarch/strcasestr-c.c: Removed.
18923 * x86_64/multiarch/strcasestr.c: Likewise.
18924 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18925 Remove strcasestr.
18926
18927 2015-08-20 Joseph Myers <joseph@codesourcery.com>
18928
18929 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18930
18931 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18932 variables for high and low parts before possibly modifying them.
18933
18934 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
18935
18936 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18937 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18938 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18939 of "multiarch/init-arch.h".
18940 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18941 * sysdeps/x86/init-arch.h: This.
18942
18943 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18946 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18947
18948 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
18949
18950 [BZ #17787]
18951 * manual/macros.texi: Add twoexp macro.
18952 * manual/filesys.texi: Fix exponents.
18953 * manual/llio.texi: Likewise.
18954 * manual/stdio.texi: Likewise.
18955
18956 2015-08-20 Florian Weimer <fweimer@redhat.com>
18957
18958 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18959 incorrect use.
18960
18961 2015-08-19 Joseph Myers <joseph@codesourcery.com>
18962
18963 [BZ #18370]
18964 * math/s_csqrt.c (__csqrt): Force underflow exception for results
18965 whose real or imaginary part has small absolute value.
18966 * math/s_csqrtf.c (__csqrtf): Likewise.
18967 * math/s_csqrtl.c (__csqrtl): Likewise.
18968 * math/auto-libm-test-in: Add more tests of csqrt.
18969 * math/auto-libm-test-out: Regenerated.
18970 * sysdeps/i386/fpu/libm-test-ulps: Update.
18971
18972 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18973
18974 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18975 __ppc_set_ppr_very_low): New functions.
18976 * manual/platform.texi: Add documentation about
18977 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18978
18979 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
18980
18981 * string/stpncpy.c (stpncpy): Improve performance using
18982 __strnlen/memcpy/memset.
18983
18984 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
18985
18986 [BZ #18796]
18987 * scripts/test-installation.pl: Don't add -lmvec to build options if
18988 libmvec wasn't built.
18989
18990 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
18991
18992 [BZ #14341]
18993 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18994 case when there is a gap between DT_REL and DT_JMPREL sections.
18995 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18996 (LDFLAGS-tst-split-dynreloc): New.
18997 (tst-split-dynreloc-ENV): Likewise.
18998 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18999 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19000
19001 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 [BZ #18822]
19004 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19005 attribute_hidden.
19006 (__xstat64_conv): Likewise.
19007 (__xstat32_conv): Likewise.
19008
19009 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 [BZ #18822]
19012 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19013 Don't load %ebx when calling __setcontext. Call __setcontext
19014 with HIDDEN_JUMPTARGET.
19015 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19016 libc_hidden_def.
19017
19018 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * sysdeps/i386/i686/Makefile
19021 [$(subdir) == string] (sysdep_routines): Moved to ...
19022 * sysdeps/i386/Makefile: Here.
19023 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19024 * sysdeps/i386/cacheinfo.c: Here.
19025 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19026 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19027 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19028 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19029
19030 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19033 __i586__ is defined.
19034 (HAS_I686): Defined to 1 if __i686__ is defined.
19035
19036 2015-08-19 Joseph Myers <joseph@codesourcery.com>
19037
19038 * elf/Makefile [$(have-z-execstack) = yes]
19039 (CPPFLAGS-tst-execstack.c): New variable.
19040
19041 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19042 conditional to [defined UTMPX || _HAVE_UT_TYPE].
19043 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19044 UTMPX || _HAVE_UT_TV].
19045 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19046 UTMPX || _HAVE_UT_TV - 0].
19047
19048 2015-08-18 Joseph Myers <joseph@codesourcery.com>
19049
19050 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19051 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19052 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19053
19054 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19055
19056 * sysdeps/powerpc/dl-procinfo.c:
19057 (_dl_powerpc_cap_flags): Added missing strings for some
19058 hwcap features.
19059 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19060
19061 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
19062
19063 Port the 0x7efe...feff pattern to GCC 6.
19064 See Steve Ellcey's bug report in:
19065 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19066 * string/memrchr.c (MEMRCHR):
19067 * string/rawmemchr.c (RAWMEMCHR):
19068 * string/strchr.c (strchr):
19069 * string/strchrnul.c (STRCHRNUL):
19070 Rewrite code to avoid issues with signed shift overflow.
19071
19072 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
19073
19074 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19075 whether cpuid is available only if HAS_CPUID is 0.
19076 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19077 (HAS_I586): Likewise.
19078 (HAS_I686): Likewise.
19079
19080 2015-08-18 Zack Weinberg <zackw@panix.com>
19081
19082 * misc/Versions (libc): Add GLIBC_2.23.
19083
19084 2015-08-18 Alan Modra <amodra@gmail.com>
19085
19086 [BZ #18421]
19087 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19088 .Lp__global.
19089 (_start): Load %dp via .Lp__global.
19090 [!SHARED]: Use .section .rodata.
19091
19092 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19093
19094 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19095 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19096
19097 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19098
19099 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19100 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19101
19102 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19103
19104 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19105 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19106
19107 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19108
19109 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19110 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19111
19112 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19113
19114 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19115 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19116
19117 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19118
19119 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19120 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19121
19122 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19123
19124 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19125
19126 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19127
19128 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19129 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
19130 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19131 (__ASSUME_LWS_CAS): Delete.
19132
19133 2015-08-18 Mike Frysinger <vapier@gentoo.org>
19134
19135 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19136 * sysdeps/hppa/configure: Regenerated.
19137 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19138 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19139 * sysdeps/hppa/nptl/tls.h: Likewise.
19140
19141 2015-08-17 Joseph Myers <joseph@codesourcery.com>
19142
19143 [BZ #18823]
19144 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19145 for scaling up small arguments.
19146 * math/s_csqrtf.c (__csqrtf): Likewise.
19147 * math/s_csqrtl.c (__csqrtl): Likewise.
19148 * math/auto-libm-test-in: Add more tests of csqrt.
19149 * math/auto-libm-test-out: Regenerated.
19150
19151 2015-08-17 Andreas Schwab <schwab@suse.de>
19152
19153 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19154 version set GLIBC_2.19.
19155
19156 2015-08-16 Zack Weinberg <zackw@panix.com>
19157
19158 [BZ #18681]
19159 * misc/regexp.h: This interface is no longer supported.
19160 Remove all contents, leaving only an #error directive.
19161 * misc/regexp.c (loc1, loc2, locs, step, advance):
19162 Demote to compatibility symbols.
19163
19164 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
19165
19166 [BZ #18084]
19167 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19168 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19169 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19170 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19171 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19172 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19173 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19174 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19175 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19176
19177 2015-08-15 Zack Weinberg <zackw@panix.com>
19178
19179 [BZ #18795]
19180 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19181 buffer length is known to be too large, not if it's known to be
19182 small enough.
19183 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19184 overflow at runtime, involving a length parameter, twice: once
19185 with a compile-time constant length parameter, once without.
19186
19187 2015-08-14 Joseph Myers <joseph@codesourcery.com>
19188
19189 [BZ #18824]
19190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19191 scaling x * y up instead of down.
19192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19194 * math/auto-libm-test-in: Add more tests of fma.
19195 * math/auto-libm-test-out: Regenerated.
19196
19197 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
19198
19199 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19200
19201 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19202
19203 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19204 unnecessary movq.
19205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19206 Likewise.
19207
19208 2015-08-13 Joseph Myers <joseph@codesourcery.com>
19209
19210 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19211 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19212 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19213 and tgamma.
19214 * math/auto-libm-test-out: Regenerated.
19215 * sysdeps/i386/fpu/libm-test-ulps: Update.
19216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217
19218 [BZ #16520]
19219 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19220 (__tanh): Force underflow exception for arguments with small
19221 absolute value.
19222 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19223 (__tanhf): Force underflow exception for arguments with small
19224 absolute value.
19225 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19226 (__tanhl): Force underflow exception for arguments with small
19227 absolute value.
19228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19229 (__tanhl): Force underflow exception for arguments with small
19230 absolute value.
19231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19232 (__tanhl): Force underflow exception for arguments with small
19233 absolute value.
19234 * math/auto-libm-test-in: Add more tests of tanh.
19235 * math/auto-libm-test-out: Regenerated.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237
19238 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19239
19240 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19241 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19242
19243 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19246 <cpuid.h>.
19247
19248 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19249
19250 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19251 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19252
19253 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19254
19255 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19256 Remove $(objpfx)init-arch.o.
19257 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19258 init-arch.
19259 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19260 (INIT_ARCH_EXT): Defined as empty.
19261 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19262 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19263 __init_cpu_features call. Replace HAS_XXX with
19264 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19265 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19268 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19270 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19271 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19272 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19273 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19274 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19277 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19282 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19283 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19284 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19285 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19286 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19287 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19288 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19289 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19290 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19291 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19292 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19293 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19294 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19295 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19296 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19297 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19298 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19299 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19300
19301 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19302
19303 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19304 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19305 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19306 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19307 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19308 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19309 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19310 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19311 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19312 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19313 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19314 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
19315 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19346
19347 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19348
19349 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19350 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19351 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19353 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19354 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19356 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19357 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19360 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19361 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19362 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19365 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19366 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19367 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19368 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19370 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19371 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19372 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19373 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19374 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19375 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19376 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
19377 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19378 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19379 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19380 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19382 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19383 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19384 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19385 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19386 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19387 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19388 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19389 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19390 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19391 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19392
19393 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
19394
19395 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19396 (dl_platform_init): Call init_cpu_features.
19397 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19398 * sysdeps/i386/i686/cacheinfo.c
19399 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19400 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19401 * sysdeps/i386/i686/multiarch/Versions: Removed.
19402 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19403 Removed.
19404 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19405 * sysdeps/unix/sysv/linux/x86/Makefile
19406 (libpthread-sysdep_routines): Remove init-arch.
19407 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19408 <sysdeps/x86_64/dl-procinfo.c> instead of
19409 sysdeps/generic/dl-procinfo.c>.
19410 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19411 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19412 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19413 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19414 [$(subdir) == elf] (tests-static): Add
19415 tst-get-cpu-features-static.
19416 * sysdeps/x86/Versions: New file.
19417 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19418 * sysdeps/x86/cpu-features.c: Likewise.
19419 * sysdeps/x86/cpu-features.h: Likewise.
19420 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19421 * sysdeps/x86/libc-start.c: Likewise.
19422 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19423 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19424 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19425 * sysdeps/x86_64/dl-procinfo.c: Likewise.
19426 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19427 Assume USE_MULTIARCH is defined and don't check it.
19428 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19429 (is_amd): Likewise.
19430 (max_cpuid): Likewise.
19431 (intel_check_word): Likewise.
19432 (__cache_sysconf): Don't call __init_cpu_features.
19433 (__x86_preferred_memory_instruction): Removed.
19434 (init_cacheinfo): Don't call __init_cpu_features. Replace
19435 __cpu_features with GLRO(dl_x86_cpu_features).
19436 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19437 (dl_platform_init): Call init_cpu_features.
19438 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19439 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19440 * sysdeps/x86_64/multiarch/Versions: Removed.
19441 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19442 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19443 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19444 Removed.
19445 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19446
19447 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19448
19449 [BZ #18820]
19450 * libio/Makefile (test-fmemopen-mem): New test.
19451 * libio/test-fmemopen.c (do_bz18820): New test.
19452 * libio/fmemopen.c (__fmemopen): Fix memory leak.
19453 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19454
19455 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19456
19457 [BZ #16734]
19458 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19459 (FREE_BUF): Delete.
19460 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19461 * libio/genops.c (_IO_setb): Use malloc and free directly.
19462 (_IO_default_doallocate, _IO_default_finish): Likewise.
19463 ( _IO_unbuffer_all): Likewise.
19464 ( libc_freeres_fn): Likewise.
19465 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19466 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19467 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19468 (_IO_wdefault_doallocate): Likewise.
19469
19470 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19471
19472 [BZ #18086]
19473 * sysdeps/posix/nice.c (nice): Restore old errno.
19474 * posix/tst-nice.c (do_test): Add test for BZ #18086.
19475
19476 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
19477
19478 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19479
19480 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19481
19482 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19483 __bcopy and add a weak_alias to bcopy.
19484 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19485 for static build.
19486
19487 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19488 cleanup macro usage.
19489 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19490 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19491 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19495 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19496 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19497 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19500 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19502 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19505 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19506 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19507 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19508
19509 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19510 libc_hidden_def.
19511 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19512
19513 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19514 (sysdep_routines): Add strstr-ppc64.
19515 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19516
19517 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
19518
19519 [BZ #18778]
19520 * elf/Makefile (tests): Add Add tst-nodelete2.
19521 (modules-names): Add tst-nodelete2mod.
19522 (tst-nodelete2mod.so-no-z-defs): New.
19523 ($(objpfx)tst-nodelete2): Likewise.
19524 ($(objpfx)tst-nodelete2.out): Likewise.
19525 (LDFLAGS-tst-nodelete2): Likewise.
19526 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19527 out of loop through all loaded libraries.
19528 * elf/tst-nodelete2.c: New file.
19529 * elf/tst-nodelete2mod.c: Likewise.
19530 * elf/tst-znodelete-zlib.cc: Delete.
19531
19532 2015-08-11 Andreas Schwab <schwab@suse.de>
19533
19534 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19535 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19536 (__openat64_nocancel): Likewise.
19537
19538 2015-08-11 Joseph Myers <joseph@codesourcery.com>
19539
19540 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19541 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19542 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19543 * math/auto-libm-test-out: Regenerated.
19544 * sysdeps/i386/fpu/libm-test-ulps: Update.
19545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19546
19547 2015-08-10 Joseph Myers <joseph@codesourcery.com>
19548
19549 [BZ #18790]
19550 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19551 threshold for returning +/- 1.
19552 * math/auto-libm-test-in: Add more tests of tanh.
19553 * math/auto-libm-test-out: Regenerated.
19554 * sysdeps/i386/fpu/libm-test-ulps: Update.
19555
19556 2015-08-10 Andreas Schwab <schwab@suse.de>
19557
19558 [BZ #18781]
19559 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19560 MORE_OFLAGS to oflag.
19561 * io/test-lfs.c (do_test): Test openat64.
19562
19563 2015-08-10 Joseph Myers <joseph@codesourcery.com>
19564
19565 [BZ #18789]
19566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19567 smaller threshold for returning the argument.
19568 * math/auto-libm-test-in: Add more tests of sinh.
19569 * math/auto-libm-test-out: Regenerated.
19570 * sysdeps/i386/fpu/libm-test-ulps: Update.
19571
19572 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 [BZ #18674]
19575 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19576 break.
19577
19578 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
19579
19580 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19581 (generated): Don't add $(addprefix z.,$(tzfiles)).
19582
19583 2015-08-09 Mike Frysinger <vapier@gentoo.org>
19584
19585 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19586 * scripts/sysd-rules.awk: Likewise.
19587
19588 2015-08-09 Mike Frysinger <vapier@gentoo.org>
19589
19590 * iconvdata/tst-tables.sh: Change echo -n to printf.
19591 * nss/db-Makefile: Likewise.
19592 * posix/tst-getconf.sh: Likewise.
19593 * stdio-common/tst-unbputc.sh: Likewise.
19594
19595 2015-08-09 Mike Frysinger <vapier@gentoo.org>
19596
19597 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19598 MADV_*_PAGES defines behind this feature check.
19599
19600 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
19601
19602 [BZ #18480]
19603 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19604 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19605 Define.
19606 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19607 LOAD_REGS_5, LOAD_REGS_6): Update.
19608 (INTERNAL_SYSCALL): Update using new LOAD defines.
19609 (INTERNAL_SYSCALL_NCS): Likewise.
19610 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19611
19612 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19613
19614 [BZ #16734]
19615 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19616
19617 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19618
19619 [BZ #17905]
19620 * catgets/Makefile (tst-catgets-mem): New test.
19621 * catgets/catgets.c (catopen): Don't use unbounded alloca.
19622 * catgets/open_catalog.c (__open_catalog): Likewise.
19623 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19624
19625 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
19626
19627 [BZ #18787]
19628 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19629 clobber registers.
19630 (atomic_compare_and_exchange_val_acq): Use register asms to assign
19631 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
19632 Cast return to __typeof (oldval).
19633
19634 2015-08-08 Mike Frysinger <vapier@gentoo.org>
19635
19636 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19637 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
19638 and delete sys/syscall.h include.
19639
19640 2015-08-07 Joseph Myers <joseph@codesourcery.com>
19641
19642 [BZ #16517]
19643 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19644 (tan): Force underflow exception for arguments with small absolute
19645 value.
19646 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19647 (__kernel_tanf): Force underflow exception for arguments with
19648 small absolute value.
19649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19650 (__kernel_tanl): Force underflow exception for arguments with
19651 small absolute value.
19652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19653 (__kernel_tanl): Force underflow exception for arguments with
19654 small absolute value.
19655 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19656 (__kernel_tanl): Force underflow exception for arguments with
19657 small absolute value.
19658 * math/auto-libm-test-in: Add more tests of tan.
19659 * math/auto-libm-test-out: Regenerated.
19660
19661 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
19662
19663 Fix sysdeps/i386/fpu/s_scalbn.S build
19664
19665 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19666
19667 2015-08-07 Mike Frysinger <vapier@gentoo.org>
19668
19669 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19670
19671 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
19672
19673 Fix gcrt0.o compilation
19674
19675 When static-start-installed-name is different from
19676 start-installed-name, we must not use the shared objects.
19677
19678 * csu/Makefile
19679 (extra-objs): Add gmon-start.o when building shared library and
19680 $(static-start-installed-name) is different from
19681 $(start-installed-name).
19682 $(objpfx)g$(static-start-installed-name): When building shared
19683 library and $(static-start-installed-name) is different from
19684 $(static-start-installed-name), revert to non-shared rule,
19685 i.e. using $(objpfx)% and gmon-start.o.
19686
19687 2015-08-06 Joseph Myers <joseph@codesourcery.com>
19688
19689 [BZ #16519]
19690 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19691 (__ieee754_sinh): Force underflow exception for arguments with
19692 small absolute value.
19693 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19694 (__ieee754_sinhf): Force underflow exception for arguments with
19695 small absolute value.
19696 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19697 (__ieee754_sinhl): Force underflow exception for arguments with
19698 small absolute value.
19699 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19700 (__ieee754_sinhl): Force underflow exception for arguments with
19701 small absolute value.
19702 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19703 (__ieee754_sinhl): Force underflow exception for arguments with
19704 small absolute value.
19705 * math/auto-libm-test-in: Add more tests of sinh.
19706 * math/auto-libm-test-out: Regenerated.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708
19709 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19710
19711 * libio/oldfileops.c: Include unistd.h.
19712
19713 2015-08-06 Mike Frysinger <vapier@gentoo.org>
19714
19715 * stdlib/isomac.c: Include ctype.h.
19716
19717 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
19718
19719 * dirent/tst-seekdir.c (main): Converted to ...
19720 (do_test): ... this.
19721 (TEST_FUNCTION): New macro.
19722 Include test-skeleton.c.
19723 * elf/tst-dlmodcount.c (main): Converted to ...
19724 (do_test): ... this.
19725 (TEST_FUNCTION): New macro.
19726 Include test-skeleton.c.
19727 * elf/tst-order-main.c (main): Converted to ...
19728 (do_test): ... this.
19729 (TEST_FUNCTION): New macro.
19730 Include test-skeleton.c.
19731 * elf/tst-pie2.c (main): Converted to ...
19732 (do_test): ... this.
19733 (TEST_FUNCTION): New macro.
19734 Include test-skeleton.c.
19735 * inet/tst-ether_aton.c (main): Converted to ...
19736 (do_test): ... this.
19737 (TEST_FUNCTION): New macro.
19738 Include test-skeleton.c.
19739 * misc/tst-mntent.c (main): Converted to ...
19740 (do_test): ... this.
19741 (TEST_FUNCTION): New macro.
19742 Include test-skeleton.c.
19743 * misc/tst-tsearch.c (main): Converted to ...
19744 (do_test): ... this.
19745 (TEST_FUNCTION): New macro.
19746 Include test-skeleton.c.
19747 * posix/tst-regexloc.c (main): Converted to ...
19748 (do_test): ... this.
19749 (TEST_FUNCTION): New macro.
19750 Include test-skeleton.c.
19751 * resolv/tst-aton.c (main): Converted to ...
19752 (do_test): ... this.
19753 (TEST_FUNCTION): New macro.
19754 Include test-skeleton.c.
19755 * stdio-common/test-fwrite.c (main): Converted to ...
19756 (do_test): ... this.
19757 (TEST_FUNCTION): New macro.
19758 Include test-skeleton.c.
19759 * stdio-common/tst-ferror.c (main): Converted to ...
19760 (do_test): ... this.
19761 (TEST_FUNCTION): New macro.
19762 Include test-skeleton.c.
19763 * stdio-common/tst-printf.c (main): Converted to ...
19764 (do_test): ... this.
19765 (TEST_FUNCTION): New macro.
19766 Include test-skeleton.c.
19767 * stdio-common/tst-printfsz.c (main): Converted to ...
19768 (do_test): ... this.
19769 (TEST_FUNCTION): New macro.
19770 Include test-skeleton.c.
19771 * stdlib/tst-strtod.c (main): Converted to ...
19772 (do_test): ... this.
19773 (TEST_FUNCTION): New macro.
19774 Include test-skeleton.c.
19775 * string/tst-strlen.c (main): Converted to ...
19776 (do_test): ... this.
19777 (TEST_FUNCTION): New macro.
19778 Include test-skeleton.c.
19779 * string/tst-svc.c (main): Converted to ...
19780 (do_test): ... this.
19781 (TEST_FUNCTION): New macro.
19782 Include test-skeleton.c.
19783 * time/tst-strptime.c (main): Converted to ...
19784 (do_test): ... this.
19785 (TEST_FUNCTION): New macro.
19786 Include test-skeleton.c.
19787 * timezone/tst-timezone.c (main): Converted to ...
19788 (do_test): ... this.
19789 (TEST_FUNCTION): New macro.
19790 Include test-skeleton.c.
19791
19792 2015-08-05 Zack Weinberg <zackw@panix.com>
19793
19794 * misc/regexp.h: Update comments.
19795
19796 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
19797
19798 [BZ #18635]
19799 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19800 before return label.
19801
19802 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
19803
19804 [BZ #18661]
19805 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19806 when calling __errno_location.
19807 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19808 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19809
19810 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
19811
19812 [BZ #18661]
19813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19814 (__lll_timedwait_tid): Align stack to 16 bytes when calling
19815 __gettimeofday.
19816
19817 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
19818
19819 [BZ #18661]
19820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19821 (__start_context): Don't use pop to restore %rdi so that stack
19822 is aligned to 16 bytes when calling __setcontext.
19823
19824 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
19825
19826 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19827 only for libc.
19828 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19829
19830 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
19831
19832 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19833 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
19834 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19835
19836 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
19837
19838 * string/memccpy.c (memccpy):
19839 Improve performance by using memchr/memcpy/__mempcpy.
19840
19841 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
19842
19843 * string/strncpy.c (strncpy):
19844 Improve performance by using __strnlen/memcpy.
19845
19846 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
19847
19848 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19849 Optimize to avoid an unnecessary FPCR read.
19850
19851 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
19852
19853 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19854 Optimize to reduce FPCR/FPSR accesses.
19855
19856 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
19857
19858 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19859 dead->data[category] != NULL.
19860
19861 2015-08-05 Joseph Myers <joseph@codesourcery.com>
19862
19863 [BZ #18647]
19864 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19865 and |x| close to 1, use absolute value of x when computing log.
19866 * math/auto-libm-test-in: Add more tests of pow.
19867 * math/auto-libm-test-out: Regenerated.
19868
19869 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19870
19871 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19872 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19873 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19874
19875 2015-08-05 Marko Myllynen <myllynen@redhat.com>
19876
19877 [BZ #18525]
19878 * locales/km_KH: Remove timezone definition.
19879 * locales/lo_LA: Likewise.
19880 * locales/my_MM: Likewise.
19881 * locales/nan_TW@latin: Likewise.
19882 * locales/th_TH: Likewise.
19883 * locales/uk_UA: Likewise.
19884
19885 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
19886
19887 [BZ #18265]
19888 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19889 (wcsncat): Likewise.
19890 (wcscmp): Likewise.
19891 (wcsncmp): Likewise.
19892
19893 2015-08-05 Mike Frysinger <vapier@gentoo.org>
19894
19895 * test-skeleton.c (usage): New function.
19896 (main): Call usage when opt is '?'.
19897
19898 2015-08-05 Mike Frysinger <vapier@gentoo.org>
19899
19900 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19901 before first use.
19902
19903 2015-08-05 Mike Frysinger <vapier@gentoo.org>
19904
19905 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19906 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
19907 in there too.
19908
19909 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
19910
19911 * version.h (RELEASE): Set to "development".
19912 (VERSION): Set to "2.22.90"
19913
19914 * version.h (RELEASE): Set to "stable".
19915 (VERSION): Set to "2.22"
19916 * include/features.h (__GLIBC_MINOR__): Set to 22.
19917
19918 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
19919
19920 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19921 Restructure macro to avoid "value computed is not used" warning.
19922 (atomic_compare_and_exchange_val_acq): Likewise.
19923
19924 2015-08-04 Andreas Schwab <schwab@suse.de>
19925
19926 [BZ #18635]
19927 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19928 ret.
19929 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19930
19931 2015-08-01 Carlos O'Donell <carlos@redhat.com>
19932
19933 * po/pl.po: Updated translation.
19934 * po/uk.po: Likewise.
19935 * po/fi.po: Likewise.
19936 * po/ko.po: Likewise.
19937 * po/ru.po: Likewise.
19938 * po/vi.po: Likewise.
19939
19940 2015-07-31 Zack Weinberg <zackw@panix.com>
19941
19942 [BZ #18681]
19943 * regexp.h: Add unconditional #warning stating that this header
19944 will be removed soon. Revise banner comment to match.
19945 (compile): Consistently use ERROR instead of RETURN to report
19946 errors (partial fix for bz#18681).
19947 * regexp.c: Don't include regexp.h. Remove some unnecessary
19948 declarations.
19949
19950 2015-07-31 Carlos O'Donell <carlos@redhat.com>
19951
19952 * po/libc.pot: Regenerated.
19953
19954 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
19955
19956 [BZ #18740]
19957 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19958 float-vlen4-arch-ext-cflags): Removed.
19959 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19960 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19961
19962 2015-07-30 Mike Frysinger <vapier@gentoo.org>
19963
19964 [BZ #14113]
19965 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19966 aligned to __aligned__.
19967 (pthread_cond_t, pthread_rwlock_t): Likewise.
19968
19969 2015-07-30 Torvald Riegel <triegel@redhat.com>
19970
19971 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19972
19973 2015-07-30 Mike Frysinger <vapier@gentoo.org>
19974
19975 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19976 (struct sigaction): Change sa_flags from a long to an int, and add
19977 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19978
19979 2015-07-30 Mike Frysinger <vapier@gentoo.org>
19980
19981 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19982 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19983 sysdeps/generic/sysdep.h include.
19984 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19985 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
19986 sysdeps/hppa/sysdep.h.
19987 (ENTRY, PSEUDO): Undefine before defining.
19988
19989 2015-07-30 Mike Frysinger <vapier@gentoo.org>
19990
19991 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19992 from scratch to use INTERNAL_SYSCALL.
19993
19994 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
19995
19996 [BZ #18078]
19997 * scripts/check-localplt.awk: Support alternate relocations.
19998 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19999 sections.
20000 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20001 malloc entries with + REL R_386_GLOB_DAT.
20002 * sysdeps/x86_64/localplt.data: New file.
20003
20004 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
20005
20006 [BZ #18731]
20007 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20008 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20009 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20010
20011 2015-07-27 Mike Frysinger <vapier@gentoo.org>
20012
20013 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20014
20015 2015-07-27 Mike Frysinger <vapier@gentoo.org>
20016
20017 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20018 directly in terms of __sync_fetch_and_add and delete (int) cast.
20019
20020 2015-07-27 Mike Frysinger <vapier@gentoo.org>
20021
20022 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20023 the -D_ASM_IA64_CURRENT_H flag.
20024
20025 2015-07-27 Mike Frysinger <vapier@gentoo.org>
20026
20027 [BZ #18641]
20028 * pwd/pwd.h (putpwent): Delete __nonnull markings.
20029
20030 2015-07-27 Andreas Schwab <schwab@suse.de>
20031
20032 * conform/conformtest.pl (checknamespace): Filter out string
20033 literals while tokenizing.
20034
20035 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
20036
20037 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20038 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20039 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20040
20041 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
20042
20043 * nptl/tst-join7mod.c: Add #include <string.h>.
20044
20045 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
20046
20047 * sysdeps/nios2/libm-test-ulps: Update.
20048
20049 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
20050
20051 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20052 Fix order of arguments to the rt_sigprocmask syscall.
20053 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20054 Likewise.
20055
20056 2015-07-24 Roland McGrath <roland@hack.frob.com>
20057
20058 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20059
20060 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20061
20062 [BZ #18457]
20063 * nptl/Makefile (tests): New test case tst-join7.
20064 (modules-names): New test case module tst-join7mod.
20065 * nptl/tst-join7.c: New file.
20066 * nptl/tst-join7mod.c: New file.
20067 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20068 all translation units in libc.so, libpthread.so and rtld.
20069
20070 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20071
20072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20073
20074 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
20075
20076 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20078 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20079 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20080 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20082 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20083 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20084 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20085 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20086 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20087 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20088 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20089 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20090 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20091 implementation.
20092
20093 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20094
20095 [BZ #17711]
20096 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20097 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20098 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20099 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20100 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20101 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20102
20103 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20104
20105 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20106 instead of just saying load lock in the comments.
20107
20108 2015-07-23 Roland McGrath <roland@hack.frob.com>
20109
20110 * sysdeps/unix/Subdirs: Moved ...
20111 * sysdeps/posix/Subdirs: ... here.
20112 * login/pty.h (struct termios, struct winsize): Add forward decls.
20113 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20114 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20115 * sysdeps/arm/nacl/libc.abilist: Updated.
20116 * sysdeps/nacl/libutil.abilist: New file.
20117
20118 * bits/signum.h: Update comments to mention 1003.1-2013 too.
20119 (SIGWINCH): New macro.
20120
20121 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20122 * sysdeps/arm/nacl/libc.abilist: Add it.
20123
20124 2015-07-23 Mike Frysinger <vapier@gentoo.org>
20125
20126 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20127
20128 2015-07-23 Mike Frysinger <vapier@gentoo.org>
20129
20130 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20131 Swap __glibc_reserved0 and sa_flags order.
20132
20133 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20134
20135 [BZ #18657]
20136 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20137 are pending TLS destructor calls.
20138 * include/link.h (struct link_map): Add concurrency note for
20139 L_TLS_DTOR_COUNT.
20140 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20141 Don't touch the link map flag. Atomically increment
20142 l_tls_dtor_count.
20143 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20144 Avoid taking the load lock and don't touch the link map flag.
20145 * stdlib/tst-tls-atexit-nodelete.c: New test case.
20146 * stdlib/Makefile (tests): Use it.
20147 * stdlib/tst-tls-atexit.c (do_test): dlopen
20148 tst-tls-atexit-lib.so again before dlclose. Add conditionals
20149 to allow tst-tls-atexit-nodelete test case to use it.
20150
20151 2015-07-22 Mike Frysinger <vapier@gentoo.org>
20152
20153 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20154 to bits/types.h.
20155 (msgqnum_t): New typedef.
20156 (msglen_t): Likewise.
20157 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
20158 and msg_qbytes type to msglen_t.
20159
20160 2015-07-22 Mike Frysinger <vapier@gentoo.org>
20161
20162 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20163 pad0 to __glibc_reserved0.
20164 (struct stat64): Likewise.
20165
20166 2015-07-22 Mike Frysinger <vapier@gentoo.org>
20167
20168 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20169 Change sa_flags from a long to an int and add __glibc_reserved0 before
20170 it for padding.
20171
20172 2015-07-22 Mike Frysinger <vapier@gentoo.org>
20173
20174 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20175 anonymous by deleting "siginfo" name.
20176
20177 2015-07-21 Roland McGrath <roland@hack.frob.com>
20178
20179 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20180 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20181 rather than __nacl_irt_filename.
20182 * sysdeps/nacl/xstat.c (__xstat): Likewise.
20183
20184 * NEWS: New item for arm-nacl port.
20185 * sysdeps/arm/nacl/libc.abilist: New file.
20186 * sysdeps/nacl/ld.abilist: New file.
20187 * sysdeps/nacl/libBrokenLocale.abilist: New file.
20188 * sysdeps/nacl/libanl.abilist: New file.
20189 * sysdeps/nacl/libcrypt.abilist: New file.
20190 * sysdeps/nacl/libdl.abilist: New file.
20191 * sysdeps/nacl/libm.abilist: New file.
20192 * sysdeps/nacl/libpthread.abilist: New file.
20193 * sysdeps/nacl/libresolv.abilist: New file.
20194 * sysdeps/nacl/librt.abilist: New file.
20195
20196 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
20197
20198 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20199 __startcontext to initialize the new context.
20200 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20201 up CFI directive to forbid further backtracing.
20202
20203 2015-07-21 Marko Myllynen <myllynen@redhat.com>
20204
20205 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20206 reference.
20207 * charmaps/ANSI_X3.4-1968: Likewise.
20208 * charmaps/BS_4730: Likewise.
20209 * charmaps/BS_VIEWDATA: Likewise.
20210 * charmaps/CP1250: Likewise.
20211 * charmaps/CP1251: Likewise.
20212 * charmaps/CP1252: Likewise.
20213 * charmaps/CP1253: Likewise.
20214 * charmaps/CP1254: Likewise.
20215 * charmaps/CP1255: Likewise.
20216 * charmaps/CP1256: Likewise.
20217 * charmaps/CSN_369103: Likewise.
20218 * charmaps/EBCDIC-DK-NO: Likewise.
20219 * charmaps/GB_1988-80: Likewise.
20220 * charmaps/GREEK-CCITT: Likewise.
20221 * charmaps/GREEK7: Likewise.
20222 * charmaps/INIS-8: Likewise.
20223 * charmaps/ISIRI-3342: Likewise.
20224 * charmaps/ISO_2033-1983: Likewise.
20225 * charmaps/ISO_5427-EXT: Likewise.
20226 * locales/POSIX: Likewise.
20227 * locales/ar_SA: Likewise.
20228 * locales/be_BY: Likewise.
20229 * locales/be_BY@latin: Likewise.
20230 * locales/ca_ES: Likewise.
20231 * locales/cs_CZ: Likewise.
20232 * locales/da_DK: Likewise.
20233 * locales/de_BE: Likewise.
20234 * locales/de_CH: Likewise.
20235 * locales/de_LU: Likewise.
20236 * locales/en_AU: Likewise.
20237 * locales/en_BW: Likewise.
20238 * locales/en_CA: Likewise.
20239 * locales/en_DK: Likewise.
20240 * locales/en_GB: Likewise.
20241 * locales/en_IE: Likewise.
20242 * locales/en_NZ: Likewise.
20243 * locales/en_ZA: Likewise.
20244 * locales/en_ZW: Likewise.
20245 * locales/es_AR: Likewise.
20246 * locales/es_BO: Likewise.
20247 * locales/es_CL: Likewise.
20248 * locales/es_CO: Likewise.
20249 * locales/es_DO: Likewise.
20250 * locales/es_EC: Likewise.
20251 * locales/es_ES: Likewise.
20252 * locales/es_HN: Likewise.
20253 * locales/es_MX: Likewise.
20254 * locales/es_PA: Likewise.
20255 * locales/es_PE: Likewise.
20256 * locales/es_PY: Likewise.
20257 * locales/es_SV: Likewise.
20258 * locales/es_US: Likewise.
20259 * locales/es_UY: Likewise.
20260 * locales/es_VE: Likewise.
20261 * locales/et_EE: Likewise.
20262 * locales/fa_IR: Likewise.
20263 * locales/fo_FO: Likewise.
20264 * locales/fr_CA: Likewise.
20265 * locales/fr_CH: Likewise.
20266 * locales/gv_GB: Likewise.
20267 * locales/he_IL: Likewise.
20268 * locales/hr_HR: Likewise.
20269 * locales/id_ID: Likewise.
20270 * locales/is_IS: Likewise.
20271 * locales/it_CH: Likewise.
20272 * locales/iw_IL: Likewise.
20273 * locales/kl_GL: Likewise.
20274 * locales/ko_KR: Likewise.
20275 * locales/kw_GB: Likewise.
20276 * locales/lg_UG: Likewise.
20277 * locales/lt_LT: Likewise.
20278 * locales/lv_LV: Likewise.
20279 * locales/mi_NZ: Likewise.
20280 * locales/nhn_MX: Likewise.
20281 * locales/nl_BE: Likewise.
20282 * locales/pl_PL: Likewise.
20283 * locales/sk_SK: Likewise.
20284 * locales/sl_SI: Likewise.
20285 * locales/sv_FI: Likewise.
20286 * locales/tl_PH: Likewise.
20287 * locales/tr_TR: Likewise.
20288 * locales/vi_VN: Likewise.
20289
20290 2015-07-21 Khem Raj <raj.khem@gmail.com>
20291
20292 [BZ #17475]
20293 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20294 of tu_IN and bh_IN.
20295
20296 2015-07-21 Mike Frysinger <vapier@gentoo.org>
20297
20298 [BZ #18694]
20299 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20300 bits/wordsize.h.
20301 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20302
20303 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20304
20305 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20306 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20307 (spawn_thread): New function.
20308 (load): Rename to reg_dtor_and_close. Move dlopen to...
20309 (do_test): ... here. Use IS_LOADED to test for its
20310 availability.
20311
20312 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
20313
20314 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20315
20316 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 [BZ #18696]
20319 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20320 si_addr_bnd.
20321 (si_lower): New.
20322 (si_upper): Likewise.
20323
20324 2015-07-16 David S. Miller <davem@davemloft.net>
20325
20326 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20327
20328 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20329
20330 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20331 buffer.
20332 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20333 fail output information.
20334
20335 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20336
20337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20338 and strstr-ppc64..
20339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20340 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20341 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20342 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20343 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20344
20345 2015-07-16 Mike Frysinger <vapier@gentoo.org>
20346
20347 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20348 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20349 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20350 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20351
20352 2015-07-16 Mike Frysinger <vapier@gentoo.org>
20353
20354 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20355 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20356 rtld_hidden_proto.
20357 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20358
20359 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20360
20361 * tst-nodelete-opened.c (do_test): Add comment to clarify how
20362 the test can fail.
20363
20364 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20365
20366 [BZ #18676]
20367 * elf/tst-nodelete-opened.c: New test case.
20368 * elf/tst-nodelete-opened-lib.c: New test case module.
20369 * elf/Makefile (tests, modules-names): Use them.
20370 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20371 early.
20372
20373 2015-07-15 David S. Miller <davem@davemloft.net>
20374
20375 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20376 futex-intenal.h
20377 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20378 * sysdeps/sparc/sparc64/Makefile: Likewise.
20379 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20380 Remove space from macro define.
20381 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20382
20383 2015-07-15 Pravin Satpute <psatpute@redhat.com>
20384
20385 [BZ #17475]
20386 * locale/iso-639.def: Update Bhili and Tulu language codes as
20387 per iso639-3.
20388
20389 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
20390
20391 * elf/tst-leaks1.c (main): Converted to ...
20392 (do_test): ... this.
20393 (TEST_FUNCTION): New macro.
20394 Include test-skeleton.c.
20395 * localedata/tst-langinfo.c (main): Converted to ...
20396 (do_test): ... this.
20397 (TEST_FUNCTION): New macro.
20398 Include test-skeleton.c.
20399 * math/test-fpucw.c (main): Converted to ...
20400 (do_test): ... this.
20401 (TEST_FUNCTION): New macro.
20402 Include test-skeleton.c.
20403 * math/test-tgmath.c (main): Converted to ...
20404 (do_test): ... this.
20405 (TEST_FUNCTION): New macro.
20406 Include test-skeleton.c.
20407 * math/test-tgmath2.c (main): Converted to ...
20408 (do_test): ... this.
20409 (TEST_FUNCTION): New macro.
20410 Include test-skeleton.c.
20411 * setjmp/tst-setjmp.c (main): Converted to ...
20412 (do_test): ... this.
20413 (TEST_FUNCTION): New macro.
20414 Include test-skeleton.c.
20415 * stdio-common/tst-sscanf.c (main): Converted to ...
20416 (do_test): ... this.
20417 (TEST_FUNCTION): New macro.
20418 Include test-skeleton.c.
20419 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20420 (do_test): ... this.
20421 (TEST_FUNCTION): New macro.
20422 Include test-skeleton.c.
20423
20424 * elf/tst-audit9.c (main): Converted to ...
20425 (do_test): ... this.
20426 (TEST_FUNCTION): New macro.
20427 Include test-skeleton.c.
20428
20429 2015-07-15 Mike Frysinger <vapier@gentoo.org>
20430
20431 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20432
20433 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20434
20435 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20436 New variable.
20437
20438 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20439
20440 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20441
20442 2015-07-14 Roland McGrath <roland@hack.frob.com>
20443
20444 * sysdeps/generic/dl-fileid.h: New file.
20445 * sysdeps/posix/dl-fileid.h: New file.
20446 * sysdeps/nacl/dl-fileid.h: New file.
20447 * include/link.h: Include <dl-fileid.h>.
20448 (struct link_map): Replace l_dev and l_ino with l_file_id.
20449 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20450 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
20451 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
20452
20453 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20454
20455 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20456
20457 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20458
20459 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20460 Add iff $CXX is set.
20461 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20462 Likewise.
20463 (tst-nodelete-zmodiff): Likewise.
20464 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20465
20466 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20467
20468 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20469
20470 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
20471
20472 * sysdeps/aarch64/fpu/math_private.h
20473 (define math_opt_barrier): Add AArch64 version.
20474 (math_force_eval): Likewise.
20475
20476 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
20477
20478 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20479
20480 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
20481
20482 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20483 %ld with %jd and cast to intmax_t.
20484 (do_test_length_zero): Likewise.
20485
20486 2015-07-10 Roland McGrath <roland@hack.frob.com>
20487
20488 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20489
20490 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
20491
20492 * sysdeps/tile/libm-test-ulps: Regenerated.
20493
20494 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20495 Comment out the whole function, not just its body.
20496
20497 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20498
20499 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20500 locks.
20501
20502 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20503
20504 2015-07-10 Torvald Riegel <triegel@redhat.com>
20505
20506 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20507 (sem_assume_only_signals_cause_futex_EINTR): Remove.
20508
20509 2015-07-10 Torvald Riegel <triegel@redhat.com>
20510
20511 * sysdeps/nptl/futex-internal.h: New file.
20512 * sysdeps/nacl/futex-internal.h: New file.
20513 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20514 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20515 error checking.
20516 (setxid_unmark_thread): Likewise.
20517 (__nptl_setxid): Likewise.
20518 (__wait_lookup_done): Likewise.
20519 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20520 * nptl/nptl-init.c (sighandler_setxid): Likewise.
20521 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20522 * nptl/pthread_once.c (clear_once_control): Likewise.
20523 (__pthread_once_slow): Likewise.
20524 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20525 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20526 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20527 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20528 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20529 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20530 Likewise.
20531 (__pthread_rwlock_rdlock): Likewise.
20532 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20533 Likewise.
20534 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20535 Likewise.
20536 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20537 Likewise.
20538 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20539 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20540 Likewise.
20541 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20542 __ASSUME_PRIVATE_FUTEX check.
20543 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20544 Check that shared futexes are supported.
20545 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20546 wrappers with error checking.
20547 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20548 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20549 * nptl/pthread_barrierattr_setpshared.c
20550 (pthread_barrierattr_setpshared): Check that shared futexes are
20551 supported.
20552 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20553 Likewise.
20554 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20555 Likewise.
20556 * nptl/sem_init.c (futex_private_if_supported): Remove.
20557 (__new_sem_init): Adapt and check that shared futexes are supported.
20558 * nptl/sem_open.c (sem_open): Likewise.
20559 * nptl/sem_post.c (futex_wake): Remove.
20560 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20561 (do_futex_wait): Use futex wrappers with error checking.
20562 * nptl/sem_wait.c: Include lowlevellock.h.
20563 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20564 Use futex_supports_pshared.
20565 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20566 Use futex wrappers with error checking.
20567 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20568 Likewise.
20569 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20570 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20571 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20572 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20573 (futex_wake): Likewise.
20574 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20575 (do_futex_wait): Use futex wrappers with error checking.
20576 (__new_sem_wait_slow): Update EINTR handling.
20577 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20578
20579 2015-07-09 Martin Sebor <msebor@redhat.com>
20580
20581 [BZ #18435]
20582 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20583 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20584 * nptl/Makefile (test-xfail-tst-once5): Define.
20585
20586 2015-07-09 Roland McGrath <roland@hack.frob.com>
20587
20588 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20589 * elf/dl-minimal.c: For readability, reorder some definitions and
20590 introduce more page breaks. Include <stdio.h>.
20591 (__libc_fatal): New function.
20592
20593 * include/unistd.h: Add rtld_hidden_proto for _exit.
20594 * posix/_exit.c: Add rtld_hidden_def.
20595 * sysdeps/mach/hurd/_exit.c: Likewise.
20596 * sysdeps/nacl/_exit.c: Likewise.
20597 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20598 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20599
20600 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
20601
20602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20603 bndmov encoding with zero displacement.
20604
20605 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
20606 H.J. Lu <hongjiu.lu@intel.com>
20607
20608 [BZ #18134]
20609 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20610 * sysdeps/i386/configure: Regenerated.
20611 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20612 (_dl_runtime_profile): Save and restore Intel MPX return bound
20613 registers when calling _dl_call_pltexit. Add
20614 PRESERVE_BND_REGS_PREFIX before return.
20615 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20616 (LRV_BND1_OFFSET): Likewise.
20617 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20618 lrv_bnd1.
20619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20620 typo in bndmov encoding.
20621 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20622 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
20623 branch instructions to preserve bounds.
20624
20625 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20626
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20628 [GLIBC_2.22]: Add fmemopen.
20629
20630 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
20631
20632 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20633 returns an error, also try to use host port from __mach_host_self for
20634 the __vm_wire call.
20635 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20636
20637 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
20638
20639 [BZ #18400]
20640 [BZ #18648]
20641 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20642 Fix pr_uid and pr_gid members.
20643 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20644 definition to elf_greg_t.
20645
20646 2015-07-08 Roland McGrath <roland@hack.frob.com>
20647
20648 [BZ #18383]
20649 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20650 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20651 * sysdeps/arm/configure: Regenerated.
20652 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20653 (test-xfail-tst-tlsalign-static): Variable removed.
20654
20655 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20656 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20657 rather than explicit 'ln -s'.
20658
20659 * resolv/rpc/netdb.h: New file.
20660 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20661
20662 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20663
20664 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20665 length buffers.
20666 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20667 test-skeleton.c.
20668
20669 [BZ #6544]
20670 [BZ #11216]
20671 [BZ #12836]
20672 [BZ #13151]
20673 [BZ #13152]
20674 [BZ #14292]
20675 * include/stdio.h (fmemopen): Remove hidden prototype.
20676 (__fmemopen): Add new hidden prototype.
20677 * libio/Makefile: Add oldfmemopen object.
20678 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20679 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20680 compliance.
20681 * libio/oldfmemopen.c: New file: old fmemopen implementation for
20682 symbol compatibility.
20683 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20684 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20685 fmemopen.
20686 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20687 on append and read mode.
20688 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20689 fmemopen.
20690 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20691 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20692 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20693 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20694 Likewise.
20695 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20696 [GLIBC_2.22]: Likewise.
20697 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20698 Likewise.
20699 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20700 Likewise.
20701 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20702 [GLIBC_2.22]: Likewise.
20703 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20704 [GLIBC_2.22]: Likewise.
20705 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20706 [GLIBC_2.22]: Likewise.
20707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20708 [GLIBC_2.22]: Likewise.
20709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20710 [GLIBC_2.22]: Likewise.
20711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20712 [GLIBC_2.22]: Likewise.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20714 [GLIBC_2.22]: Likewise.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20716 Likewise.
20717 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20718 Likewise.
20719 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20720 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20721 [GLIBC_2.22]: Likewise.
20722 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20723 [GLIBC_2.22]: Likewise.
20724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20725 [GLIBC_2.22]: Likewise.
20726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20727 [GLIBC_2.22]: Likewise.
20728 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20729 Likewise.
20730 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20731 Likewise.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20733 Likewise.
20734 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20735 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20736
20737 2015-07-08 Carlos O'Donell <carlos@redhat.com>
20738
20739 [BZ #18643]
20740 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20741 IPV6_PATHMTU, and IPV6_DONTFRAG.
20742
20743 2015-07-08 Feng Gao <gfree.wind@gmail.com>
20744
20745 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20746 and _IO_UNBUFFERED.
20747 * libio/oldfileops.c: Likewise.
20748 * libio/wfileops.c: Likewise.
20749
20750 2015-07-08 Mike Frysinger <vapier@gentoo.org>
20751
20752 * nscd/selinux.c: Delete selinux/flask.h include.
20753
20754 2015-07-08 Mike Frysinger <vapier@gentoo.org>
20755
20756 [BZ #18641]
20757 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20758 (putpwent): Likewise.
20759 (getpwnam): Likewise.
20760 (getpwent_r): Likewise.
20761 (getpwuid_r): Likewise.
20762 (getpwnam_r): Likewise.
20763 (fgetpwent_r): Likewise.
20764
20765 2015-07-08 Carlos O'Donell <carlos@redhat.com>
20766
20767 [BZ #18557]
20768 * inet/rcmd.c (__validuser2_sa): Check user first to
20769 short-circuit host check.
20770
20771 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
20772 Mikhail Ilin <m.ilin@samsung.com>
20773
20774 [BZ #17833]
20775 * elf/Makefile (tests): Add tst-nodelete.
20776 (modules-names): Add tst-nodelete-uniquemod.
20777 (tst-nodelete-uniquemod.so-no-z-defs): New.
20778 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20779 (tst-nodelete-zmod.so-no-z-defs): Likewise.
20780 ($(objpfx)tst-nodelete): Likewise.
20781 ($(objpfx)tst-nodelete.out): Likewise.
20782 (LDFLAGS-tst-nodelete): Likewise.
20783 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20784 * elf/dl-close.c (_dl_close_worker): Add a parameter to
20785 implement forced object deletion.
20786 (_dl_close): Pass false to _dl_close_worker.
20787 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20788 * elf/tst-nodelete.cc: New file.
20789 * elf/tst-nodeletelib.cc: Likewise.
20790 * elf/tst-znodeletelib.cc: Likewise.
20791 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20792
20793 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
20794
20795 [BZ #18508]
20796 * stdlib/Makefile ($(objpfx)tst-makecontext3):
20797 Depend on $(libdl).
20798 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20799 is not called infinitely times.
20800 (backtrace_helper): New function.
20801 (trace_arg): New struct.
20802 (st1): Enlarge stack size.
20803 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20804 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20805 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20806 Likewise.
20807
20808 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
20809
20810 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20811
20812 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
20813
20814 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20815 Include sys/types.h instead of bits/types.h.
20816 Remove inclusion of bits/wordsize.h.
20817
20818 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20821 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20822 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20823 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20824 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20825 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20826
20827 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20830 link-defines.sym.
20831 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20832 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20833 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20834 and LR_SIZE.
20835 * sysdeps/i386/link-defines.sym: New file.
20836
20837 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
20838
20839 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20840 (modules-names): Add tst-auditmod3a tst-auditmod3b.
20841 ($(objpfx)tst-audit3): New rule.
20842 ($(objpfx)tst-audit3.out): Likewise.
20843 * sysdeps/i386/tst-audit3.c: New file.
20844 * sysdeps/i386/tst-audit3.h: Likewise.
20845 * sysdeps/i386/tst-auditmod3a.c: Likewise.
20846 * sysdeps/i386/tst-auditmod3b.c: Likewise.
20847
20848 2015-07-07 Torvald Riegel <triegel@redhat.com>
20849
20850 [BZ #18633]
20851 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20852 pointer in C code.
20853 (__strcat_c): Likewise.
20854 (__strcat_g): Likewise.
20855
20856 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
20857
20858 [BZ #18592]
20859 * misc/sbrk.c: Set errno to ENOMEM on overflow.
20860
20861 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
20862
20863 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20864 New function. (__ieee754_sqrtf): New function.
20865 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20866 New function.
20867 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20868 New function.
20869
20870 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
20871
20872 * sysdeps/ieee754/support.c: Remove unused file.
20873
20874 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
20875
20876 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20877 registers instead of d ones so the layout is kernel abi compatible.
20878 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20879 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20880 Likewise.
20881
20882 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
20883
20884 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20885
20886 2015-07-01 Joseph Myers <joseph@codesourcery.com>
20887
20888 [BZ #18619]
20889 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20890 and return argument in case of subnormal argument.
20891
20892 2015-07-01 Martin Sebor <msebor@redhat.com>
20893
20894 [BZ #18435]
20895 * nptl/Makefile: Add tst-once5.cc.
20896 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20897 Remove macro redefinitions.
20898 * nptl/tst-once5.cc: New test.
20899
20900 2015-07-01 Joseph Myers <joseph@codesourcery.com>
20901
20902 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20903
20904 * sysdeps/arm/libm-test-ulps: Regenerated.
20905
20906 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20907 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20908
20909 2015-06-30 Torvald Riegel <triegel@redhat.com>
20910
20911 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20912 lll_lock_wait_private and lll_futex_wake probes.
20913
20914 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20916 Likewise.
20917 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20918 atomic_spin_nop.
20919 * sysdeps/x86_64/bits/atomic.h: Likewise.
20920 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20921 to atomic_spin_nop and move ...
20922 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20923 ... here and ...
20924 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20925 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20926 atomic_spin_nop instead of BUSY_WAIT_NOP.
20927 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20928 Likewise.
20929 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20930 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20931 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20932 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20933 instead of atomic_delay.
20934
20935 2015-06-29 Joseph Myers <joseph@codesourcery.com>
20936
20937 [BZ #18613]
20938 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20939 X_ADJ not X when adjusting exponent.
20940 (__ieee754_gamma_r): Do intermediate computations in
20941 round-to-nearest then adjust overflowing and underflowing results
20942 as needed.
20943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20944 of X_ADJ not X when adjusting exponent.
20945 (__ieee754_gammaf_r): Do intermediate computations in
20946 round-to-nearest then adjust overflowing and underflowing results
20947 as needed.
20948 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20949 log of X_ADJ not X when adjusting exponent.
20950 (__ieee754_gammal_r): Do intermediate computations in
20951 round-to-nearest then adjust overflowing and underflowing results
20952 as needed. Use 1.0L not 1.0f as numerator of division.
20953 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20954 log of X_ADJ not X when adjusting exponent.
20955 (__ieee754_gammal_r): Do intermediate computations in
20956 round-to-nearest then adjust overflowing and underflowing results
20957 as needed. Use 1.0L not 1.0f as numerator of division.
20958 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20959 of X_ADJ not X when adjusting exponent.
20960 (__ieee754_gammal_r): Do intermediate computations in
20961 round-to-nearest then adjust overflowing and underflowing results
20962 as needed. Use 1.0L not 1.0f as numerator of division.
20963 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
20964 to auto-libm-test-in.
20965 (tgamma_test): Use ALL_RM_TEST.
20966 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
20967 tests of tgamma with spurious-overflow.
20968 * math/auto-libm-test-out: Regenerated.
20969 * math/gen-libm-have-vector-test.sh: Do not check for START.
20970 * sysdeps/i386/fpu/libm-test-ulps: Update.
20971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20972
20973 [BZ #18612]
20974 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20975 arguments, just return 0.5 times the argument, with underflow
20976 forced as needed.
20977 * math/auto-libm-test-in: Add more tests of j1.
20978 * math/auto-libm-test-out: Regenerated.
20979
20980 [BZ #16559]
20981 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20982 (__ieee754_j1): Force underflow exception for small results.
20983 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20984 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20985 (__ieee754_j1f): Force underflow exception for small results.
20986 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20987 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20989 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20990 (__ieee754_j1l): Force underflow exception for small results.
20991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20992 * math/auto-libm-test-in: Add more tests of j1 and jn.
20993 * math/auto-libm-test-out: Regenerated.
20994
20995 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20996 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20997 (PF_MPLS): Likewise.
20998 (AF_IB): Likewise.
20999 (AF_MPLS): Likewise.
21000 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21001 value and macro.
21002 (MS_RMT_MASK): Include MS_LAZYTIME.
21003
21004 2015-06-26 Mel Gorman <mgorman@suse.de>
21005
21006 [BZ #18502]
21007 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21008 already minimal.
21009
21010 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
21011
21012 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21013 (DT_MIPS_NUM): Update.
21014 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21015 DT_MIPS_RLD_MAP_REL.
21016
21017 2015-06-25 Joseph Myers <joseph@codesourcery.com>
21018
21019 [BZ #16559]
21020 [BZ #18602]
21021 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21022 round-to-nearest internally then recompute results that
21023 underflowed to zero in the original rounding mode.
21024 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21025 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21028 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21029 * sysdeps/i386/fpu/libm-test-ulps: Update.
21030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21031
21032 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
21033
21034 * NEWS: Fixed description of link with vector math library.
21035
21036 2015-06-25 Andreas Schwab <schwab@suse.de>
21037
21038 [BZ #18549]
21039 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21040 * libio/test-fmemopen.c (do_test): Add test for it.
21041
21042 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
21043
21044 [BZ #17841]
21045 * Makeconfig (no-pie-ldflag): New.
21046 (+link): Set to $(+link-pie) if default to PIE.
21047 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21048 * config.make.in (build-pie-default): New.
21049 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
21050 is default. AC_SUBST.
21051 * configure: Regenerated.
21052 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21053
21054 2015-06-24 Roland McGrath <roland@hack.frob.com>
21055
21056 * nptl/descr.h (struct pthread): Change type of field setxid_futex
21057 to 'unsigned int'.
21058
21059 * resolv/gai_misc.h (struct waitlist): Change type of field
21060 counterp to 'volatile unsigned int *'.
21061 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21062 FUTEXADDR and OLDVAL.
21063 * resolv/getaddrinfo_a.c (getaddrinfo_a):
21064 Give local variable TOTAL type 'volatile unsigned int'.
21065 (struct async_waitlist): Change type of field counter to 'unsigned int'.
21066 * resolv/gai_suspend.c (gai_suspend):
21067 Give local variable CNTR type 'unsigned int'.
21068
21069 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21070 counterp to 'volatile unsigned int *'.
21071 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21072 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21073 (aio_suspend): Give local variable CNTR type 'unsigned int'.
21074 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21075 Give local variable TOTAL type 'volatile unsigned int'.
21076 (struct async_waitlist): Change type of field counter to 'unsigned int'.
21077
21078 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
21079
21080 [BZ #18383]
21081 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21082 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
21083 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21084 comment for i386/x86-64.
21085 (test-xfail-tst-tlsalign-extern-static): Removed.
21086
21087 2015-06-24 Joseph Myers <joseph@codesourcery.com>
21088
21089 * math/test-double.h: New file.
21090 * math/test-float.h: Likewise.
21091 * math/test-ldouble.h: Likewise.
21092 * math/test-math-inline.h: Likewise.
21093 * math/test-math-no-inline.h: Likewise.
21094 * math/test-math-scalar.h: Likewise.
21095 * math/test-math-vector.h: Likewise.
21096 * math/test-vec-loop.h: Remove file. Contents moved into
21097 test-math-vector.h.
21098 * math/libm-test.inc (MATHCONST): Do not document macro.
21099 * math/test-double.c: Include test-double.h, test-math-no-inline.h
21100 and test-math-scalar.h.
21101 (FUNC): Remove macro.
21102 (FUNC_TEST): Likewise.
21103 (FLOAT): Likewise.
21104 (MATHCONST): Likewise.
21105 (PRINTF_EXPR): Likewise.
21106 (PRINTF_XEXPR): Likewise.
21107 (PRINTF_NEXPR): Likewise.
21108 (TEST_DOUBLE): Likewise.
21109 (TEST_MATHVEC): Likewise.
21110 (__NO_MATH_INLINES): Likewise.
21111 * math/test-float.c: Include test-float.h, test-math-no-inline.h
21112 and test-math-scalar.h.
21113 (FUNC): Remove macro.
21114 (FUNC_TEST): Likewise.
21115 (FLOAT): Likewise.
21116 (MATHCONST): Likewise.
21117 (PRINTF_EXPR): Likewise.
21118 (PRINTF_XEXPR): Likewise.
21119 (PRINTF_NEXPR): Likewise.
21120 (TEST_FLOAT): Likewise.
21121 (TEST_MATHVEC): Likewise.
21122 (__NO_MATH_INLINES): Likewise.
21123 * math/test-idouble.c: Include test-double.h, test-math-inline.h
21124 and test-math-scalar.h.
21125 (FUNC): Remove macro.
21126 (FUNC_TEST): Likewise.
21127 (FLOAT): Likewise.
21128 (MATHCONST): Likewise.
21129 (PRINTF_EXPR): Likewise.
21130 (PRINTF_XEXPR): Likewise.
21131 (PRINTF_NEXPR): Likewise.
21132 (TEST_DOUBLE): Likewise.
21133 (TEST_MATHVEC): Likewise.
21134 (TEST_INLINE): Likewise.
21135 (__NO_MATH_INLINES): Likewise.
21136 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21137 test-math-scalar.h.
21138 (FUNC): Remove macro.
21139 (FUNC_TEST): Likewise.
21140 (FLOAT): Likewise.
21141 (MATHCONST): Likewise.
21142 (PRINTF_EXPR): Likewise.
21143 (PRINTF_XEXPR): Likewise.
21144 (PRINTF_NEXPR): Likewise.
21145 (TEST_FLOAT): Likewise.
21146 (TEST_MATHVEC): Likewise.
21147 (TEST_INLINE): Likewise.
21148 (__NO_MATH_INLINES): Likewise.
21149 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21150 and test-math-scalar.h.
21151 (FUNC): Remove macro.
21152 (FUNC_TEST): Likewise.
21153 (FLOAT): Likewise.
21154 (MATHCONST): Likewise.
21155 (PRINTF_EXPR): Likewise.
21156 (PRINTF_XEXPR): Likewise.
21157 (PRINTF_NEXPR): Likewise.
21158 (TEST_LDOUBLE): Likewise.
21159 (TEST_MATHVEC): Likewise.
21160 (TEST_INLINE): Likewise.
21161 (__NO_MATH_INLINES): Likewise.
21162 * math/test-ldouble.c: Include test-ldouble.h,
21163 test-math-no-inline.h and test-math-scalar.h.
21164 (FUNC): Remove macro.
21165 (FUNC_TEST): Likewise.
21166 (FLOAT): Likewise.
21167 (MATHCONST): Likewise.
21168 (PRINTF_EXPR): Likewise.
21169 (PRINTF_XEXPR): Likewise.
21170 (PRINTF_NEXPR): Likewise.
21171 (TEST_LDOUBLE): Likewise.
21172 (TEST_MATHVEC): Likewise.
21173 (__NO_MATH_INLINES): Likewise.
21174 * math/test-double-vlen2.h: Include test-double.h,
21175 test-math-no-inline.h and test-math-vector.h.
21176 (FLOAT): Remove macro.
21177 (FUNC): Likewise.
21178 (MATHCONST): Likewise.
21179 (PRINTF_EXPR): Likewise.
21180 (PRINTF_XEXPR): Likewise.
21181 (PRINTF_NEXPR): Likewise.
21182 (TEST_DOUBLE): Likewise.
21183 (TEST_MATHVEC): Likewise.
21184 (__NO_MATH_INLINES): Likewise.
21185 (CNCT): Likewise.
21186 (CONCAT): Likewise.
21187 (WRAPPER_NAME): Likewise.
21188 (WRAPPER_DECL): Likewise.
21189 (WRAPPER_DECL_ff): Likewise.
21190 (WRAPPER_DECL_fFF): Likewise.
21191 (VECTOR_WRAPPER): Likewise.
21192 (VECTOR_WRAPPER_ff): Likewise.
21193 (VECTOR_WRAPPER_fFF): Likewise.
21194 (VEC_LEN): New macro.
21195 * math/test-double-vlen4.h: Include test-double.h,
21196 test-math-no-inline.h and test-math-vector.h.
21197 (FLOAT): Remove macro.
21198 (FUNC): Likewise.
21199 (MATHCONST): Likewise.
21200 (PRINTF_EXPR): Likewise.
21201 (PRINTF_XEXPR): Likewise.
21202 (PRINTF_NEXPR): Likewise.
21203 (TEST_DOUBLE): Likewise.
21204 (TEST_MATHVEC): Likewise.
21205 (__NO_MATH_INLINES): Likewise.
21206 (CNCT): Likewise.
21207 (CONCAT): Likewise.
21208 (WRAPPER_NAME): Likewise.
21209 (WRAPPER_DECL): Likewise.
21210 (WRAPPER_DECL_ff): Likewise.
21211 (WRAPPER_DECL_fFF): Likewise.
21212 (VECTOR_WRAPPER): Likewise.
21213 (VECTOR_WRAPPER_ff): Likewise.
21214 (VECTOR_WRAPPER_fFF): Likewise.
21215 (VEC_LEN): New macro.
21216 * math/test-double-vlen8.h: Include test-double.h,
21217 test-math-no-inline.h and test-math-vector.h.
21218 (FLOAT): Remove macro.
21219 (FUNC): Likewise.
21220 (MATHCONST): Likewise.
21221 (PRINTF_EXPR): Likewise.
21222 (PRINTF_XEXPR): Likewise.
21223 (PRINTF_NEXPR): Likewise.
21224 (TEST_DOUBLE): Likewise.
21225 (TEST_MATHVEC): Likewise.
21226 (__NO_MATH_INLINES): Likewise.
21227 (CNCT): Likewise.
21228 (CONCAT): Likewise.
21229 (WRAPPER_NAME): Likewise.
21230 (WRAPPER_DECL): Likewise.
21231 (WRAPPER_DECL_ff): Likewise.
21232 (WRAPPER_DECL_fFF): Likewise.
21233 (VECTOR_WRAPPER): Likewise.
21234 (VECTOR_WRAPPER_ff): Likewise.
21235 (VECTOR_WRAPPER_fFF): Likewise.
21236 (VEC_LEN): New macro.
21237 * math/test-float-vlen4.h: Include test-float.h,
21238 test-math-no-inline.h and test-math-vector.h.
21239 (FLOAT): Remove macro.
21240 (FUNC): Likewise.
21241 (MATHCONST): Likewise.
21242 (PRINTF_EXPR): Likewise.
21243 (PRINTF_XEXPR): Likewise.
21244 (PRINTF_NEXPR): Likewise.
21245 (TEST_FLOAT): Likewise.
21246 (TEST_MATHVEC): Likewise.
21247 (__NO_MATH_INLINES): Likewise.
21248 (CNCT): Likewise.
21249 (CONCAT): Likewise.
21250 (WRAPPER_NAME): Likewise.
21251 (WRAPPER_DECL): Likewise.
21252 (WRAPPER_DECL_ff): Likewise.
21253 (WRAPPER_DECL_fFF): Likewise.
21254 (VECTOR_WRAPPER): Likewise.
21255 (VECTOR_WRAPPER_ff): Likewise.
21256 (VECTOR_WRAPPER_fFF): Likewise.
21257 (VEC_LEN): New macro.
21258 * math/test-float-vlen8.h: Include test-float.h,
21259 test-math-no-inline.h and test-math-vector.h.
21260 (FLOAT): Remove macro.
21261 (FUNC): Likewise.
21262 (MATHCONST): Likewise.
21263 (PRINTF_EXPR): Likewise.
21264 (PRINTF_XEXPR): Likewise.
21265 (PRINTF_NEXPR): Likewise.
21266 (TEST_FLOAT): Likewise.
21267 (TEST_MATHVEC): Likewise.
21268 (__NO_MATH_INLINES): Likewise.
21269 (CNCT): Likewise.
21270 (CONCAT): Likewise.
21271 (WRAPPER_NAME): Likewise.
21272 (WRAPPER_DECL): Likewise.
21273 (WRAPPER_DECL_ff): Likewise.
21274 (WRAPPER_DECL_fFF): Likewise.
21275 (VECTOR_WRAPPER): Likewise.
21276 (VECTOR_WRAPPER_ff): Likewise.
21277 (VECTOR_WRAPPER_fFF): Likewise.
21278 (VEC_LEN): New macro.
21279 * math/test-float-vlen16.h: Include test-float.h,
21280 test-math-no-inline.h and test-math-vector.h.
21281 (FLOAT): Remove macro.
21282 (FUNC): Likewise.
21283 (MATHCONST): Likewise.
21284 (PRINTF_EXPR): Likewise.
21285 (PRINTF_XEXPR): Likewise.
21286 (PRINTF_NEXPR): Likewise.
21287 (TEST_FLOAT): Likewise.
21288 (TEST_MATHVEC): Likewise.
21289 (__NO_MATH_INLINES): Likewise.
21290 (CNCT): Likewise.
21291 (CONCAT): Likewise.
21292 (WRAPPER_NAME): Likewise.
21293 (WRAPPER_DECL): Likewise.
21294 (WRAPPER_DECL_ff): Likewise.
21295 (WRAPPER_DECL_fFF): Likewise.
21296 (VECTOR_WRAPPER): Likewise.
21297 (VECTOR_WRAPPER_ff): Likewise.
21298 (VECTOR_WRAPPER_fFF): Likewise.
21299 (VEC_LEN): New macro.
21300 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21301 test-vec-loop.h.
21302 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21303 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21304 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21305 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21306 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21307 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21308 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21309
21310 2015-06-24 Roland McGrath <roland@hack.frob.com>
21311
21312 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21313 (__getlogin_r): ... this.
21314
21315 2015-06-24 Joseph Myers <joseph@codesourcery.com>
21316
21317 [BZ #18594]
21318 * math/s_ccosh.c (__ccosh): Compare with least normal value
21319 instead of comparing class with FP_SUBNORMAL.
21320 * math/s_ccoshf.c (__ccoshf): Likewise.
21321 * math/s_ccoshl.c (__ccoshl): Likewise.
21322 * math/s_cexp.c (__cexp): Likewise.
21323 * math/s_cexpf.c (__cexpf): Likewise.
21324 * math/s_cexpl.c (__cexpl): Likewise.
21325 * math/s_csin.c (__csin): Likewise.
21326 * math/s_csinf.c (__csinf): Likewise.
21327 * math/s_csinh.c (__csinh): Likewise.
21328 * math/s_csinhf.c (__csinhf): Likewise.
21329 * math/s_csinhl.c (__csinhl): Likewise.
21330 * math/s_csinl.c (__csinl): Likewise.
21331 * math/s_ctan.c (__ctan): Likewise.
21332 * math/s_ctanf.c (__ctanf): Likewise.
21333 * math/s_ctanh.c (__ctanh): Likewise.
21334 * math/s_ctanhf.c (__ctanhf): Likewise.
21335 * math/s_ctanhl.c (__ctanhl): Likewise.
21336 * math/s_ctanl.c (__ctanl): Likewise.
21337 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21338 csin, csinh, ctan and ctanh.
21339 * math/auto-libm-test-out: Regenerated.
21340 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21341 * sysdeps/i386/fpu/libm-test-ulps: Update.
21342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21343
21344 2015-06-24 Roland McGrath <roland@hack.frob.com>
21345
21346 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21347 return value is wrong, print the expected value too.
21348
21349 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 [BZ #18585]
21352 * elf/readlib.c (is_gdb_python_file): New.
21353 (process_file): Don't issue errors on filenames with -gdb.py
21354 suffix.
21355
21356 2015-06-24 Joseph Myers <joseph@codesourcery.com>
21357
21358 * math/auto-libm-test-in: Add more tests of csin and csinh.
21359 * math/auto-libm-test-out: Regenerated.
21360 * math/libm-test.inc (csin_test_data): Remove tests moved to
21361 auto-libm-test-in.
21362 (csinh_test_data): Likewise.
21363
21364 [BZ #18593]
21365 * math/s_csin.c (__csin): Negate before rather than after possibly
21366 overflowing multiplication.
21367 * math/s_csinf.c (__csinf): Likewise.
21368 * math/s_csinh.c (__csinh): Likewise.
21369 * math/s_csinhf.c (__csinhf): Likewise.
21370 * math/s_csinhl.c (__csinhl): Likewise.
21371 * math/s_csinl.c (__csinl): Likewise.
21372 * math/auto-libm-test-in: Add some tests of csin and csinh.
21373 * math/auto-libm-test-out: Regenerated.
21374 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21375 (csinh_test_data): Likewise.
21376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21377
21378 [BZ #18586]
21379 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21380 underflow exception for small results.
21381
21382 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
21383
21384 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21385 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21386 variable and included header.
21387 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21388 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21389 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21390 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21391 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21392 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21393 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21394 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21395 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21396 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21397 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21398 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21399 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21400 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21401 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21402 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21403
21404 2015-06-23 Joseph Myers <joseph@codesourcery.com>
21405
21406 [BZ #16526]
21407 [BZ #16538]
21408 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21409 (__sin): Force underflow exception for arguments with small
21410 absolute value.
21411 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21412 (__kernel_sinf): Force underflow exception for arguments with
21413 small absolute value.
21414 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21415 (__kernel_sincosl): Force underflow exception for arguments with
21416 small absolute value.
21417 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21418 (__kernel_sinl): Force underflow exception for arguments with
21419 small absolute value.
21420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21421 (__kernel_sincosl): Force underflow exception for arguments with
21422 small absolute value.
21423 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21424 (__kernel_sinl): Force underflow exception for arguments with
21425 small absolute value.
21426 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21427 (__kernel_sinl): Force underflow exception for arguments with
21428 small absolute value.
21429 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21430 (__kernel_sinf): Force underflow exception for arguments with
21431 small absolute value.
21432 * math/auto-libm-test-in: Add more tests of sin and sincos.
21433 * math/auto-libm-test-out: Regenerated.
21434
21435 [BZ #18245]
21436 [BZ #18583]
21437 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21438 (__kernel_standard_l): Use feholdexcept and fesetenv around
21439 conversion to double instead of special-casing overflow and
21440 underflow.
21441 * math/libm-test.inc (fmod_test_data): Add more tests.
21442 (remainder_test_data): Likewise.
21443 (sqrt_test_data): Likewise.
21444
21445 2015-06-23 Torvald Riegel <triegel@redhat.com>
21446
21447 [BZ #17403]
21448 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21449 atomic_read_barrier, atomic_write_barrier): Define.
21450 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21451 atomic_read_barrier, atomic_write_barrier): Define.
21452
21453 2015-06-23 Joseph Myers <joseph@codesourcery.com>
21454
21455 * math/Makefile [$(PERL) != no]
21456 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21457 dependency on libm-test.stmp below the inclusion of Rules.
21458
21459 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
21460
21461 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21462 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21463 and included header.
21464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21465 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21466 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21467 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21468 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21472 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21473 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21474 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21475 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21476 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21477 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21478 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21479 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21480 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21481 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21482 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21483
21484 2015-06-23 Joseph Myers <joseph@codesourcery.com>
21485
21486 [BZ #18371]
21487 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21488 intermediate but not final result might underflow.
21489 * math/s_csqrtf.c (__csqrtf): Likewise.
21490 * math/s_csqrtl.c (__csqrtl): Likewise.
21491 * math/auto-libm-test-in: Add more tests of csqrt.
21492 * math/auto-libm-test-out: Regenerated.
21493 * sysdeps/i386/fpu/libm-test-ulps: Update.
21494
21495 [BZ #18219]
21496 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21497 threshold on absolute value of exponent for which scaling is used.
21498 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21499 * math/auto-libm-test-in: Add more tests of exp2.
21500 * math/auto-libm-test-out: Regenerated.
21501
21502 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
21503
21504 [BZ #17977]
21505 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21506 when initializing interface list, based on the bug analysis
21507 and the patch proposed by Eric Newton.
21508 * resolv/tst-res_hconf_reorder.c: New test.
21509 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21510 tst-res_hconf_reorder.
21511 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21512 and $(shared-thread-library).
21513 (tst-res_hconf_reorder-ENV): New variable.
21514
21515 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21516 in comment.
21517
21518 2015-06-22 Joseph Myers <joseph@codesourcery.com>
21519
21520 [BZ #16353]
21521 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21522 (__expm1): Force underflow exception for arguments with small
21523 absolute value.
21524 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21525 (__expm1f): Force underflow exception for arguments with small
21526 absolute value.
21527 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21528 (__expm1): Force underflow exception for arguments with small
21529 absolute value.
21530 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21531 (__expm1f): Force underflow exception for arguments with small
21532 absolute value.
21533 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21534 Check for small arguments before calling __expm1.
21535 * math/auto-libm-test-in: Do not mark underflow exceptions as
21536 possibly missing for bug 16353.
21537 * math/auto-libm-test-out: Regenerated.
21538
21539 2015-06-22 Andreas Schwab <schwab@suse.de>
21540
21541 [BZ #18513]
21542 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21543 PTR queries.
21544
21545 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
21546
21547 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21548
21549 * string/strcoll_l.c: Remove unused struct element idxnow.
21550
21551 2015-06-21 Joseph Myers <joseph@codesourcery.com>
21552
21553 [BZ #18569]
21554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21555 underflow and return argument in case of subnormal argument.
21556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21557 Likewise.
21558 * math/auto-libm-test-in: Add more tests of expm1.
21559 * math/auto-libm-test-out: Regenerated.
21560
21561 [BZ #16361]
21562 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21563 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21564 tiny results.
21565 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21566 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21567 tiny results.
21568 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
21569 mark underflow exceptions as possibly missing for bug 16361.
21570 * math/auto-libm-test-out: Regenerated.
21571
21572 2015-06-19 Joseph Myers <joseph@codesourcery.com>
21573
21574 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21575 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21576 Remove variable.
21577 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21578 (test-xfail-XOPEN2K8/utmpx.h/conform).
21579
21580 * conform/conformtest.pl ($xerrors): New variable.
21581 (note_error): New function.
21582 (compiletest): New argument $xfail. Use not_error.
21583 (runtest): Likewise.
21584 (top level): Handle xfail- lines. Update calls to compiletest and
21585 runtest. Handle xfail- and optional- in headers listed with
21586 allow-header.
21587 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21588 (O_EXEC): Likewise.
21589 (O_SEARCH): Likewise.
21590 * conform/data/stropts.h-data (ioctl): Likewise.
21591 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21592 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21593 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21594 (msghdr.msg_controllen): Likewise.
21595 (cmsghdr.cmsg_len): Likewise.
21596 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21597 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21598 variable.
21599 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21600 (test-xfail-XPG4/stropts.h/conform): Likewise.
21601 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21602 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21603 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21604 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21605 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21606 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21607 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21608 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21609 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21610 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21611 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21612 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21613 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21614 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21615 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21616 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21617 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21618 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21619 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21620
21621 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
21622
21623 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21624 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21625 definitions for proper unfolding of __MATHDECL_VEC.
21626
21627 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
21628
21629 * benchtests/bench-strcoll.c:
21630 Include string.h.
21631 (main): Remove unused variable res.
21632
21633 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
21634
21635 * timezone/Makefile (%/UTC %/Universal):
21636 Generate test-result files for UTC and Universal.
21637
21638 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
21639
21640 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21641
21642 2015-06-18 Joseph Myers <joseph@codesourcery.com>
21643
21644 [BZ #16350]
21645 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21646 for arguments with small absolute value.
21647 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21648 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21649 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21650 (__asinh): Force underflow exception for arguments with small
21651 absolute value.
21652 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21653 (__asinhf): Force underflow exception for arguments with small
21654 absolute value.
21655 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21656 (__asinhl): Force underflow exception for arguments with small
21657 absolute value.
21658 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21659 (__asinhl): Force underflow exception for arguments with small
21660 absolute value.
21661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21662 (__asinhl): Force underflow exception for arguments with small
21663 absolute value.
21664 * math/auto-libm-test-in: Do not mark underflow exceptions as
21665 possibly missing for bug 16350.
21666 * math/auto-libm-test-out: Regenerated.
21667
21668 * include/bits/ipc.h: Remove file.
21669 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21670 variable.
21671 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21672 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21673 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21674 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21675 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21676 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21677 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21678 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21679 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21680
21681 * math/auto-libm-test-in: Remove spurious underflow allowance for
21682 tests of cexp.
21683 * math/auto-libm-test-out: Regenerated.
21684
21685 [BZ #18558]
21686 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21687 unconditional definition.
21688 (MCAST_BLOCK_SOURCE): Likewise.
21689 (MCAST_UNBLOCK_SOURCE): Likewise.
21690 (MCAST_LEAVE_GROUP): Likewise.
21691 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21692 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21693 (MCAST_MSFILTER): Likewise.
21694 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21695 Remove variable.
21696 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21697 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21698 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21699 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21700 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21701
21702 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
21703
21704 * NEWS: Mention addition of x86_64 vector sincosf.
21705 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21706 * math/test-float-vlen4.h: Likewise.
21707 * math/test-float-vlen8.h: Likewise.
21708 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21709 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21710 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21711 * sysdeps/x86_64/fpu/Versions: New versions added.
21712 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21713 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21714 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21715 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21716 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21718 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21719 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21720 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21721 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21722 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21723 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21724 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21725 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21726 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21727 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21728 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21729 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21730 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21731 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21732 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21733 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21734 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21735 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21736
21737 * NEWS: Mention addition of x86_64 vector sincos.
21738 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21739 * math/math.h (__MATHDECL_VEC): New macro.
21740 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21741 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21742 declaration under condition.
21743 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21744 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21745 TEST_VEC_LOOP change.
21746 * math/test-double-vlen4.h: Likewise.
21747 * math/test-double-vlen8.h: Likewise.
21748 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21749 * math/test-float-vlen4.h: Likewise.
21750 * math/test-float-vlen8.h: Likewise.
21751 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21752 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21753 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21754 * sysdeps/x86_64/fpu/Versions: New versions added.
21755 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21756 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21757 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21758 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21760 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21761 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21763 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21764 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21765 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21766 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21767 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21768 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21769 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21770 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21771 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21772 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21773 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21774 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21775 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21776 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21777 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21778 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21779
21780 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21781 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21782 redirections for powf.
21783 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21784 * sysdeps/x86_64/fpu/Versions: New versions added.
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21786 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21787 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21788 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21789 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21790 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21791 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21792 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21793 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21794 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21795 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21796 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21797 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21798 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21799 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21800 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21801 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21802 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21803 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21804 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21805 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21806 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21807 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21808 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21809 * math/test-float-vlen16.h: Fixed 2 argument macro.
21810 * math/test-float-vlen4.h: Likewise.
21811 * math/test-float-vlen8.h: Likewise.
21812 * NEWS: Mention addition of x86_64 vector powf.
21813
21814 2015-06-17 Joseph Myers <joseph@codesourcery.com>
21815
21816 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21817 and redefine.
21818 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21819 and redefine.
21820 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21823
21824 [BZ #18553]
21825 * resource/getpriority.c (getpriority): Rename to __getpriority
21826 and define as weak alias of __getpriority.
21827 * resource/setpriority.c (setpriority): Rename to __setpriority
21828 and define as weak alias of __setpriority.
21829 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21830 __getpriority and define as weak alias of __getpriority.
21831 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21832 __setpriority and define as weak alias of __setpriority.
21833 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21834 strong name.
21835 (setpriority): Use __setpriority as strong name.
21836 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21837 __getpriority and define as weak alias of __getpriority.
21838 * include/sys/resource.h (__getpriority): Declare. Use
21839 libc_hidden_proto.
21840 (__setpriority): Likewise.
21841 (getpriority): Don't use libc_hidden_proto.
21842 (setpriority): Likewise.
21843 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21844 getpriority. Call __setpriority instead of setpriority.
21845 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21846 Remove variable.
21847
21848 [BZ #18547]
21849 * misc/getttyent.c (getttynam): Rename to __getttynam and define
21850 as weak alias of __getttynam. Use prototype function definition.
21851 Call __setttyent, __getttyent and __endttyent instead of
21852 setttyent, getttyent and endttyent.
21853 (getttyent): Rename to __getttyent and define as weak alias of
21854 __getttyent. Call __setttyent instead of setttyent. Call
21855 __fgets_unlocked instead of fgets_unlocked.
21856 (setttyent): Rename to __setttyent and define as weak alias of
21857 __setttyent.
21858 (endttyent): Rename to __endttyent and define as weak alias of
21859 __endttyent.
21860 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
21861 (__setttyent): Likewise.
21862 (__endttyent): Likewise.
21863 (getttyent): Don't use libc_hidden_proto.
21864 (setttyent): Likewise.
21865 (endttyent): Likewise.
21866 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21867 __endttyent instead of setttyent, getttyent and endttyent.
21868 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21869 Remove variable.
21870
21871 [BZ #18546]
21872 * socket/recv.c (__recv): Use libc_hidden_def.
21873 * socket/socket.c (__socket): Likewise.
21874 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21875 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21876 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21877 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21878 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21879 libc_hidden_def.
21880 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21881 libc_hidden_weak.
21882 * include/sys/socket.h (__socket): Do not use attribute_hidden.
21883 Use libc_hidden_proto.
21884 (__recv): Likewise.
21885 * socket/Versions (libc): Export __recv and __socket at version
21886 GLIBC_PRIVATE.
21887 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21888 instead of recv.
21889 (init_mq_netlink): Call __socket instead of socket.
21890 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21891 Remove variable.
21892
21893 [BZ #18545]
21894 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21895 __mq_timedreceive and define as alias of __mq_timedreceive. Use
21896 hidden_weak.
21897 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21898 define as alias of __mq_timedsend. Use hidden_weak.
21899 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21900 __mq_timedsend as strong name.
21901 (mq_timedreceive): Use __mq_timedreceive as strong name.
21902 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
21903 (__mq_timedreceive): Likewise.
21904 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21905 __mq_timedreceive instead of mq_timedreceive.
21906 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21907 instead of mq_timedsend.
21908 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21909 Remove variable.
21910
21911 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21912 hidden_def and hidden_weak instead of libc_hidden_def and
21913 libc_hidden_weak.
21914 (top level): Refer to hidden_def in comment.
21915 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21916 macro. Use it instead of libc_hidden_def.
21917 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21918 specify __GI_* name explicitly.
21919 (mq_timedreceive): Likewise.
21920 (mq_setattr): Likewise.
21921
21922 [BZ #18544]
21923 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21924 __pthread_barrier_init and define as weak alias of
21925 __pthread_barrier_init.
21926 * sysdeps/sparc/nptl/pthread_barrier_init.c
21927 (pthread_barrier_init): Likewise.
21928 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21929 __pthread_barrier_wait and define as weak alias of
21930 __pthread_barrier_wait.
21931 * sysdeps/sparc/nptl/pthread_barrier_wait.c
21932 (pthread_barrier_wait): Likewise.
21933 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21934 (pthread_barrier_wait): Likewise.
21935 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21936 (pthread_barrier_wait): Likewise.
21937 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21938 (pthread_barrier_wait): Likewise.
21939 * nptl/Versions (libpthread): Export __pthread_barrier_init and
21940 __pthread_barrier_wait at version GLIBC_PRIVATE.
21941 * include/pthread.h (__pthread_barrier_init): Declare.
21942 (__pthread_barrier_wait): Likewise.
21943 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21944 Call __pthread_barrier_wait instead of pthread_barrier_wait.
21945 (helper_thread): Likewise.
21946 (init_mq_netlink): Call __pthread_barrier_init instead of
21947 pthread_barrier_init.
21948
21949 [BZ #18542]
21950 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21951 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21952 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
21953 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21954 vswscanf.
21955 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21956 Remove variable.
21957
21958 [BZ #18540]
21959 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21960 strong alias of _IO_fflush. Use libc_hidden_def.
21961 * libio/iofflush_u.c (fflush_unlocked): Rename to
21962 __fflush_unlocked and define as weak alias of __fflush_unlocked.
21963 Use libc_hidden_weak.
21964 * include/stdio.h (__fflush_unlocked): Declare. Use
21965 libc_hidden_proto.
21966 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21967 fflush_unlocked.
21968 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21969 Remove variable.
21970
21971 [BZ #18539]
21972 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21973 define as weak alias of __addseverity.
21974 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21975 Remove variable.
21976 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21977 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21978 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21979
21980 [BZ #18536]
21981 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21982 (__tfind): Likewise.
21983 (__tdelete): Likewise.
21984 (__twalk): Likewise.
21985 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21986 __twalk to GLIBC_PRIVATE.
21987 * include/search.h (__tsearch): Use libc_hidden_proto.
21988 (__tfind): Likewise.
21989 (__tdelete): Likewise.
21990 (__twalk): Likewise.
21991 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21992 Call __tdelete instead of tdelete.
21993 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21994 tfind. Call __tsearch instead of tsearch.
21995 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21996 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21997 Remove variable.
21998 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21999
22000 [BZ #18534]
22001 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22002 (dprintf): Define as a weak alias of __dprintf, not a strong
22003 alias.
22004 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
22005 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22006 dprintf.
22007 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22008 Remove variable.
22009 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22010 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22011
22012 [BZ #18533]
22013 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22014 not a strong alias.
22015 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22016 Remove variable.
22017
22018 [BZ #18532]
22019 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22020 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
22021 (in6addr_loopback): Rename to __in6addr_loopback and define as
22022 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
22023 * include/netinet/in.h (__in6addr_loopback): Declare. Use
22024 libc_hidden_proto.
22025 (__in6addr_any): Likewise.
22026 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22027 in6addr_any.
22028 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22029 variable.
22030 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22031
22032 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
22033
22034 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22035 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22036 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22037 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22038 redirections for pow.
22039 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22040 * sysdeps/x86_64/fpu/Versions: New versions added.
22041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22042 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22043 build of SSE, AVX2 and AVX512 IFUNC versions.
22044 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22048 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22051 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22052 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22053 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22054 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22055 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22056 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22057 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22058 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22059 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22060 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22061 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22062 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22063 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22064 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22065 * NEWS: Mention addition of x86_64 vector pow.
22066
22067 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22068 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22069 redirections for expf.
22070 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22071 * sysdeps/x86_64/fpu/Versions: New versions added.
22072 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22073 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22074 build of SSE, AVX2 and AVX512 IFUNC versions.
22075 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22076 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22077 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22078 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22079 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22080 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22081 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22082 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22083 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22084 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22085 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22086 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22087 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22088 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22089 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22090 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22091 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22092 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22093 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22094 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22095 * NEWS: Mention addition of x86_64 vector expf.
22096
22097 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22098 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22099 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22100 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22101 redirections for exp.
22102 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22103 * sysdeps/x86_64/fpu/Versions: New versions added.
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22105 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22106 build of SSE, AVX2 and AVX512 IFUNC versions.
22107 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22108 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22109 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22110 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22111 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22112 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22113 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22114 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22115 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22116 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22117 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22118 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22119 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22120 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22121 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22122 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22123 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22124 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22125 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22126 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22127 * NEWS: Mention addition of x86_64 vector exp.
22128
22129 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22130 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22131 redirections for logf.
22132 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22133 * sysdeps/x86_64/fpu/Versions: New versions added.
22134 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22135 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22136 build of SSE, AVX2 and AVX512 IFUNC versions.
22137 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22138 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22139 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22141 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22142 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22143 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22144 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22145 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22146 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22147 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22148 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22149 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22150 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22151 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22152 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22153 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22154 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22155 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22156 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22157 * NEWS: Mention addition of x86_64 vector logf.
22158
22159 * bits/libm-simd-decl-stubs.h: Added stubs for log.
22160 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22161 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22162 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22163 redirections for log.
22164 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22165 * sysdeps/x86_64/fpu/Versions: New versions added.
22166 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22167 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22168 build of SSE, AVX2 and AVX512 IFUNC versions.
22169 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22170 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22171 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22172 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22173 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22174 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22175 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22176 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22177 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22178 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22179 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22180 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22181 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22182 test.
22183 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22184 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22185 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22186 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22187 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22188 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22189 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22190 * NEWS: Mention addition of x86_64 vector log.
22191
22192 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
22193
22194 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22195 cfi_adjust_cfa_offset argument.
22196 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22197 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22198
22199 [BZ #18034]
22200 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22201 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22202 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22203 ordering using ldar.
22204 (_dl_tlsdesc_dynamic): Likewise.
22205 (_dl_tlsdesc_return_lazy): Likewise.
22206 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22207 relaxed atomics instead of volatile and synchronize with release store.
22208 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22209 volatile.
22210 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22211
22212 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
22213
22214 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22215 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22216 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22217 * sysdeps/x86_64/fpu/Versions: New versions added.
22218 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22219 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22220 build of SSE, AVX2 and AVX512 IFUNC versions.
22221 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22222 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22223 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22224 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22225 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22226 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22227 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22228 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22229 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22230 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22231 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22232 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22233 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22234 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22235 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22236 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22237 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22238 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22239 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22240 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22241 * NEWS: Mention addition of x86_64 vector sinf.
22242
22243 2015-06-14 Joseph Myers <joseph@codesourcery.com>
22244
22245 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22246 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22247 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22248 Remove variable.
22249 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22250 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22251
22252 2015-06-12 Joseph Myers <joseph@codesourcery.com>
22253
22254 [BZ #18530]
22255 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22256 strong alias of _IO_fputs. Use libc_hidden_def.
22257 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22258 and define as weak alias of __fputs_unlocked. Use
22259 libc_hidden_weak.
22260 * include/stdio.h (__fputs_unlocked): Declare. Use
22261 libc_hidden_proto.
22262 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22263 fputs_unlocked.
22264
22265 [BZ #18529]
22266 * resolv/netdb.h [__USE_POSIX]: Change condition to
22267 [__USE_XOPEN2K].
22268 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22269 not expect.
22270 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22271 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22272 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22273 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22274 [XPG4 || UNIX98] (AI_ALL): Likewise.
22275 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22276 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22277 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22278 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22279 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22280 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22281 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22282 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22283 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22284 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22285 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22286 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22287 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22288 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22289 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22290 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22291 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22292 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22293 [XPG4 || UNIX98] (gai_strerror): Likewise.
22294 [XPG4 || UNIX98] (getaddrinfo): Likewise.
22295 [XPG4 || UNIX98] (getnameinfo): Likewise.
22296
22297 [BZ #18528]
22298 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22299 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22300 __USE_XOPEN2K8].
22301 (getgrent): Likewise.
22302 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22303 expect.
22304 [XPG3 || POSIX2008] (endgrent): Likewise.
22305 [XPG3] (setgrent): Likewise.
22306 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22307 variable.
22308 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22309
22310 [BZ #18527]
22311 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22312 define as weak alias of __getlogin_r. Use libc_hidden_weak.
22313 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22314 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22315 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22316 * include/unistd.h (__getlogin_r): Declare. Use
22317 libc_hidden_proto.
22318 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22319 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22320 variable.
22321 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22322 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22323 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22324
22325 2015-06-12 Martin Sebor <msebor@redhat.com>
22326
22327 [BZ #18512]
22328 * Makerules (check-install-supported): New target.
22329 (install): Add check-install-supported as a dependency.
22330 * manual/install.texi (Installing the C Library): Document
22331 that overriding prefix and exec_prefix is not supported.
22332 Mention DESTDIR.
22333 * INSTALL: Regenerate from the above.
22334
22335 2015-06-12 Joseph Myers <joseph@codesourcery.com>
22336
22337 [BZ #18519]
22338 * posix/Versions (libc): Export __libc_pread at version
22339 GLIBC_PRIVATE.
22340 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22341 instead of pread.
22342 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22343 variable.
22344
22345 [BZ #18522]
22346 * misc/efgcvt_r.c
22347 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22348 (cvt_symbol): Use weak_alias instead of strong_alias.
22349 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22350 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22351 Remove variable.
22352 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22353 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22354
22355 [BZ #18520]
22356 * inet/herrno.c (h_errno): Rename to __h_errno.
22357 (__libc_h_errno): Define as alias of __h_errno not h_errno.
22358 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22359 to __h_errno instead of h_errno.
22360 * nptl/herrno.c (h_errno): Rename to __h_errno.
22361 (__h_errno_location): Refer to __h_errno not h_errno.
22362 * resolv/Versions (h_errno): Rename to __h_errno.
22363 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22364 Remove variable.
22365 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22366
22367 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
22368
22369 * configure.ac: More strict check for AVX512 assembler support.
22370 * configure: Regenerated.
22371
22372 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22373 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22374 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22375 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22376 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22377 * sysdeps/x86_64/fpu/Versions: New versions added.
22378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22379 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22380 Added build of SSE, AVX2 and AVX512 IFUNC versions.
22381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22382 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22383 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22384 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22385 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22387 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22388 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22389 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22390 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22391 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22392 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22393 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22394 test.
22395 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22396 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22397 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22398 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22399 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22400 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22401 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22402 * NEWS: Mention addition of x86_64 vector sin.
22403
22404 2015-06-11 Florian Weimer <fweimer@redhat.com>
22405
22406 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22407 comment.
22408
22409 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
22410
22411 [BZ #18479]
22412 * nptl/pt-interp.c: New file.
22413 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22414 Add pt-interp.
22415 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22416 $(common-objpfx)runtime-linker.h.
22417
22418 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
22419
22420 * Makeconfig (+interp): Remove unused variable.
22421 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22422 only. Depend on $(common-objpfx)runtime-linker.h instead of
22423 $(elf-objpfx)runtime-linker.h.
22424 ($(elf-objpfx)runtime-linker.h): Rename to
22425 $(common-objpfx)runtime-linker.h and move ...
22426 * Makerules [$(build-shared) = yes]: ... here.
22427 * elf/interp.c: Include <runtime-linker.h> instead of
22428 <elf/runtime-linker.h>.
22429
22430 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22431
22432 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22433 (__gettimeofday_syscall): Remove vsyscall fallback.
22434 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22435 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22436 Add syscall fallback function.
22437 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22438 if vDSO is not present.
22439 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22440 fallback function.
22441 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22442 present.
22443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22444 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22445
22446 2015-06-09 Joseph Myers <joseph@codesourcery.com>
22447
22448 [BZ #18497]
22449 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22450 of wcscmp.
22451 (wcscmp): Define as weak alias of WCSCMP.
22452 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22453 wcscoll.
22454 (USE_HIDDEN_DEF): Define.
22455 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22456 __wcscoll. Don't use libc_hidden_weak.
22457 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22458 wcscmp.
22459 * sysdeps/i386/i686/multiarch/wcscmp-c.c
22460 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22461 __GI_wcscmp.
22462 (weak_alias): Undefine and redefine.
22463 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22464 __wcscmp and define as weak alias of __wcscmp.
22465 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22466 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
22467 (__wcscoll): Likewise.
22468 (wcscmp): Don't use libc_hidden_proto.
22469 (wcscoll): Likewise.
22470 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22471 wcscoll.
22472 * posix/regexec.c (check_node_accept_bytes): Likewise.
22473 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22474 variable.
22475 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22476 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22477
22478 [BZ #18507]
22479 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22480 __fstatvfs and define as weak alias of __fstatvfs. Use
22481 libc_hidden_weak.
22482 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22483 and define as weak alias of __statvfs. Use libc_hidden_weak.
22484 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22485 Define as alias of __fstatvfs, not fstatvfs.
22486 (fstatvfs64): Likewise.
22487 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22488 Define as alias of __statvfs, not statvfs.
22489 (statvfs64): Likewise.
22490 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22491 Remove variable.
22492
22493 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22494
22495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22496 (HAVE_GETCPU_VSYSCALL): Define.
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22498 (HAVE_GETCPU_VSYSCALL): Likewise.
22499 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22500 * sysdeps/unix/sysv/linux/sched_getcpu.c
22501 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22502 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22503 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22504 prototype.
22505 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22506 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22509 Define.
22510 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22511 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22514
22515 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
22516
22517 * sysdeps/x86_64/fpu/Makefile: New file.
22518 * sysdeps/x86_64/fpu/Versions: New file.
22519 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22520 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22521 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22522 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22523 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22524 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22525 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22526 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22528 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22529 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22530 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22532 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22533 Added build of SSE, AVX2 and AVX512 IFUNC versions.
22534 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22535 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22536 * sysdeps/x86_64/configure.ac: Options for libmvec build.
22537 * sysdeps/x86_64/configure: Regenerated.
22538 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22539 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22540 * manual/install.texi (Configuring and compiling): Document
22541 --disable-mathvec.
22542 * INSTALL: Regenerated.
22543 * NEWS: Mention addition of libmvec and x86_64 vector cos.
22544
22545 * math/Makefile: Added rules for vector tests.
22546 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22547 declaration under condition.
22548 * math/test-double-vlen2.h: New file.
22549 * math/test-double-vlen4.h: New file.
22550 * math/test-double-vlen8.h: New file.
22551 * math/test-vec-loop.h: Added initialization macro.
22552 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22553 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22554 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22555 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22556 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22557 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22558 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22559 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22560 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22561 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22562 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22563
22564 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22565 * sysdeps/x86_64/fpu/Versions: New versions added.
22566 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22567 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22568 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22569 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22570 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22571 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22573 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22574 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22575 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22576 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22577 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22578 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22579 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22580 Added build of SSE, AVX2 and AVX512 IFUNC versions.
22581 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22582 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22583 * NEWS: Mention addition of x86_64 vector cosf.
22584
22585 * math/Makefile: Added CFLAGS for new tests.
22586 * math/test-float-vlen16.h: New file.
22587 * math/test-float-vlen4.h: New file.
22588 * math/test-float-vlen8.h: New file.
22589 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22590 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22591 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22592 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22593 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22594 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22595 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22596 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22597 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22598 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22599 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22600
22601 2015-06-09 Marko Myllynen <myllynen@redhat.com>
22602
22603 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22604 * locale/programs/ld-ctype.c: Likewise.
22605
22606 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
22607
22608 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22609 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22610 bit_ZMM16_31_state): New macro.
22611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22612 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22613
22614 2015-06-08 Joseph Myers <joseph@codesourcery.com>
22615
22616 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22617
22618 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
22619
22620 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22621
22622 2015-06-05 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #18498]
22625 * libio/memstream.c (open_memstream): Rename to __open_memstream
22626 and define as weak alias of __open_memstream.
22627 * include/stdio.h (__open_memstream): Declare. Use
22628 libc_hidden_proto.
22629 (open_memstream): Don't use libc_hidden_proto.
22630 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22631 open_memstream.
22632 * posix/getopt.c (_getopt_internal_r): Likewise.
22633 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22634 variable.
22635 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22636 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22637 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22638
22639 [BZ #18496]
22640 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22641 instead of wcrtomb.
22642
22643 [BZ #18483]
22644 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22645 [__USE_XOPEN2K8]. Remove redundant #endif.
22646 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22647 Remove redundant #if.
22648 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22649 Remove variable.
22650 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22651 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22652
22653 [BZ #18495]
22654 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22655 (__iswlower): Likewise.
22656 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
22657 (__iswlower): Likewise.
22658 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22659 instead of towlower.
22660 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22661 instead of iswlower. Call __towupper instead of towupper.
22662 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22663 instead of iswalnum.
22664
22665 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22666
22667 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22668 errors to stderr.
22669
22670 2015-06-05 Florian Weimer <fweimer@redhat.com>
22671
22672 [BZ #15661]
22673 [BZ #17322]
22674 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22675 Check for overflow properly. Check for O_APPEND. Ignore large
22676 file system block sizes. Add comments about problems.
22677 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22678 * manual/filesys.texi (Storage Allocation): New node.
22679
22680 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22681
22682 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22683 cancellable syscalls.
22684 (SYS_ify): Add guard to no redefine it.
22685 (INLINE_SYSCALL): Likewise.
22686 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22687 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22688 SYSCALL_CANCEL instead.
22689 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22690 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22691 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22692 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22693 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22694 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22695 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22696 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22697 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22698 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22699 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22700 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22701 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22702 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22703 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22704 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22705 Likewise.
22706 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22707 (__libc_pread64): Likewise.
22708 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22709 (__libc_preadv): Likewise.
22710 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22711 (__libc_readv64): Likewise.
22712 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22713 (__libc_pwrite): Likewise.
22714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22715 (__libc_pwrite64): Likewise.
22716 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22717 (__libc_pwritev): Likewise.
22718 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22719 (__libc_pwritev64): Likewise.
22720 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22721 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22722 (sync_file_range): Likewise.
22723 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22724 Likewise.
22725 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22726 Likewise.
22727 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22728 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22729 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22730 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22731 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22732 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22733 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22734 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22736 Likewise.
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22738 (__libc_read64): Likewise.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22740 Likewise.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22742 Likewise.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22744 Likewise.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22746 Likewise.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22748 (__libc_pread64): Likewise.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22750 Likewise.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22752 (__libc_pwrite64): Likewise.
22753 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22754 (sync_file_range): Likewise.
22755 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22756 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22757 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22758 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22759 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22760 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22761 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22762 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22763 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22764 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22765 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22766 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22767 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22768 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22769 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22770 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22771 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22772 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22773 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22774 Likewise.
22775 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22776 Likewise.
22777 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22778 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22779 Likewise.
22780 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22781 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22782 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22783 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22784 Likewise.
22785 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22786 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22787 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22788 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22789 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22790
22791 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
22792
22793 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22794 Include dl-vdso.
22795 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22796 Use VDSO routines for gettimeofday, clock_gettime if
22797 available.
22798 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22799 Declare VDSO symbols.
22800 * sysdeps/unix/sysv/linux/arm/sysdep.h:
22801 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22802 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22803 * sysdeps/unix/sysv/linux/arm/Versions: Add
22804 __vdso_clock_gettime.
22805
22806 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22807
22808 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22809 be an inline implementation regardless of library is built within.
22810 (open_not_cancel_2): Likewise.
22811 (__read_nocancel): Likewise.
22812 (__write_nocancel): Likewise.
22813 (openat_not_cancel): Likewise.
22814 (openat_not_cancel_3): Likewise.
22815 (openat64_not_cancel): Likewise.
22816 (openat64_not_cancel_3): Likewise.
22817 (__close_nocancel): Likewise.
22818 (pause_not_cancel): Likewise.
22819 (nanosleep_not_cancel): Likewise.
22820 (sigsuspend_not_cancel): Likewise.
22821
22822 2015-06-04 Torvald Riegel <triegel@redhat.com>
22823
22824 [BZ #14958]
22825 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22826 wake-up.
22827 (__pthread_rwlock_rdlock_slow): Likewise.
22828 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22829 Likewise.
22830 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22831 Likewise.
22832 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22833 * nptl/tst-rwlock16.c: New file.
22834 * nptl/Makefile (tests): Add new test.
22835
22836 2015-06-04 Torvald Riegel <triegel@redhat.com>
22837
22838 [BZ #18324]
22839 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22840 missing wake-up of readers.
22841 * nptl/tst-rwlock15.c: New file.
22842 * nptl/Makefile (tests): Add new test.
22843
22844 2015-06-03 Roland McGrath <roland@hack.frob.com>
22845
22846 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22847 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22848 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22849 and __nacl_supply_interface_rtld.
22850 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22851 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22852 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22853 Add __nacl_supply_interface_rtld.
22854 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22855
22856 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
22857
22858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22859 isfinite.
22860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22861 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22862
22863 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
22864
22865 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22866 __signbit* with standard C99 macros.
22867 * math/e_exp10l.c: Likewise.
22868 * math/e_exp2l.c: Likewise.
22869 * math/e_scalb.c: Likewise.
22870 * math/e_scalbf.c: Likewise.
22871 * math/e_scalbl.c: Likewise.
22872 * math/s_ldexp.c: Likewise.
22873 * math/s_ldexpf.c: Likewise.
22874 * math/s_ldexpl.c: Likewise.
22875 * math/w_atan2.c: Likewise.
22876 * math/w_atan2f.c: Likewise.
22877 * math/w_atan2l.c: Likewise.
22878 * math/w_cosh.c: Likewise.
22879 * math/w_coshf.c: Likewise.
22880 * math/w_coshl.c: Likewise.
22881 * math/w_exp10.c: Likewise.
22882 * math/w_exp10f.c: Likewise.
22883 * math/w_exp10l.c: Likewise.
22884 * math/w_exp2.c: Likewise.
22885 * math/w_exp2f.c: Likewise.
22886 * math/w_exp2l.c: Likewise.
22887 * math/w_fmod.c: Likewise.
22888 * math/w_fmodf.c: Likewise.
22889 * math/w_fmodl.c: Likewise.
22890 * math/w_hypot.c: Likewise.
22891 * math/w_hypotf.c: Likewise.
22892 * math/w_hypotl.c: Likewise.
22893 * math/w_jnl.c: Likewise.
22894 * math/w_lgamma.c: Likewise.
22895 * math/w_lgamma_r.c: Likewise.
22896 * math/w_lgammaf.c: Likewise.
22897 * math/w_lgammaf_r.c: Likewise.
22898 * math/w_lgammal.c: Likewise.
22899 * math/w_lgammal_r.c: Likewise.
22900 * math/w_pow.c: Likewise.
22901 * math/w_powf.c: Likewise.
22902 * math/w_powl.c: Likewise.
22903 * math/w_remainder.c: Likewise.
22904 * math/w_remainderf.c: Likewise.
22905 * math/w_remainderl.c: Likewise.
22906 * math/w_scalb.c: Likewise.
22907 * math/w_scalbf.c: Likewise.
22908 * math/w_scalbl.c: Likewise.
22909 * math/w_scalbln.c: Likewise.
22910 * math/w_scalblnf.c: Likewise.
22911 * math/w_scalblnl.c: Likewise.
22912 * math/w_sinh.c: Likewise.
22913 * math/w_sinhf.c: Likewise.
22914 * math/w_sinhl.c: Likewise.
22915 * math/w_tgamma.c: Likewise.
22916 * math/w_tgammaf.c: Likewise.
22917 * math/w_tgammal.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22920 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22921 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22922 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22924 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22925 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22926 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22927 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22928 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22929 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22946 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22949 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22950 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22951 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22952 * stdio-common/printf_fp.c: Likewise.
22953 * stdio-common/printf_fphex.c: Likewise.
22954 * stdio-common/printf_size.c: Likewise.
22955
22956 2015-06-03 Joseph Myers <joseph@codesourcery.com>
22957
22958 [BZ #18470]
22959 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22960 strnlen.
22961 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22962 Remove variable.
22963 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22964 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22965 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22966 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22967 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22968 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22969 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22970 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22971 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22972 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22973
22974 [BZ #18468]
22975 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22976 weak alias of __wmemchr. Use libc_hidden_weak.
22977 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
22978 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22979 instead of wmemchr.
22980
22981 2015-06-02 Roland McGrath <roland@hack.frob.com>
22982
22983 [BZ #18383]
22984 * elf/tst-tlsalign-extern.c: New file.
22985 * elf/tst-tlsalign-extern-static.c: New file.
22986 * elf/tst-tlsalign-vars.c: New file.
22987 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22988 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22989 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22990 ($(objpfx)tst-tlsalign-extern-static): Likewise.
22991 (test-xfail-tst-tlsalign-extern-static): New variable.
22992
22993 2015-06-02 Joseph Myers <joseph@codesourcery.com>
22994
22995 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22996 Use variable name _sc_err instead of err.
22997 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22998 instead of ret.
22999 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23000 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23001 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23002 (INLINE_SYSCALL): Likewise.
23003
23004 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23005 * include/string.h (__strnlen): Use libc_hidden_proto.
23006 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23007 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23008 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23009 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23010 (libc_hidden_def): Undefine and redefine.
23011 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23012 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23013 __GI_strnlen.
23014 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23015 libc_hidden_def.
23016 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23017
23018 [BZ #18469]
23019 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23020 weak alias of __towlower. Use libc_hidden_weak.
23021 (towupper): Rename to __towupper and define as weak alias of
23022 __towupper. Use libc_hidden_weak.
23023 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
23024 (__towupper): Likewise.
23025 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23026 __towlower instead of towlower.
23027
23028 2015-06-02 Roland McGrath <roland@hack.frob.com>
23029
23030 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23031 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23032
23033 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23034
23035 * sysdeps/aarch64/libm-test-ulps: Update.
23036
23037 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23038
23039 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23040 Define.
23041 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23043 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23044 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23045 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23046 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23047 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23048
23049 2015-06-01 Martin Sebor <msebor@redhat.com>
23050
23051 [BZ #18116]
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23053 (__setcontext): Use extended four-operand version of mtsf whenever
23054 possible.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23056 (__novec_swapcontext): Likewise.
23057
23058 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23059
23060 * benchtests/scripts/compare_bench.py: New file.
23061 * benchtests/scripts/import_bench.py (mean): New function.
23062 (split_list): Likewise.
23063 (do_for_all_timings): Likewise.
23064 (compress_timings): Likewise.
23065
23066 * benchtests/scripts/import_bench.py: New file.
23067 * benchtests/scripts/validate_benchout.py: Import import_bench
23068 instead of jsonschema.
23069 (validate_bench): Remove function.
23070 (main): Use import_bench.
23071
23072 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
23073
23074 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23075 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23076
23077 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23078
23079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23080
23081 2015-05-28 Roland McGrath <roland@hack.frob.com>
23082
23083 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23084 set THREAD_SELF->tid to a magic value and futex-wake it.
23085 Pass its address to the thread_exit system call.
23086 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23087 bit is clear.
23088 * sysdeps/nacl/lowlevellock.h: New file.
23089 * sysdeps/nacl/lll_timedwait_tid.c: New file.
23090
23091 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23092 Add TIMEOUT to current time, don't subtract it.
23093
23094 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
23095
23096 [BZ #2981]
23097 [BZ #18422]
23098 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23099 ($(objpfx)tst-audit2.out): Also depend on
23100 $(objpfx)tst-auditmod9b.so.
23101 * elf/tst-audit2.c: Include <dlfcn.h>.
23102 (calloc_called): New.
23103 (calloc): Allow to be called more than once.
23104 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23105
23106 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
23107
23108 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23109 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23110
23111 2015-05-27 Marko Myllynen <myllynen@redhat.com>
23112
23113 * stdlib/monetary.h: Fix comment.
23114
23115 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
23116
23117 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23118 Avoid using variables in #defines that might cause shadowing.
23119 (INTERNAL_VSYSCALL_CALL): Likewise.
23120
23121 2015-05-26 Roland McGrath <roland@hack.frob.com>
23122
23123 * sysdeps/nacl/lll_timedlock_wait.c: New file.
23124
23125 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23126 * nptl/lll_timedlock_wait.c: ... to this new file.
23127 * nptl/Makefile (libpthread-routines): Add it.
23128 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23129 * nptl/lll_timedwait_tid.c: ... to this new file.
23130 * nptl/Makefile (libpthread-routines): Add it.
23131 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23132 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23133 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23134 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23135 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23136 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23137 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23138 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23139 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23140 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23141
23142 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23143
23144 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23145 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23146 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23148 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23150 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23152 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23153 * sysdeps/unix/sysv/linux/tile/sysdep.h
23154 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23155 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23156 using vDSO syscall macro.
23157
23158 2015-05-26 Andriy Rysin <arysin@gmail.com>
23159
23160 [BZ #17293]
23161 * uk_UA: Fix sorting order for Ukrainian locale
23162
23163 2015-05-26 Marko Myllynen <myllynen@redhat.com>
23164
23165 * stdlib/monetary.h: Fix comment.
23166
23167 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
23168
23169 [BZ #18234]
23170 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23171 st_mtim and st_ctim members.
23172 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23173 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23174 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23175 (struct stat64): Likewise.
23176 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23177 (struct stat64): Likewise.
23178 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23179 (struct stat64): Likewise.
23180
23181 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23182
23183 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23184 Define and include sysdep-vdso.h.
23185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23186 Likewise.
23187 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23188 Likewise.
23189 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23190 Define with VDSO_SYMBOL and use PTR_MANGLE.
23191 (__vdso_clock_gettime): Likewise.
23192 (__vdso_clock_getres): Likewise.
23193 (_libc_vdso_platform_setup): Likewise.
23194 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23195 Likewise.
23196 (_libc_vdso_platform_setup): Likewise.
23197 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23198 Likewise.
23199 (__vdso_clock_gettime): Likewise.
23200 (__vdso_clock_getres): Likewise.
23201 (__vdso_get_tbfreq): Likewise.
23202 (__vdso_getcpu): Likewise.
23203 (__vdso_time): Likewise.
23204 (__vdso_sigtramp_rt64): Likewise.
23205 (__vdso_signtramp32): Likewise.
23206 (__vdso_sigtramp_rt32): Likewise.
23207 (_libc_vdso_platform_setup): Likewise.
23208 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23209 Likewise.
23210 (__vdso_clock_gettime): Likewise.
23211 (__vdso_clock_getres): Likewise.
23212 (_libc_vdso_platform_setup): Likewise.
23213 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23214 Likewise.
23215 (__vdso_clock_gettime): Likewise.
23216 (_libc_vdso_platform_setup): Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23218 Likewise.
23219 (__vdso_getcpu): Likewise.
23220 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23221 Use VDSO_SYMBOL macro to define.
23222 (__vdso_clock_gettime): Likewise.
23223 (__vdso_clock_getres): Likewise.
23224 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23225 Likewise.
23226 (__vdso_clock_gettime): Likewise.
23227 (__vdso_clock_getres): Likewise.
23228 (__vdso_get_tbfreq): Likewise.
23229 (__vdso_getcpu): Likewise.
23230 (__vdso_time): Likewise.
23231 (__vdso_sigtramp_rt64): Likewise.
23232 (__vdso_signtramp32): Likewise.
23233 (__vdso_sigtramp_rt32): Likewise.
23234 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23235 Likewise.
23236 (__vdso_clock_gettime): Likewise.
23237 (__vdso_clock_getres): Likewise.
23238 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23239 Likewise.
23240 (__vdso_clock_gettime): Likewise.
23241 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23242 Likewise.
23243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
23244 macro.
23245 (INTERNAL_VSYSCALL): Likewise.
23246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23247 Remove macro.
23248 (INTERNAL_VSYSCALL): Likewise.
23249 (INTERNAL_VSYSCALL_NCS): Likewise.
23250 (INTERNAL_VSYSCALL_CALL): New macro.
23251 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23253 Likewise.
23254 (INTERNAL_VSYSCALL): Likewise.
23255 (INTERNAL_VSYSCALL_NCS): Likewise.
23256 (INTERNAL_VSYSCALL_CALL): New macro.
23257 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23259 (INLINE_VSYSCALL): Remove macro.
23260 (INTERNAL_VSYSCALL): Remove macro.
23261 (INTERNAL_VSYSCALL_NCS): Remove macro.
23262 (INTERNAL_VSYSCALL_CALL): New macro.
23263 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23265 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23266 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23267 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23269 (INLINE_VSYSCALL): Remove macro.
23270 (INTERNAL_VSYSCALL): Likewise.
23271 (INTERNAL_VSYSCALL_NCS): Likewise.
23272 (INTERNAL_VSYSCALL_CALL): New macro.
23273 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23274 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23275 PTR_DEMANGLE on vDSO pointer.
23276 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23277 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23278 macro.
23279 (INTERNAL_SYSCALL): Likewise.
23280 (INTERNAL_VSYSCALL_NCS): Remove macro.
23281 (INTERNAL_VSYSCALL_CALL): New macro.
23282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23283 Remove macro.
23284 (INTERNAL_VSYSCALL): Likewise.
23285 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23286 sysdep-vdso.h instead of libc-vdso.h.
23287 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23288 definition.
23289 (INLINE_VSYSCALL): Likewise.
23290 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23291 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23292 definition.
23293 (INLINE_VSYSCALL): Likewise.
23294 (INTERNAL_VSYSCALL): Likewise.
23295 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23296 * sysdeps/unix/sysv/linux/timespec_get.c
23297 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23298 (timespec_get): Use ANSI prototype.
23299 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23300 and definition for Linux.
23301
23302 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
23303
23304 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23305 * include/libc-symbols.h: libmvec_hidden_* macro series added.
23306
23307 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
23308
23309 [BZ #2981]
23310 [BZ #18410]
23311 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23312 for missing DT_PLTRELSZ.
23313
23314 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
23315
23316 Remove obsolete aliases that broke 'locale -a'
23317 [BZ #18412]
23318 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23319 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23320 breaking some applications that use 'locale -a' output.
23321 Change the encoding of this file from Latin-1 to ASCII to avoid
23322 other potential problems with people grepping this file.
23323
23324 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23325
23326 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23327 -fasynchronous-unwind-tables.
23328 (CFLAGS-sendto.c): Likewise.
23329 (CFLAGS-sendmsg.c): Likewise.
23330 (CFLAGS-connect.c): Likewise.
23331 (CFLAGS-recvmsg.c): Likewise.
23332 (CFLAGS-recvfrom.c): Likewise.
23333 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23334 (SOCKETCALL): New macro: non-cancellable socketcall.
23335 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23336 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23337 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23338 * sysdeps/unix/sysv/linux/accept.c: New file.
23339 * sysdeps/unix/sysv/linux/bind.c: Likewise.
23340 * sysdeps/unix/sysv/linux/connect.c: Likewise.
23341 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23342 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23343 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23344 * sysdeps/unix/sysv/linux/listen.c: Likewise.
23345 * sysdeps/unix/sysv/linux/recv.c: Likewise.
23346 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23347 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23348 * sysdeps/unix/sysv/linux/send.c: Likewise.
23349 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23350 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23351 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23352 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23353 * sysdeps/unix/sysv/linux/socket.c: Likewise.
23354 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23355 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23356 prototype.
23357 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23358 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23359 instead of __internal_xxx function.
23360 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23361 prototype.
23362 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23363 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23364 instead of __internal_xxx function.
23365 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23366 prototype.
23367 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23368 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23369 instead of __internal_xxx function.
23370 * sysdeps/unix/sysv/linux/accept.S: Remove file.
23371 * sysdeps/unix/sysv/linux/bind.S: Likewise.
23372 * sysdeps/unix/sysv/linux/connect.S: Likewise.
23373 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23374 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23375 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23376 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23377 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23378 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23379 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23380 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23381 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23382 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23383 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23384 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23385 * sysdeps/unix/sysv/linux/listen.S: Likewise.
23386 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23387 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23388 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23389 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23392 * sysdeps/unix/sysv/linux/recv.S: Likewise.
23393 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23394 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23395 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23396 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23397 * sysdeps/unix/sysv/linux/send.S: Likewise.
23398 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23399 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23400 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23401 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23402 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23403 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23405 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23406 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23407 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23408 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23409 socketcall is implemented in GLIBC.
23410
23411 2015-05-22 Joseph Myers <joseph@codesourcery.com>
23412
23413 * soft-fp/fmadf4.c: Include <libc-internal.h>.
23414 (__fma): Ignore uninitialized warnings around packing.
23415 * soft-fp/fmasf4.c: Include <libc-internal.h>.
23416 (__fmaf): Ignore uninitialized warnings around packing.
23417 * soft-fp/fmatf4.c: Include <libc-internal.h>.
23418 (__fmal): Ignore uninitialized warnings around packing.
23419
23420 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23421 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23422 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23423 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23424
23425 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23426 switch statement into default case.
23427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23428
23429 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23430 a conditional in forcing "inexact".
23431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23432 Likewise.
23433
23434 2015-05-22 Roland McGrath <roland@hack.frob.com>
23435
23436 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23437 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23438 for each INTERNAL_SYSCALL use.
23439
23440 2015-05-22 Joseph Myers <joseph@codesourcery.com>
23441
23442 [BZ #438]
23443 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23444 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23445 variable.
23446
23447 [BZ #18444]
23448 * string/basename.c (basename): Rename to __basename and define as
23449 weak alias of __basename. Use libc_hidden_weak.
23450 * include/string.h (__basename): Declare. Use libc_hidden_proto.
23451 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23452 __basename instead of basename.
23453 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23454 Remove variable.
23455 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23456
23457 2015-05-18 Florian Weimer <fweimer@redhat.com>
23458
23459 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23460 (_IO_JUMPS_FILE_plus): New.
23461 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23462 _IO_CAST_FIELD_ACCESS.
23463 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23464 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23465 * libio/freopen.c (freopen): Likewise.
23466 * libio/freopen64.c (freopen64): Likewise.
23467 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23468 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23469 * libio/iofwide.c (_IO_fwide): Likewise.
23470 * libio/memstream.c (open_memstream): Likewise.
23471 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23472 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23473 * libio/oldiopopen.c (_IO_old_popen): Likewise.
23474
23475 2015-05-21 Joseph Myers <joseph@codesourcery.com>
23476
23477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23478 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23479 NADJ.
23480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23481 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23482 NADJ.
23483 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23484 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23485 NADJ.
23486
23487 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23488 (p == 4) case.
23489
23490 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23491 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23492 Remove variable.
23493 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23494 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23495 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23496
23497 2015-05-21 Florian Weimer <fweimer@redhat.com>
23498
23499 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23500 Adjust jump table label generation macros.
23501
23502 2015-05-21 Florian Weimer <fweimer@redhat.com>
23503
23504 * stdio-common/vfprintf.c (vfprintf): Move local variables
23505 args_malloced, specs, specs_malloced, and the code after
23506 do_positional to the printf_positional function.
23507 (printf_positional): New function.
23508
23509 2015-05-21 Florian Weimer <fweimer@redhat.com>
23510
23511 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23512 function.
23513 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23514 STEP4_TABLE, process_arg): Move macro definitions
23515 out of the vfprintf function. (Cosmetic change only.)
23516
23517 2015-05-21 Carlos O'Donell <carlos@redhat.com>
23518
23519 * benchtests/Makefile (stdio-common-bench): Define.
23520 (benchset): Add stdio-common-bench.
23521 * sprintf-inputs: New file.
23522 * sprintf-source.c: New file.
23523
23524 2015-05-21 Andreas Schwab <schwab@suse.de>
23525
23526 [BZ #13028]
23527 [BZ #17053]
23528 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23529 of struct __res_state.
23530 * resolv/res_send.c (__libc_res_nsend): Likewise.
23531 (get_nsaddr): New function.
23532 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23533 statp directly.
23534
23535 2015-05-20 Joseph Myers <joseph@codesourcery.com>
23536
23537 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23538 -D_POSIX_C_SOURCE=199506L.
23539
23540 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23541
23542 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23543 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23544 Do not mention otherwise.
23545 [POSIX] (_XOPEN_VERSION): Do not expect.
23546 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23547 [POSIX] (_POSIX2_C_BIND): Likewise.
23548 [POSIX] (_POSIX2_VERSION): Likewise.
23549 [POSIX] (_XOPEN_XPG2): Likewise.
23550 [POSIX] (_XOPEN_XPG3): Likewise.
23551 [POSIX] (_XOPEN_XPG4): Likewise.
23552 [POSIX] (_XOPEN_UNIX): Likewise.
23553 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23554 [POSIX] (_POSIX_BARRIERS): Likewise.
23555 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23556 [POSIX] (_POSIX_CPUTIME): Likewise.
23557 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23558 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23559 [POSIX] (_POSIX_SHELL): Likewise.
23560 [POSIX] (_POSIX_SPAWN): Likewise.
23561 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23562 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23563 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23564 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23565 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23566 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23567 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23568 [POSIX] (_XBS5_LP64_OFF64): Likewise.
23569 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23570 [POSIX] (_POSIX_TIMEOUTS): Likewise.
23571 [POSIX] (_POSIX2_PBS): Likewise.
23572 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23573 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23574 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23575 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23576 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23577 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23578 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23579 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23580 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23581 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23582 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23583 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23584 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23585 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23586 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23587 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23588 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23589 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23590 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23591 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23592 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23593 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23594 [POSIX] (_SC_2_C_BIND): Likewise.
23595 [POSIX] (_SC_2_C_VERSION): Likewise.
23596 [POSIX] (_SC_2_PBS): Likewise.
23597 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23598 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23599 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23600 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23601 [POSIX] (_SC_2_PBS_TRACK): Likewise.
23602 [POSIX] (_SC_ATEXIT_MAX): Likewise.
23603 [POSIX] (_SC_BARRIERS): Likewise.
23604 [POSIX] (_SC_BASE): Likewise.
23605 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23606 [POSIX] (_SC_DEVICE_IO): Likewise.
23607 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23608 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23609 [POSIX] (_SC_FD_MGMT): Likewise.
23610 [POSIX] (_SC_FIFO): Likewise.
23611 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23612 [POSIX] (_SC_FILE_LOCKING): Likewise.
23613 [POSIX] (_SC_FILE_SYSTEM): Likewise.
23614 [POSIX] (_SC_IOV_MAX): Likewise.
23615 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23616 [POSIX] (_SC_NETWORKING): Likewise.
23617 [POSIX] (_SC_PAGE_SIZE): Likewise.
23618 [POSIX] (_SC_PASS_MAX): Likewise.
23619 [POSIX] (_SC_PIPE): Likewise.
23620 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23621 [POSIX] (_SC_REGEXP): Likewise.
23622 [POSIX] (_SC_SHELL): Likewise.
23623 [POSIX] (_SC_SIGNALS): Likewise.
23624 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23625 [POSIX] (_SC_SPIN_LOCKS): Likewise.
23626 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23627 [POSIX] (_SC_USER_GROUPS): Likewise.
23628 [POSIX] (_SC_USER_GROUPS_R): Likewise.
23629 [POSIX] (_SC_STREAMS): Likewise.
23630 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23631 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23632 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23633 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23634 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23635 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23636 [POSIX] (_PC_FILESIZEBITS): Likewise.
23637 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23638 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23639 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23640 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23641 [POSIX] (uid_t): Likewise.
23642 [POSIX] (gid_t): Likewise.
23643 [POSIX] (off_t): Likewise.
23644 [POSIX] (pid_t): Likewise.
23645 [POSIX] (cuserid): Allow.
23646 (_SC_2_CHAR_TERM): Require constant.
23647 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23648 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23649 variable.
23650
23651 2015-05-20 Roland McGrath <roland@hack.frob.com>
23652
23653 * sysdeps/nacl/pthread-pids.h: New file.
23654 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23655 (create_thread): Use __nacl_get_tid to initialize PD->tid.
23656
23657 * nptl/pthread-pids.h: New file.
23658 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23659 * nptl/nptl-init.c: Include <pthread-pids.h>.
23660 (__pthread_initialize_minimal_internal):
23661 Call __pthread_initialize_pids instead of set_tid_address syscall.
23662
23663 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23664 * sysdeps/posix/usleep.c: ... here.
23665
23666 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23667
23668 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23669 call_pselect6 object.
23670 [$(subdir) = io]: Remove call_sync_file_range object.
23671 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23672 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23673 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23674 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23675
23676 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
23677
23678 * math/s_cproj.c: Add include "math_private.h".
23679 * math/s_cprojf.c: Likewise.
23680 * math/s_cprojl.c: Likewise.
23681
23682 2015-05-19 Joseph Myers <joseph@codesourcery.com>
23683
23684 [BZ #18244]
23685 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23686 high mantissa bit when testing whether P is a NaN.
23687 * math/libm-test.inc (remainder_test_data): Add more tests.
23688 (remquo_test_data): Likewise.
23689
23690 [BZ #18049]
23691 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23692 below -32, return the argument, with underflow if subnormal.
23693 * math/auto-libm-test-in: Add more tests of atanh.
23694 * math/auto-libm-test-out: Regenerated.
23695
23696 2015-05-19 Roland McGrath <roland@hack.frob.com>
23697
23698 [BZ #18434]
23699 * nptl/tst-sem15.c: New file.
23700 * nptl/Makefile (tests): Add it.
23701 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23702 s/<</>>/ to fix typo in EOVERFLOW check.
23703 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23704
23705 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23706
23707 * manual/strings.texi (envz_remove): Fix typo in safety
23708 annotations.
23709
23710 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
23711 Steve Ellcey <sellcey@imgtec.com>
23712
23713 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23714 in order to avoid strict alias warnings.
23715 (iruserok_af): Ditto for ra.
23716
23717 2015-05-19 James Lemke <jwlemke@codesourcery.com>
23718
23719 [BZ #17581]
23720 * malloc/hooks.c
23721 (magicbyte): Convert to a function and avoid returning 0x01.
23722 (mem2mem_check): Avoid using a length byte equal to the magic byte.
23723 (mem2chunk_check): Fix unsigned comparisons to zero.
23724 Hoist defs of sz and magic.
23725
23726 2015-05-19 Richard Henderson <rth@redhat.com>
23727
23728 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23729
23730 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23731
23732 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23733
23734 [BZ #16159]
23735 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23736 * malloc/arena.c (arena_lock): Check if arena is corrupt.
23737 (reused_arena): Find a non-corrupt arena.
23738 (heap_trim): Pass arena to unlink.
23739 * malloc/hooks.c (malloc_check_get_size): Pass arena to
23740 malloc_printerr.
23741 (top_check): Likewise.
23742 (free_check): Likewise.
23743 (realloc_check): Likewise.
23744 * malloc/malloc.c (malloc_printerr): Add arena argument.
23745 (unlink): Likewise.
23746 (munmap_chunk): Adjust.
23747 (ARENA_CORRUPTION_BIT): New macro.
23748 (arena_is_corrupt): Likewise.
23749 (set_arena_corrupt): Likewise.
23750 (sysmalloc): Use mmap if there are no usable arenas.
23751 (_int_malloc): Likewise.
23752 (__libc_malloc): Don't fail if arena_get returns NULL.
23753 (_mid_memalign): Likewise.
23754 (__libc_calloc): Likewise.
23755 (__libc_realloc): Adjust for additional argument to
23756 malloc_printerr.
23757 (_int_free): Likewise.
23758 (malloc_consolidate): Likewise.
23759 (_int_realloc): Likewise.
23760 (_int_memalign): Don't touch corrupt arenas.
23761 * malloc/tst-malloc-backtrace.c: New test case.
23762
23763 * Makefile (summarize-tests): Fix return value on success.
23764
23765 * manual/string.texi (Envz Functions): Add envz_remove.
23766
23767 2015-05-18 Roland McGrath <roland@hack.frob.com>
23768
23769 * sysdeps/posix/opendir.c: Include <stdbool.h>.
23770 (invalid_name): New function, broken out of ...
23771 (__opendirat): ... here. Call it.
23772 (need_isdir_precheck): New function, broken out of ...
23773 (__opendirat): ... here. Call it.
23774 Use __fxstatat64, not __xstatat64.
23775 (opendir_oflags): New function, broken out of ...
23776 (__opendirat): ... here. Call it.
23777 (opendir_tail): New function, broken out of ...
23778 (__opendirat): ... here. Call it.
23779 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23780 opendir_tail, rather than punting to __opendirat.
23781 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23782
23783 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23784
23785 * .gitignore: Ignore generated *.pyc.
23786
23787 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
23788
23789 * include/stdio.h: Define __need_wint_t.
23790 * test-skeleton.c: Avoid `for' loop initial declaration.
23791 * nptl/tst-initializers1.c: Use test-skeleton.c.
23792
23793 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23794
23795 [BZ #18418]
23796 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23797
23798 2015-05-15 Joseph Myers <joseph@codesourcery.com>
23799
23800 [BZ #16352]
23801 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23802 (__ieee754_atanh): Force underflow exception for results with
23803 small absolute value.
23804 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23805 (__ieee754_atanhf): Force underflow exception for results with
23806 small absolute value.
23807 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23808 (__ieee754_atanh): Force underflow exception for results with
23809 small absolute value.
23810 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23811 (__ieee754_atanhf): Force underflow exception for results with
23812 small absolute value.
23813 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23814 (__ieee754_atanhl): Force underflow exception for results with
23815 small absolute value.
23816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23817 (__ieee754_atanhl): Force underflow exception for results with
23818 small absolute value.
23819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23820 (__ieee754_atanhl): Force underflow exception for results with
23821 small absolute value.
23822 * math/auto-libm-test-in: Do not allow missing underflow
23823 exceptions from atanh.
23824 * math/auto-libm-test-out: Regenerated.
23825
23826 [BZ #18221]
23827 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23828 2**-28 as threshold for returning x or +/- 1/x.
23829 * math/auto-libm-test-in: Add more tests of tan.
23830 * math/auto-libm-test-out: Regenerated.
23831
23832 [BZ #18220]
23833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23834 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23835 * math/auto-libm-test-in: Add another test of lgamma.
23836 * math/auto-libm-test-out: Regenerated.
23837
23838 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
23839
23840 * stdio-common/printf_fp.c (___printf_fp): Use abs.
23841 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
23842 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23843 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23844 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
23845 (ADD2A): Use fabs. (SUB2A): Use fabs.
23846 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23849 (log1): Use fabs. (my_log2): Use fabs.
23850 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23851 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23853 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23855 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
23856 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
23857 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
23858 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
23859 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23860 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23861
23862 2015-05-15 Joseph Myers <joseph@codesourcery.com>
23863
23864 [BZ #18217]
23865 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23866 as threshold for returning 1 - x.
23867 * math/auto-libm-test-in: Add more tests of erfc.
23868 * math/auto-libm-test-out: Regenerated.
23869
23870 2015-05-14 Joseph Myers <joseph@codesourcery.com>
23871
23872 [BZ #18196]
23873 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23874 threshold for large arguments.
23875 * math/auto-libm-test-in: Add another test of atan.
23876 * math/auto-libm-test-out: Regenerated.
23877
23878 [BZ #16339]
23879 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23880 (__log1p): Force underflow exception for results with small
23881 absolute value.
23882 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23883 (__log1pf): Force underflow exception for results with small
23884 absolute value.
23885 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23886 (__log1p): Force underflow exception for results with small
23887 absolute value.
23888 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23889 (__log1pf): Force underflow exception for results with small
23890 absolute value.
23891 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23892 (__log1pl): Force underflow exception for results with small
23893 absolute value.
23894 * math/auto-libm-test-in: Do not allow missing underflow
23895 exceptions from log1p.
23896 * math/auto-libm-test-out: Regenerated.
23897
23898 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
23899 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23900
23901 [BZ #16704]
23902 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23903
23904 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
23905
23906 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23907 (libmvec): New variable.
23908 * configure.ac: Added option for mathvec build.
23909 * configure: Regenerated.
23910 * mathvec/Depend: New file.
23911 * mathvec/Makefile: New file.
23912 * shlib-versions: Added libmvec.
23913 * math/Makefile: Added rule for libm.so installation.
23914
23915 * bits/math-vector.h: New file.
23916 * bits/libm-simd-decl-stubs.h: New header.
23917 * math/Makefile (headers): Added new header
23918 libm-simd-decl-stubs.h.
23919 * math/math.h (__MATHCALL_VEC): New macro.
23920
23921 * math/gen-libm-have-vector-test.sh: Script generates series of macros
23922 for conditions in testing functions.
23923 * math/Makefile: Added call of libm-have-vector-test.sh.
23924 * math/libm-test.inc (HAVE_VECTOR): New macros.
23925
23926 * math/libm-test.inc: START refactored.
23927 * math/test-double.c (TEST_MATHVEC): Add define.
23928 * math/test-float.c: Likewise.
23929 * math/test-idouble.c: Likewise.
23930 * math/test-ifloat.c: Likewise.
23931 * math/test-ildoubl.c: Likewise.
23932 * math/test-ldouble.c: Likewise.
23933 * sysdeps/generic/math-tests-arch.h
23934 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23935 architecture check.
23936
23937 * math/test-double.c (FUNC_TEST): New macro.
23938 * math/test-float.c: Likewise.
23939 * math/test-idouble.c: Likewise.
23940 * math/test-ifloat.c: Likewise.
23941 * math/test-ildoubl.c: Likewise.
23942 * math/test-ldouble.c: Likewise.
23943 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23944
23945 2015-05-13 Roland McGrath <roland@hack.frob.com>
23946
23947 * sysdeps/nacl/fdopendir.c: New file.
23948
23949 * dirent/scandir-tail.c: New file.
23950 * dirent/scandir64-tail.c: New file.
23951 * dirent/Makefile (routines): Add them.
23952 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23953 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23954 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23955 [!SCANDIR] (SCANDIR_TAIL): New macro.
23956 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23957 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23958 (SCANDIRAT): Macro removed.
23959 (SCANDIR_TAIL): New macro.
23960 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23961 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23962 (SCANDIRAT): Just call __opendirat and __scandir_tail.
23963 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23964 (READDIR): Macro removed.
23965 (SCANDIR_TAIL): New macro.
23966 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23967 (SCANDIR_TAIL): New macro.
23968
23969 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23970 * dirent/scandir-cancel.c: ... to this new file.
23971 * dirent/Makefile (routines): Add it.
23972 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23973 * sysdeps/unix/sysv/linux/i386/scandir64.c
23974 (SKIP_SCANDIR_CANCEL): Macro removed.
23975 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23976
23977 * dirent/tst-scandir.c: New file.
23978 * dirent/tst-scandir64.c: New file.
23979 * dirent/Makefile (tests): Add them.
23980
23981 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
23982
23983 [BZ #18409]
23984 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23985
23986 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
23987
23988 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23989 list.
23990
23991 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
23992
23993 * benchtests/bench-strcoll.c: New benchmark.
23994 * benchtests/Makefile: Generate locales and run benchmark.
23995 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23996 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23997 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23998 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23999 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24000 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24001 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24002 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24003 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24004 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24005 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24006 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24007 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24008 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24009 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24010 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24011 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24012 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24013 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24014 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24015 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24016 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24017 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24018 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24019
24020 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
24021
24022 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24023 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24024
24025 2015-05-12 Roland McGrath <roland@hack.frob.com>
24026
24027 * posix/uname-values.h: New file.
24028 * posix/uname.c: Include that instead of <config-name.h>.
24029 * sysdeps/nacl/uname-values.h: New file.
24030 * sysdeps/arm/nacl/uname-values.h: New file.
24031
24032 2015-05-12 Joseph Myers <joseph@codesourcery.com>
24033
24034 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24035 splitting into fields.
24036
24037 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
24038
24039 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24040 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24041 * locale/localeinfo.h: Add enum collation_encoding_type.
24042 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24043 * programs/ld-collate.c (collate_output): Add encoding type info.
24044 * string/strcoll_l.c (STRDIFF): New function.
24045 * (STRCOLL): Use STRDIFF to skip over equal prefix.
24046 * wcsmbs/wcscoll_l.c: Define STRDIFF.
24047
24048 2015-05-11 Joseph Myers <joseph@codesourcery.com>
24049
24050 [BZ #18397]
24051 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24052 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
24053 <fpu_control.h> instead of <math/fpu_control.c>.
24054 * sysdeps/mips/mips32/fpu/Makefile: New file.
24055
24056 2015-05-11 Andreas Schwab <schwab@suse.de>
24057
24058 [BZ #18007]
24059 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24060 nss_endgrent.
24061 (_nss_compat_endgrent): Call nss_endgrent.
24062 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24063 nss_endpwent.
24064 (_nss_compat_endpwent): Call nss_endpwent.
24065 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24066 needent, call nss_setspent only if non-zero.
24067 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24068 (internal_endspent): Don't call nss_endspent.
24069 (_nss_compat_endspent): Call nss_endspent.
24070 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24071 Remove. All uses removed.
24072 (internal_setent): Remove parameter stayopen, add parameter
24073 stream. Use it instead of global variable.
24074 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24075 (internal_endent, internal_getent): Add parameter stream. Use it
24076 instead of global variable.
24077 (CONCAT(_nss_files_end,ENTNAME))
24078 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24079 (_nss_files_get##name##_r): Pass local stream. Remove locking.
24080 * nss/nss_files/files-alias.c (position, last_use): Remove. All
24081 uses removed.
24082 (internal_setent, internal_endent): Add parameter stream. Use it
24083 instead of global variable.
24084 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24085 stream.
24086 (get_next_alias): Add parameter stream.
24087 (_nss_files_getaliasent_r): Pass global stream.
24088 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
24089 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24090 (_nss_files_gethostbyname4_r): Pass local stream to
24091 internal_setent, internal_getent and internal_endent. Remove
24092 locking.
24093
24094 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24095
24096 * tst-strfmon1.c (tests): Update expected currency symbol.
24097
24098 2015-05-08 Roland McGrath <roland@hack.frob.com>
24099
24100 * sysdeps/nacl/gethostname.c: New file.
24101
24102 2015-05-08 Joseph Myers <joseph@codesourcery.com>
24103
24104 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24105 and sinh.
24106 * math/auto-libm-test-out: Regenerated.
24107 * sysdeps/i386/fpu/libm-test-ulps: Update.
24108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109
24110 2015-05-08 Carlos O'Donell <carlos@redhat.com>
24111
24112 [BZ #18125]
24113 * stdlib/tst-setcontext3.c: New file.
24114 * stdlib/tst-setcontext3.sh: New file.
24115 * stdlib/Makefile (tests): Add tst-setcontext3.
24116 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24117 to verify test program created output file.
24118 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24119 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24120 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24121 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24122
24123 2015-05-06 Roland McGrath <roland@hack.frob.com>
24124
24125 [BZ #18383]
24126 * elf/tst-tlsalign.c: New file.
24127 * elf/tst-tlsalign-static.c: New file.
24128 * elf/tst-tlsalign-lib.c: New file.
24129 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24130 (tests-static): Add tst-tlsalign-static.
24131 (modules-names): Add tst-tlsalign-lib.
24132 (test-xfail-tst-tlsalign): New variable.
24133 (test-xfail-tst-tlsalign-static): New variable.
24134
24135 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24136 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24137
24138 2015-05-06 Joseph Myers <joseph@codesourcery.com>
24139
24140 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24141 csqrt, erfc, sin and sincos.
24142 * math/auto-libm-test-out: Regenerated.
24143 * sysdeps/i386/fpu/libm-test-ulps: Update.
24144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24145
24146 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24147
24148 * sysdeps/aarch64/libm-test-ulps: Update.
24149
24150 2015-05-05 Joseph Myers <joseph@codesourcery.com>
24151
24152 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24153 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24154 * math/auto-libm-test-out: Regenerated.
24155 * sysdeps/i386/fpu/libm-test-ulps: Update.
24156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24157
24158 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
24159
24160 [BZ #18265]
24161 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24162 (wcsncpy): Likewise.
24163
24164 2015-05-05 Florian Weimer <fweimer@redhat.com>
24165
24166 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24167 Assume __ASSUME_FALLOCATE is always true.
24168 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24169 (__posix_fallocate64_l64): Likweise.
24170 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24171 (posix_fallocate): Likewise.
24172 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24173 (__posix_fallocate64_l64): Likewise.
24174 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24175 [!__ASSUME_FALLOCATE]: Add comment.
24176
24177 2015-05-05 Florian Weimer <fweimer@redhat.com>
24178
24179 * sysdeps/unix/sysv/linux/i386/Makefile
24180 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24181 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24182 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24183 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24184 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24185 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24186 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24187
24188 2015-05-02 Joseph Myers <joseph@codesourcery.com>
24189
24190 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24191 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24192 tgamma.
24193 * math/auto-libm-test-out: Regenerated.
24194 * sysdeps/i386/fpu/libm-test-ulps: Update.
24195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24196
24197 2015-05-01 Joseph Myers <joseph@codesourcery.com>
24198
24199 * math/auto-libm-test-in: Add more tests of tgamma.
24200 * math/auto-libm-test-out: Regenerated.
24201 * sysdeps/i386/fpu/libm-test-ulps: Update.
24202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24203
24204 * math/auto-libm-test-in: Add more tests of tanh.
24205 * math/auto-libm-test-out: Regenerated.
24206 * sysdeps/i386/fpu/libm-test-ulps: Update.
24207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24208
24209 * math/auto-libm-test-in: Add more tests of tan.
24210 * math/auto-libm-test-out: Regenerated.
24211 * sysdeps/i386/fpu/libm-test-ulps: Update.
24212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24213
24214 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24215 * math/auto-libm-test-out: Regenerated.
24216 * sysdeps/i386/fpu/libm-test-ulps: Update.
24217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24218
24219 * math/auto-libm-test-in: Add another test of pow.
24220 * math/auto-libm-test-out: Regenerated.
24221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24222
24223 * math/auto-libm-test-in: Add more tests of lgamma.
24224 * math/auto-libm-test-out: Regenerated.
24225 * sysdeps/i386/fpu/libm-test-ulps: Update.
24226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24227
24228 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24229 log1p.
24230 * math/auto-libm-test-out: Regenerated.
24231 * sysdeps/i386/fpu/libm-test-ulps: Update.
24232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24233
24234 2015-05-01 Mark Wielaard <mjw@redhat.com>
24235
24236 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24237 Elf64_Chdr structs and ELFCOMPRESS constants.
24238
24239 2015-05-01 Joseph Myers <joseph@codesourcery.com>
24240
24241 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24242 expm1.
24243 * math/auto-libm-test-out: Regenerated.
24244 * sysdeps/i386/fpu/libm-test-ulps: Update.
24245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24246
24247 * math/auto-libm-test-in: Add more tests of erf and erfc.
24248 * math/auto-libm-test-out: Regenerated.
24249 * sysdeps/i386/fpu/libm-test-ulps: Update.
24250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24251
24252 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
24253
24254 * config.h.in (HAVE_AARCH64_BE): Add.
24255
24256 2015-04-30 Joseph Myers <joseph@codesourcery.com>
24257
24258 * math/auto-libm-test-in: Add more tests of csqrt.
24259 * math/auto-libm-test-out: Regenerated.
24260 * sysdeps/i386/fpu/libm-test-ulps: Update.
24261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24262
24263 * math/auto-libm-test-in: Add more tests of cosh and sinh.
24264 * math/auto-libm-test-out: Regenerated.
24265 * sysdeps/i386/fpu/libm-test-ulps: Update.
24266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24267
24268 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24269
24270 2015-04-29 Roland McGrath <roland@hack.frob.com>
24271
24272 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24273 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24274
24275 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24276 (euidaccess, eaccess): Define as weak aliases.
24277
24278 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24279 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
24280 but __suseconds_t is often 'long int' so some sources assume that
24281 type is being used (e.g. they use %ld to print tv_usec).
24282
24283 2015-04-29 Florian Weimer <fweimer@redhat.com>
24284
24285 [BZ #18007]
24286 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24287 (CVE-2014-8121)
24288 * nss/tst-nss-getpwent.c: New file.
24289 * nss/Makefile (tests): Add new test.
24290
24291 2015-04-28 Joseph Myers <joseph@codesourcery.com>
24292
24293 [BZ #18346]
24294 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24295 exponents less than 48 as cases where high part of mantissa needs
24296 examining to determine whether argument is integral.
24297 * math/libm-test.inc (round_test_data): Add more tests.
24298
24299 2015-04-28 Mark Wielaard <mjw@redhat.com>
24300
24301 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24302
24303 2015-04-27 David S. Miller <davem@davemloft.net>
24304
24305 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24306 __tls_get_addr.
24307 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24308
24309 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
24310
24311 [BZ#18333]
24312 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24313
24314 2015-04-27 Florian Weimer <fweimer@redhat.com>
24315
24316 [BZ#18333]
24317 * time/tzset.c (parse_tzname): Return error on memory allocation
24318 failure.
24319 * test-skeleton.c (struct temp_name_list): Change type of name
24320 member to non-const.
24321 (add_temp_file): Create a copy of the file name.
24322 (delete_temp_files): Deallocate memory.
24323 (create_temp_file): Add comment.
24324
24325 2015-04-24 Florian Weimer <fweimer@redhat.com>
24326
24327 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24328 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24329
24330 2015-04-24 Roland McGrath <roland@hack.frob.com>
24331
24332 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24333 * sysdeps/arm/configure: Regenerated.
24334
24335 2015-04-24 Florian Weimer <fweimer@redhat.com>
24336
24337 [BZ #17715]
24338 * time/tzfile.c (__tzfile_read): Check for large values of
24339 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
24340 * time/tzset.c (__tzstring_len): New function, based on the old
24341 __tzstring function.
24342 (__tzstring): Call __tzstring_len.
24343 (parse_tzname): New helper function extracted from
24344 __tzset_parse_tz. Call __tzstring_len, without making a copy of
24345 the input string.
24346 (parse_offset): New helper function extracted from
24347 __tzset_parse_tz. Replace switch with fallthrough with
24348 initialization before sscanf.
24349 (parse_rule): Likewise.
24350 (__tzset_parse_tz): Rewrite using the new helper functions. Use
24351 new-style function definition.
24352 * timezone/Makefile (tests): Add tst-tzset.
24353 (tst-tzset.out): Dependencies on time zone files.
24354 (tst-tzset-ENV): Set TZDIR.
24355 (testdata/XT%): Copy crafted time zone files.
24356 * timezone/README: Mention crafted time zone files.
24357 * timezone/testdata/XT1, timezone/testdata/XT2,
24358 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24359 files.
24360 * timezone/tst-tzset.c: New test.
24361
24362 2015-04-24 Florian Weimer <fweimer@redhat.com>
24363
24364 * Makeconfig (+gccwarn): Remove -Winline.
24365
24366 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24367
24368 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24369
24370 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24371
24372 * NEWS: Mention sysconf() cache information support for s390.
24373 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24374
24375 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
24376
24377 * math/k_casinh.c (__kernel_casinh): Use __copysign.
24378 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24379 (__nearbyint): Likewise.
24380 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24381 (copysignl): Likewise.
24382
24383 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
24384
24385 [BZ #18287]
24386 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24387 based on padding. (CVE-2015-1781)
24388
24389 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24390
24391 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24392 libc-vdso.h.
24393 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24394 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24395 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24396 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24397 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24398 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24399 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24401 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24402 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24403 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24404 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24405 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24406 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24407 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24408 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24409 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24411 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24412 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24413 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24414 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24415 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24416
24417 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
24418
24419 * stdlib/setenv.c (__add_to_environ):
24420 Dump core quickly if setenv (..., NULL, ...) is called.
24421 This time, do it the right way, and pacify GCC with a pragma.
24422
24423 2015-04-17 Roland McGrath <roland@hack.frob.com>
24424
24425 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24426 IMAP->l_prev cannot be null, and #if out the code for the contrary
24427 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24428 believe that NS (&_dl_ns[NSID]) could point outside the array.
24429
24430 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24431 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24432 before using NSID as an index.
24433
24434 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
24435
24436 [BZ #17825]
24437 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24438 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24439 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24440
24441 2015-04-17 Roland McGrath <roland@hack.frob.com>
24442
24443 Add preliminary port to Google Native Client on ARM.
24444 * abi-tags (.*-.*-nacl.*): New entry.
24445 * sysdeps/arm/nacl: New directory.
24446 * sysdeps/nacl: New directory.
24447
24448 2015-04-16 David S. Miller <davem@davemloft.net>
24449
24450 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24451 lowlevellock-futex.h
24452
24453 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
24454
24455 * sysdeps/tile/configure.ac: New file.
24456 * sysdeps/tile/configure: Regenerated.
24457
24458 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24459
24460 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
24461 conditionals for weak_alias and libc_hidden_weak.
24462 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24463 libc_hidden_weak and weak_alias.
24464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24465 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24466 and weak_alias for static one.
24467
24468 2015-04-15 David S. Miller <davem@davemloft.net>
24469
24470 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24471
24472 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24473
24474 [BZ #18206]
24475 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24476 Use signed comparision instead of substraction to avoid
24477 overflow bug.
24478 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24479 Take the sign of ret.
24480 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24481 Do not expect precise return values. Only the sign matters.
24482 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24483 * wcsmbs/test-wcsncmp.c: New File.
24484 * string/test-strncmp.c: Add wcsncmp support.
24485
24486 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24487
24488 [BZ #6792]
24489 * math/w_log1p.c: New file.
24490 * math/w_log1pf.c: Likewise.
24491 * math/w_log1pl.c: Likewise.
24492 * math/Makefile (libm-calls): Add w_log1p.
24493 * math/s_log1pl.c (log1pl): Remove weak_alias.
24494 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24495 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24496 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24497 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24498 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24499 [NO_LONG_DOUBLE] (log1pl): Likewise.
24500 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24501 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24502 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24503 (log1p): Remove long_double_symbol.
24504 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24505 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24506 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24507 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24508 remove weak_alias for corresponding log1p function.
24509 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24510 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24511 * sysdeps/ia64/fpu/w_log1p.c: New file.
24512 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24513 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24514 * math/libm-test.inc (log1p_test_data): Add errno expectations.
24515
24516 2015-04-10 Joseph Myers <joseph@codesourcery.com>
24517
24518 [BZ #18247]
24519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24520 decimal exponent by 1.
24521 * stdlib/tst-strtod-round-data: Add more tests.
24522 * stdlib/tst-strtod-round.c (tests): Regenerated.
24523
24524 2015-04-09 Joseph Myers <joseph@codesourcery.com>
24525
24526 * math/auto-libm-test-in: Add more tests of clog and clog10.
24527 * math/auto-libm-test-out: Regenerated.
24528 * sysdeps/i386/fpu/libm-test-ulps: Update.
24529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24530
24531 2015-04-09 Roland McGrath <roland@hack.frob.com>
24532
24533 * Makeconfig (module-cppflags): Exclude all .v.i files.
24534 (skip-module-cppflags): Variable removed.
24535
24536 * configure.ac (libc_config_ok): Initialize before reading
24537 preconfigure scripts, not after.
24538 * configure: Regenerated.
24539
24540 * test-skeleton.c (TIMEOUT): Move #define to top level.
24541 (main): Grok environment variable TEST_DIRECT. If set, print
24542 test expectation details into that file and then behave as if
24543 given --direct.
24544
24545 2015-04-09 Florian Weimer <fweimer@redhat.com>
24546
24547 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24548 warning on 32-bit.
24549
24550 2015-04-08 David S. Miller <davem@davemloft.net>
24551
24552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24553
24554 2015-04-08 Joseph Myers <joseph@codesourcery.com>
24555
24556 * math/auto-libm-test-in: Add more tests of atanh.
24557 * math/auto-libm-test-out: Regenerated.
24558 * sysdeps/i386/fpu/libm-test-ulps: Update.
24559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24560
24561 * math/auto-libm-test-in: Add more tests of atan.
24562 * math/auto-libm-test-out: Regenerated.
24563 * sysdeps/i386/fpu/libm-test-ulps: Update.
24564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24565
24566 2015-04-08 Florian Weimer <fweimer@redhat.com>
24567
24568 * elf/pldd.c (main): Rewrite to use struct
24569 scratch_buffer instead of extend_alloca.
24570 * elf/pldd-xx.c (find_maps): Likewise.
24571 * grp/initgroups.c: Include <scratch_buffer.h> instead of
24572 <alloca.h>.
24573 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24574 scratch_buffer instead of extend_alloca.
24575 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24576 grp/compat-initgroups.c.
24577 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24578 Rewrite to use struct scratch_buffer instead of extend_alloca.
24579 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24580 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24581
24582 2015-04-08 Joseph Myers <joseph@codesourcery.com>
24583
24584 * math/auto-libm-test-in: Add more tests of cbrt.
24585 * math/auto-libm-test-out: Regenerated.
24586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24587
24588 * math/auto-libm-test-in: Add more tests of cabs.
24589 * math/auto-libm-test-out: Regenerated.
24590 * sysdeps/i386/fpu/libm-test-ulps: Update.
24591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24592
24593 [BZ #18210]
24594 [BZ #18211]
24595 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24596 (__ieee754_atan2): Set FE_TONEAREST mode for internal
24597 computations.
24598 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24599 clog10.
24600 * math/auto-libm-test-out: Regenerated.
24601 * sysdeps/i386/fpu/libm-test-ulps: Update.
24602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24603
24604 [BZ #18197]
24605 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24606 (atan): Set FE_TONEAREST mode for internal computations.
24607 * math/auto-libm-test-in: Add more tests of atan.
24608 * math/auto-libm-test-out: Regenerated.
24609
24610 2015-04-07 James Cowgill <james410@cowgill.org.uk>
24611
24612 [BZ #17930]
24613 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24614
24615 2015-04-07 Florian Weimer <fweimer@redhat.com>
24616
24617 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24618
24619 2015-04-07 Florian Weimer <fweimer@redhat.com>
24620
24621 * include/scratch_buffer.h: New file.
24622 * malloc/scratch_buffer_grow.c: Likewise.
24623 * malloc/scratch_buffer_grow_preserve.c: Likewise.
24624 * malloc/scratch_buffer_set_array_size.c: Likewise.
24625 * malloc/tst-scratch_buffer.c: Likewise.
24626 * malloc/Makefile (routines): Add scratch_buffer_grow.
24627 (tests): Add test case.
24628 * malloc/Versions (GLIBC_PRIVATE): Export
24629 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24630 __libc_scratch_buffer_set_array_size.
24631
24632 2015-04-06 Richard Henderson <rth@redhat.com>
24633
24634 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24635 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24636
24637 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24638 unsigned int before printing.
24639
24640 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24641
24642 [BZ #17596]
24643 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24644 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24645
24646 2015-04-02 Florian Weimer <fweimer@redhat.com>
24647
24648 * include/libc-internal.h (libc_max_align_t): Define.
24649
24650 2015-04-02 Andreas Schwab <schwab@suse.de>
24651
24652 [BZ #16850]
24653 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24654
24655 2015-04-02 Mel Gorman <mgorman@suse.de>
24656
24657 [BZ #17195]
24658 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24659 as well as the main arena.
24660
24661 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
24662
24663 [BZ #18185]
24664 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24665 sharing L2 cache to 2 for Silvermont/Knights Landing.
24666
24667 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
24668
24669 [BZ #17711]
24670 * config.make.in (have-protected-data): New.
24671 * configure.ac: Check linker support for protected data symbol.
24672 * configure: Regenerated.
24673 * elf/Makefile (modules-names): Add tst-protected1moda and
24674 tst-protected1modb if $(have-protected-data) is yes.
24675 (tests): Add tst-protected1a and tst-protected1b if
24676 $(have-protected-data) is yes.
24677 ($(objpfx)tst-protected1a): New.
24678 ($(objpfx)tst-protected1b): Likewise.
24679 (tst-protected1modb.so-no-z-defs): Likewise.
24680 * elf/tst-protected1a.c: New file.
24681 * elf/tst-protected1b.c: Likewise.
24682 * elf/tst-protected1mod.h: Likewise.
24683 * elf/tst-protected1moda.c: Likewise.
24684 * elf/tst-protected1modb.c: Likewise.
24685
24686 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
24687
24688 [BZ #17711]
24689 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24690 indicates it is called from do_lookup_x on relocation against
24691 protected data, skip the data definion in the executable from
24692 copy reloc.
24693 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24694 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24695 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24696 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24697 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24698 otherwise to 0.
24699 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24700 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24701 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24702 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24703 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24704 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24705
24706 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
24707
24708 * sysdeps/nptl/pthread.h: Remove duplicate definition of
24709 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24710
24711 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
24712
24713 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24714 THREAD_SETMEM_NC.
24715 * sysdeps/x86_64/nptl/tls.h: Ditto.
24716
24717 2015-03-27 Roland McGrath <roland@hack.frob.com>
24718
24719 * dlfcn/tststatic.c (main): Converted to ...
24720 (do_test): ... this.
24721 (TEST_FUNCTION): New macro.
24722 Include test-skeleton.c.
24723
24724 2015-03-26 Alan Modra <amodra@gmail.com>
24725
24726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24727 Don't segfault if ifunc resolver returns a NULL. Do set plt to
24728 zero for undefined weak.
24729 (elf_machine_plt_conflict): Similarly.
24730
24731 2015-03-25 Joseph Myers <joseph@codesourcery.com>
24732
24733 * math/auto-libm-test-in: Add more tests of acosh, asinh and
24734 atanh.
24735 * math/auto-libm-test-out: Regenerated.
24736 * sysdeps/i386/fpu/libm-test-ulps: Update.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24738
24739 * math/auto-libm-test-in: Add another test of asin.
24740 * math/auto-libm-test-out: Regenerated.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
24744 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24745 Remove macro.
24746 (LLL_EBX_REG): Likewise.
24747 (LLL_ENTER_KERNEL): Likewise.
24748
24749 * math/auto-libm-test-in: Add more tests of asin.
24750 * math/auto-libm-test-out: Regenerated.
24751 * sysdeps/i386/fpu/libm-test-ulps: Update.
24752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24753
24754 [BZ #18138]
24755 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24756 libc_do_syscall_args): New structure.
24757 (INTERNAL_SYSCALL_MAIN_0): New macro.
24758 (INTERNAL_SYSCALL_MAIN_1): Likewise.
24759 (INTERNAL_SYSCALL_MAIN_2): Likewise.
24760 (INTERNAL_SYSCALL_MAIN_3): Likewise.
24761 (INTERNAL_SYSCALL_MAIN_4): Likewise.
24762 (INTERNAL_SYSCALL_MAIN_5): Likewise.
24763 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
24764 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24765 Replace conditional definitions by conditional definitions of ....
24766 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
24767 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24768 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24769 (libpthread-sysdep_routines): Add libc-do-syscall.
24770 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24771 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24772 to __NR_futex not 240.
24773
24774 2015-03-25 Alan Modra <amodra@gmail.com>
24775
24776 * NEWS: Advertise TLS optimization.
24777 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24778 (DT_PPC_NUM): Increment.
24779 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24780 (CHECK_STATIC_TLS): Use here.
24781 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24782 TLS descriptors.
24783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24784 * sysdeps/powerpc/dl-tls.c: New file.
24785 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24786 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24787 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24788 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24792
24793 2015-03-25 Alan Modra <amodra@gmail.com>
24794
24795 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24796 for overlapping .opd entries" to "support...".
24797 * sysdeps/powerpc/powerpc64/configure: Regenerate
24798
24799 2015-03-25 Joseph Myers <joseph@codesourcery.com>
24800
24801 * math/auto-libm-test-in: Add more tests of acos.
24802 * math/auto-libm-test-out: Regenerated.
24803 * sysdeps/i386/fpu/libm-test-ulps: Update.
24804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24805
24806 * math/auto-libm-test-in: Add more tests of expm1.
24807 * math/auto-libm-test-out: Regenerated.
24808 * sysdeps/i386/fpu/libm-test-ulps: Update.
24809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24810
24811 2015-03-24 Joseph Myers <joseph@codesourcery.com>
24812
24813 * math/auto-libm-test-in: Add more tests of cosh and sinh.
24814 * math/auto-libm-test-out: Regenerated.
24815 * sysdeps/i386/fpu/libm-test-ulps: Update.
24816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24817
24818 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24820
24821 * math/auto-libm-test-in: Add more tests of log2.
24822 * math/auto-libm-test-out: Regenerated.
24823 * sysdeps/i386/fpu/libm-test-ulps: Update.
24824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825
24826 2015-03-23 Roland McGrath <roland@hack.frob.com>
24827
24828 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24829 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
24830 _IO_IS_APPENDING bit in READ_WRITE instead.
24831
24832 2015-03-23 Florian Weimer <fweimer@redhat.com>
24833
24834 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24835 (__determine_cpumask_size): Replace extend_alloca with a
24836 variable-length array. Do not treat res == 0 as an error.
24837
24838 2015-03-23 Florian Weimer <fweimer@redhat.com>
24839
24840 [BZ #18100]
24841 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24842 and integer overflow.
24843 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24844 (main): Add integer overflow tests.
24845 * manual/pattern.texi (Calling Wordexp): Document additional use
24846 for WRDE_SYNTAX.
24847
24848 2015-03-23 Alan Modra <amodra@gmail.com>
24849
24850 * config.h.in: Remove HAVE_ASM_PPC_REL16.
24851 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24852 and false branch of conditional.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24854 Likewise.
24855
24856 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
24857
24858 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24859 libc-modules.h
24860 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24861 unused declaration of _hurd_intr_rpc_msg_in_trap.
24862 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24863 defined instead of whether it is non-zero.
24864 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24865 input constraint instead of both input and output constraint. Use ecx
24866 clobber instead of %ecx.
24867 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24868 mutex_unlock): Use a statement expression instead of an expression list.
24869 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24870 type to vm_size_t instead of vm_address_t.
24871 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24872 defined instead of whether it is non-zero.
24873 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24874 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24875 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24876 comparisons with mapaddr.
24877 * nscd/nscd-client.h: Include <time.h>.
24878 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24879 9th parameter to __vm_region instead of int.
24880 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24881 * scripts/check-local-headers.sh (exclude): Add device/,
24882 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24883 cthreads.h.
24884
24885 2015-03-19 Roland McGrath <roland@hack.frob.com>
24886
24887 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24888 to account for alignment padding.
24889 * sysdeps/arm/memmove.S: Likewise.
24890
24891 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
24892
24893 * sysdeps/unix/sysv/linux/generic/README: New file.
24894
24895 2015-03-18 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #18138]
24898 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24899 (futex_abstimed_wait)
24900 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24901 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24902 of lll_futex_timed_wait.
24903
24904 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
24905
24906 [BZ #17542]
24907 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24908
24909 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
24910
24911 [BZ #17090]
24912 [BZ #17620]
24913 [BZ #17621]
24914 [BZ #17628]
24915 * NEWS: Update.
24916 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24917 entries with Static TLS too. Skip entries past the end of the
24918 allocated DTV, from Alan Modra.
24919 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
24920 Static TLS DTV entry set up from...
24921 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24922 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24923 * nptl/allocatestack.c (init_one_static_tls): ... and here...
24924 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24925 for Static TLS.
24926 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
24927 that the slot we find is associated with the given map before
24928 using its generation count.
24929 * nptl_db/db_info.c: Include ldsodefs.h.
24930 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24931 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24932 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24933 (link_map::l_tls_offset): New struct field.
24934 (dtv_t::counter): Likewise.
24935 (rtld_global): New struct.
24936 (_rtld_global): New rtld variable.
24937 (dl_tls_dtv_slotinfo_list): New rtld global field.
24938 (dtv_slotinfo_list): New struct.
24939 (dtv_slotinfo): Likewise.
24940 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24941 (td_lookup): Rename to...
24942 (td_mod_lookup): ... this. Use new mod parameter instead of
24943 LIBPTHREAD_SO.
24944 * nptl_db/td_thr_tlsbase.c: Include link.h.
24945 (dtv_slotinfo_list, dtv_slotinfo): New functions.
24946 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
24947 addresses even if the DTV is out of date or missing them.
24948 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24949 index zero-length arrays.
24950 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24951 (td_lookup): Make it a macro implemented in terms of...
24952 (td_mod_lookup): ... this declaration.
24953 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24954 (DB_MAIN_VARIABLE): Likewise.
24955
24956 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
24957
24958 [BZ #18134]
24959 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24960
24961 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
24962
24963 * stdlib/setenv.c (__add_to_environ): Revert previous change.
24964
24965 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
24966
24967 [BZ #18128]
24968 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24969 (atomic_add, atomic_increment_and_test)
24970 (atomic_decrement_and_test): Fix 64-bit arithmetic.
24971
24972 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
24973
24974 * stdlib/setenv.c (__add_to_environ):
24975 Dump core quickly if setenv (..., NULL, ...) is called.
24976
24977 2015-03-13 Roland McGrath <roland@hack.frob.com>
24978
24979 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24980 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24981 all the necessary asm magic in one place.
24982 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24983 using those.
24984
24985 2015-03-13 Carlos O'Donell <carlos@redhat.com>
24986
24987 [BZ #14906]
24988 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24989 traced file mtime. Use consistent log message.
24990 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24991 (register_traced_file): Call install_watches. Always set mtime.
24992 (invalidate_cache): Iterate over all trace files. Call install_watches.
24993 (inotify_check_files): Don't inline. Handle watching parent
24994 directories and configuration file movement in and out.
24995 (handle_inotify_events): New function.
24996 (main_loop_poll): Call handle_inotify_events.
24997 (main_loop_epoll): Likewise.
24998 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24999 (struct traced_file): Use array of inotify fds. Add parent directory,
25000 and basename.
25001 (struct database_dyn): Remove unused file_mtime.
25002 (init_traced_file): New inline function.
25003 (define_traced_file): New macro.
25004 * nss/nss_db/db-init.c: Use define_traced_file.
25005 (_nss_db_init): Use init_traced_file.
25006 * nss/nss_files/files-init.c: Use define_traced_file.
25007 (_nss_files_init): Use init_traced_file.
25008
25009 2015-03-12 Joseph Myers <joseph@codesourcery.com>
25010
25011 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25012 [_LIBC]: Do not include <stdlib.h>.
25013 [!_LIBC] (abort): Remove declaration.
25014 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25015 _FP_STATIC_ASSERT instead of conditionally calling abort.
25016 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25017 (_FP_EXTEND_CNAN): Likewise.
25018 (FP_TRUNC): Likewise.
25019 (__FP_CLZ): Likewise.
25020 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25021
25022 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
25023
25024 * manual/string.texi (XPG basename): Fix prototype.
25025
25026 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
25027
25028 [BZ #18080]
25029 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25030 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25031 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25032 (__setcontext): Likewise.
25033 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25034 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25035 Call rt_sigprocmask syscall one time to set new signal mask
25036 and retrieve the current signal mask instead of two calls.
25037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25038 (__swapcontext): Likewise.
25039 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25040 * stdlib/tst-setcontext2.c: New file.
25041
25042 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
25043
25044 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25045
25046 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
25047
25048 [BZ #18093]
25049 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25050 the wrong size.
25051
25052 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
25053
25054 [BZ #18043]
25055 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25056
25057 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
25058
25059 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25060 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25061 Remove define.
25062 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25063 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25064 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25065 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25066 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25067 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25068 define.
25069 * nptl_db/td_symbol_list.c (td_lookup): Remove
25070 HAVE_ASM_GLOBAL_DOT_NAME code.
25071 * sysdeps/powerpc/powerpc64/configure.ac: Remove
25072 HAVE_ASM_GLOBAL_DOT_NAME check.
25073 * sysdeps/powerpc/powerpc64/configure: Regenerate.
25074 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25075 (DOT_LABEL): Remove define.
25076 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25077 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25078 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25079 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25080 (__TLS_GET_ADDR): Likewise.
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25082 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25083
25084 2015-03-11 Carlos O'Donell <carlos@redhat.com>
25085
25086 [BZ #18111]
25087 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25088 (_FPU_SETCW): Initialize cw from fpsr before storing.
25089 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25090 (fesetexceptflag): Rewrite using fpu_control.h.
25091 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25092
25093 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
25094
25095 [BZ #18110]
25096 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25097 asms.
25098 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25099
25100 2015-03-11 Joseph Myers <joseph@codesourcery.com>
25101
25102 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25103 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25104 abort.
25105 (_FP_FMA): Likewise.
25106 (_FP_DIV): Likewise.
25107
25108 2015-03-10 Roland McGrath <roland@hack.frob.com>
25109
25110 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25111 with 0 in that case.
25112 * Makefile (summarize-tests): New canned sequence, factored out of
25113 commands for targets tests and xtests. Display summary lines that
25114 don't start with PASS: or XFAIL: rather than ones that do start with
25115 ERROR: or FAIL:. Make the commands fail if any summary lines fail
25116 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25117 do start with ERROR: or FAIL:.
25118 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25119 (except for [$(build-shared) = yes]).
25120 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25121 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25122 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25123 * nptl/Makefile: Revert 2015-03-04 changes.
25124 [$(CXX) empty] (tests-unsupported): New variable.
25125 * debug/Makefile: Likewise.
25126
25127 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25128 gnulib file. Replace __attribute with __attribute__ throughout.
25129
25130 2015-03-10 Carlos O'Donell <carlos@redhat.com>
25131
25132 * sysdeps/hppa/fpu/libm-test-ulps: Update.
25133
25134 2015-03-10 Joseph Myers <joseph@codesourcery.com>
25135
25136 [BZ #18104]
25137 * math/auto-libm-test-in: Add another test of pow.
25138 * math/auto-libm-test-out: Regenerated.
25139
25140 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25141
25142 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25143 $(config-cflags-nofma).
25144
25145 2015-03-10 Joseph Myers <joseph@codesourcery.com>
25146
25147 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25148 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25149 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25150 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25151 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25152 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25153 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25154 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25155 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25156 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25157 Add comment on closing #endif.
25158
25159 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
25160
25161 * posix/wordexp.c (CHAR_IN_SET): New macro.
25162 (parse_param): Use it.
25163
25164 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25165
25166 * sysdeps/powerpc/fpu/libm-test-ulps: update.
25167
25168 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
25169
25170 [BZ #18043]
25171 * posix/wordexp.c (parse_param): Fix buffer overflow.
25172 * posix/wordexp-test.c (test_case): Add test case.
25173
25174 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
25175
25176 [BZ #18042]
25177 * posix/wordexp.c (parse_backtick): Fix off-by-one.
25178 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25179
25180 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
25181
25182 [BZ #18043]
25183 * posix/wordexp-test.c (test_case): Add test for BZ #18043
25184 (do_bz18043): Delete.
25185 (at_page_end): New.
25186 (testit): Refactor to have words at the edge of unreadable page.
25187
25188 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25189
25190 [BZ #16734]
25191 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25192 Cleanup read-only streams as well.
25193 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25194
25195 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
25196
25197 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25198 <bits/libc-lockP.h>
25199
25200 2015-03-07 Joseph Myers <joseph@codesourcery.com>
25201
25202 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
25203 on [__KERNEL__].
25204 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25205 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25206 * soft-fp/op-common.h (_FP_DECL): Likewise.
25207
25208 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
25209
25210 * elf/ifuncdep2.c (global): Replace
25211 __attribute__((visibility("protected"))) with
25212 asm (".protected global").
25213 * elf/ifuncmod1.c (global): Likewise.
25214 * elf/ifuncmod5.c (global): Likewise.
25215
25216 2015-03-06 Joseph Myers <joseph@codesourcery.com>
25217
25218 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25219 <asm/sfp-machine.h> instead of <sfp-machine.h>.
25220
25221 2015-03-06 Roland McGrath <roland@hack.frob.com>
25222
25223 * manual/install.texi (Configuring and compiling):
25224 Document test-wrapper-env-only.
25225 * INSTALL: Regenerated.
25226
25227 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25228
25229 [BZ #18043]
25230 * posix/wordexp.c (parse_param): Fix buffer overflow.
25231 * posix/wordexp-test.c (do_bz18043): Add test case.
25232
25233 2015-03-06 Vincent Bernat <vincent@bernat.im>
25234
25235 * time/tst-strptime2.c (do_test): Ensure failing tests are
25236 reported correctly.
25237 * time/tst-strptime3.c (do_test): Likewise.
25238
25239 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
25240
25241 Fix aio_error thread-safety.
25242 * sysdeps/pthread/aio_error.c: New file
25243 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25244 synchronization.
25245
25246 2015-03-06 Florian Weimer <fweimer@redhat.com>
25247
25248 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25249 (group_number, vfprintf): Use it.
25250 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25251 (JUMP, REF): Use it.
25252 (WORK_BUFFER_SIZE): New enum constant.
25253 (process_arg, vfprintf): Use it.
25254
25255 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
25256
25257 * manual/errno.texi (Error Messages): Complete example function
25258 by adding missing #define.
25259 (program_invocation_name): Add statement indicating GNU
25260 extension and reference which header file declares the variable.
25261 (program_invocation_short_name): Likewise.
25262
25263 2015-03-06 Mike Frysinger <vapier@gentoo.org>
25264
25265 * manual/errno.texi (Error Messages): Delete strerror ISO C89
25266 compatibility note.
25267
25268 2015-03-05 Roland McGrath <roland@hack.frob.com>
25269
25270 * Makeconfig (test-wrapper-env-only): New variable.
25271 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25272 then use that with $(test-wrapper-env-only) rather than using
25273 $(test-wrapper-env) $(run-program-env) $($*-ENV).
25274
25275 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
25276
25277 [BZ #18082]
25278 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25279 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25280 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25281 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25282 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25283 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25284 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25285 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25286 Likewise.
25287 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25289 Likewise.
25290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25291 Likewise.
25292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25293 Likewise.
25294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25295 Likewise.
25296 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25298 Likewise.
25299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25300 Likewise.
25301 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25302 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25303
25304 2015-03-04 Roland McGrath <roland@hack.frob.com>
25305
25306 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25307 (ETH_ALEN): New macro.
25308 (struct ether_addr): Use it for length of ether_addr_octet.
25309
25310 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25311 (setdb): Don't call __nss_configure_lookup for "rpc".
25312 (do_test): Don't call test_rpc.
25313 (output_rpcent, test_rpc): Functions moved ...
25314 * sunrpc/test-rpcent.c: ... to this new file.
25315 * sunrpc/Makefile (tests): Add it.
25316
25317 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25318 __xpg_sigpause.
25319 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25320 * nptl/tst-signal6.c: Likewise.
25321 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25322 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25323
25324 * configure.ac (libc_cv_cxx_link_ok): New check.
25325 Reset CXX to empty if it fails to link.
25326 * configure: Regenerated.
25327 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25328 bug-atexit3-lib only if $(CXX) is nonempty.
25329 * nptl/Makefile (tests): Likewise for tst-cancel24.
25330 (tests, tests-static): Likewise for tst-cancel24-static.
25331 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25332 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25333 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25334 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25335
25336 2015-03-04 Andreas Schwab <schwab@suse.de>
25337
25338 [BZ #17631]
25339 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25340 for non-GCC compilers.
25341 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25342 Likewise.
25343
25344 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
25345
25346 [BZ #17776]
25347 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25348 integer before bitwise and assembly operations.
25349 (feclearexcept): Likewise.
25350 * math/test-fenvinline.c: New file.
25351 * math/Makefile: Add test-fenvinline test.
25352
25353 2015-03-03 Alan Modra <amodra@gmail.com>
25354
25355 [BZ #16512]
25356 * scripts/localplt.awk: Strip off symbol version.
25357 * NEWS: Mention bug fix.
25358
25359 2015-03-02 Roland McGrath <roland@hack.frob.com>
25360
25361 * sysdeps/pthread/timer_routines.c
25362 (timer_free_list, thread_free_list, thread_active_list): Make static.
25363
25364 2015-03-02 Joseph Myers <joseph@codesourcery.com>
25365
25366 [BZ #17779]
25367 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25368 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25369 Undefine.
25370 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25371 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25372 Likewise.
25373 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25374 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25375 Likewise.
25376
25377 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25378
25379 [BZ #18036]
25380 * posix/fnmatch_loop.c (END): Detect invalid pattern.
25381 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25382
25383 2015-03-02 Andreas Schwab <schwab@suse.de>
25384
25385 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25386 variable name.
25387
25388 2015-03-02 Florian Weimer <fweimer@redhat.com>
25389
25390 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25391 Return error status.
25392
25393 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
25394
25395 [BZ #15969]
25396 * locale/findlocale.c (_nl_find_locale): Introduce const
25397 version of loc_name and drop unsafe type casts.
25398
25399 2015-02-27 Roland McGrath <roland@hack.frob.com>
25400
25401 * dlfcn/tststatic2.c (main): Converted to ...
25402 (do_test): ... this.
25403 (TEST_FUNCTION): New macro.
25404 Include test-skeleton.c.
25405
25406 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
25407
25408 [BZ #17711]
25409 * elf/Makefile (tests): Add vismain only if PIE is enabled.
25410 (tests-pie): Add vismain.
25411 (CFLAGS-vismain.c): New.
25412 * elf/vismain.c: Add comments for PIE requirement.
25413
25414 2015-02-27 Joseph Myers <joseph@codesourcery.com>
25415
25416 [BZ #18046]
25417 [BZ #18047]
25418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25419 0x1p-56L as threshold for just returning the argument.
25420 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25421 0x1p-32L as threshold for just returning the argument.
25422 * math/auto-libm-test-in: Add more tests of atanh.
25423 * math/auto-libm-test-out: Regenerated.
25424 * sysdeps/i386/fpu/libm-test-ulps: Update.
25425 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25426
25427 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
25428
25429 * string/bcopy.c (bcopy): Call memmove for performance.
25430
25431 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
25432
25433 * string/bzero.c (__bzero): Call memset for performance.
25434
25435 2015-02-27 John David Anglin <dave.anglin@bell.net>
25436
25437 [BZ #18068]
25438 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25439 to 00100000.
25440
25441 2015-02-27 Joseph Myers <joseph@codesourcery.com>
25442
25443 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25444
25445 2015-02-26 Joseph Myers <joseph@codesourcery.com>
25446
25447 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25448 (__kernel_standard): Use CSTR macro when setting exc.name.
25449 * sysdeps/ieee754/Makefile [$(subdir) = math]
25450 (CFLAGS-k_standard.c): Remove variable.
25451
25452 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25453 setting p and q from "else if" to "else".
25454 (qzero): Likewise.
25455 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25456 (qone): Likewise.
25457 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25458 (qzerof): Likewise.
25459 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25460 (qonef): Likewise.
25461 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25462 (qzero): Likewise.
25463 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25464 (qone): Likewise.
25465
25466 [BZ #18038]
25467 [BZ #18039]
25468 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25469 return pi/2 for arguments below 0x1p-113L.
25470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25471 return pi/2 for arguments below 0x1p-106L.
25472 * math/auto-libm-test-in: Add more tests of acos.
25473 * math/auto-libm-test-out: Regenerated.
25474
25475 [BZ #16351]
25476 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25477 (MO): New macro.
25478 (__ieee754_asin): Force underflow exception for results with small
25479 absolute value.
25480 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25481 (MO): New macro.
25482 (__ieee754_asinf): Force underflow exception for results with
25483 small absolute value.
25484 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25485 (__ieee754_asin): Force underflow exception for results with small
25486 absolute value.
25487 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25488 (__ieee754_asinf): Force underflow exception for results with
25489 small absolute value.
25490 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25491 (__ieee754_asinl): Force underflow exception for results with
25492 small absolute value.
25493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25494 (__ieee754_asinl): Force underflow exception for results with
25495 small absolute value.
25496 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25497 (__ieee754_asinl): Force underflow exception for results with
25498 small absolute value.
25499 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25500 Include <math.h>.
25501 * math/auto-libm-test-in: Do not mark underflow exceptions as
25502 possibly missing for bug 16351.
25503 * math/auto-libm-test-out: Regenerated.
25504
25505 [BZ #18030]
25506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25507 of power of 2 down when low part has opposite sign.
25508 * math/libm-test.inc (logb_test_data): Add more tests.
25509
25510 2015-02-26 Andreas Schwab <schwab@suse.de>
25511
25512 [BZ #18032]
25513 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25514 over collating symbol inside a bracket expression. Minor cleanup.
25515 * posix/tst-fnmatch3.c (do_test): Add test case.
25516
25517 2015-02-26 Joseph Myers <joseph@codesourcery.com>
25518
25519 [BZ #18029]
25520 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25521 Adjust exponent of power of 2 down when low part has opposite
25522 sign.
25523 * math/libm-test.inc (ilogb_test_data): Add more tests.
25524
25525 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
25526
25527 [BZ #15969]
25528 * locale/findlocale.c (_nl_find_locale): Fix constness error in
25529 the previous change.
25530
25531 [BZ #15969]
25532 * locale/findlocale.c (_nl_find_locale): Retry archive search
25533 after alias expansion.
25534
25535 2015-02-25 Roland McGrath <roland@hack.frob.com>
25536
25537 * iconv/tst-iconv3.c (main): Converted to ...
25538 (do_test): ... this.
25539 (TEST_FUNCTION): New macro.
25540 Include test-skeleton.c.
25541
25542 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25543 (convert): Make function static.
25544 (test_unalign): Likewise. Add const to argument pointee types.
25545 (main): Replace with static function do_test.
25546 Print "Succeeded." only if RET is zero.
25547 (TEST_FUNCTION): New macro.
25548 Include test-skeleton.c.
25549
25550 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25551 returns a null pointer.
25552
25553 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25554
25555 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25556 to __memcpy_ppc only for static builds.
25557
25558 2015-02-25 Joseph Myers <joseph@codesourcery.com>
25559
25560 [BZ #18020]
25561 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25562 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25563 * math/auto-libm-test-in: Add more tests of asinh.
25564 * math/auto-libm-test-out: Regenerated.
25565 * sysdeps/i386/fpu/libm-test-ulps: Update.
25566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567
25568 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
25569
25570 [BZ #15850]
25571 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25572 and ip6_mtuinfo definitions here.
25573 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25574 in this define too. Update comment.
25575
25576 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
25577
25578 * elf/sprof.c (load_shobj): Tweak error message to match others.
25579
25580 2015-02-24 Kevin Easton <kevin@guarana.org>
25581
25582 [BZ #16145] (partial fix)
25583 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25584 to reduce lock contention.
25585
25586 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
25587
25588 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25589 (struct timex): Update time comment.
25590 (ADJ_SETOFFSET): Define.
25591
25592 2015-02-24 Joseph Myers <joseph@codesourcery.com>
25593
25594 [BZ #18019]
25595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25596 2**56 not 2**28 as threshold for log (2x) formula.
25597 * math/auto-libm-test-in: Add more tests of acosh.
25598 * math/auto-libm-test-out: Regenerated.
25599 * sysdeps/i386/fpu/libm-test-ulps: Update.
25600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25601
25602 2015-02-24 Mike Frysinger <vapier@gentoo.org>
25603
25604 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25605 parenthesis around the buf assignment.
25606 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25607
25608 2015-02-24 Joseph Myers <joseph@codesourcery.com>
25609
25610 [BZ #16783]
25611 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25612 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25613 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25614 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25615 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25616 * math/libm-test.inc (scalb_test_data): Add more tests.
25617
25618 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
25619
25620 [BZ #17916]
25621 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25622 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25623
25624 2015-02-24 Eric Rannaud <e@nanocritical.com>
25625
25626 [BZ #17523]
25627 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25628 * io/bits/fcntl2.h (open): Use it.
25629 (openat): Likewise.
25630 * io/open.c (__libc_open): Likewise.
25631 * io/open64.c (__libc_open64): Likewise.
25632 * io/open64_2.c (__open64_2): Likewise.
25633 * io/open_2.c (__open_2): Likewise.
25634 * io/openat.c (__openat): Likewise.
25635 * io/openat64.c (__openat64): Likewise.
25636 * io/openat64_2.c (__openat64_2): Likewise.
25637 * io/openat_2.c (__openat_2): Likewise.
25638 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25639 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25640 * sysdeps/posix/open64.c (__libc_open64): Likewise.
25641 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25642 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25643 (__open_nocancel): Likewise.
25644 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25645 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25646 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25647
25648 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25649
25650 [BZ #14841]
25651 * resolv/gethnamaddr.c (getanswer): Skip logging if
25652 RES_USE_DNSSEC is set.
25653 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25654
25655 2015-02-24 Mike Frysinger <vapier@gentoo.org>
25656
25657 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25658
25659 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
25660
25661 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25662 201304L, for Unicode 7.
25663
25664 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
25665
25666 [BZ #17836]
25667 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25668 shared library. Add gmon-start.os otherwise.
25669 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25670 $(objpfx)gmon-start.os if builing shared library.
25671 ($(objpfx)g$(static-start-installed-name)): Likewise.
25672
25673 2015-02-23 Andreas Schwab <schwab@suse.de>
25674
25675 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25676
25677 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25678
25679 [BZ #17269]
25680 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25681 (enlarge_userbuf): Likewise.
25682
25683 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
25684
25685 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25686 * math/atest-exp.c (TIMEOUT): Adjust to 200.
25687 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25688 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25689
25690 2015-02-20 Joseph Myers <joseph@codesourcery.com>
25691
25692 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25693 expression inside statement expression.
25694
25695 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
25696
25697 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25698 <sysdeps/nptl/lowlevellock.h> and remove macros and
25699 functions that are now defined there.
25700 (SYS_futex): Remove.
25701 (lll_compare_and_swap): Remove.
25702 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25703
25704 2015-02-19 Joseph Myers <joseph@codesourcery.com>
25705
25706 [BZ #17999]
25707 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25708 instead of scandirat.
25709 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25710 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25711 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25712 __scandirat.
25713 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25714 (__scandirat): Declare. Use libc_hidden_proto.
25715 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25716 Remove variable.
25717 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25718
25719 2015-02-18 Joseph Myers <joseph@codesourcery.com>
25720
25721 [BZ #15319]
25722 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25723 (MO): New macro.
25724 (__ieee754_atan2): For results with small absolute value, force
25725 underflow exception and remove excess range and precision from
25726 return value.
25727 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25728 (MO): New macro.
25729 (__ieee754_atan2f): For results with small absolute value, force
25730 underflow exception and remove excess range and precision from
25731 return value.
25732 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25733 (MO): New macro.
25734 (__atan): For results with small absolute value, force underflow
25735 exception and remove excess range and precision from return value.
25736 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25737 (MO): New macro.
25738 (__atanf): For results with small absolute value, force underflow
25739 exception and remove excess range and precision from return value.
25740 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25741 <math.h>.
25742 (__ieee754_atan2): Force underflow exception for results with
25743 small absolute value.
25744 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25745 <math_private.h>.
25746 (atan): Force underflow exception for results with small absolute
25747 value.
25748 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25749 (__atanf): Force underflow exception for results with small
25750 absolute value.
25751 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25752 <math.h>.
25753 (__atanl): Force underflow exception for results with small
25754 absolute value.
25755 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25756 (__atanl): Force underflow exception for results with small
25757 absolute value.
25758 * sysdeps/x86/fpu/bits/mathinline.h
25759 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25760 (__ieee754_atan2): Only define inline for long double.
25761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25762 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25763 * math/auto-libm-test-in: Do not mark underflow exceptions as
25764 possibly missing for bug 15319. Add more tests of atan2.
25765 * math/auto-libm-test-out: Regenerated.
25766 * math/libm-test.inc (casin_test_data): Do not mark underflow
25767 exceptions as possibly missing for bug 15319.
25768 (casinh_test_data): Likewise.
25769 * sysdeps/i386/fpu/libm-test-ulps: Update.
25770
25771 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
25772
25773 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25774 * sysdeps/mips/bits/endian.h: Fix comments.
25775
25776 2015-02-18 Joseph Myers <joseph@codesourcery.com>
25777
25778 [BZ #17996]
25779 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25780 (hdestroy_r): Likewise.
25781 (hsearch_r): Likewise.
25782 (__hcreate_r): Declare and use libc_hidden_proto.
25783 (__hdestroy_r): Likewise.
25784 (__hsearch_r): Likewise.
25785 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25786 (hcreate): Call __hcreate_r instead of hcreate_r.
25787 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25788 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25789 as weak alias of __hcreate_r.
25790 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25791 __hdestroy_r.
25792 (hsearch_r): Rename to __hsearch_r and define as weak alias of
25793 __hsearch_r.
25794 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25795 Remove variable.
25796 (test-xfail-XPG4/search.h/linknamespace): Likewise.
25797 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25798 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25799 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25800
25801 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25802
25803 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25804 arena_lock into a single arena_get.
25805
25806 2015-02-17 Carlos O'Donell <carlos@redhat.com>
25807
25808 * dl-reloc.c: Inlucde libc-internal.h.
25809 (_dl_try_allocate_static_tls): Call ALIGN_UP.
25810 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25811 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25812 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25813 (grow_heap): Likewise.
25814 * malloc/malloc.c: Include libc-internal.h.
25815 (do_check_malloc): Call powerof2.
25816 (sysmalloc): Use pagesize. Call ALIGN_UP.
25817 (systrim): Use pagesize.
25818 (mremap_chunk): Use pagesize. Call ALIGN_UP.
25819 (__libc_valloc): Use pagesize.
25820 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25821
25822 2015-02-17 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #17991]
25825 * include/sys/resource.h (__getrlimit64): Declare. Use
25826 libc_hidden_proto.
25827 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25828 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
25829 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25830 getrlimit64.
25831 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25832 __getrlimit64.
25833 [!getrlimit64] (getrlimit64): Define as weak alias of
25834 __getrlimit64. Use libc_hidden_weak.
25835 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25836 using __getrlimit64 not __new_getrlimit64.
25837 (__GI_getrlimit64): Likewise.
25838 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25839 Likewise.
25840 (__GI_getrlimit64): Likewise.
25841 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25843 (getrlimit): Add __getrlimit64 alias.
25844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25845 Likewise.
25846 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25847 Remove variable.
25848 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25849 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25850
25851 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
25852
25853 * libio/fileops.c: Add missing sys/mman.h
25854 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25855
25856 2015-02-17 Joseph Myers <joseph@codesourcery.com>
25857
25858 * manual/math.texi (Errors in Math Functions): Clarify goals
25859 regarding inexact and underflow exceptions.
25860
25861 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
25862
25863 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25864 * sysdeps/mips/memset.S: Ditto.
25865
25866 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
25867
25868 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25869
25870 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
25871
25872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25873 (__v1longjmp): Remove versioned symbol.
25874 (__v1siglongjmp): Remove alias and versioned symbol.
25875 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25876 (__v2siglongjmp): Likewise.
25877
25878 2015-02-16 Torvald Riegel <triegel@redhat.com>
25879
25880 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25881
25882 2015-02-16 Mike Frysinger <vapier@gentoo.org>
25883
25884 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25885
25886 2015-02-16 Joseph Myers <joseph@codesourcery.com>
25887
25888 [BZ #17987]
25889 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25890 zero result does not depend on the sign resulting from
25891 subtraction.
25892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25893 Likewise.
25894 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25897 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25898 * math/libm-test.inc (remquo_test_data): Add more tests.
25899
25900 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
25901
25902 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25903 Problem reported by J William Piggott.
25904
25905 2015-02-16 Joseph Myers <joseph@codesourcery.com>
25906
25907 [BZ #17978]
25908 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25909 products 4 * y and 2 * y where those would overflow.
25910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25911 Likewise.
25912 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25916 * math/libm-test.inc (remquo_test_data): Add more tests.
25917
25918 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25919
25920 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25921 [defined _COMPILING_NEWLIB].
25922 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25923 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25924
25925 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25926 [!defined __mips_isa_rev || __mips_isa_rev < 6].
25927
25928 2015-02-16 Torvald Riegel <triegel@redhat.com>
25929
25930 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25931 acquired.
25932
25933 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
25934
25935 [BZ #17792]
25936 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25937 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25938 HOST_STACK_END_ADDR): Likewise.
25939
25940 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
25941
25942 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25943 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25944 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25945
25946 2015-02-13 Roland McGrath <roland@hack.frob.com>
25947
25948 * sysdeps/generic/c++-types.data: New file.
25949 * sysdeps/generic/ld.abilist: New file.
25950 * sysdeps/generic/libBrokenLocale.abilist: New file.
25951 * sysdeps/generic/libanl.abilist: New file.
25952 * sysdeps/generic/libc.abilist: New file.
25953 * sysdeps/generic/libcrypt.abilist: New file.
25954 * sysdeps/generic/libdl.abilist: New file.
25955 * sysdeps/generic/libm.abilist: New file.
25956 * sysdeps/generic/libpthread.abilist: New file.
25957 * sysdeps/generic/libresolv.abilist: New file.
25958 * sysdeps/generic/librt.abilist: New file.
25959
25960 2015-02-13 Joseph Myers <joseph@codesourcery.com>
25961
25962 [BZ #17569]
25963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25964 Compute absolute value of x as modified by fmod, not original
25965 value of x.
25966 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25967 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
25968 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
25969 RUN_TEST_ffI_f1_mod8.
25970 (remquo_test_data): Add more tests.
25971
25972 2015-02-13 Roland McGrath <roland@hack.frob.com>
25973
25974 * sysdeps/init_array/pt-crti.S: New file.
25975
25976 2015-02-13 Joseph Myers <joseph@codesourcery.com>
25977
25978 [BZ #17967]
25979 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25980 __builtin_fmaf instead of relying on contraction of a * b + c.
25981
25982 2015-02-12 J William Piggott <elseifthen@gmx.com>
25983
25984 [BZ #17969]
25985 * manual/time.texi: correct the zoneinfo path in the TZ Variable
25986 node.
25987
25988 2015-02-12 Joseph Myers <joseph@codesourcery.com>
25989
25990 [BZ #17964]
25991 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25992 __builtin_fma instead of relying on contraction of a * b + c.
25993
25994 2015-02-12 Roland McGrath <roland@hack.frob.com>
25995
25996 * Makeconfig (ASFLAGS): Add -Werror=undef.
25997 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25998 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25999 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26000
26001 * Makeconfig (after-link): New variable.
26002 (+link-pie, +link-pie-tests): Use it.
26003 (+link-static, +link-static-tests): Likewise.
26004 (+link, +link-tests): Likewise.
26005 * Makerules (build-module, build-module-asneeded): Likewise.
26006 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26007 Likewise.
26008 * elf/Makefile ($(objpfx)ld.so): Likewise.
26009
26010 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
26011
26012 [BZ #17965]
26013 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26014 both struct timeval and struct timespec.
26015
26016 2015-02-12 Joseph Myers <joseph@codesourcery.com>
26017
26018 [BZ #16560]
26019 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26020 and redefine.
26021 (__ieee754_exp2l): Do not multiply small fractional parts by
26022 M_LN2l.
26023 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26024 small argument.
26025 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26026 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26027 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26028 * math/auto-libm-test-in: Add more tests of exp2.
26029 * math/auto-libm-test-out: Regenerated.
26030
26031 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26032
26033 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26034 unaligned path.
26035
26036 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26037
26038 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26039 little endian.
26040
26041 2015-02-12 Andreas Schwab <schwab@suse.de>
26042
26043 [BZ #15790]
26044 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26045 Filter out elision flags from value returned in kind.
26046 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26047 * nptl/tst-pthread-mutexattr.c: New file.
26048
26049 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
26050
26051 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26052 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26053 into gnu-gnu, and update comment to refer to abi-tags.
26054
26055 2015-02-11 Joseph Myers <joseph@codesourcery.com>
26056
26057 [BZ #15467]
26058 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26059 (__sincos): Set errno to EDOM for infinite argument.
26060 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26061 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26062 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26063 (__sincosl): Set errno to EDOM for infinite argument.
26064 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26065 (__sincosl): Set errno to EDOM for infinite argument.
26066 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26067 (__sincosl): Set errno to EDOM for infinite argument.
26068 * math/libm-test.inc (sincos_test_data): Test errno setting.
26069
26070 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
26071
26072 * string/strxfrm_l.c: Remove #define STRCMP.
26073 * string/strcoll_l.c: Remove #define STRLEN.
26074 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26075 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26076
26077 2015-02-10 Joseph Myers <joseph@codesourcery.com>
26078
26079 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26080 * sysdeps/mips/mips32/sfp-machine.h: ... here.
26081 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26082 * sysdeps/mips/mips64/Makefile: ... here.
26083 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26084 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26085 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26086 * sysdeps/mips/mips64/sfp-machine.h: ... here.
26087 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26088 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26089 * sysdeps/mips/mips64/n64/Implies: Likewise.
26090
26091 2015-02-10 Roland McGrath <roland@hack.frob.com>
26092
26093 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26094 <sys/time.h>, <string.h>, and <errno.h>.
26095 (dest_offset, dest_address, value, zero): Remove unused variables.
26096 (ldouble): Remove typedef.
26097 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26098 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
26099 1). Fix code style.
26100 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26101 (check): Function removed.
26102 (CHECK): New macro.
26103 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
26104 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26105 Don't call set_sigaction_FP and remove_sigaction_FP here.
26106 (ldouble_test): Just use 'long double' as macro argument, no need for
26107 the 'ldouble' typedef.
26108 (do_test): Set up SIGFPE handler at start, using plain signal rather
26109 than sigaction. Fix code style.
26110
26111 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
26112
26113 [BZ #17949]
26114 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26115 jump label.
26116
26117 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
26118
26119 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26120 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26121
26122 * sysdeps/powerpc/configure.ac: Remove file.
26123 * sysdeps/powerpc/configure: Likewise.
26124
26125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26126 [sysdep_routines]: Remove wordcopy-power6 object.
26127 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26128 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26129 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26130 (__memmove_ppc32): Likewise.
26131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26132 file.
26133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26135 Remove preprocessor.
26136
26137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26138 [sysdep_routines]: Remove wide chars objects.
26139 [wcsmbs]: New rule for wide char objects.
26140
26141 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26142 Remove wordcopy-power6 obejct.
26143 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26144 Use local call for wordcopy and memcpy symbols.
26145 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26146 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26147 implementation for loader.
26148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26149
26150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26151 Remove wordcopy-power7 object.
26152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26153 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26154 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26155 (_wordcopy_fwd_dest_aligned): Likewise.
26156 (_wordcopy_bwd_aligned): Likewise.
26157 (_wordcopy_bwd_dest_aligned): Likewise.
26158
26159 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26160 Rewrite to call __memmove_ppc instead of include default
26161 implementation.
26162
26163 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26164 Remove wide chars objects.
26165 [wcsmbs]: New rule for wide char objects.
26166
26167 2015-02-09 Andreas Schwab <schwab@suse.de>
26168
26169 [BZ #17912]
26170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26171 in terms of __O_DIRECTORY.
26172
26173 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
26174
26175 * time/getdate.c: Include <stdbool.h>.
26176 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26177 call PTR_MANGLE.
26178 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26179 PTR_DEMANGLE.
26180
26181 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
26182
26183 Add ersatz _Static_assert on older C hosts
26184 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26185 pre-C11 C platform that is not known to support _Static_assert.
26186
26187 2015-02-07 Richard Braun <rbraun@sceen.net>
26188
26189 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26190 sigstate.
26191 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26192
26193 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26194
26195 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26196 priority against unexistent AIO_PRIO_DELTA_MAX.
26197 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26198 instead of int.
26199 * misc/fchflags.c (fchflags): Likewise.
26200 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26201 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26202 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26203 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26204 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26205 Declare macros.
26206 [__USE_MISC] (chflags, fchflags): Declare functions.
26207 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26208 EINVAL when nfds is greater than FD_SETSIZE.
26209 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26210 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26211 45.
26212 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26213 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26214 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26215 MACH_RCV_TIMED_OUT.
26216 * hurd/hurd/signal.h (_hurd_self_sigstate,
26217 _hurd_critical_section_lock, _hurd_critical_section_unlock):
26218 Explicit casts from void *.
26219 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26220 * abi-tags: Rename gnu-gnu os into gnu.
26221
26222 [BZ #4719]
26223 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26224 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26225 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26226 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26227 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26228 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26229
26230 [BZ #17944]
26231 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26232 duplicates ADDR->sun_path with sockaddr LEN limitation.
26233 * sysdeps/mach/hurd/connect.c: Include <string.h>
26234 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26235 * sysdeps/mach/hurd/sendmsg.c: Likewise.
26236 * sysdeps/mach/hurd/sendto.c: Likewise.
26237 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26238 implementing it by hand.
26239
26240 2015-02-06 Roland McGrath <roland@hack.frob.com>
26241
26242 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26243 Use sfi_breg on ldr.
26244 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26245 Likewise.
26246
26247 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26248 it's defined.
26249 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26250 Test SIGSETXID only if it's defined.
26251
26252 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26253
26254 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26255 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
26256
26257 * nptl/tst-align2.c: Moved ...
26258 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26259 * nptl/Makefile (tests): Remove tst-align2.
26260 * sysdeps/unix/sysv/linux/Makefile
26261 [$(subdir) = nptl] (tests): Add tst-align-clone.
26262 * nptl/tst-getpid1.c: Moved ...
26263 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26264 * nptl/tst-getpid2.c: Moved ...
26265 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26266 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26267 * sysdeps/unix/sysv/linux/Makefile
26268 [$(subdir) = nptl] (tests): ... here.
26269 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26270 * sysdeps/unix/sysv/linux/Makefile
26271 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26272
26273 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26274 Drop trailing \n from perror argument. Use return rather than exit.
26275
26276 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26277 on [SA_SIGINFO].
26278 * nptl/tst-cancel21.c (do_test): Likewise.
26279 * debug/tst-backtrace6.c: Include <signal.h> first thing.
26280 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26281 [!SA_SIGINFO]: Make it a stub test.
26282
26283 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26284 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26285
26286 * posix/tst-getlogin.c: Move to ...
26287 * login/tst-getlogin.c: ... here.
26288 * posix/Makefile (tests): Move tst-getlogin to ...
26289 * login/Makefile (tests): ... here.
26290
26291 * libio/tst-atime.c (do_test): Move local variables SV and E
26292 inside [ST_NOATIME] conditional.
26293
26294 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26295
26296 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26297
26298 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26299 (wait_code): New function replaces macro.
26300 Call nanosleep rather than syscall.
26301
26302 * nptl/pt-system.c: Rewritten. Put everything under
26303 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26304 Use IFUNC to redirect when possible.
26305
26306 * nptl/pt-longjmp.c: Rewritten. Put everything under
26307 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26308 Use IFUNC to redirect when possible.
26309
26310 * nptl/pt-fork.c: Rewritten. Put everything under
26311 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26312 Use IFUNC to redirect when possible.
26313 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26314
26315 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26316 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26317 unconditionally nowadays. This included the only reference to
26318 __vdso_clock_gettime that appears outside libc proper.
26319 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26320 Remove version set (containing only __vdso_clock_gettime).
26321 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26322 Add attribute_hidden.
26323 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26324 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26325 libc_hidden_data_def.
26326 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26327 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26328
26329 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26330 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26331 setrpcent, and getrpcport to ...
26332 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26333 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26334 getrpcbynumber_r, and getrpcent_r to ...
26335 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26336 * inet/getrpcbyname.c: Moved ...
26337 * sunrpc/getrpcbyname.c: ... here.
26338 * inet/getrpcbyname_r.c: Moved ...
26339 * sunrpc/getrpcbyname_r.c: ... here.
26340 * inet/getrpcbynumber.c: Moved ...
26341 * sunrpc/getrpcbynumber.c: ... here.
26342 * inet/getrpcbynumber_r.c: Moved ...
26343 * sunrpc/getrpcbynumber_r.c: ... here.
26344 * inet/getrpcent.c: Moved ...
26345 * sunrpc/getrpcent.c: ... here.
26346 * inet/getrpcent_r.c: Moved ...
26347 * sunrpc/getrpcent_r.c: ... here.
26348 * inet/Makefile (routines): Move those to ...
26349 * sunrpc/Makefile (routines): ... here.
26350 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26351 the $(subdirs) list.
26352 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
26353 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26354 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26355 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26356
26357 * elf/Makefile (routines): Include $(all-dl-routines), not just
26358 $(dl-routines).
26359 (rtld-routines): Likewise. Use = rather than :=.
26360 * sysdeps/aarch64/Makefile [$(subdir) = elf]
26361 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26362 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26363 * sysdeps/arm/Makefile: Likewise.
26364 * sysdeps/i386/Makefile: Likewise.
26365 * sysdeps/x86_64/Makefile: Likewise.
26366 * sysdeps/hppa/Makefile [$(subdir) = elf]
26367 (sysdep_routines, sysdep-rtld-routines): Don't add
26368 $(sysdep-dl-routines) to these.
26369 * sysdeps/ia64/Makefile: Likewise.
26370 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26371 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26372 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26373 Don't add dl-static to these; sysdep-dl-routines alone is enough.
26374 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26375 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26376 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26377 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26378 * sysdeps/powerpc/Makefile [$(subdir) = elf]
26379 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26380 these; sysdep-dl-routines alone is enough.
26381
26382 2015-02-06 Joseph Myers <joseph@codesourcery.com>
26383
26384 [BZ #17932]
26385 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26386 where multiplication results in zero and third argument is finite
26387 and nonzero.
26388 * math/auto-libm-test-in: Add more tests of fma.
26389 * math/auto-libm-test-out: Regenerated.
26390
26391 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26392 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26393 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26394 (_FP_CMP_EQ): Likewise.
26395 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26396
26397 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26398 extra argument CHECK_NAN. Redefine as wrapper around
26399 _FP_EXTEND_CNAN.
26400
26401 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
26402
26403 * version.h (RELEASE): Set to "stable".
26404 (VERSION): Set to "2.21"
26405 * include/features.h (__GLIBC_MINOR__): Set to 21.
26406
26407 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26408
26409 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26410 Paul Eggert <eggert@cs.ucla.edu>
26411
26412 [BZ #16618]
26413 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26415 size in bytes. Store needed elements in wpmax. Use needed size
26416 in bytes for extend_alloca.
26417
26418 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
26419
26420 * manual/install.texi: Latest tested versions are GCC 4.9.2,
26421 binutls 2.25, and texinfo 5.2.
26422 * INSTALL: Regenerate.
26423 * sysdeps/nios2/configure: Regenerate.
26424 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26425 * manual/contrib.texi: Update.
26426 * po/be.po: Update.
26427 * po/bg.po: Update.
26428 * po/ca.po: Update.
26429 * po/cs.po: Update.
26430 * po/da.po: Update.
26431 * po/de.po: Update.
26432 * po/el.po: Update.
26433 * po/eo.po: Update.
26434 * po/es.po: Update.
26435 * po/fi.po: Update.
26436 * po/fr.po: Update.
26437 * po/gl.po: Update.
26438 * po/hr.po: Update.
26439 * po/hu.po: Update.
26440 * po/ia.po: Update.
26441 * po/id.po: Update.
26442 * po/it.po: Update.
26443 * po/ja.po: Update.
26444 * po/ko.po: Update.
26445 * po/lt.po: Update.
26446 * po/nb.po: Update.
26447 * po/nl.po: Update.
26448 * po/pl.po: Update.
26449 * po/pt_BR.po: Update.
26450 * po/ru.po: Update.
26451 * po/rw.po: Update.
26452 * po/sk.po: Update.
26453 * po/sl.po: Update.
26454 * po/sv.po: Update.
26455 * po/tr.po: Update.
26456 * po/uk.po: Update.
26457 * po/vi.po: Update.
26458 * po/zh_CN.po: Update.
26459 * po/zh_TW.po: Update.
26460
26461 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26462 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26463 * sysdeps/hppa/dl-irel.h: Remove #warning.
26464 * sysdeps/hppa/entry.h: Provide prototype for
26465 __canonicalize_funcptr_for_compare and cast argument.
26466 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26467 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26468 * sysdeps/hppa/sotruss-lib.c: New file.
26469 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26470 (atomic_compare_and_exchange_val_acq): Use __typeof__.
26471 (atomic_compare_and_exchange_bool_acq): Likewise.
26472 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26473 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26474
26475 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26476 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26477 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26478
26479 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
26480
26481 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26482 called function in non-PIC case.
26483
26484 2015-01-31 David S. Miller <davem@davemloft.net>
26485
26486 * sysdeps/sparc/sparc32/bits/atomic.h
26487 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26488 unlock not after it.
26489 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26490 volatile register usage warnings from the compiler.
26491
26492 * sysdeps/sparc/nptl/sem_init.c: Delete.
26493 * sysdeps/sparc/nptl/sem_post.c: Delete.
26494 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26495 * sysdeps/sparc/nptl/sem_wait.c: Delete.
26496 * sysdeps/sparc/sparc32/sem_init.c: New file.
26497 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26498 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26499 padding explicitly initialized.
26500 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26501 padding for in-semaphore spinlock.
26502 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26503 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26504 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26505 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26506 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26507 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26508 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26509 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26510 version.
26511 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26512 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26513
26514 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
26515
26516 [BZ #17801]
26517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26518 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26519 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26520 New.
26521 (index_AVX_Fast_Unaligned_Load): Likewise.
26522 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26523 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26524 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26525 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26526 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26527 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26528 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26529 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26530 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26531
26532 2015-01-29 Andreas Schwab <schwab@suse.de>
26533
26534 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26535
26536 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26537
26538 [BZ #17892]
26539 * nscd/nscd_stat.c (send_stats): Initialize DATA.
26540
26541 2015-01-28 Martin Sebor <msebor@redhat.com>
26542
26543 * math/README.libm-test: Clarify. Add "How to read the test output."
26544
26545 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
26546
26547 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26548 Define to 0.
26549
26550 2015-01-28 Joseph Myers <joseph@codesourcery.com>
26551
26552 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26553 (__HAVE_64B_ATOMICS): Define to 0.
26554
26555 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
26556
26557 [BZ #17885]
26558 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26559 value to set as new flag.
26560
26561 [BZ #16576]
26562 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26563 and use _ARCH_PPCSQ instead.
26564 (__ieee754_sqrt): Likewise.
26565 (__ieee754_sqrtf): Likewise.
26566 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26567 _ARCH_PPCSQ is defined.
26568 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26569 fsqrt instruction.
26570 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26571 _ARCH_PPCSQ is defined.
26572 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26573 fsqrts instruction.
26574 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26575
26576 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26577
26578 * iconv/loop.c: Suppress array out of bound warning caused by GCC
26579 bug (GCC BZ #64739).
26580
26581 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
26582
26583 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26584 Mark _retval as used.
26585 (lll_futex_wake_unlock): Likewise.
26586 (lll_futex_timed_wait_requeue_pi): Likewise.
26587
26588 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26589 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26590 register variables.
26591
26592 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26593 libm_hidden_def.
26594
26595 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26596 (__bswap_64): Mark as __always_inline.
26597
26598 2015-01-25 Bram <bug_rh@spam.wizbit.be>
26599
26600 [BZ #15378]
26601 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26602 when none of the search directories exist.
26603
26604 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
26605
26606 [BZ #17869]
26607 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26608 power8 in .machine directive.
26609
26610 [BZ #17868]
26611 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26612 set dependency from opd value.
26613
26614 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
26615
26616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26617 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26618 architecture.
26619
26620 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
26621
26622 [BZ #17870]
26623 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26624 with uint64_t.
26625 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26626 (uint64_t) 1.
26627 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26628 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26629 Replace 1UL with (uint64_t) 1.
26630 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26631 int with uint64_t.
26632
26633 2015-01-23 Roland McGrath <roland@hack.frob.com>
26634
26635 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26636 (if_freenameindex): Likewise.
26637
26638 * resource/getrlimit64.c: Add missing libc_hidden_def.
26639
26640 2015-01-22 Joseph Myers <joseph@codesourcery.com>
26641
26642 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26643 __label__.
26644 (_FP_FMA): Likewise.
26645 (_FP_TO_INT_ROUND): Likewise.
26646 (_FP_FROM_INT): Likewise.
26647
26648 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26649
26650 [BZ #16418]
26651 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26652 Make code racy and cancel safe.
26653
26654 2015-01-21 Carlos O'Donell <carlos@redhat.com>
26655
26656 * sysdeps/arm/unwind-resume.h: Fix copyright year.
26657 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26658 attribution.
26659
26660 * pwd/tst-getpw.c: Rewrite.
26661
26662 [BZ #17702]
26663 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26664 (modules-names): Add moddummy1 and moddummy2.
26665 ($(objpfx)tst-rec-dlopen): Define.
26666 * dlfcn/moddummy1.c: New file.
26667 * dlfcn/moddummy2.c: New file.
26668 * dlfcn/tst-rec-dlopen.c: New file.
26669 * elf/dl-cache.c (_dl_load_cache_lookup):
26670 Return char*. Copy result with alloca/strcpy/strdup.
26671 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26672 returns char*. Free cached. If not saving realname
26673 free cached.
26674 * elf/dl-open.c (dl_open_worker): Do not assert that
26675 _r_debug->r_state is RT_CONSISTENT.
26676 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26677 returns char*.
26678
26679 2015-01-21 Torvald Riegel <triegel@redhat.com>
26680 Carlos O'Donell <carlos@redhat.com>
26681
26682 [BZ #12674]
26683 * nptl/sem_waitcommon.c: New file.
26684 * nptl/sem_wait.c: Include sem_waitcommon.c.
26685 (__sem_wait_cleanup, do_futex_wait): Remove.
26686 (__new_sem_wait): Adapt.
26687 (__new_sem_trywait): New function.
26688 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26689 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26690 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26691 (sem_timedwait): Adapt.
26692 * nptl/sem_post.c (__new_sem_post): Adapt.
26693 (futex_wake): New function.
26694 (__old_sem_post): Add release MO fence.
26695 * nptl/sem_open.c (sem_open): Adapt.
26696 * nptl/sem_init.c (__new_sem_init): Adapt.
26697 (futex_private_if_supported): New function.
26698 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26699 (__old_sem_getvalue): Add using previous code.
26700 * sysdeps/nptl/internaltypes.h: Adapt.
26701 * nptl/tst-sem13.c (do_test): Adapt.
26702 * nptl/tst-sem11.c (main): Adapt.
26703 * nptl/sem_trywait.c: Remove.
26704 * nptl/DESIGN-sem.txt: Remove.
26705 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26706 (gen-as-const-headers): Remove structsem.sym.
26707 * nptl/structsem.sym: Remove.
26708 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26709 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26710 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26711 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26712 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26713 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26714 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26715 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26716 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26717 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26718 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26719 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26720 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26721 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26722 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26723 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26724 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26725 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26726 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26727 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26728 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26729 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26730
26731 2015-01-20 Carlos O'Donell <carlos@redhat.com>
26732
26733 * INSTALL: Regenerated.
26734
26735 * po/libc.pot: Regenerated.
26736
26737 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
26738 Sandra Loosemore <sandra@codesourcery.com>
26739 Andrew Jenner <andrew@codesourcery.com>
26740 Joseph Myers <joseph@codesourcery.com>
26741 Nathan Sidwell <nathan@codesourcery.com>
26742
26743 * NEWS: Mention new Nios II port.
26744 * sysdeps/nios2/Implies: New file.
26745 * sysdeps/nios2/Makefile: New file.
26746 * sysdeps/nios2/Subdirs: New file.
26747 * sysdeps/nios2/Versions: New file.
26748 * sysdeps/nios2/__longjmp.S: New file.
26749 * sysdeps/nios2/abort-instr.h: New file.
26750 * sysdeps/nios2/backtrace.c: New file.
26751 * sysdeps/nios2/bits/endian.h: New file.
26752 * sysdeps/nios2/bits/fenv.h: New file.
26753 * sysdeps/nios2/bits/link.h: New file.
26754 * sysdeps/nios2/bits/setjmp.h: New file.
26755 * sysdeps/nios2/bsd-_setjmp.S: New file.
26756 * sysdeps/nios2/bsd-setjmp.S: New file.
26757 * sysdeps/nios2/configure: New generated file.
26758 * sysdeps/nios2/configure.ac: New file.
26759 * sysdeps/nios2/crti.S: New file.
26760 * sysdeps/nios2/crtn.S: New file.
26761 * sysdeps/nios2/dl-init.c: New file.
26762 * sysdeps/nios2/dl-machine.h: New file.
26763 * sysdeps/nios2/dl-sysdep.h: New file.
26764 * sysdeps/nios2/dl-tls.h: New file.
26765 * sysdeps/nios2/dl-trampoline.S: New file.
26766 * sysdeps/nios2/gccframe.h: New file.
26767 * sysdeps/nios2/gmp-mparam.h: New file.
26768 * sysdeps/nios2/jmpbuf-offsets.h: New file.
26769 * sysdeps/nios2/jmpbuf-unwind.h: New file.
26770 * sysdeps/nios2/ldsodefs.h: New file.
26771 * sysdeps/nios2/libc-tls.c: New file.
26772 * sysdeps/nios2/libm-test-ulps: New file.
26773 * sysdeps/nios2/machine-gmon.h: New file.
26774 * sysdeps/nios2/math-tests.h: New file.
26775 * sysdeps/nios2/math_private.h: New file.
26776 * sysdeps/nios2/memusage.h: New file.
26777 * sysdeps/nios2/nptl/Makefile: New file.
26778 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26779 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26780 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26781 * sysdeps/nios2/nptl/pthreaddef.h: New file.
26782 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26783 * sysdeps/nios2/nptl/tls.h: New file.
26784 * sysdeps/nios2/preconfigure: New file.
26785 * sysdeps/nios2/s_fma.c: New file.
26786 * sysdeps/nios2/s_fmaf.c: New file.
26787 * sysdeps/nios2/setjmp.S: New file.
26788 * sysdeps/nios2/sfp-machine.h: New file.
26789 * sysdeps/nios2/sotruss-lib.c: New file.
26790 * sysdeps/nios2/stackguard-macros.h: New file.
26791 * sysdeps/nios2/stackinfo.h: New file.
26792 * sysdeps/nios2/start.S: New file.
26793 * sysdeps/nios2/sysdep.h: New file.
26794 * sysdeps/nios2/tls-macros.h: New file.
26795 * sysdeps/nios2/tst-audit.h: New file.
26796 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26797 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26798 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26799 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26800 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26801 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26802 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26803 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26804 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26805 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26806 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26807 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26808 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26809 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26810 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26811 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26812 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26813 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26814 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26815 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26816 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26817 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26818 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26819 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26820 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26821 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26822 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26823 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26824 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26825 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26826 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26827 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26828 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26829 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26830 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26831 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26832 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26833 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26834 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26835 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26836 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26837 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26838 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26839 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26840
26841 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
26842
26843 [BZ #17844]
26844 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26845 (getutent): Use weak_alias in non SHARED case
26846 and default_symbol_version in SHARED case.
26847 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26848 (getutent_r, pututline): Likewise.
26849 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26850 (getutid): Likewise.
26851 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26852 (getutid_r): Likewise.
26853 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26854 (getutline): Likewise.
26855 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26856 (getutline_r): Likewise.
26857 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26858 (updwtmp): Likewise.
26859
26860 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
26861
26862 [BZ #17848]
26863 * sysdeps/s390/s390-32/memcmp.S
26864 (memcmp_g5): Rename to __memcmp_g5.
26865 * sysdeps/s390/s390-32/memcpy.S
26866 (memcpy_g5): Rename to __memcpy_g5.
26867 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26868 (memcpy_mvcle) Rename to __memcpy_mvcle.
26869 * sysdeps/s390/s390-32/memset.S
26870 (memset_g5): Rename to __memset_g5.
26871 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26872 (IFUNC_RESOLVE): Prefix ifunc-resolve function
26873 and use prefixed functions.
26874 * sysdeps/s390/s390-32/multiarch/memcmp.S
26875 (memcmp_z196): Rename to __memcmp_z196.
26876 (memcmp_z10): Rename to __memcmp_z10.
26877 (memcmp): Set alias to __memcmp_g5.
26878 (bcmp): Set alias to __memcmp_g5.
26879 * sysdeps/s390/s390-32/multiarch/memcpy.S
26880 (memcpy_z196): Rename to __memcpy_z196.
26881 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26882 (memcpy_z10): Rename to __memcpy_z10.
26883 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26884 (memcpy): Set alias to __memcpy_g5.
26885 * sysdeps/s390/s390-32/multiarch/memset.S
26886 (memset_z196): Rename to __memset_z196.
26887 Jump to __memset_mvcle instead of memset_mvcle.
26888 (memset_z10): Rename to __memset_z10.
26889 Jump to __memset_mvcle instead of memset_mvcle.
26890 (memset_mvcle) Rename to __memset_mvcle.
26891 (memset): Set alias to __memset_g5.
26892 * sysdeps/s390/s390-64/memcmp.S
26893 (memcmp_z900): Rename to __memcmp_z900.
26894 * sysdeps/s390/s390-64/memcpy.S
26895 (memcpy_z900): Rename to __memcpy_z900.
26896 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26897 (memcpy_mvcle) Rename to __memcpy_mvcle.
26898 * sysdeps/s390/s390-64/memset.S
26899 (memset_z900): Rename to __memset_z900.
26900 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26901 (IFUNC_RESOLVE): Prefix ifunc-resolve function
26902 and use prefixed functions.
26903 * sysdeps/s390/s390-64/multiarch/memcmp.S
26904 (memcmp_z196): Rename to __memcmp_z196.
26905 (memcmp_z10): Rename to __memcmp_z10.
26906 (memcmp): Set alias to __memcmp_z900.
26907 (bcmp): Set alias to __memcmp_z900.
26908 * sysdeps/s390/s390-64/multiarch/memcpy.S
26909 (memcpy_z196): Rename to __memcpy_z196.
26910 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26911 (memcpy_z10): Rename to __memcpy_z10.
26912 Jump to __memcpy_mvcle instead of memcpy_mvcle.
26913 (memcpy): Set alias to __memcpy_z900.
26914 * sysdeps/s390/s390-64/multiarch/memset.S
26915 (memset_z196): Rename to __memset_z196.
26916 Jump to __memset_mvcle instead of memset_mvcle.
26917 (memset_z10): Rename to __memset_z10.
26918 Jump to __memset_mvcle instead of memset_mvcle.
26919 (memset_mvcle) Rename to __memset_mvcle.
26920 (memset): Set alias to __memset_z900.
26921
26922 2015-01-14 Joseph Myers <joseph@codesourcery.com>
26923
26924 [BZ #17748]
26925 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26926 __fesetenv instead of fesetenv.
26927
26928 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26929
26930 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26931 macro.
26932
26933 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26934
26935 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26936 regression on LE.
26937
26938 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26939 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26940 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26941 strncmp-power8 object.
26942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26943 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26944 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26945 * NEWS: Update.
26946
26947 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26948 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26949
26950 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26951 trailing byte check.
26952
26953 2015-01-13 David S. Miller <davem@davemloft.net>
26954
26955 * include/signal.h (__sigreturn): Guard with __USE_MISC.
26956
26957 2015-01-13 Roland McGrath <roland@hack.frob.com>
26958
26959 * login/logout.c (logout): Use memset rather than bzero.
26960 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26961 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26962 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26963 (_gethtbyaddr): Likewise.
26964 * locale/programs/simple-hash.c (bcopy): Macro removed.
26965
26966 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26967
26968 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26969 Add strcmp-power8 object.
26970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26971 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26972 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26973 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26974 __strcmp_power8 implementation.
26975 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26976 * NEWS: Update.
26977
26978 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26979 Add strncpy-power8 and stpncpy-power8 objects.
26980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26981 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26982 implementations.
26983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26984 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26985 __stpncpy_power8 implementation.
26986 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26987 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26988 __strncpy_power8 implementation.
26989 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26990 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26991 * NEWS: Update.
26992
26993 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26994 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26995 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26996
26997 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26998 strncat-power8 object.
26999 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27000 __strcat_power8 implementation.
27001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27002 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27003 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27004 optimized strcat for power8.
27005
27006 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27007 strcpy-power8 and stpcpy-power8 objects.
27008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27009 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27010 implementations.
27011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27012 multiarch stpcpy implementation for POWER8.
27013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27014 multiarch strcpy implementation for POWER8.
27015 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27016 __strcpy_power8 function.
27017 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27018 stpcpy for POWER8.
27019 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27020 strcpy for POWER8.
27021 * NEWS: Update.
27022
27023 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
27024
27025 [BZ #16009]
27026 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27027 weights and rules. Use do_xfrm_cached if data fits in cache,
27028 do_xfrm otherwise. Moved former main loop to...
27029 * (do_xfrm_cached): New function.
27030 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27031 find_idx, find_position and stack_push.
27032 * (find_idx): New function.
27033 * (find_position): Likewise.
27034 * localedata/sort-test.sh: Added test run for do_xfrm.
27035 * localedata/xfrm-test.c (main): Added command line option
27036 -nocache to run the test with strings that are too large for
27037 the STRXFRM cache.
27038
27039 2015-01-13 Torvald Riegel <triegel@redhat.com>
27040
27041 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27042 variable to lll_futex_wake call, not the value itself.
27043
27044 2015-01-12 Joseph Myers <joseph@codesourcery.com>
27045
27046 [BZ #17803]
27047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27048 twom64. Adjust value to 0x1p-64L.
27049 (__scalblnl): Only return standard underflowing result for K <=
27050 -64 not K <= -63; adjust exponent for underflowing result by 64
27051 not 63.
27052 * math/libm-test.inc (scalbn_test_data): Add more tests.
27053 (scalbln_test_data): Likewise.
27054
27055 [BZ #17834]
27056 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27057 0x1p63L.
27058 (__scalblnl): Get new exponent of adjusted subnormal value from ES
27059 not HX.
27060 * math/libm-test.inc (scalbn_test_data): Add more tests.
27061 (scalbln_test_data): Likewise.
27062
27063 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27064 Stefani Seibold <stefani@seibold.net>
27065
27066 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27067 (sysdep_routines): Add dl-vdso here, ...
27068 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27069 (sysdep_routines): ... not here.
27070 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27071 fallback when vDSO is not presented.
27072 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27073 Define with libc_hidden_proto/libc_hidden_data_def definitions.
27074 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27075 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27076 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27077 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27078 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27080 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27082 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
27083 fallback configurable symbol when vDSO is not available.
27084 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27085 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
27086 be able to redefine fallback symbol when vDSO is not available.
27087 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27088 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27089
27090 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27091
27092 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27093 (TLS_INIT_TP): Add tm_capable initialization.
27094 (TLS_DEFINE_INIT_TP): Likewise.
27095 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27096 TCB.
27097 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27098 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27099 calculation.
27100 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27101 transactoion is lock elision is built and TCB tm_capable is set.
27102 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27104 (INTERNAL_SYSCALL_NCS): Likewise.
27105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27106 (INTERNAL_SYSCALL_NCS): Likewise.
27107 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27108
27109 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27110 for powerpc.
27111 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27112 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27113 and remove it for 32 bits case.
27114 [pthread_rwlock_t] (__rwelision): New field for lock elision.
27115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27116 initialization.
27117 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27118 Disable lock elision with rdlocks if elision is not available.
27119
27120 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27121 (sysdep_routines): Add lock elision objects.
27122 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27123 [pthread_mutex_t] (__spins): Rework to add lock elision field.
27124 [pthread_mutex_t] (__elision): Add field.
27125 [__PTHREAD_SPINS]: Adjust to init lock elision field.
27126 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27127 elision definitions for powerpc.
27128 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27129 implementation of lock elision for powerpc.
27130 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27131 implementation of timed lock elision for powerpc.
27132 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27133 implementation of trylock with lock elision for powerpc.
27134 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27135 implementaion of unlock for lock elision for powerpc.
27136 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27137 automatic enable lock elision for mutexes.
27138 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27139 transaction execution definitions for powerpc.
27140 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27141 definitions.
27142 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27143 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27144 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27145 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27146 * NEWS: Update.
27147
27148 2015-01-09 Roland McGrath <roland@hack.frob.com>
27149
27150 * sysdeps/posix/shm-directory.c: Use <> rather than ""
27151 for #include of <shm-directory.h>.
27152
27153 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
27154
27155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27156 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27157
27158 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
27159
27160 [BZ #17791]
27161 * NEWS: Mention bug fix.
27162 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27163 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27164 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27165
27166 2015-01-09 Torvald Riegel <triegel@redhat.com>
27167
27168 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27169
27170 2015-01-09 Torvald Riegel <triegel@redhat.com>
27171
27172 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27173
27174 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
27175
27176 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27177 pointer and cast to uintptr_t.
27178
27179 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
27180
27181 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27182 removed.
27183 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27184
27185 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
27186
27187 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27188 of 0.
27189
27190 2015-01-08 Roland McGrath <roland@hack.frob.com>
27191
27192 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27193 <nptl/pthreadP.h> instead.
27194 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27195
27196 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27197 already defined.
27198 [__SIGRTMIN] (init): Function removed.
27199 [__SIGRTMIN] (initialized): Variable removed.
27200 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27201 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27202 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27203 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27204 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27205 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27206 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27207 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27208 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27209 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27210 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27211 * sysdeps/nptl/allocrtsig.c: New file.
27212 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27213 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27214 * sysdeps/generic/testrtsig.h: File removed.
27215
27216 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27217 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27218
27219 * nptl/nptl-init.c (pthread_functions): Conditionalize
27220 .ptr__nptl_setxid initialization on [SIGSETXID].
27221
27222 * sysdeps/nptl/sys/procfs.h: New file.
27223 * nptl_db/Makefile (headers): Add it.
27224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27225
27226 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27227 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27228 * nptl/pthread_attr_setaffinity.c: Include it.
27229 * nptl/pthread_setattr_default_np.c: Likewise.
27230 * nptl/check-cpuset.h: New file.
27231
27232 2015-01-08 Richard Henderson <rth@redhat.com>
27233
27234 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27235 (CFLAGS-tst-execstack-prog.c): Likewise.
27236 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27237
27238 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
27239 Sandra Loosemore <sandra@codesourcery.com>
27240 Andrew Jenner <andrew@codesourcery.com>
27241 Joseph Myers <joseph@codesourcery.com>
27242 Nathan Sidwell <nathan@codesourcery.com>
27243
27244 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27245 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27246 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27247 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27248 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27249 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27250 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27251 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27252 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27253 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27254 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27255 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27256 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27257 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27258 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27259 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27260 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27261
27262 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27263
27264 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27265 timespec struct member in syscall macro.
27266 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27267 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27268 first timeval struct member in syscall macro.
27269 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27270
27271 2015-01-07 Joseph Myers <joseph@codesourcery.com>
27272
27273 [BZ #17748]
27274 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27275 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27276 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27277 __feupdateenv and define as weak alias of __feupdateenv. Use
27278 libm_hidden_weak.
27279 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27280 libm_hidden_def.
27281 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27282 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
27283 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27284 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27285 libm_hidden_def.
27286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27287 __feupdateenv and define as weak alias of __feupdateenv. Use
27288 libm_hidden_weak.
27289 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27290 libm_hidden_def.
27291 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27292 __feupdateenv and define as weak alias of __feupdateenv. Use
27293 libm_hidden_weak.
27294 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27295 libm_hidden_def.
27296 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27297 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27298 (__feupdateenv): Likewise.
27299 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27300 __feupdateenv and define as weak alias of __feupdateenv. Use
27301 libm_hidden_weak.
27302 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27303 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27304 libm_hidden_def.
27305 * sysdeps/tile/math_private.h (__feupdateenv): New inline
27306 function.
27307 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27308 libm_hidden_def.
27309 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27310 __feupdateenv instead of feupdateenv.
27311 (default_libc_feupdateenv_test): Likewise.
27312 (libc_feresetround_ctx): Likewise.
27313
27314 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27315
27316 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27317 prototype.
27318
27319 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
27320
27321 * posix/regcomp.c (parse_bracket_exp): Initialize type to
27322 COLL_SYM in a couple of places to avoid uninitialized variable
27323 wanings on tilegx gcc 4.8.2.
27324
27325 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
27326
27327 * sysdeps/aarch64/strcpy.S: New file.
27328 * sysdeps/aarch64/stpcpy.S: New file.
27329 * NEWS: Updated.
27330
27331 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
27332
27333 * sysdeps/aarch64/strrchr.S: New file.
27334 * NEWS: Updated.
27335
27336 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
27337
27338 [BZ #17658]
27339 * stdlib/setenv.c: Fix memory leak when setting large,
27340 duplicate string.
27341
27342 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
27343
27344 [BZ #17273]
27345 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27346 and tabs from buffer before parsing fstab entry.
27347 * misc/tst-mntent.c (main): Add test for mount entry with
27348 trailing spaces and tabs.
27349
27350 2015-01-06 Joseph Myers <joseph@codesourcery.com>
27351
27352 [BZ #17748]
27353 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
27354 * math/fesetround.c (fesetround): Rename to __fesetround and
27355 define as weak alias of __fesetround. Use libm_hidden_weak.
27356 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27357 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27358 * sysdeps/arm/fesetround.c (fesetround): Likewise.
27359 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27360 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27361 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27362 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27363 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27364 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27365 __fesetround_inline.
27366 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27367 __fesetround_inline instead of __fesetround.
27368 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27369 __fesetround and define as weak alias of __fesetround. Use
27370 libm_hidden_weak. Call __fesetround_inline instead of
27371 __fesetround.
27372 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27373 __fesetround and define as weak alias of __fesetround. Use
27374 libm_hidden_weak.
27375 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27376 Likewise.
27377 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27379 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27380 * sysdeps/tile/math_private.h (__fesetround): New inline function.
27381 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27382 __fesetround and define as weak alias of __fesetround. Use
27383 libm_hidden_weak.
27384 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27385 __fesetround instead of fesetround.
27386 (default_libc_feholdexcept_setround): Likewise.
27387 (libc_feholdsetround_ctx): Likewise.
27388 (libc_feholdsetround_noex_ctx): Likewise.
27389
27390 [BZ #17748]
27391 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27392 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27393 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27394 and define as weak alias of __fesetenv. Use libm_hidden_weak.
27395 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27396 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27397 define as weak alias of __fesetenv. Use libm_hidden_weak.
27398 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27399 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27400 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27401 define as weak alias of __fesetenv. Use libm_hidden_weak.
27402 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27403 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27404 define as weak alias of __fesetenv. Use libm_hidden_weak.
27405 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27406 libm_hidden_def.
27407 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27408 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27409 Likewise.
27410 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27411 define as weak alias of __fesetenv. Use libm_hidden_weak.
27412 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27413 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27414 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27415 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27416 and define as weak alias of __fesetenv. Use libm_hidden_weak.
27417 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27418 __fesetenv instead of fesetenv.
27419 (libc_feresetround_noex_ctx): Likewise.
27420 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27421 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27422 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27423 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27424 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27425 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27426 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27427 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27428 (__feupdateenv): Likewise.
27429 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27430 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27431 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27432 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27433
27434 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
27435
27436 [BZ #17806]
27437 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27438 addresses have been freed.
27439
27440 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
27441
27442 * resolv/res_init.c (__res_vinit): Improve comments about nserv
27443 and nservall.
27444
27445 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
27446
27447 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27448 Clean up check_pf allocation pattern. addresses
27449
27450 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27451
27452 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27453 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27454 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27455 * nptl/pthread_exit.c (__pthread_exit): Likewise.
27456 * nptl/pthread_join.c (pthread_join): Likewise.
27457 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27458 * sysdeps/posix/waitid.c (__waitid): Likewise.
27459 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27460 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27461 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27462 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27464 Likewise.
27465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27466 (__libc_pread64): Likewise.
27467 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27468 (__libc_pwrite): Likewise.
27469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27470 (__libc_pwrite64): Likewsie.
27471 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27472 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27473 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27474 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27475 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27476 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27477 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27479 Likewise.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27481 (__libc_pread64): Likewise.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27483 Likewise.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27485 (__libc_pwrite64): Likewise.
27486 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27487 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27488 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27489 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27490 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27491 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27492 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27493 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27494 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27495 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27496 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27497 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27498 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27499 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27500 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27501 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27502 Likewise.
27503
27504 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
27505
27506 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27507 (CFLAGS-test-double.c): Likewise.
27508 (CFLAGS-test-ldouble.c): Likewise.
27509 (CPPFLAGS-test-ifloat.c): Likewise.
27510 (CPPFLAGS-test-idouble.c): Likewise.
27511 (CPPFLAGS-test-ildoubl.c): Likewise.
27512 (CFLAGS-test-test-fenv.c): Remove variable.
27513 (CFLAGS-test-misc.c): Likewise.
27514
27515 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
27516
27517 [BZ #17797]
27518 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27519 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27520 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27521 CLOCKS_PER_SEC == 1000000.
27522 * time/clocktest.c (main): Replace %ld with %jd and cast to
27523 intmax_t.
27524
27525 2015-01-05 Roland McGrath <roland@hack.frob.com>
27526
27527 * sysdeps/generic/unwind-resume.h: New file.
27528 * sysdeps/gnu/unwind-resume.c: Include it.
27529 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27530 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27531 argument list.
27532 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27533 global rather than static.
27534 (_Unwind_Resume): Update user.
27535 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27536 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
27537 rather than static. Add __attribute__ ((cold)).
27538 (_Unwind_Resume, __gcc_personality_v0): Update callers.
27539 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27540 * sysdeps/arm/arm-unwind-resume.S: New file.
27541 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27542 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27543 * sysdeps/arm/Makefile [$(subdir) = csu]
27544 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27545 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27546 Add rt-arm-unwind-resume.
27547 [$(subdir) = nptl]
27548 (libpthread-sysdep_routines, libpthread-shared-only-routines):
27549 Add pt-arm-unwind-resume.
27550 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27551 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27552
27553 2015-01-05 Joseph Myers <joseph@codesourcery.com>
27554
27555 [BZ #17748]
27556 * include/fenv.h (__feholdexcept): Declare. Use
27557 libm_hidden_proto.
27558 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27559 define as weak alias of __feholdexcept. Use libm_hidden_weak.
27560 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27561 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27562 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27563 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27564 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27565 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27566 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27567 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27568 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27569 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27570 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27571 (feholdexcept): Likewise.
27572 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27573 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27574 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27575 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27576 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27577 __feholdexcept instead of feholdexcept.
27578 (default_libc_feholdexcept_setround): Likewise.
27579
27580 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
27581
27582 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27583 to avoid using stl/str to align destination.
27584
27585 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
27586
27587 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27588
27589 2015-01-05 Joseph Myers <joseph@codesourcery.com>
27590
27591 [BZ #17796]
27592 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27593 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27594 Define as weak alias not strong alias.
27595
27596 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
27597
27598 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27599 bltzal with addiupc.
27600 (RTLD_START): Ditto.
27601
27602 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
27603
27604 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27605 for __vdso_* functions in declarations.
27606 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27607 definitions.
27608 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27609 INTERNAL_VSYSCALL): Use struct return types to check for error.
27610
27611 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27612 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27613 function with cast from llround().
27614 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27615 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27616 Define.
27617
27618 2015-01-05 Joseph Myers <joseph@codesourcery.com>
27619
27620 [BZ #17793]
27621 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27622 Define as weak alias not strong alias.
27623
27624 [BZ #17635]
27625 * ctype/ctype-c99.c: New file. isblank implementation moved from
27626 ...
27627 * ctype/ctype-extn.c: ... here.
27628 (__isblank_l): Move to ...
27629 * ctype/ctype-c99_l.c: ... here. New file.
27630 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27631 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27632 Remove variable.
27633 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27634 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27635 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27636 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27637 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27638
27639 [BZ #17777]
27640 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27641 (posix_fadvise64): Define as weak alias not strong alias.
27642 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27643 (posix_fallocate64): Likewise.
27644 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27645 Remove variable.
27646 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27647 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27648 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27649 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27650 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27651
27652 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
27653
27654 [BZ #16191]
27655 * NEWS: Mention bug fix.
27656 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27657 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27658 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27659 (HOST_STACK_END_ADDR): Likewise.
27660
27661 2015-01-02 Joseph Myers <joseph@codesourcery.com>
27662
27663 [BZ #17748]
27664 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
27665 * math/fegetround.c (fegetround): Rename to __fegetround and
27666 define as weak alias of __fegetround. Use libm_hidden_weak.
27667 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27668 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27669 * sysdeps/arm/fegetround.c (fegetround): Likewise.
27670 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27671 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27672 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27673 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27674 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27675 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27676 Undefine after rather than before function definition; use
27677 parentheses around function name in definition.
27678 (__fegetround): Also undefine macro after function definition.
27679 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27680 __fegetround and define as weak alias of __fegetround. Use
27681 libm_hidden_weak. Do not undefine as macro.
27682 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27683 Likewise.
27684 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27685 __fegetround and define as weak alias of __fegetround. Use
27686 libm_hidden_weak.
27687 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27688 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27689 * sysdeps/tile/math_private.h (__fegetround): New inline function.
27690 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27691 __fegetround and define as weak alias of __fegetround. Use
27692 libm_hidden_weak.
27693 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27694 __fegetround instead of fegetround.
27695
27696 [BZ #17782]
27697 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27698 Condition macro definition on [__USE_MISC].
27699
27700 [BZ #17781]
27701 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27702 (struct sigaction): Change type of sa_flags field to int.
27703
27704 [BZ #17780]
27705 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27706 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27707 __glibc_reserved0.
27708
27709 * nptl/version.c (banner): Use single year in copyright notice.
27710
27711 * NEWS: Update copyright dates.
27712 * catgets/gencat.c (print_version): Likewise.
27713 * csu/version.c (banner): Likewise.
27714 * debug/catchsegv.sh: Likewise.
27715 * debug/pcprofiledump.c (print_version): Likewise.
27716 * debug/xtrace.sh (do_version): Likewise.
27717 * elf/ldconfig.c (print_version): Likewise.
27718 * elf/ldd.bash.in: Likewise.
27719 * elf/pldd.c (print_version): Likewise.
27720 * elf/sotruss.sh: Likewise.
27721 * elf/sprof.c (print_version): Likewise.
27722 * iconv/iconv_prog.c (print_version): Likewise.
27723 * iconv/iconvconfig.c (print_version): Likewise.
27724 * locale/programs/locale.c (print_version): Likewise.
27725 * locale/programs/localedef.c (print_version): Likewise.
27726 * login/programs/pt_chown.c (print_version): Likewise.
27727 * malloc/memusage.sh (do_version): Likewise.
27728 * malloc/memusagestat.c (print_version): Likewise.
27729 * malloc/mtrace.pl: Likewise.
27730 * manual/libc.texinfo: Likewise.
27731 * nptl/version.c (banner): Likewise.
27732 * nscd/nscd.c (print_version): Likewise.
27733 * nss/getent.c (print_version): Likewise.
27734 * nss/makedb.c (print_version): Likewise.
27735 * posix/getconf.c (main): Likewise.
27736 * scripts/test-installation.pl: Likewise.
27737 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27738
27739 2015-01-02 Will Newton <will.newton@linaro.org>
27740
27741 * sysdeps/arm/armv7/configure: Removed.
27742 * sysdeps/arm/armv7/configure.ac: Likewise.
27743
27744 2015-01-02 Joseph Myers <joseph@codesourcery.com>
27745
27746 * All files with FSF copyright notices: Update copyright dates
27747 using scripts/update-copyrights.
27748 * intl/plural.c: Regenerated.
27749 * locale/programs/charmap-kw.h: Likewise.
27750 * locale/programs/locfile-kw.h: Likewise.
27751
27752 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27753
27754 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27755
27756 2014-12-31 Joseph Myers <joseph@codesourcery.com>
27757
27758 [BZ #17748]
27759 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27760 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27761 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27762 and define as weak alias of __fegetenv. Use libm_hidden_weak.
27763 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27764 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27765 define as weak alias of __fegetenv. Use libm_hidden_weak.
27766 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27767 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27768 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27769 define as weak alias of __fegetenv. Use libm_hidden_weak.
27770 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27771 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27772 define as weak alias of __fegetenv. Use libm_hidden_weak.
27773 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27774 libm_hidden_def.
27775 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27776 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27777 Likewise.
27778 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27779 define as weak alias of __fegetenv. Use libm_hidden_weak.
27780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27781 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27782 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27783 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27784 and define as weak alias of __fegetenv. Use libm_hidden_weak.
27785 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27786 __fegetenv instead of fegetenv.
27787 (libc_feholdsetround_noex_ctx): Likewise.
27788
27789 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
27790
27791 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27792 (Elf_MIPS_ABIFlags_v0): New structure.
27793 (EF_MIPS_FP64): Define.
27794 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27795 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27796 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27797 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27798 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27799 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27800 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27801 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27802 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27803 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27804 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27805 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27806 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27807 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27808 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27809 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27810 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27811 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27812 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27813 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27814 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27815 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27816 field.
27817 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27818 EF_MIPS_FP64.
27819 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27820 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27821 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27822 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27823 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27824 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27825 * sysdeps/mips/tst-abi-interlink.c: Likewise.
27826 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27827 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27828 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27829 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27830 record the current FP ABI extension.
27831 (mips-mode-switch): Define to show if kernel headers support mode
27832 switching.
27833 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27834 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27835 supported SYSV ABI version to 3.
27836 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27837 feature.
27838
27839 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27840 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27841
27842 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27843 path.
27844 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27845
27846 2014-12-31 Joseph Myers <joseph@codesourcery.com>
27847
27848 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27849 __fegetround and redefine to call __fegetround. Remove condition
27850 on [!__NO_MATH_INLINES].
27851 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27852 function.
27853 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27854 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27855 Remove macro.
27856 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27857 instead of <fenv_libc.h>.
27858 (__llrintl): Call fegetround instead of __fegetround.
27859 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27860 instead of <fenv_libc.h>.
27861 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27862 (__lrintl): Call fegetround instead of __fegetround.
27863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27864 instead of <fenv_libc.h>.
27865 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27866 (__rintl): Call fegetround instead of __fegetround.
27867
27868 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27869
27870 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27871 arrays.
27872
27873 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 [BZ #17775]
27876 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27877 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27878 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27879
27880 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
27881
27882 * sysdeps/i386/tls-macros.h: Include <features.h>.
27883 (TLS_LE): Use non-PIC version for GCC >= 5.0.
27884 (TLS_IE): Likewise.
27885 (TLS_LD): Likewise.
27886 (TLS_GD): Likewise.
27887 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27888 define for GCC >= 5.0.
27889
27890 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
27891
27892 * math/test-fenv.c (test_single_exception, set_single_exc,
27893 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27894 feexcp_mask_test, feenable_test, fe_single_test): Add
27895 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27896 case where they are not used.
27897 * math/libm-test.inc: Likewise.
27898 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27899 unused in the absence of FP rounding/exception support.
27900 * stdio-common/tst-printf-round.c: Likewise.
27901 * stdlib/tst-strtod-round.c: Likewise.
27902 * stdlib/tst-strtod-underflow.c: Likewise.
27903
27904 2014-12-30 Joseph Myers <joseph@codesourcery.com>
27905
27906 [BZ #17723]
27907 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27908 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27909 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27910 __feraiseexcept and define as weak alias of __feraiseexcept. Use
27911 libm_hidden_weak.
27912 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27913 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27914 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27915 libm_hidden_def.
27916 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27917 __feraiseexcept and define as weak alias of __feraiseexcept. Use
27918 libm_hidden_weak.
27919 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27920 Likewise.
27921 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27922 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27923 __feraiseexcept and define as weak alias of __feraiseexcept. Use
27924 libm_hidden_weak.
27925 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27926 libm_hidden_def.
27927 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27928 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27929 (__feraiseexcept): Likewise.
27930 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27931 __feraiseexcept and define as weak alias of __feraiseexcept. Use
27932 libm_hidden_weak.
27933 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27934 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27935 libm_hidden_def.
27936 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27937 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27938 Use libm_hidden_def.
27939 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27940 libm_hidden_def.
27941 (feraiseexcept): Define as weak not strong alias. Use
27942 libm_hidden_weak.
27943 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27944 New inline function. Factored out of ...
27945 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
27946 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27947 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27948 feraiseexcept.
27949 * math/w_acos.c (__acos): Likewise.
27950 * math/w_asin.c (__asin): Likewise.
27951 * math/w_ilogb.c (__ilogb): Likewise.
27952 * math/w_j0.c (y0): Likewise.
27953 * math/w_j1.c (y1): Likewise.
27954 * math/w_jn.c (yn): Likewise.
27955 * math/w_log.c (__log): Likewise.
27956 * math/w_log10.c (__log10): Likewise.
27957 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27958 * sysdeps/aarch64/fpu/math_private.h
27959 (libc_feupdateenv_test_aarch64): Likewise.
27960 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27961 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27962 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27963 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27964 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27965 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27966 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27967 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27968 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27969 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27970
27971 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
27972
27973 [BZ #17732]
27974 * io/test-utime.c (main): Replace %ld with %jd and cast to
27975 intmax_t.
27976 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27977 * nptl/tst-mutex5.c: Include <stdint.h>.
27978 (do_test): Replace %ld with %jd and cast to intmax_t.
27979 * posix/tst-regex.c (run_test): Likewise.
27980 (run_test_backwards): Likewise.
27981 * rt/tst-clock.c: Include <stdint.h>.
27982 (clock_test): Replace %ld with %jd and cast to intmax_t.
27983 * rt/tst-cpuclock1.c: Include <stdint.h>.
27984 (do_test): Replace %lu with %ju and cast to uintmax_t.
27985 * rt/tst-cpuclock2.c: Include <stdint.h>.
27986 (do_test): Replace %lu with %ju and cast to uintmax_t.
27987 * rt/tst-mqueue1.c: Include <stdint.h>.
27988 (check_attrs): Replace %ld with %jd and cast to intmax_t.
27989 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27990 intmax_t.
27991 * rt/tst-mqueue4.c (do_test): Likewise.
27992 * rt/tst-timer4.c: Include <stdint.h>.
27993 (check_ts): Replace %ld with %jd and cast to intmax_t.
27994 (do_test): Likewise.
27995 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27996 and cast to intmax_t.
27997 * sysdeps/pthread/tst-timer.c (main): Likewise.
27998 * time/clocktest.c (main): Likewise.
27999 * time/tst-posixtz.c (do_test): Likewise.
28000 * timezone/tst-timezone.c (main): Likewise.
28001
28002 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
28003 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28006 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28007 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28008 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28009 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28010 version if bit_Fast_Unaligned_Load is set.
28011 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28012 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28013 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28014 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28015 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28016 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28018 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28019 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28020 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28021 to 4.
28022 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28023 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28024 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28025 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28026
28027 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
28028
28029 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28030 instead of #if to avoid a Wundef warning.
28031 * stdlib/tst-limits.c (do_test): Likewise.
28032
28033 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28034 parallel other exception macros.
28035 (fegetenv): Convert from macro to extern inline so that it applies
28036 retroactively to inline functions already seen by the compiler.
28037 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28038
28039 * posix/Makefile (before-compile): Use $(objpfx) for
28040 posix-conf-vars-def.h.
28041
28042 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28043
28044 * posix/getconf.c (main): Use size_t for type of I.
28045 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28046 NSPEC.
28047
28048 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28049 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28050 * posix/posix-envs.def: Likewise.
28051 * sysdeps/posix/sysconf.c: Likewise.
28052 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28053 (specs): Remove array.
28054 * scripts/gen-posix-conf-vars.awk: Support generation of specs
28055 array.
28056
28057 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28058 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28059 (__sysconf): Use CONF_IS_* macros.
28060
28061 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28062 ($(objpfx)posix-conf-vars-def.h): New target.
28063 * posix/posix-conf-vars.list: New file.
28064 * posix/posix-conf-vars.h: New file.
28065 * posix/confstr.c: Include posix-conf-vars.h.
28066 (confstr): Use CONF_IS_* macros.
28067 * posix/posix-envs.def: Include posix-conf-vars.h. Use
28068 CONF_IS_* macros.
28069 * scripts/gen-posix-conf-vars.awk: New file.
28070
28071 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
28072
28073 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28074 fegetround): Add no-op macros to avoid linknamespace issues.
28075
28076 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28077 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28078
28079 * sysdeps/unix/sysv/linux/tile/sysdep.h
28080 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28081 assembly-specific section to avoid a redefinition warning.
28082
28083 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28084 long before casting to pointer to avoid a cast warning.
28085
28086 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
28087
28088 * sysdeps/tile/tilegx/Implies: New file.
28089
28090 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
28091
28092 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28093
28094 2014-12-23 Florian Weimer <fweimer@redhat.com>
28095
28096 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28097
28098 2014-12-22 Joseph Myers <joseph@codesourcery.com>
28099
28100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28101 not define.
28102 * sysdeps/unix/sysv/linux/utimes.c: Do not include
28103 <kernel-features.h>.
28104 (__utimes) [__NR_utimes]: Make code unconditional.
28105 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28106 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28107 (__ASSUME_UTIMES): Do not undefine.
28108 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28109 (__ASSUME_UTIMES): Likewise.
28110 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28111 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28112 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28113 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28114
28115 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
28116
28117 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28118
28119 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
28120
28121 [BZ #17747]
28122 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28123 alias to weak alias for j0l, y0l.
28124 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28125 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28126
28127 [BZ #17746]
28128 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28129 conversion.
28130
28131 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
28132
28133 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28134 to zero if not already defined.
28135
28136 2014-12-22 Joseph Myers <joseph@codesourcery.com>
28137
28138 [BZ #17724]
28139 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28140 (__kernel_standard_f): Remove. Moved to k_standardf.c.
28141 (__kernel_standard_l): Remove. Moved to k_standardl.c with
28142 (char *) casts added.
28143 * sysdeps/ieee754/k_standardf.c: New file.
28144 * sysdeps/ieee754/k_standardl.c: Likewise.
28145 * math/Makefile (libm-support): Remove k_standard.
28146 (libm-calls): Add k_standard.
28147
28148 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
28149
28150 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28151 Optimize to avoid an unnecessary FPCR read.
28152
28153 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
28154
28155 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28156 Optimize to reduce FPCR/FPSR accesses.
28157
28158 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
28159
28160 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28161 Call libc_fetestexcept_aarch64.
28162
28163 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
28164
28165 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28166 Call libc_fesetround_aarch64.
28167
28168 2014-12-22 Joseph Myers <joseph@codesourcery.com>
28169
28170 [BZ #17733]
28171 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28172 (__bind): Do not define as weak alias.
28173 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28174 define.
28175 (__getsockname): Do not define as weak alias.
28176
28177 2014-12-22 Will Newton <will.newton@linaro.org>
28178
28179 * manual/install.texi: Document that we require bison 2.7
28180 or above.
28181 * INSTALL: Regenerate.
28182 * configure.ac: Use AC_CHECK_PROG_VER instead of
28183 AC_PATH_PROG when checking for bison and check for
28184 version 2.7 or above.
28185 * configure: Regenerate.
28186
28187 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
28188
28189 [BZ #17745]
28190 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28191 * sysdeps/tile/ffsll.c (ffsll): To here.
28192
28193 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28194
28195 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
28196
28197 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28198 if not defined.
28199 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28200 definition.
28201 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28202 hidden ___tls_get_addr.
28203 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28204 hidden __tls_get_addr.
28205 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28206 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28207 Likewise.
28208
28209 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
28210
28211 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28212 _dl_init call.
28213
28214 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28217 from "call _dl_init@PLT".
28218 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28219
28220 2014-12-21 Anders Kaseorg <andersk@mit.edu>
28221
28222 * manual/search.texi: (Array Sort Function): Clarify stable sorting
28223 guarantees.
28224
28225 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
28226
28227 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28228
28229 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
28230
28231 [BZ #17744]
28232 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28233 strnlen.
28234
28235 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
28236
28237 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28238 of multu on MIPSr6.
28239 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28240 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28241 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28242 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28243 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28244
28245 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
28246
28247 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28248 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28249 (PTR_SUBU): Use subu for mips32r6/mips64r6.
28250 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28251 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28252 mips32r6/mips64r6.
28253 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28254
28255 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
28256
28257 * string/strncat.c (STRNCAT): Simplify implementation.
28258
28259 2014-12-19 David S. Miller <davem@davemloft.net>
28260
28261 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28262 access the quad as both a long double and as a series of 4 words.
28263
28264 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28265 link_map->l_info array access.
28266
28267 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
28268
28269 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28270
28271 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28272 * math/atest-exp2.c (TIMEOUT): Likewise.
28273 * math/atest-sincos.c (TIMEOUT): Likewise.
28274
28275 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28278 -Wno-error with -fno-builtin-lround.
28279
28280 2014-12-19 Torvald Riegel <triegel@redhat.com>
28281
28282 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28283 Contains futex constants and functions moved over from ...
28284 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
28285 <lowlevellock-futex.h>.
28286 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28287 (lll_timedwait_tid): Add comments and parentheses around macro
28288 arguments.
28289
28290 2014-12-19 Torvald Riegel <triegel@redhat.com>
28291
28292 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28293 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
28294 (__lll_private_flag): Remove.
28295 (lll_futex_wait): Likewise.
28296 (lll_futex_timed_wait): Likewise.
28297 (lll_futex_wake): Likewise.
28298 (lll_futex_requeue): Likewise.
28299 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28300 (__lll_timedwait_tid): Spell out argument names.
28301 (lll_timedwait_tid): Add comments and parentheses around macro
28302 arguments.
28303 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28304 LLL_SHARED and LLL_PRIVATE usable from assembly code.
28305
28306 2014-12-19 Torvald Riegel <triegel@redhat.com>
28307
28308 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28309 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28310 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28311 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28312 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28313 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28314 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28315 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28316 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28317 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28318 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28319 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28320 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28321 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28322 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28323 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28324 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28325 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28326 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28327
28328 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * sysdeps/x86_64/x32/Makefile: New file.
28331
28332 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
28333
28334 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28335 1L with (mp_limb_t) 1.
28336
28337 2014-12-17 Roland McGrath <roland@hack.frob.com>
28338
28339 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28340 * nptl/libc_pthread_init.c: ... here.
28341 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28342 * nptl/register-atfork.c: ... here.
28343
28344 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28345 Use pthread_sigmask rather than INTERNAL_SYSCALL.
28346 Use assert_perror to check its return value.
28347 (__gai_create_helper_thread): Likewise.
28348
28349 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28350
28351 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28352
28353 2014-12-17 Joseph Myers <joseph@codesourcery.com>
28354
28355 [BZ #17725]
28356 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28357 __profil_counter.
28358 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28359 Likewise.
28360 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28361 Likewise.
28362 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28363 Likewise.
28364 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28365 (profil_counter): Likewise.
28366 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28367 (profil_counter): Likewise.
28368 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28369 Likewise.
28370 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28371 Likewise.
28372 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28373 (profil_counter): Likewise.
28374 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28375 Likewise.
28376 [!__profil_counter] (profil_counter): Define as weak alias of
28377 __profil_counter.
28378 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28379 (profil_counter): Rename to __profil_counter.
28380 [!__profil_counter] (profil_counter): Define as weak alias of
28381 __profil_counter.
28382 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28383 (profil_counter): Rename to __profil_counter.
28384 [!__profil_counter] (profil_counter): Define as weak alias of
28385 __profil_counter.
28386 * sysdeps/posix/profil.c: Update comment referring to
28387 profil_counter.
28388 (__profil): Use __profil_counter instead of profil_counter.
28389 * sysdeps/posix/sprofil.c (profil_counter): Rename to
28390 __profil_counter. Use __profil_counter_ushort and
28391 __profil_counter_uint in definitions.
28392 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28393 instead of profil_counter_uint and profil_counter_ushort.
28394
28395 [BZ #17722]
28396 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28397 define as weak alias of __inet_makeaddr.
28398 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28399 as weak alias of __inet_addr.
28400 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28401 as weak alias of __inet_pton. Use libc_hidden_weak.
28402 * include/arpa/inet.h (__inet_pton): Declare. Use
28403 libc_hidden_proto.
28404 (inet_makeaddr): Don't use libc_hidden_proto.
28405 (__inet_makeaddr): Declare. Use libc_hidden_proto.
28406 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28407 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
28408 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28409 Remove variable.
28410 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28411 (test-xfail-POSIX/time.h/linknamespace): Likewise.
28412
28413 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
28414
28415 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28416
28417 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28418
28419 * stdio-common/bug-vfprintf-nargs.c (do_test):
28420 Cast value to intptr_t to avoid format warning
28421 for usage with PRIdPTR printing macro.
28422
28423 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28424
28425 * libio/tst-widetext.c (do_test):
28426 Use format type %td instead of %Zd for ptrdiff_t
28427 in order to avoid format warning.
28428
28429 2014-12-17 Andreas Schwab <schwab@suse.de>
28430
28431 * nscd/mem.c (gc): Add size_t cast to match printf format.
28432
28433 2014-12-16 Roland McGrath <roland@hack.frob.com>
28434
28435 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28436 (init): Apply PTR_MANGLE to pointers before storing them.
28437 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28438 before using them.
28439
28440 2014-12-16 Joseph Myers <joseph@codesourcery.com>
28441
28442 [BZ #17719]
28443 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28444 define as weak alias of __memrchr.
28445 (__memrchr): Do not define as strong alias of memrchr.
28446 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28447 Remove variable.
28448 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28449 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28450 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28451
28452 [BZ #17717]
28453 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28454 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
28455 (if_indextoname): Rename to __if_indextoname and define as weak
28456 alias of __if_indextoname. Use libc_hidden_weak.
28457 (if_freenameindex): Rename to __if_freenameindex and define as
28458 weak alias of __if_freenameindex.
28459 (if_nameindex): Rename to __if_nameindex and define as weak alias
28460 of __if_nameindex.
28461 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28462 __if_nametoindex and define as weak alias of __if_nametoindex.
28463 Use libc_hidden_weak.
28464 (if_freenameindex): Rename to __if_freenameindex and define as
28465 weak alias of __if_freenameindex.
28466 (if_nameindex): Rename to __if_nameindex and define as weak alias
28467 of __if_nameindex.
28468 (if_indextoname): Rename to __if_indextoname and define as weak
28469 alias of __if_indextoname. Use libc_hidden_weak.
28470 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28471 __if_nametoindex and define as weak alias of __if_nametoindex.
28472 Use libc_hidden_weak.
28473 (if_freenameindex): Rename to __if_freenameindex and define as
28474 weak alias of __if_freenameindex. Use libc_hidden_weak.
28475 (if_nameindex_netlink): Use __if_freenameindex instead of
28476 if_freenameindex.
28477 (if_nameindex): Rename to __if_nameindex and define as weak alias
28478 of __if_nameindex. Use libc_hidden_weak.
28479 (if_indextoname): Rename to __if_indextoname and define as weak
28480 alias of __if_indextoname. Use libc_hidden_weak.
28481 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28482 libc_hidden_proto.
28483 [!_ISOMAC] (__if_freenameindex): Likewise.
28484 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28485 if_nametoindex.
28486 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28487 variable.
28488 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28489 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28490 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28491 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28492 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28493 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28494 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28495
28496 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28497 Remove variable.
28498 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28499 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28500
28501 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28502
28503 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28504 subscript above bounds'
28505
28506 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28507 bounds.
28508
28509 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
28510
28511 * libio/tst-fopenloc.c: Use test-skeleton.c.
28512
28513 * stdlib/tst-bsearch.c: Use test-skeleton.c.
28514 (entry): Rename to ITEM.
28515 (do_test, comp): Adjust.
28516
28517 * stdio-common/tst-fseek.c: Use test-skeleton.c.
28518
28519 2014-12-16 Torvald Riegel <triegel@redhat.com>
28520
28521 * string/tester.c: Include <libc-internal.h>.
28522 (test_memset): Ignore -Wmemset-transposed-args.
28523
28524 2014-12-16 Torvald Riegel <triegel@redhat.com>
28525
28526 * misc/tst-mntent2.c (do_test): Fix warning.
28527
28528 2014-12-16 Torvald Riegel <triegel@redhat.com>
28529
28530 * elf/tst-unique4lib.cc(a): Mark as used.
28531
28532 2014-12-16 Florian Weimer <fweimer@redhat.com>
28533
28534 [BZ #17630]
28535 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28536 names.
28537
28538 2014-12-16 Allan McRae <allan@archlinux.org>
28539
28540 * stdio-common/Makefile (tests): Re-add bug26.
28541
28542 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
28543
28544 [BZ #17657]
28545 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28546 static array.
28547
28548 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
28549
28550 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28551 (__lll_lock_wait): Likewise.
28552 (__lll_timedlock_wait): Likewise.
28553 (__lll_timedwait_tid): Likewise.
28554 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28555 (__lll_robust_timedlock_wait): Likewise.
28556 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28557 (lll_cond_trylock): Likewise.
28558 (__lll_lock): Likewise.
28559 (__lll_robust_lock): Likewise.
28560 (__lll_cond_lock): Likewise.
28561 (lll_robust_cond_lock): Likewise.
28562 (__lll_timedlock): Likewise.
28563 (__lll_robust_timedlock): Likewise.
28564 (__lll_unlock): Likewise.
28565 (__lll_robust_unlock): Likewise.
28566 (lll_wait_tid): Likewise.
28567 (lll_timedwait_tid): Likewise.
28568
28569 2014-12-15 Torvald Riegel <triegel@redhat.com>
28570
28571 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28572
28573 2014-12-15 Torvald Riegel <triegel@redhat.com>
28574
28575 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28576
28577 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
28578
28579 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28580 * stdio-common/tst-sprintf.c: Likewise.
28581
28582 2014-12-15 Torvald Riegel <triegel@redhat.com>
28583
28584 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28585
28586 2014-12-15 Jeff Law <law@redhat.com>
28587
28588 [BZ #16617]
28589 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28590 on the heap. (CVE-2012-3406)
28591 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28592 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
28593 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28594
28595 2014-12-15 Will Newton <will.newton@linaro.org>
28596
28597 * manual/install.texi: Bump required version of texinfo
28598 to 4.7 from 4.5.
28599 * INSTALL: Regenerated.
28600 * configure.ac: Check for makeinfo version 4.7 and above.
28601 * configure: Regenerated.
28602
28603 2014-12-12 Roland McGrath <roland@hack.frob.com>
28604
28605 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28606 PREFIX, string constant to insert between directory and name.
28607 * sysdeps/posix/shm_open.c: Update caller.
28608 * sysdeps/posix/shm_unlink.c: Likewise.
28609 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28610 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28611 (SEM_SHM_PREFIX): New macro.
28612 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28613 [$(have-thread-library) = no].
28614 * nptl/Makefile (libpthread-routines): Add shm-directory.
28615 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28616 * sysdeps/nptl/shm-directory.h: New file.
28617 * sysdeps/posix/shm-directory.c
28618 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28619 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28620 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28621 INTERNAL_SYSCALL.
28622 (__where_is_shmfs): Function removed.
28623 (mountpoint, defaultmount, defaultdir, __namedsem_once):
28624 Variables removed.
28625 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28626 Use SHM_GET_NAME.
28627 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
28628
28629 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28630 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28631 unconditional for use inside libpthread.
28632 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28633
28634 2014-12-12 Roland McGrath <roland@hack.frob.com>
28635
28636 * nptl/pthread_getaffinity.c: New file.
28637 * nptl/pthread_setaffinity.c: New file.
28638 * nptl/pthread_getname.c: New file.
28639 * nptl/pthread_setname.c: New file.
28640
28641 * nptl/pthread_create.c (START_THREAD_DEFN)
28642 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28643
28644 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28646
28647 * resolv/res_send.c (send_vc): Disable warning resplen may
28648 be used uninitialized.
28649
28650 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28651
28652 * nptl/tst-mutex6.c
28653 (ATTR_NULL): New define checks ATTR against NULL.
28654 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28655 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28656
28657 2014-12-11 James Lemke <jwlemke@codesourcery.com>
28658
28659 [BZ #17581]
28660 * malloc/hooks.c
28661 (mem2mem_check): Revert my previous change.
28662 (malloc_check_get_size): Revert my previous change.
28663 (mem2chunk_check): Revert my previous change.
28664
28665 2014-12-11 Roland McGrath <roland@hack.frob.com>
28666
28667 * sysdeps/posix/shm-directory.c: New file.
28668 * sysdeps/posix/shm-directory.h: New file.
28669 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28670 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28671 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
28672 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28673 Transmute EPERM to EACCES.
28674 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28675 from ...
28676 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
28677 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28678
28679 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28680
28681 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28682 pointer and cast to uintptr_t.
28683 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28684 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28685 Add cast to avoid warning.
28686 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28687
28688 2014-12-11 Joseph Myers <joseph@codesourcery.com>
28689
28690 * nptl/semaphore.h: Move to ...
28691 * sysdeps/pthread/semaphore.h: ... here.
28692 * Makefile (installed-headers): Change nptl/semaphore.h to
28693 sysdeps/pthread/semaphore.h.
28694
28695 2014-12-11 Roland McGrath <roland@hack.frob.com>
28696
28697 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28698 generated error format strings.
28699
28700 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28701 -Wformat-extra-args warnings for scanf formats.
28702 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28703 test of zero-length format (duh).
28704 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28705 corner-case scanf format test.
28706 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28707 generated fprintf format string.
28708 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28709 corner-case sprintf format tests.
28710 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28711 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28712 -Wformat-extra-args warnings throughout.
28713 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28714 (CFLAGS-scanf4.c): Likewise.
28715 (CFLAGS-scanf7.c): Likewise.
28716 (CFLAGS-tst-sprintf.c): Likewise.
28717 (CFLAGS-tst-printf.c): Likewise.
28718 (CFLAGS-tst-printfsz.c): Likewise.
28719
28720 2014-12-11 Joseph Myers <joseph@codesourcery.com>
28721
28722 * include/cpio.h: New file.
28723 * include/fmtmsg.h: Likewise.
28724
28725 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
28726 corresponding format argument to size_t.
28727 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
28728 arguments.
28729 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
28730 corresponding format argument to size_t.
28731 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
28732 arguments.
28733 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
28734 corresponding format argument to size_t.
28735 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28736 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28737 (CFLAGS-tst-mbswcs2.c): Likewise.
28738 (CFLAGS-tst-mbswcs3.c): Likewise.
28739 (CFLAGS-tst-mbswcs4.c): Likewise.
28740 (CFLAGS-tst-mbswcs5.c): Likewise.
28741 (CFLAGS-tst-trans.c): Likewise.
28742
28743 2014-12-11 Roland McGrath <roland@hack.frob.com>
28744
28745 * posix/regexbug1.c (main): Use "%s" format with regerror results,
28746 rather than assuming they won't contain any '%'s.
28747
28748 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
28749
28750 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28751 inhibit_loop_to_libcall to avoid recursive calls.
28752 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28753 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28754
28755 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
28756
28757 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28758 prototype.
28759
28760 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
28761
28762 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28763 integer value instead of boolean.
28764
28765 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
28766
28767 * malloc/malloc.c: Fix powerof2 check.
28768
28769 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28770
28771 * locale/programs/locfile.h (maybe_swap_uint32):
28772 Remove inline and add unused attribute.
28773
28774 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28775
28776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28777 Truncating assembler expression to a .long expression.
28778
28779 2014-12-11 Andreas Schwab <schwab@suse.de>
28780
28781 * elf/rtld.c (struct map_args): Constify str member.
28782 (do_preload): Constify fname argument.
28783
28784 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28785
28786 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28787 constants definition.
28788
28789 2014-12-11 Andreas Schwab <schwab@suse.de>
28790
28791 [BZ #16657]
28792 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28793 FORCE_ELISION instead of DO_ELISION.
28794 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28795 Remove.
28796 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28797 Likewise.
28798
28799 * iconvdata/gconv-modules: Remove duplicate entry.
28800
28801 2014-12-11 Will Newton <will.newton@linaro.org>
28802
28803 Merge gettext 0.19.3 into intl/.
28804
28805 This involves a number of cosmetic changes to comments
28806 and ANSI function definitions and prototypes throughout
28807 all the files. The gettext copyright header is used but
28808 with the date ranges taken from the glibc copy.
28809
28810 * NEWS: Add gettext merge to 2.21.
28811 * intl/bindtextdom.c: Switch to gettext copyright.
28812 Use ANSI definitions and prototypes.
28813 Use gl_* locking primitives rather than __libc_* ones.
28814 Use __builtin_expect rather than __glibc_likely/unlikely.
28815 * intl/dcgettext.c: Switch to gettext copyright.
28816 Use ANSI definitions and prototypes.
28817 * intl/dcigettext.c: Switch to gettext copyright.
28818 Use ANSI definitions and prototypes.
28819 (INTDIV0_RAISES_SIGFPE): New define.
28820 Use gl_* locking primitives rather than __libc_* ones.
28821 Include eval-plural.h instead of plural-eval.c.
28822 Use __builtin_expect rather than __glibc_likely/unlikely.
28823 * intl/dcngettext.c: Switch to gettext copyright.
28824 Use ANSI definitions and prototypes.
28825 * intl/dgettext.c: Likewise.
28826 * intl/dngettext.c: Likewise.
28827 * intl/plural-eval.c: Renamed to...
28828 * intl/eval-plural.h: ...this.
28829 * intl/explodename.c: Switch to gettext copyright.
28830 Use ANSI definitions and prototypes.
28831 (_nl_explode_name): Use strchr instead of __rawmemchr.
28832 * intl/finddomain.c: Switch to gettext copyright.
28833 Use ANSI definitions and prototypes.
28834 Use gl_* locking primitives rather than __libc_* ones.
28835 (_nl_find_domain): Use malloc rather than alloca for
28836 allocation of temporary locale name.
28837 * intl/gettext.c: Switch to gettext copyright.
28838 Use ANSI definitions and prototypes.
28839 * intl/gettextP.h: Switch to gettext copyright.
28840 Use ANSI definitions and prototypes.
28841 Use gl_* locking primitives rather than __libc_* ones.
28842 * intl/gmo.h: Switch to gettext copyright.
28843 (struct sysdep_string): Move struct segment_pair outside of
28844 struct definition.
28845 * intl/hash-string.c: Use ANSI definitions and prototypes.
28846 * intl/hash-string.h: Switch to gettext copyright.
28847 Use ANSI definitions and prototypes.
28848 * intl/l10nflist.c: Switch to gettext copyright.
28849 Use ANSI definitions and prototypes.
28850 (_nl_normalize_codeset): Avoid integer overflow.
28851 * intl/loadinfo.h: Switch to gettext copyright.
28852 Use ANSI definitions and prototypes.
28853 (LIBINTL_DLL_EXPORTED): New define.
28854 (PATH_SEPARATOR): New define.
28855 * intl/loadmsgcat.c: Switch to gettext copyright.
28856 * intl/localealias.c: Switch to gettext copyright.
28857 Use ANSI definitions and prototypes.
28858 (_nl_expand_alias): Use PATH_SEPARATOR.
28859 * intl/ngettext.c: Switch to gettext copyright.
28860 Use ANSI definitions and prototypes.
28861 * intl/plural-exp.c: Likewise.
28862 * intl/plural-exp.h: Switch to gettext copyright.
28863 Use ANSI definitions and prototypes.
28864 (struct expression): Move definition of enum operator outside
28865 of struct definition.
28866 * intl/plural.c: Regenerate.
28867 * intl/plural.y: Switch to gettext copyright.
28868 Use ANSI definitions and prototypes.
28869 Port to bison 3.0.
28870 * intl/textdomain.c: Switch to gettext copyright.
28871 Use ANSI definitions and prototypes.
28872 Use gl_* locking primitives rather than __libc_* ones.
28873
28874 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
28875
28876 * debug/warning-nop.c: Add used atrribute.
28877
28878 2014-12-10 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28881
28882 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28883 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28884 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28885
28886 2014-12-10 Joseph Myers <joseph@codesourcery.com>
28887 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28888
28889 [BZ #17634]
28890 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28891 Undefine after defining function. Define as weak alias of
28892 __wcschr. Use libc_hidden_weak.
28893 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
28894 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28895 (libc_hidden_def): Also define __GI___wcschr alias.
28896 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28897 __wcschr and define as weak alias of __wcschr.
28898 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28899 __wcschr.
28900 [!WCSCHR] (DEFAULT_WCSCHR): Define.
28901 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28902 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
28903 libc_hidden_weak. Do not use libc_hidden_def.
28904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28905 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28906 __GI___wcschr alias.
28907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28908 [IS_IN (libc)] (wcschr): Define as macro expanding to
28909 __redirect_wcschr.
28910 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28911 [IS_IN (libc)] (__wcschr_power6): Likewise.
28912 [IS_IN (libc)] (__wcschr_power7): Likewise.
28913 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
28914 instead of wcschr.
28915 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28916 __libc_wcschr.
28917 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28918 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28919 __wcschr and define as weak alias of __wcschr. Use
28920 libc_hidden_builtin_def.
28921 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28922 as weak alias of __wcschr. Use libc_hidden_weak.
28923 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28924 wcschr.
28925 * time/era.c (_nl_init_era_entries): Likewise.
28926 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28927 variable.
28928 (test-xfail-XPG3/time.h/linknamespace): Likewise.
28929 (test-xfail-XPG4/time.h/linknamespace): Likewise.
28930
28931 2014-12-10 Joseph Myers <joseph@codesourcery.com>
28932
28933 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28934 format for long int variable.
28935
28936 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
28937
28938 [BZ #10672]
28939 * manual/search.texi: (Array Sort Function): Remove claim how to make
28940 qsort stable.
28941
28942 2014-12-10 Andreas Schwab <schwab@suse.de>
28943
28944 [BZ #12847]
28945 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28946 user-controlled locks.
28947
28948 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
28949
28950 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28951 register.
28952
28953 2014-12-10 Joseph Myers <joseph@codesourcery.com>
28954
28955 * configure.ac (--disable-werror): New configure option.
28956 (enable_werror): New AC_SUBST.
28957 * configure: Regenerated.
28958 * config.make.in (enable-werror): New variable.
28959 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28960 -Wno-error=undef.
28961 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28962 * manual/install.texi (Configuring and compiling): Document
28963 --disable-werror.
28964 * INSTALL: Regenerated.
28965 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28966 (CFLAGS-tst-chk2.c): Likewise.
28967 (CFLAGS-tst-chk3.c): Likewise.
28968 (CFLAGS-tst-chk4.cc): Likewise.
28969 (CFLAGS-tst-chk5.cc): Likewise.
28970 (CFLAGS-tst-chk6.cc): Likewise.
28971 (CFLAGS-tst-lfschk1.c): Likewise.
28972 (CFLAGS-tst-lfschk2.c): Likewise.
28973 (CFLAGS-tst-lfschk3.c): Likewise.
28974 (CFLAGS-tst-lfschk4.cc): Likewise.
28975 (CFLAGS-tst-lfschk5.cc): Likewise.
28976 (CFLAGS-tst-lfschk6.cc): Likewise.
28977
28978 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28979 (main): Disable -Wdeprecated-declarations around calls to
28980 register_printf_function.
28981
28982 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28983 (do_test): Disable -Wdiv-by-zero around some calls to
28984 fwrite_unlocked and fread_unlocked.
28985
28986 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28987 (DIAG_POP_NEEDS_COMMENT): Likewise.
28988 (_DIAG_STR1): Likewise.
28989 (_DIAG_STR): Likewise.
28990 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28991 * stdio-common/bug21.c: Include <libc-internal.h>.
28992 (do_test): Disable -Wformat around call to sscanf.
28993 * stdio-common/scanf14.c: Include <libc-internal.h>.
28994 (main): Disable -Wformat around some calls to scanf functions.
28995
28996 2014-12-09 Torvald Riegel <triegel@redhat.com>
28997
28998 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28999
29000 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29001
29002 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29003 stack variable alignment.
29004
29005 2014-12-06 Joseph Myers <joseph@codesourcery.com>
29006
29007 [BZ #17682]
29008 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29009 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29010 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29011 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29012 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29013 __getrlimit instead of getrlimit.
29014 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29015 __gettimeofday instead of gettimeofday.
29016 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29017 Likewise.
29018 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29019 Likewise.
29020 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29021 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29022 Remove variable.
29023 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29024 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29025
29026 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29027
29028 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29029 for wide-character tests.
29030
29031 2014-12-04 Roland McGrath <roland@hack.frob.com>
29032
29033 * io/openat64.c: #include <libc-internal.h>
29034 (__openat64): Prototypify. Use ignore_value on MODE.
29035 * io/openat.c: Likewise.
29036 * misc/reboot.c: #include <libc-internal.h>
29037 (reboot): Prototypify. Use ignore_value on HOWTO.
29038 * misc/ptrace.c: #include <libc-internal.h>
29039 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
29040
29041 2014-12-04 Joseph Myers <joseph@codesourcery.com>
29042
29043 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29044 XPG4, UNIX98 and XOPEN2K.
29045 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29046 Remove variable.
29047 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29048
29049 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29050
29051 * libio/fileops.c: Use ISO C style for function definitions.
29052 * libio/iofopen.c: Likewise.
29053 * libio/wfileops.c: Likewise.
29054
29055 [BZ #17653]
29056 * libio/fileops.c (_IO_new_file_underflow): Unset cached
29057 offset on EOF.
29058 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29059 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29060 (fgets_func): Function pointer to fgets and fgetws.
29061 (do_ftell_test): Add test to verify ftell value after read
29062 EOF.
29063 (do_test): Set fgets_func.
29064
29065 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29066 O_TRUNC flag for w and w+ modes.
29067 (do_rewind_test): Likewise.
29068 (do_ftell_test): Likewise.
29069 (do_write_test): Likewise.
29070
29071 [BZ #17647]
29072 * libio/fileops.c (do_ftell): Seek only when there are
29073 unflushed writes.
29074 * libio/wfileops.c (do_ftell_wide): Likewise.
29075 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29076 test case.
29077 (do_one_test): Call it.
29078
29079 2014-12-03 Joseph Myers <joseph@codesourcery.com>
29080
29081 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29082 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29083 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29084 Remove variable.
29085 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29086 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29087 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29088
29089 2014-12-02 Joseph Myers <joseph@codesourcery.com>
29090
29091 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29092 Remove variable.
29093 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29094
29095 [BZ #17668]
29096 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29097 as weak alias of __getifaddrs. Use libc_hidden_weak.
29098 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29099 __freeifaddrs. Use libc_hidden_weak.
29100 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29101 define as weak alias of __getifaddrs. Use libc_hidden_weak.
29102 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29103 __freeifaddrs. Use libc_hidden_weak.
29104 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29105 __getifaddrs and define as weak alias of __getifaddrs. Use
29106 libc_hidden_weak.
29107 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29108 __freeifaddrs. Use libc_hidden_weak.
29109 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29110 Remove variable.
29111 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29112 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29113
29114 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
29115
29116 [BZ #17601]
29117 * sysdeps/mips/start.S (__start): Use indirect jump to call
29118 __libc_start_main.
29119
29120 2014-12-02 Joseph Myers <joseph@codesourcery.com>
29121
29122 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29123
29124 * nptl/tst-mutex1.c: Include <stdbool.h>.
29125 [!ATTR] (ATTR_NULL): New macro.
29126 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29127 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29128 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29129
29130 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29131 to char *.
29132
29133 [BZ #17665]
29134 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29135 Change conditional to [__USE_MISC].
29136
29137 [BZ #17664]
29138 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29139 fgets_unlocked.
29140 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29141 __fgets_unlocked.
29142 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29143 fgets_unlocked.
29144 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29145 Remove variable.
29146 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29147 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29148 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29149 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29150 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29151 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29152 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29153 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29154 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29155
29156 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29157
29158 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29159
29160 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29161 Remove strpbrk objects.
29162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29163 (__libc_ifunc_impl_list): Remove strpbrk implementation.
29164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29165 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29166 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29167 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29168
29169 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29170 Remove strcspn objects.
29171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29172 (__libc_ifunc_impl_list): Remove strcspn implementation.
29173 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29174 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29175 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29176 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29177
29178 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29179 Remove strspn objetcs.
29180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29181 (__libc_ifunc_impl_list): Remove strspn implementation.
29182 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29183 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29184 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29185 * sysdeps/powerpc/powerpc64/strspn.S: New file.
29186
29187 2014-12-01 James Lemke <jwlemke@codesourcery.com>
29188
29189 [BZ #17581]
29190 * malloc/hooks.c
29191 (mem2mem_check): Add a terminator to the chain of checking blocks.
29192 (malloc_check_get_size): Use it here.
29193 (mem2chunk_check): Ditto.
29194
29195 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29196
29197 * sysdeps/powerpc/powerpc64/strtok.S: New file.
29198 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29199
29200 2014-11-29 Carlos O'Donell <carlos@redhat.com>
29201
29202 * bits/ioctl-types.h: Indent preprocessor directives correctly.
29203
29204 * nptl/nptl-init.c: Include libc-internal.h.
29205 (__pthread_initialize_minimal_internal): Use ROUND_UP.
29206
29207 * elf/ldconfig.c (search_dir): Expand comment.
29208
29209 2014-11-29 Joseph Myers <joseph@codesourcery.com>
29210
29211 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29212 variable.
29213 (linknamespace-symlist-stdlibs-tests): Likewise.
29214 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29215 instead of $(objpfx)symlist-stdlibs.
29216 (linknamespace-libs-isoc): New variable.
29217 (linknamespace-libs): Use $(linknamespace-libs-isoc).
29218 (linknamespace-libs-ISO): New variable.
29219 (linknamespace-libs-ISO99): Likewise.
29220 (linknamespace-libs-ISO11): Likewise.
29221 (linknamespace-libs-XPG3): Likewise.
29222 (linknamespace-libs-XPG4): Likewise.
29223 (linknamespace-libs-POSIX): Likewise.
29224 (linknamespace-libs-UNIX98): Likewise.
29225 (linknamespace-libs-XOPEN2K): Likewise.
29226 (linknamespace-libs-POSIX2008): Likewise.
29227 (linknamespace-libs-XOPEN2K8): Likewise.
29228 ($(objpfx)symlist-stdlibs): Replace by
29229 $(linknamespace-symlist-stdlibs-tests). Use
29230 $(linknamespace-libs-$*) as set of libraries.
29231 ($(linknamespace-header-tests)): Update dependencies. Use
29232 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29233 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29234 * conform/linknamespace.pl: Remove comment about considering
29235 definitions of symbols from irrelevant libraries.
29236
29237 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 [BZ #13862]
29240 * elf/dl-tls.c: Include <atomic.h>.
29241 (oom): Remove #ifdef SHARED/#endif.
29242 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29243 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
29244 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29245 big enough.
29246 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29247 * nptl/Makefile (tests): Add tst-stack4.
29248 (modules-names): Add tst-stack4mod.
29249 ($(objpfx)tst-stack4): New.
29250 (tst-stack4mod.sos): Likewise.
29251 ($(objpfx)tst-stack4.out): Likewise.
29252 ($(tst-stack4mod.sos)): Likewise.
29253 (clean): Likewise.
29254 * nptl/tst-stack4.c: New file.
29255 * nptl/tst-stack4mod.c: Likewise.
29256
29257 2014-11-27 J. Brown <jb999@gmx.de>
29258
29259 * sysdeps/x86/bits/string.h: Add recent CPUs.
29260
29261 2014-11-27 Joseph Myers <joseph@codesourcery.com>
29262
29263 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29264 sigblock.
29265
29266 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29267 feof.
29268
29269 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29270 variable.
29271
29272 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
29273
29274 * nscd/connections.c: Include libc-internal.h because of macro
29275 usage ignore_value.
29276
29277 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29278
29279 * string/bits/string3.h (__warn_memset_zero_len): Don't
29280 declare for gcc newer than 5.0.
29281 (memset): Don't test for zero-length __LEN for gcc newer than
29282 5.0.
29283
29284 2014-11-27 Joseph Myers <joseph@codesourcery.com>
29285
29286 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29287 size_t for %zu format.
29288
29289 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29290 difference, not %ju.
29291
29292 2014-11-26 Joseph Myers <joseph@codesourcery.com>
29293
29294 * include/libc-internal.h (ignore_value): New macro.
29295 * nscd/connections.c (restart): Wrap calls to setuid and setgid
29296 with ignore_value.
29297
29298 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29299 definition.
29300
29301 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29302 pthread_cleanup_push to void *.
29303
29304 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29305 Undefine.
29306
29307 [BZ #16619]
29308 [BZ #16740]
29309 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29310 instead of 1L << 52.
29311
29312 * libio/bug-rewind.c (do_test): Check fwscanf return values.
29313 * libio/bug-rewind2.c (do_test): Likewise.
29314
29315 * debug/test-stpcpy_chk-ifunc.c: Remove file.
29316 * debug/test-strcpy_chk-ifunc.c: Likewise.
29317 * wcsmbs/test-wcschr-ifunc.c: Likewise.
29318 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29319 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29320 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29321 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29322 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29323 * Rules [$(multi-arch) = no] (tests): Do not filter out
29324 $(tests-ifunc).
29325 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29326 * debug/Makefile (tests-ifunc): Remove variable.
29327 (tests): Do not add $(tests-ifunc).
29328 * wcsmbs/Makefile (tests-ifunc): Remove variable.
29329 (tests): Do not add $(tests-ifunc).
29330 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29331 [TEST_IFUNC]: Remove conditionals.
29332 * string/test-string.h (TEST_IFUNC): Remove macro.
29333 [TEST_IFUNC]: Remove conditionals.
29334
29335 * string/test-strchr.c [!WIDE] (L): New macro.
29336 [WIDE] (L): Likewise.
29337 (check1): Use CHAR instead of char. Use L on string and character
29338 constants.
29339
29340 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
29341
29342 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29343 tests.
29344 * sysdeps/powerpc/bits/atomic.h
29345 (__arch_atomic_exchange_and_add_32_acq): Add definition.
29346 (__arch_atomic_exchange_and_add_32_rel): Likewise.
29347 (atomic_exchange_and_add_acq): Likewise.
29348 (atomic_exchange_and_add_rel): Likewise.
29349 * sysdeps/powerpc/powerpc32/bits/atomic.h
29350 (__arch_atomic_exchange_and_add_64_acq): Add definition.
29351 (__arch_atomic_exchange_and_add_64_rel): Likewise.
29352 * sysdeps/powerpc/powerpc64/bits/atomic.h
29353 (__arch_atomic_exchange_and_add_64_acq): Add definition.
29354 (__arch_atomic_exchange_and_add_64_rel): Likewise.
29355
29356 2014-11-26 Torvald Riegel <triegel@redhat.com>
29357
29358 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29359 Change synchronization of __sched_fifo_min_prio and
29360 __sched_fifo_max_prio.
29361 * nptl/pthread_mutexattr_getprioceiling.c
29362 (pthread_mutexattr_getprioceiling): Likewise.
29363 * nptl/pthread_mutexattr_setprioceiling.c
29364 (pthread_mutexattr_setprioceiling): Likewise.
29365 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29366 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29367 Likewise.
29368
29369 2014-11-26 Joseph Myers <joseph@codesourcery.com>
29370
29371 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29372 void.
29373
29374 2014-11-25 Joseph Myers <joseph@codesourcery.com>
29375
29376 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29377 third argument const.
29378
29379 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
29380
29381 fnmatch: work around GCC compiler warning bug with uninit var
29382 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29383 This works around a bug with x86-64 GCC 4.9.2 and earlier
29384 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29385 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29386 used uninitialized in this function [-Wmaybe-uninitialized]".
29387
29388 2014-11-25 Joseph Myers <joseph@codesourcery.com>
29389
29390 * posix/bug-regex31.c (main): Return RES not 0.
29391
29392 2014-11-25 Anton Blanchard <anton@samba.org>
29393
29394 * sysdeps/powerpc/bits/atomic.h
29395 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29396
29397 2014-11-24 Sterling Augustine <saugustine@google.com>
29398
29399 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29400
29401 2014-11-24 Ryan Cumming <etaoins@gmail.com>
29402
29403 [BZ #17608]
29404 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29405
29406 2014-11-24 Joseph Myers <joseph@codesourcery.com>
29407
29408 [BZ #17633]
29409 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29410 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29411 variable.
29412 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29413 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29414
29415 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
29416
29417 * string/strncpy.c (strncpy): Improve performance by using memset.
29418
29419 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
29420
29421 * string/strcpy.c (strcpy):
29422 Improve performance by using strlen and memcpy.
29423
29424 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
29425
29426 * string/strcoll_l.c (get_next_seq): __always_inline.
29427 * string/strcoll_l.c (do_compare): __always_inline.
29428
29429 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29430
29431 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29432 defined.
29433 * include/mqueue.h: Likewise.
29434 * include/stdlib.h: Likewise.
29435
29436 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29437 (get_null_defines): Adjust.
29438 * sunrpc/Makefile: Adjust comment.
29439 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29440 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29441 (CFLAGS-interp.c): Likewise.
29442 (CFLAGS-ldconfig.c): Likewise.
29443 (CPPFLAGS-.os): Likewise.
29444 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29445 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29446 * extra-modules.mk (extra-modules.mk): Likewise.
29447 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29448 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29449 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29450 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29451 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29452 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29453 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29454 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29455 * iconvdata/Makefile (CPPFLAGS): Likewise.
29456 (cpp-srcs-left): Add libof for all iconvdata routines.
29457 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29458 * include/assert.h: Likewise.
29459 * include/ctype.h: Likewise.
29460 * include/errno.h: Likewise.
29461 * include/libc-symbols.h: Likewise.
29462 * include/math.h: Likewise.
29463 * include/netdb.h: Likewise.
29464 * include/resolv.h: Likewise.
29465 * include/stdio.h: Likewise.
29466 * include/stdlib.h: Likewise.
29467 * include/string.h: Likewise.
29468 * include/sys/stat.h: Likewise.
29469 * include/wctype.h: Likewise.
29470 * intl/l10nflist.c: Likewise.
29471 * libidn/idn-stub.c: Likewise.
29472 * libio/libioP.h: Likewise.
29473 * nptl/libc_multiple_threads.c: Likewise.
29474 * nptl/pthreadP.h: Likewise.
29475 * posix/regex_internal.h: Likewise.
29476 * resolv/res_hconf.c: Likewise.
29477 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29478 * sysdeps/arm/memmove.S: Likewise.
29479 * sysdeps/arm/sysdep.h: Likewise.
29480 * sysdeps/generic/_itoa.h: Likewise.
29481 * sysdeps/generic/symbol-hacks.h: Likewise.
29482 * sysdeps/gnu/errlist.awk: Likewise.
29483 * sysdeps/gnu/errlist.c: Likewise.
29484 * sysdeps/i386/i586/memcpy.S: Likewise.
29485 * sysdeps/i386/i586/memset.S: Likewise.
29486 * sysdeps/i386/i686/memcpy.S: Likewise.
29487 * sysdeps/i386/i686/memmove.S: Likewise.
29488 * sysdeps/i386/i686/mempcpy.S: Likewise.
29489 * sysdeps/i386/i686/memset.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29494 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29507 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29517 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29520 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29527 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29528 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29529 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29530 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29531 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29534 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29535 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29536 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29537 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29539 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29547 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29548 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29549 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29550 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29552 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29553 * sysdeps/nptl/bits/libc-lock.h: Likewise.
29554 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29555 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29556 * sysdeps/posix/closedir.c: Likewise.
29557 * sysdeps/posix/opendir.c: Likewise.
29558 * sysdeps/posix/readdir.c: Likewise.
29559 * sysdeps/posix/rewinddir.c: Likewise.
29560 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29561 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29562 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29563 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29564 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29565 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29566 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29572 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29573 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29574 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29575 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29576 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29577 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29578 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29579 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29580 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29581 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29583 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29587 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29588 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29595 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29596 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29597 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29598 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29599 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29600 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29601 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29602 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29604 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29605 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29606 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29607 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29608 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29609 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29610 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29611 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29612 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29613 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29614 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29617 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29618 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29619 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29620 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29621 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29622 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29623 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29624 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29625 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29626 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29627 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29628 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29629 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29630 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29631 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29632 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29633 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29634 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29635 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29636 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29637 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29638 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29639 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29640 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29641 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29642 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29644 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29646 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29647 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29648 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29649 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29650 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29651 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29652 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29656 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29658 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29659 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29661 * sysdeps/unix/alpha/sysdep.S: Likewise.
29662 * sysdeps/unix/alpha/sysdep.h: Likewise.
29663 * sysdeps/unix/make-syscalls.sh: Likewise.
29664 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29665 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29666 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29667 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29668 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29669 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29670 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29671 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29672 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29673 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29674 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29675 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29677 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29678 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29679 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29680 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29681 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29682 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29683 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29684 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29685 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29686 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29687 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29688 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29689 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29690 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29693 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29694 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29698 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29702 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29703 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29704 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29705 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29706 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29707 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29708 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29711 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29714 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29715 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29716 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29717 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29719 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29720 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29722 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29723 * sysdeps/x86_64/memcpy.S: Likewise.
29724 * sysdeps/x86_64/memmove.c: Likewise.
29725 * sysdeps/x86_64/memset.S: Likewise.
29726 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29727 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29728 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29729 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29730 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29731 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29732 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29733 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29734 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29735 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29736 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29738 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29739 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29740 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29741 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29742 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29743 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29744 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29745 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29746 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29747 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29750 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29751 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29752 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29753 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29754 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29755 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29756 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29757 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29758 * sysdeps/x86_64/strcmp.S: Likewise.
29759
29760 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29761
29762 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29763 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29764 * elf/rtld-Rules: Likewise.
29765 * elf/setup-vdso.h: Likewise.
29766 * include/assert.h: Likewise.
29767 * include/bits/stdlib-float.h: Likewise.
29768 * include/errno.h: Likewise.
29769 * include/sys/stat.h: Likewise.
29770 * include/unistd.h: Likewise.
29771 * sysdeps/aarch64/setjmp.S: Likewise.
29772 * sysdeps/alpha/setjmp.S: Likewise.
29773 * sysdeps/arm/__longjmp.S: Likewise.
29774 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29775 * sysdeps/arm/setjmp.S: Likewise.
29776 * sysdeps/arm/sysdep.h: Likewise.
29777 * sysdeps/generic/_itoa.h: Likewise.
29778 * sysdeps/generic/dl-sysdep.h: Likewise.
29779 * sysdeps/generic/ldsodefs.h: Likewise.
29780 * sysdeps/i386/dl-tls.h: Likewise.
29781 * sysdeps/i386/setjmp.S: Likewise.
29782 * sysdeps/m68k/setjmp.c: Likewise.
29783 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29784 * sysdeps/mach/hurd/opendir.c: Likewise.
29785 * sysdeps/posix/getcwd.c: Likewise.
29786 * sysdeps/posix/opendir.c: Likewise.
29787 * sysdeps/posix/profil.c: Likewise.
29788 * sysdeps/powerpc/dl-procinfo.h: Likewise.
29789 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29791 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29792 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29793 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29794 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29795 * sysdeps/s390/dl-tls.h: Likewise.
29796 * sysdeps/s390/s390-32/setjmp.S: Likewise.
29797 * sysdeps/s390/s390-64/setjmp.S: Likewise.
29798 * sysdeps/sh/sh3/setjmp.S: Likewise.
29799 * sysdeps/sh/sh4/setjmp.S: Likewise.
29800 * sysdeps/unix/alpha/sysdep.h: Likewise.
29801 * sysdeps/unix/arm/sysdep.S: Likewise.
29802 * sysdeps/unix/i386/sysdep.S: Likewise.
29803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29804 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29805 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29806 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29807 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29808 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29809 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29810 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29811 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29812 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29813 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29814 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29815 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29818 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29821 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29822 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29823 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29826 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29827 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29831 * sysdeps/x86_64/setjmp.S: Likewise.
29832
29833 * include/math.h: Use IS_IN instead of IS_IN_libm.
29834 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29846 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29854 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29855 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29856 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29857 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29858 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29859 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29861 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29862 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29863 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29864 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29865 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29866 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29868 Likewise.
29869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29870 Likewise.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29872 Likewise.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29874 Likewise.
29875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29876 Likewise.
29877 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29878 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29879 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29880 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29881 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29888 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29890 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29891 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29893 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29895 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29896 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29897 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29898 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29901 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29903 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29904
29905 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29906 * nptl/pthreadP.h: Likewise.
29907 * nptl_db/structs.def: Likewise.
29908 * sysdeps/arm/sysdep.h: Likewise.
29909 * sysdeps/nptl/bits/libc-lock.h: Likewise.
29910 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29911 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29912 * sysdeps/unix/alpha/sysdep.h: Likewise.
29913 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29915 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29916 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29917 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29918 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29920 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29921 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29922 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29923 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29924 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29925 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29926 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29931 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29934 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29935 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29936 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29937 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29938 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29939
29940 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29941 * nptl/pthreadP.h: Likewise.
29942 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29943 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29944 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29945 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29946 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29947 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29948 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29949 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29950 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29951 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29952 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29953 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29955 Likewise.
29956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29957 Likewise.
29958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29960 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29963 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29964 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29965 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29966
29967 * dlfcn/dladdr.c: Use IS_IN.
29968 * dlfcn/dladdr1.c: Likewise.
29969 * dlfcn/dlclose.c: Likewise.
29970 * dlfcn/dlerror.c: Likewise.
29971 * dlfcn/dlinfo.c: Likewise.
29972 * dlfcn/dlmopen.c: Likewise.
29973 * dlfcn/dlopen.c: Likewise.
29974 * dlfcn/dlsym.c: Likewise.
29975 * dlfcn/dlvsym.c: Likewise.
29976
29977 * include/ifaddrs.h: Use IS_IN.
29978 * inet/check_pf.c: Likewise.
29979 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29980 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29981
29982 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29983 IS_IN_ldconfig.
29984 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29985 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29986
29987 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29988 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29989 IS_IN (libc).
29990
29991 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29992
29993 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29994 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29995 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29996 * include/libc-symbols.h (IS_IN_LIB): New macro.
29997 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29998 * include/netdb.h: Likewise.
29999 * include/stap-probe.h: Remove all uses of IN_LIB.
30000
30001 * Makeconfig (module-cppflags-real): Define MODULE_NAME
30002 instead of IN_MODULE.
30003 * include/libc-symbols.h (IN_MODULE): Define using
30004 MODULE_NAME.
30005 (PASTE_NAME, PASTE_NAME1): New macros.
30006 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30007 of IN_LIB.
30008 (STAP_PROBE_ASM): Likewise.
30009
30010 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
30011
30012 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30013 __mach_init in dlopened libc.
30014
30015 2014-11-22 Mike Frysinger <vapier@gentoo.org>
30016
30017 * sysdeps/arm/preconfigure.ac: Delete EABI check.
30018 * sysdeps/arm/preconfigure: Regenerate.
30019
30020 2014-11-21 Roland McGrath <roland@hack.frob.com>
30021
30022 * nptl/pthread_create.c (__pthread_create_2_1): Set
30023 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30024 when copying values from IATTR into PD.
30025
30026 2014-11-21 Will Newton <will.newton@linaro.org>
30027 Andrew Pinski <andrew.pinski@caviumnetworks.com>
30028
30029 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30030 Refactor inline-asm. Also add comment.
30031
30032 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30033 ElfW macro instead of hardcoded Elf64 types.
30034 (la_aarch64_gnu_pltenter): Likewise.
30035 * sysdeps/aarch64/dl-machine.h
30036 (elf_machine_runtime_setup): Use ElfW(Addr).
30037
30038 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30039 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30040 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30041 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30042 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30043 (R_AARCH64_TLS_DTPMOD64): Rename to ..
30044 (R_AARCH64_TLS_DTPMOD): This.
30045 (R_AARCH64_TLS_DTPREL64): Rename to ...
30046 (R_AARCH64_TLS_DTPREL): This.
30047 (R_AARCH64_TLS_TPREL64): Rename to ...
30048 (R_AARCH64_TLS_TPREL): This.
30049 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30050 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30051 R_AARCH64_TLS_TPREL64.
30052 (elf_machine_rela): Likewise.
30053
30054 2014-11-21 Torvald Riegel <triegel@redhat.com>
30055
30056 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30057 by setting it to 0. 64b atomics are not supported currently.
30058
30059 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30060
30061 [BZ #16469]
30062 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30063 search domain names.
30064
30065 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30066
30067 [BZ #16469]
30068 * NEWS: Update.
30069 * resolv/res_query.c (__libc_res_nquerydomain): Retain
30070 trailing dot.
30071 * posix/tst-getaddrinfo5.c: New.
30072 * posix/Makefile (tests): Add it.
30073
30074 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30075
30076 [BZ #14498]
30077 * NEWS: Fixed.
30078 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30079 after parsing line but before break_if_match.
30080 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30081 if there is a protocol mismatch.
30082
30083 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30084
30085 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30086 because the potential race is on the user-supplied stream.
30087
30088 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30089
30090 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30091 string literal if not passed a buffer.
30092 * manual/job.texi (ctermid): Update reasoning, note deviation
30093 from posix, suggest mtasurace when not passed a buffer, for
30094 future non-preliminary safety notes.
30095
30096 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30097
30098 * manual/users.texi (cuserid): Fix MT-Safety note for the case
30099 of not passing it a buffer.
30100 Reported by Peng Haitao.
30101
30102 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
30103
30104 * manual/Makefile ($(objpfx)stamp-summary): Require
30105 check-safety.sh to pass.
30106 * manual/check-safety.sh: Wish for verification that every
30107 @deftypefn and @deftypefun is followed by a @safety remark.
30108
30109 2014-11-20 Roland McGrath <roland@hack.frob.com>
30110
30111 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30112
30113 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30114 PTHREAD_CANCEL_ASYNCHRONOUS.
30115 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30116 send SIGCANCEL.
30117
30118 * nptl/default-sched.h: New file.
30119 * sysdeps/unix/sysv/linux/default-sched.h: New file.
30120 * nptl/pthread_create.c: Include it.
30121 (__pthread_create_2_1): Use collect_default_sched instead of making
30122 Linux syscalls here directly.
30123
30124 2014-11-20 Torvald Riegel <triegel@redhat.com>
30125
30126 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30127 __pthread_once): Use C11 atomics.
30128
30129 2014-11-20 Torvald Riegel <triegel@redhat.com>
30130
30131 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30132
30133 2014-11-20 Torvald Riegel <triegel@redhat.com>
30134
30135 * include/atomic.h (__atomic_link_error, __atomic_check_size,
30136 atomic_thread_fence_acquire, atomic_thread_fence_release,
30137 atomic_thread_fence_seq_cst, atomic_load_relaxed,
30138 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30139 atomic_compare_exchange_weak_relaxed,
30140 atomic_compare_exchange_weak_acquire,
30141 atomic_compare_exchange_weak_release,
30142 atomic_exchange_acquire, atomic_exchange_release,
30143 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30144 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30145 atomic_fetch_and_acquire,
30146 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30147
30148 2014-11-20 Torvald Riegel <triegel@redhat.com>
30149
30150 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30151 USE_ATOMIC_COMPILER_BUILTINS): Define.
30152 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30153 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30154 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30156 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30158 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30160 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30162 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30164 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30166 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30168 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30170 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30172 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30174 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30176 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30178 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30180 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30182 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30184 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30186 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30187 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30188 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30190 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30192
30193 2014-11-19 Roland McGrath <roland@hack.frob.com>
30194
30195 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30196 the sched_priority value here. It was already checked when the user
30197 called pthread_attr_setschedparam.
30198
30199 * nptl/tst-bad-schedattr.c: New file.
30200 * nptl/Makefile (tests): Add it.
30201
30202 2014-11-19 Carlos O'Donell <carlos@redhat.com>
30203 Florian Weimer <fweimer@redhat.com>
30204 Joseph Myers <joseph@codesourcery.com>
30205 Adam Conrad <adconrad@0c3.net>
30206 Andreas Schwab <schwab@suse.de>
30207 Brooks <bmoses@google.com>
30208
30209 [BZ #17625]
30210 * wordexp-test.c (__dso_handle): Add prototype.
30211 (__register_atfork): Likewise.
30212 (__app_register_atfork): New function.
30213 (registered_forks): New global.
30214 (register_fork): New function.
30215 (test_case): Add 3 new tests for WRDE_CMDSUB.
30216 (main): Call __app_register_atfork.
30217 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30218 fork count is non-zero fail the test.
30219 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30220 is set.
30221 (parse_dollars): Remove check for WRDE_NOCMD.
30222 (parse_dquote): Likewise.
30223
30224 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30225
30226 * Makeconfig (built-modules): List non-library modules to be
30227 built.
30228 (module-cppflags): Include libc-modules.h for
30229 everything except shlib-versions.v.i.
30230 (CPPFLAGS): Use it.
30231 (before-compile): Add libc-modules.h.
30232 ($(common-objpfx)libc-modules.h,
30233 $(common-objpfx)libc-modules.stmp): New targets.
30234 (common-generated): Add libc-modules.h and libc-modules.stmp.
30235 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30236 * include/libc-symbols.h: Don't include libc-modules.h.
30237 * include/libc-modules.h: Remove file.
30238 * scripts/gen-libc-modules.awk: New script to generate
30239 libc-modules.h.
30240 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30241 Depend on libc-modules.stmp.
30242
30243 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30244
30245 * Makeconfig (in-module): Get value of libof set for the
30246 translation unit.
30247 (CPPFLAGS): Use $(in-module).
30248 * Makerules: Don't suffix routine names for nonlib.
30249 * include/libc-modules.h: New file.
30250 * include/libc-symbols.h: Include libc-modules.h
30251 (IS_IN): New macro to replace IS_IN_* macros.
30252 * elf/Makefile: Set libof-* for each routine.
30253 * elf/rtld-Rules: Likewise.
30254 * extra-modules.mk: Likewise.
30255 * iconv/Makefile: Likewise.
30256 * iconvdata/Makefile: Likewise.
30257 * locale/Makefile: Likewise.
30258 * malloc/Makefile: Likewise.
30259 * nss/Makefile: Likewise.
30260 * sysdeps/gnu/Makefile: Likewise.
30261 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30262 * sysdeps/unix/sysv/linux/Makefile: Likewise.
30263 * sysdeps/s390/s390-64/Makefile: Likewise.
30264 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
30265 CPPFLAGS for nscd instead of nonlib.
30266
30267 2014-11-18 Roland McGrath <roland@hack.frob.com>
30268
30269 * nptl/createthread.c: New file.
30270
30271 * nptl/createthread.c: Moved ...
30272 * sysdeps/unix/sysv/linux/createthread.c: ... here.
30273
30274 * nptl/createthread.c: Add proper top-line comment.
30275 (do_clone): Folded into ...
30276 (create_thread): ... here. Take new arguments STOPPED_START and
30277 THREAD_RAN. Always set PD->stopped_start to something here. Don't
30278 increment __nptl_threads, do event-reporting logic, do
30279 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30280 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
30281 resource cleanup if sched_setaffinity or sched_setscheduler fails,
30282 just send SIGCANCEL.
30283 * nptl/pthread_create.c: Forward-declare create_thread before
30284 including createthread.c.
30285 (start_thread): Use new macro START_THREAD_DEFN to replace defining
30286 declaration, and new macro START_THREAD_SELF to replace argument.
30287 Remove return statement.
30288 (report_thread_creation): New function.
30289 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
30290 synchronization logic, and __nptl_nthreads increment here, around
30291 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
30292 PD->parent_cancelhandling here, before create_thread. When
30293 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30294 __deallocate_stack, and ENOMEM translation here.
30295
30296 2014-11-18 Joseph Myers <joseph@codesourcery.com>
30297
30298 [BZ #17616]
30299 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30300 (mptwo): Rename to __mptwo.
30301 (__inv): Use __mptwo instead of mptwo.
30302 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30303 (mptwo): Rename to __mptwo.
30304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30305 of mpone and __mptwo instead of mptwo.
30306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30307 instead of mpone.
30308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30309 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30310 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30311 of mpone and __mptwo instead of mptwo.
30312 (__mpranred): Use __mpone instead of mpone.
30313 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30314 variable.
30315 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30316 (test-xfail-ISO99/math.h/linknamespace): Likewise.
30317 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30318 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30319 (test-xfail-ISO11/math.h/linknamespace): Likewise.
30320 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30321 (test-xfail-XPG3/math.h/linknamespace): Likewise.
30322 (test-xfail-XPG4/math.h/linknamespace): Likewise.
30323 (test-xfail-POSIX/math.h/linknamespace): Likewise.
30324 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30325 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30326 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30327 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30328 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30329 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30330 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30331 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30332 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30333 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30334
30335 2014-11-18 Tom de Vries <tom@codesoucery.com>
30336
30337 * manual/signal.texi (Primitives Interrupted by Signals): In section,
30338 replace BSD Handler xref with BSD Signal Handling.
30339
30340 2014-11-17 Richard Henderson <rth@redhat.com>
30341
30342 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30343 (_FP_PACK_RAW_2): Remove.
30344 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30345 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30346 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30347 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30348 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30349 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30350 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30351 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30352 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30353 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30354 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30355 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30356 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30357 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30358 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30359 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30360
30361 2014-11-14 Roland McGrath <roland@hack.frob.com>
30362
30363 * signal/signal.h [__USE_MISC]
30364 (struct sigvec): Remove type.
30365 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30366 (sigvec): Remove declaration.
30367 * sysdeps/posix/sigvec.c: Moved ...
30368 * signal/sigvec.c: ... here, replacing old file.
30369 (struct sigvec): New type, copied from old signal.h definition.
30370 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30371 (__sigvec): Convert definition to prototype.
30372 (sigvec): Replace weak_alias with compat_symbol.
30373 * signal/Versions (libc: GLIBC_2.21): New version set.
30374 * include/signal.h: Remove __sigvec declaration.
30375 * sysdeps/unix/bsd/sigvec.c: Remove file.
30376 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30377 * manual/signal.texi (BSD Handler): Remove subsection.
30378 Move siginterrupt up to ...
30379 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
30380 (Blocking in BSD): Fold subsection into its parent.
30381 * NEWS: Mention sigvec removal.
30382
30383 2014-11-14 Joseph Myers <joseph@codesourcery.com>
30384
30385 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30386 (DLA_FMS): Make definition conditional only on [__FMA4__].
30387 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30388 definition.
30389
30390 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30391 Make definition conditional only on [PROF].
30392 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30393 definition.
30394 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30395 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30396
30397 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30398 !__GNUC__].
30399 * include/signal.h (__sigpause): Move declaration above call to
30400 libc_hidden_proto.
30401 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30402 variable.
30403 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30404 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30405
30406 2014-11-14 David S. Miller <davem@davemloft.net>
30407
30408 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30409 Define before including <string/memcpy.c> and <string/mempcpy.c>.
30410
30411 2014-11-14 Joseph Myers <joseph@codesourcery.com>
30412
30413 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30414 * configure: Regenerated.
30415 * manual/install.texi (Tools for Compilation): Document a
30416 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30417 compiler verified to work.
30418 * INSTALL: Regenerated.
30419
30420 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30421 redeclare with asm name.
30422 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30423 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30424 including <string.h>.
30425 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30426 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30427 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30428 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30429 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30430 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30431 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30432
30433 2014-11-13 Joseph Myers <joseph@codesourcery.com>
30434
30435 * stdlib/strtol.c (__strtol): Use prototype definition.
30436
30437 [BZ #17594]
30438 * stdlib/strtol.c (SYM__): New macro.
30439 (SYM__1): Likewise.
30440 (__strtol): Likewise.
30441 (strtol): Rename to __strtol and define as weak alias of
30442 __strtol. Use libc_hidden_weak.
30443
30444 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30445
30446 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30447 Use numbered labels in inline assembly.
30448
30449 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30450
30451 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30452 Add setjmp LIBC_PROBE.
30453 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30454 Likewise.
30455 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30456 Add longjmp, longjmp_target LIBC_PROBE.
30457 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30458 Likewise.
30459
30460 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30461
30462 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30463 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30464 to get rid of unused variable warning.
30465
30466 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30467
30468 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30469 Check for unwind_backtrace == NULL only in SHARED case.
30470 (__backchain_backtrace): Compile only in SHARED case.
30471 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30472 Likewise.
30473 (__backchain_backtrace): Declare as static.
30474
30475 2014-11-12 Roland McGrath <roland@hack.frob.com>
30476
30477 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30478 (__libc_multiple_threads_ptr): Variable moved ...
30479 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30480
30481 2014-11-12 Joseph Myers <joseph@codesourcery.com>
30482
30483 * conform/GlibcConform.pm: New file.
30484 * conform/conformtest.pl: Use GlibcConform module.
30485 * conform/linknamespace.pl: New file.
30486 * conform/list-header-symbols.pl: Likewise.
30487 * conform/Makefile (linknamespace-symlists-base): New variable.
30488 (linknamespace-symlists-tests): Likewise.
30489 (linknamespace-header-base): Likewise.
30490 (linknamespace-header-tests): Likewise.
30491 (tests-special): Add new tests.
30492 ($(linknamespace-symlists-tests)): New rule.
30493 (linknamespace-libs): New variable.
30494 ($(objpfx)symlist-stdlibs): New rule.
30495 ($(linknamespace-header-tests)): Likewise.
30496 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30497 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30498 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30499 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30500 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30501 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30502 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30503 (test-xfail-ISO/math.h/linknamespace): Likewise.
30504 (test-xfail-ISO/signal.h/linknamespace): Likewise.
30505 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30506 (test-xfail-ISO/time.h/linknamespace): Likewise.
30507 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30508 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30509 (test-xfail-ISO99/math.h/linknamespace): Likewise.
30510 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30511 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30512 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30513 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30514 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30515 (test-xfail-ISO11/math.h/linknamespace): Likewise.
30516 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30517 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30518 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30519 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30520 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30521 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30522 (test-xfail-XPG3/math.h/linknamespace): Likewise.
30523 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30524 (test-xfail-XPG3/search.h/linknamespace): Likewise.
30525 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30526 (test-xfail-XPG3/time.h/linknamespace): Likewise.
30527 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30528 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30529 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30530 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30531 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30532 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30533 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30534 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30535 (test-xfail-XPG4/math.h/linknamespace): Likewise.
30536 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30537 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30538 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30539 (test-xfail-XPG4/search.h/linknamespace): Likewise.
30540 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30541 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30542 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30543 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30544 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30545 (test-xfail-XPG4/time.h/linknamespace): Likewise.
30546 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30547 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30548 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30549 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30550 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30551 (test-xfail-POSIX/math.h/linknamespace): Likewise.
30552 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30553 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30554 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30555 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30556 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30557 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30558 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30559 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30560 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30561 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30562 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30563 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30564 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30565 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30566 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30567 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30568 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30569 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30570 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30571 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30572 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30573 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30574 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30575 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30576 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30577 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30578 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30579 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30580 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30581 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30582 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30583 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30584 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30585 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30586 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30587 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30588 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30589 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30590 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30591 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30592 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30593 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30594 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30595 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30596 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30597 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30598 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30599 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30600 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30601 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30602 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30603 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30604 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30605 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30606 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30607 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30608 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30609 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30610 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30611 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30612 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30613 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30614 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30615 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30616 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30617 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30618 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30619 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30620 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30621 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30622 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30623 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30624 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30625 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30626 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30627 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30628 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30629 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30630 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30631 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30632 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30633 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30634 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30635 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30636 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30637 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30638 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30639 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30640 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30641 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30642 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30643 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30644 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30645 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30646 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30647 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30648 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30649 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30650 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30651 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30652 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30653 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30654 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30655 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30656 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30657
30658 [BZ #17589]
30659 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30660 of fgets_unlocked.
30661
30662 [BZ #17585]
30663 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30664 (memmem): Rename to __memmem and define as weak alias of
30665 __memmem. Use libc_hidden_weak.
30666 (__memmem): Use libc_hidden_def.
30667 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
30668 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30669 memmem.
30670
30671 [BZ #17582]
30672 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30673 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
30674 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30675 and define as weak alias of __fgets_unlocked. Use
30676 libc_hidden_weak.
30677 (__fgets_unlocked): Use libc_hidden_def.
30678 * include/stdio.h (__fgets_unlocked): Declare. Use
30679 libc_hidden_proto.
30680 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30681 __fgets_unlocked instead of fgets_unlocked.
30682 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30683 (GET_NPROCS_CONF_PARSER): Likewise.
30684 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30685 (GET_NPROCS_CONF_PARSER): Likewise.
30686
30687 [BZ #17574]
30688 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30689 weak alias of __wmemset. Use libc_hidden_weak.
30690 (__wmemset): Use libc_hidden_def.
30691 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
30692 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30693 of wmemset.
30694
30695 [BZ #17573]
30696 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30697 with asm name __mempcpy.
30698 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30699
30700 [BZ #17572]
30701 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30702 and define as weak alias of __rawmemchr.
30703 (__rawmemchr): Do not define as strong alias of rawmemchr.
30704
30705 [BZ #17571]
30706 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30707 alias of __qsort_r.
30708 (qsort): Call __qsort_r instead of qsort_r.
30709 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30710 (__qsort_r): Declare. Call libc_hidden_proto.
30711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30712 instead of qsort_r.
30713 * nscd/gai.c (__qsort_r): Define to qsort_r.
30714 * posix/tst-rfc3484.c (__qsort_r): Likewise.
30715 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30716 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30717
30718 [BZ #17570]
30719 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30720 define as weak alias of __malloc_info.
30721
30722 [BZ #17584]
30723 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30724 as weak alias of __rewinddir. Don't use libc_hidden_def.
30725 (__rewinddir): Use libc_hidden_def.
30726 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30727 as weak alias of __rewinddir. Don't use libc_hidden_def.
30728 (__rewinddir): Use libc_hidden_def.
30729 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30730 weak alias of __rewinddir. Don't use libc_hidden_def.
30731 (__rewinddir): Use libc_hidden_def.
30732 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30733 (__rewinddir): Use libc_hidden_proto.
30734 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30735 rewinddir.
30736 (__getcwd): Use __rewinddir instead of rewinddir.
30737
30738 [BZ #17583]
30739 * libio/fileno.c (fileno): Rename to __fileno and define as weak
30740 alias of __fileno. Use libc_hidden_weak.
30741 (__fileno): Use libc_hidden_def.
30742 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30743 * libio/ftello.c (ftello): Rename to __ftello and define as weak
30744 alias of __ftello.
30745 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30746 __ftello.
30747 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30748 (__fread_unlocked): Define as strong alias of _IO_fread. Use
30749 libc_hidden_def.
30750 (fread_unlocked): Don't use libc_hidden_ver.
30751 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30752 and define as weak alias of __fread_unlocked. Don't use
30753 libc_hidden_def.
30754 (__fread_unlocked): Use libc_hidden_def.
30755 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
30756 (ftello): Don't use libc_hidden_proto.
30757 (__ftello): Declare. Use libc_hidden_proto.
30758 (fread_unlocked): Don't use libc_hidden_proto.
30759 (__fread_unlocked): Declare. Use libc_hidden_proto.
30760 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30761 and __ftello instead of fileno, fread_unlocked and ftello.
30762
30763 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30764
30765 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30766 GOT12.
30767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30768 Likewise.
30769 (_dl_start_user): Likewise.
30770 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30771
30772 2014-11-12 Carlos O'Donell <carlos@redhat.com>
30773 Siddhesh Poyarekar <siddhesh@redhat.com>
30774
30775 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30776 Move argv and envp down instead of moving argc up.
30777 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30778
30779 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
30780
30781 [BZ #17506]
30782 * test-skeleton.c (main): Return successful if one of
30783 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30784 * string/tst-strcoll-overflow.c: Define expected status.
30785
30786 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
30787
30788 [BZ #17475]
30789 * locale/iso-639.def: Define Bhili and Tulu language codes.
30790
30791 2014-11-11 Alan Hayward <alan.hayward@arm.com>
30792
30793 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30794
30795 2014-11-10 Renlin Li <Renlin.Li@arm.com>
30796
30797 [BZ #17555]
30798 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30799
30800 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30801
30802 * configure.ac: Updated check of minimal required version to
30803 2.22.
30804 * manual/install.texi (Tools for Compilation): Updated version
30805 number.
30806 * configure: Regenerated.
30807 * INSTALL: Likewise.
30808
30809 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
30810
30811 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30812 __tls_get_addr.
30813
30814 2014-11-07 Joseph Myers <joseph@codesourcery.com>
30815
30816 * include/sys/wait.h (__libc_waitpid): Remove declaration.
30817 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30818 (__waitpid): Don't define as alias. Use libc_hidden_def not
30819 libc_hidden_weak.
30820 (waitpid): Define as alias of __waitpid.
30821 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30822 __waitpid.
30823 (__waitpid): Don't define as alias. Use libc_hidden_def not
30824 libc_hidden_weak.
30825 (waitpid): Define as alias of __waitpid.
30826 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30827 __libc_waitpid alias.
30828 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30829 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30830 Likewise.
30831 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30832 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30833 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30834 alias.
30835 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30836 __waitpid.
30837 (__waitpid): Don't define as alias. Use libc_hidden_def not
30838 libc_hidden_weak.
30839 (waitpid): Define as alias of __waitpid.
30840
30841 2014-11-06 Carlos O'Donell <carlos@redhat.com>
30842
30843 * manual/llio.texi: Add comment that write safety has been
30844 fixed in Linux.
30845
30846 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30847 (localplt-build-dso): Add elf/ld.so.
30848 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30849 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30850 and free for ld.so.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30852 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30854 Likewise.
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30856 Likewise.
30857 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30858 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30859 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30860 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30861 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30862 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30863 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30864 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30865 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30866 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30867 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30868
30869 2014-11-05 Joseph Myers <joseph@codesourcery.com>
30870
30871 [BZ #14132]
30872 * include/libc-symbols.h (INTUSE): Remove macro.
30873 (INTDEF): Likewise.
30874 (INTVARDEF): Likewise.
30875 (_INTVARDEF): Likewise.
30876 (INTDEF2): Likewise.
30877 (INTVARDEF2): Likewise.
30878 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30879 rtld_hidden_def instead of INTVARDEF.
30880 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30881 (_dl_starting_up_internal): Remove declaration.
30882 (_dl_starting_up): Use rtld_hidden_proto.
30883 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30884 declaration.
30885 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30886 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30887 _dl_starting_up.
30888 * elf/dl-writev.h (_dl_writev): Likewise.
30889 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30890 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30891 _dl_starting_up_internal.
30892
30893 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30894
30895 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30896 test-skeleton.c.
30897
30898 2014-11-05 Will Newton <will.newton@linaro.org>
30899
30900 * benchtests/Makefile: (bench-malloc): Add malloc thread
30901 scalability benchmark.
30902 * benchtests/bench-malloc-threads.c: New file.
30903
30904 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
30905
30906 * sysdeps/aarch64/strchrnul.S: New file.
30907
30908 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30909
30910 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30911 definition.
30912 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30913 Likwise.
30914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30915 Likewise.
30916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30917 Likewise.
30918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30919 Likewise.
30920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30921 Likewise.
30922
30923 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
30924
30925 * catgets/test-gencat.c: Use test-skeleton.c.
30926 * catgets/tst-catgets.c: Likewise.
30927 * csu/tst-empty.c: Likewise.
30928 * elf/tst-audit2.c: Likewise.
30929 * elf/tst-global1.c: Likewise.
30930 * elf/tst-pathopt.c: Likewise.
30931 * elf/tst-piemod1.c: Likewise.
30932 * elf/tst-tls10.c: Likewise.
30933 * elf/tst-tls11.c: Likewise.
30934 * elf/tst-tls12.c: Likewise.
30935 * gnulib/tst-gcc.c: Likewise.
30936 * iconvdata/tst-e2big.c: Likewise.
30937 * iconvdata/tst-loading.c: Likewise.
30938 * iconv/tst-iconv1.c: Likewise.
30939 * iconv/tst-iconv2.c: Likewise.
30940 * inet/test-inet6_opt.c: Likewise.
30941 * inet/tst-gethnm.c: Likewise.
30942 * inet/tst-network.c: Likewise.
30943 * inet/tst-ntoa.c: Likewise.
30944 * intl/tst-codeset.c: Likewise.
30945 * intl/tst-gettext2.c: Likewise.
30946 * intl/tst-gettext3.c: Likewise.
30947 * intl/tst-ngettext.c: Likewise.
30948 * intl/tst-translit.c: Likewise.
30949 * io/test-stat.c: Likewise.
30950 * libio/test-fmemopen.c: Likewise.
30951 * libio/tst-freopen.c: Likewise.
30952 * libio/tst-sscanf.c: Likewise.
30953 * libio/tst-ungetwc1.c: Likewise.
30954 * libio/tst-ungetwc2.c: Likewise.
30955 * libio/tst-widetext.c: Likewise.
30956 * localedata/tst-ctype.c: Likewise.
30957 * localedata/tst-digits.c: Likewise.
30958 * localedata/tst-leaks.c: Likewise.
30959 * localedata/tst-mbswcs1.c: Likewise.
30960 * localedata/tst-mbswcs2.c: Likewise.
30961 * localedata/tst-mbswcs3.c: Likewise.
30962 * localedata/tst-mbswcs4.c: Likewise.
30963 * localedata/tst-mbswcs5.c: Likewise.
30964 * localedata/tst-setlocale.c: Likewise.
30965 * localedata/tst-trans.c: Likewise.
30966 * localedata/tst-wctype.c: Likewise.
30967 * localedata/tst-xlocale1.c: Likewise.
30968 * login/tst-grantpt.c: Likewise.
30969 * malloc/tst-calloc.c: Likewise.
30970 * malloc/tst-malloc.c: Likewise.
30971 * malloc/tst-mallocstate.c: Likewise.
30972 * malloc/tst-mcheck.c: Likewise.
30973 * malloc/tst-mtrace.c: Likewise.
30974 * malloc/tst-obstack.c: Likewise.
30975 * math/atest-exp2.c: Likewise.
30976 * math/atest-exp.c: Likewise.
30977 * math/atest-sincos.c: Likewise.
30978 * math/test-matherr.c: Likewise.
30979 * math/test-misc.c: Likewise.
30980 * math/test-powl.c: Likewise.
30981 * math/tst-definitions.c: Likewise.
30982 * misc/tst-dirname.c: Likewise.
30983 * misc/tst-efgcvt.c: Likewise.
30984 * misc/tst-fdset.c: Likewise.
30985 * misc/tst-hsearch.c: Likewise.
30986 * misc/tst-mntent2.c: Likewise.
30987 * nptl/tst-sem7.c: Likewise.
30988 * nptl/tst-sem8.c: Likewise.
30989 * nptl/tst-sem9.c: Likewise.
30990 * nss/test-netdb.c: Likewise.
30991 * posix/tst-fnmatch.c: Likewise.
30992 * posix/tst-getlogin.c: Likewise.
30993 * posix/tst-gnuglob.c: Likewise.
30994 * posix/tst-mmap.c: Likewise.
30995 * pwd/tst-getpw.c: Likewise.
30996 * resolv/tst-inet_ntop.c: Likewise.
30997 * rt/tst-timer.c: Likewise.
30998 * stdio-common/test-fseek.c: Likewise.
30999 * stdio-common/test-popen.c: Likewise.
31000 * stdio-common/test-vfprintf.c: Likewise.
31001 * stdio-common/tst-cookie.c: Likewise.
31002 * stdio-common/tst-fileno.c: Likewise.
31003 * stdio-common/tst-gets.c: Likewise.
31004 * stdio-common/tst-obprintf.c: Likewise.
31005 * stdio-common/tst-perror.c: Likewise.
31006 * stdio-common/tst-sprintf2.c: Likewise.
31007 * stdio-common/tst-sprintf3.c: Likewise.
31008 * stdio-common/tst-sprintf.c: Likewise.
31009 * stdio-common/tst-swprintf.c: Likewise.
31010 * stdio-common/tst-tmpnam.c: Likewise.
31011 * stdio-common/tst-unbputc.c: Likewise.
31012 * stdio-common/tst-wc-printf.c: Likewise.
31013 * stdlib/tst-environ.c: Likewise.
31014 * stdlib/tst-fmtmsg.c: Likewise.
31015 * stdlib/tst-limits.c: Likewise.
31016 * stdlib/tst-rand48-2.c: Likewise.
31017 * stdlib/tst-rand48.c: Likewise.
31018 * stdlib/tst-random2.c: Likewise.
31019 * stdlib/tst-random.c: Likewise.
31020 * stdlib/tst-strtol.c: Likewise.
31021 * stdlib/tst-strtoll.c: Likewise.
31022 * stdlib/tst-tls-atexit.c: Likewise.
31023 * stdlib/tst-xpg-basename.c: Likewise.
31024 * string/test-ffs.c: Likewise.
31025 * string/tst-bswap.c: Likewise.
31026 * string/tst-inlcall.c: Likewise.
31027 * string/tst-strtok.c: Likewise.
31028 * string/tst-strxfrm.c: Likewise.
31029 * sysdeps/x86_64/tst-audit10.c: Likewise.
31030 * sysdeps/x86_64/tst-audit3.c: Likewise.
31031 * sysdeps/x86_64/tst-audit4.c: Likewise.
31032 * sysdeps/x86_64/tst-audit5.c: Likewise.
31033 * time/tst-ftime_l.c: Likewise.
31034 * time/tst-getdate.c: Likewise.
31035 * time/tst-mktime3.c: Likewise.
31036 * time/tst-mktime.c: Likewise.
31037 * time/tst-posixtz.c: Likewise.
31038 * time/tst-strptime2.c: Likewise.
31039 * time/tst-strptime3.c: Likewise.
31040 * wcsmbs/tst-btowc.c: Likewise.
31041 * wcsmbs/tst-mbrtowc.c: Likewise.
31042 * wcsmbs/tst-mbsrtowcs.c: Likewise.
31043 * wcsmbs/tst-wchar-h.c: Likewise.
31044 * wcsmbs/tst-wcpncpy.c: Likewise.
31045 * wcsmbs/tst-wcrtomb.c: Likewise.
31046 * wcsmbs/tst-wcsnlen.c: Likewise.
31047 * wcsmbs/tst-wcstof.c: Likewise.
31048
31049 2014-11-04 Joseph Myers <joseph@codesourcery.com>
31050
31051 [BZ #14132]
31052 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31053 INTDEF.
31054 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31055 declaration.
31056 (_dl_mcount): Use rtld_hidden_proto.
31057 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31058 _dl_mcount.
31059 * elf/rtld.c (_rtld_global_ro): Likewise.
31060
31061 [BZ #14132]
31062 * elf/dl-init.c (_dl_init): Don't use INTDEF.
31063 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31064 of _dl_init_internal.
31065 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31066 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31067 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31068 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31069 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31070 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31071 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31072 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31073 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31074 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31075 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31076 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31077 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31078 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31079 * sysdeps/tile/dl-start.S (_start): Likewise.
31080 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31081 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31082
31083 [BZ #14132]
31084 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31085 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31086 (rtld_progname): Make macro definition unconditional.
31087 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31088 INTDEF.
31089 (dlmopen_doit): Do not use INTUSE with _dl_argv.
31090 (dl_main): Likewise.
31091 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31092 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31093 instead of _dl_argv_internal.
31094 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31095 __GI__dl_argv instead of INTUSE(_dl_argv).
31096 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31097 __GI__dl_argv instead of _dl_argv_internal.
31098
31099 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31100 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31101 macro.
31102 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31103 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31104 New macro.
31105 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31106 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31107 macro.
31108 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31109 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31110
31111 2014-11-04 Andreas Schwab <schwab@suse.de>
31112
31113 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31114
31115 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31116
31117 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31118 mtvsrd instruction in binary form.
31119
31120 2014-11-03 Andreas Schwab <schwab@suse.de>
31121
31122 [BZ #17522]
31123 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31124 for less than MB_LEN_MAX use a local buffer of that size.
31125 * libio/tst-fputws.c: New file.
31126 * libio/Makefile (tests): Add tst-fputws.
31127
31128 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
31129
31130 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31131 the size of the fpu_fr.fpu_dregs[] array.
31132
31133 2014-11-01 Joseph Myers <joseph@codesourcery.com>
31134
31135 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31136 (__nanosleep): Do not define as alias.
31137 (nanosleep): Define as alias of __nanosleep.
31138 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31139 __libc_nanosleep name.
31140
31141 2014-10-31 Joseph Myers <joseph@codesourcery.com>
31142
31143 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31144 install.texi in comment.
31145
31146 2014-10-31 Torvald Riegel <triegel@redhat.com>
31147
31148 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31149 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31150 ... add here and use lwsync or sync ...
31151 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31152 ... and add here using lwsync.
31153
31154 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
31155
31156 * elf/dl-machine-reject-phdr.h: New file.
31157 * elf/dl-load.c: #include that.
31158 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31159 if that returned true.
31160
31161 2014-10-31 Roland McGrath <roland@hack.frob.com>
31162
31163 [BZ #17496]
31164 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31165 gen-as-const-headers chunk. Add a big scare comment after the last
31166 safe place to touch before-compile.
31167
31168 2014-10-31 Joseph Myers <joseph@codesourcery.com>
31169
31170 * manual/install.texi (Tools for Compilation): Update autoconf
31171 version requirements.
31172 * INSTALL: Regenerated.
31173
31174 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31175 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31176 (__libc_pselect): Likewise.
31177
31178 [BZ #14138]
31179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31183
31184 2014-10-31 Torvald Riegel <triegel@redhat.com>
31185
31186 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31187 correct barrier instruction.
31188 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31189 Likewise.
31190 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31191 Likewise.
31192
31193 2014-10-30 Roland McGrath <roland@hack.frob.com>
31194
31195 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31196 after defining inlines. Instead, just use parens to defeat macro
31197 expansion of __isctype in its declaration.
31198
31199 2014-10-30 Joseph Myers <joseph@codesourcery.com>
31200
31201 * include/sys/uio.h (__libc_readv): Remove declaration.
31202 (__libc_writev): Likewise.
31203 * misc/readv.c (__libc_readv): Rename to __readv.
31204 (__readv): Do not define as alias.
31205 (readv): Define as alias of __readv.
31206 * misc/writev.c (__libc_writev): Rename to __writev.
31207 (__writev): Do not define as alias.
31208 (writev): Define as alias of __writev.
31209 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31210 (__readv): Do not define as alias.
31211 (readv): Define unconditionally as alias of __readv.
31212 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31213 (__writev): Do not define as alias.
31214 (writev): Define unconditionally as alias of __writev.
31215 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31216 name.
31217 (writev): Do not define __libc_writev name.
31218
31219 2014-10-30 Roland McGrath <roland@hack.frob.com>
31220
31221 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31222 (convert_charseq): New function, broken out of ...
31223 (use_from_charmap): ... here. Call it.
31224 (use_to_charmap): Use convert_charseq and free instead of duplicating
31225 its code with a variable-length stack struct.
31226
31227 2014-10-30 Joseph Myers <joseph@codesourcery.com>
31228
31229 * include/fcntl.h (__libc_creat): Remove declaration.
31230 * io/creat.c (__libc_creat): Rename to creat.
31231 (creat): Do not define as alias.
31232 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31233 of creat instead of __libc_creat.
31234 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31235 to creat.
31236 (creat): Do not define as alias.
31237 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31238 __libc_creat.
31239 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31240 __libc_creat name.
31241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31242 Likewise.
31243
31244 2014-10-29 Carlos O'Donell <carlos@redhat.com>
31245
31246 * manual/llio.texi: Add comments discussing why write() may be
31247 considered MT-unsafe on Linux.
31248
31249 2014-10-28 Carlos O'Donell <carlos@redhat.com>
31250
31251 * dl-load.c (local_strdup): Remove.
31252 (expand_dynamic_string_token): Use __strdup.
31253 (decompose_rpath): Likewise.
31254 (_dl_map_object): Likewise.
31255
31256 2014-10-28 Joseph Myers <joseph@codesourcery.com>
31257
31258 [BZ #14132]
31259 * sysdeps/generic/unwind-dw2-fde.c
31260 (__register_frame_info_bases_internal): Do not declare.
31261 (__register_frame_info_table_bases_internal): Likewise.
31262 (__deregister_frame_info_bases_internal): Likewise.
31263 (__register_frame_info_bases): Declare and use hidden_proto before
31264 definition. Use hidden_def instead of INTDEF.
31265 (__register_frame_info_table_bases): Likewise.
31266 (__deregister_frame_info_bases): Likewise.
31267 (__register_frame_info): Do not use INTUSE.
31268 (__register_frame): Likewise.
31269 (__register_frame_info_table): Likewise.
31270 (__register_frame_table): Likewise.
31271 (__deregister_frame_info): Likewise.
31272 (__deregister_frame): Likewise.
31273
31274 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
31275
31276 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31277 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31278 not undefine.
31279 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31280 Likewise.
31281 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31282 Likewise.
31283
31284 2014-10-27 Joseph Myers <joseph@codesourcery.com>
31285
31286 [BZ #14138]
31287 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31288 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31289 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31290 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31291 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31292 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31293 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31294 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31295 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31296 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31297 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31298 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31299 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31300 syscall.
31301 (setfsuid): Likewise.
31302 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31303 (setfsuid): Likewise.
31304 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31305 (setfsuid): Likewise.
31306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31307 Likewise.
31308 (setfsuid): Likewise.
31309 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31310 (setfsuid): Likewise.
31311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31312 Likewise.
31313 (setfsuid): Likewise.
31314
31315 2014-10-27 Andreas Schwab <schwab@suse.de>
31316
31317 [BZ #17501]
31318 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31319 check for Slow_SSE4_2 feature bit.
31320 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31321 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31322 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31323 Likewise. Fix check for Fast_Unaligned_Load feature bit.
31324
31325 2014-10-24 Roland McGrath <roland@hack.frob.com>
31326
31327 * configure.ac: Validate compiler version with a empirical test of
31328 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31329 $CC -v output.
31330 * configure: Regenerated.
31331
31332 * inet/htons.c (htons): Prototypify.
31333 * inet/htonl.c (htonl): Likewise.
31334
31335 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31336
31337 * string/strncat.c (strncat): Improve performance by using strlen.
31338
31339 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31340
31341 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31342
31343 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31344
31345 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31346 Call libc_fetestexcept_aarch64.
31347
31348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31349
31350 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31351 Call libc_feholdexcept_aarch64.
31352
31353 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31354
31355 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31356 Call get_rounding_mode.
31357
31358 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31359
31360 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31361 Simplify logic.
31362
31363 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
31364
31365 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31366 Simplify logic.
31367
31368 2014-10-24 Joseph Myers <joseph@codesourcery.com>
31369
31370 [BZ #14138]
31371 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31372 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31373 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31374 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31375 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31376 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31377 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31378 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31379 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31380 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31381 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31382 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31383 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31384 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31385 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31386 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31387 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31388 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31389 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31390 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31391 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31392 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31393 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31394 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31395 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31396 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31397 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31398 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31399 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31400 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31401 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31402 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31403 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31404 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31405 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31406 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31407 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31408 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31409 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31410 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31411 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31412 syscall.
31413 (geteuid): Likewise.
31414 (getgid): Likewise.
31415 (getuid): Likewise.
31416 (getresgid): Likewise.
31417 (getresuid): Likewise.
31418 (getgroups): Likewise.
31419 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31420 (geteuid): Likewise.
31421 (getgid): Likewise.
31422 (getuid): Likewise.
31423 (getresgid): Likewise.
31424 (getresuid): Likewise.
31425 (getgroups): Likewise.
31426 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31427 (geteuid): Likewise.
31428 (getgid): Likewise.
31429 (getuid): Likewise.
31430 (getresgid): Likewise.
31431 (getresuid): Likewise.
31432 (getgroups): Likewise.
31433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31434 Likewise.
31435 (geteuid): Likewise.
31436 (getgid): Likewise.
31437 (getuid): Likewise.
31438 (getresgid): Likewise.
31439 (getresuid): Likewise.
31440 (getgroups): Likewise.
31441 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31442 (geteuid): Likewise.
31443 (getgid): Likewise.
31444 (getuid): Likewise.
31445 (getresgid): Likewise.
31446 (getresuid): Likewise.
31447 (getgroups): Likewise.
31448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31449 Likewise.
31450 (geteuid): Likewise.
31451 (getgid): Likewise.
31452 (getuid): Likewise.
31453 (getgroups): Likewise.
31454
31455 [BZ #14138]
31456 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31457 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31458 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31459 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31460 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31462 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31463 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31464 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31465 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31466 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31468 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31469 __chown.
31470 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31471 (lchown): Likewise.
31472 (fchown): Likewise.
31473 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31474 Likewise.
31475 (lchown): Likewise.
31476 (fchown): Likewise.
31477 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31478 (lchown): Likewise.
31479 (fchown): Likewise.
31480 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31481 Likewise.
31482 (lchown): Likewise.
31483 (fchown): Likewise.
31484
31485 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
31486
31487 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31488 Simplify logic.
31489
31490 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
31491
31492 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31493 Cleanup logic.
31494
31495 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
31496
31497 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31498 Remove unused include.
31499
31500 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
31501
31502 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31504 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31505 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31506
31507 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
31508 Helge Deller <deller@gmx.de>
31509
31510 [BZ #17508]
31511 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31512 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31513 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31514
31515 2014-10-23 Joseph Myers <joseph@codesourcery.com>
31516
31517 [BZ #14132]
31518 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31519 Remove macro definition.
31520 (__ashrdi3_v_glibc20): Likewise.
31521 (__lshrdi3_v_glibc20): Likewise.
31522 (__cmpdi2_v_glibc20): Likewise.
31523 (__ucmpdi2_v_glibc20): Likewise.
31524 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31525 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31526 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31527 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31528 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31529 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31530
31531 2014-10-22 Roland McGrath <roland@hack.frob.com>
31532
31533 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31534 old GNU extension [0] syntax.
31535 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31536 alloca rather than an array member with variable length.
31537 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31538 * nscd/nscd.c (invalidate_db): New function, broken out of ...
31539 (parse_opt): ... here. Likewise use alloca there.
31540 Validate the -i argument before checking for rootness.
31541 (send_shutdown): New function, broken out of ...
31542 (parse_opt): ... here.
31543
31544 2014-10-22 Roland McGrath <roland@hack.frob.com>
31545
31546 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31547 macro to get at the _rt_local_ro field.
31548 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31549 ([PIC] case) or _dl_hwcap ([!PIC] case).
31550 * sysdeps/arm/setjmp.S: Likewise.
31551
31552 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31553 * sysdeps/arm/configure.ac: New check to define it.
31554 * sysdeps/arm/configure: Regenerated.
31555 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31556 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31557 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31558 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31559 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31560 Use move/movt pair instead of a load.
31561 (LDST_GLOBAL): Macro removed.
31562 (LDR_GLOBAL): New macro replaces it.
31563 (LDR_HIDDEN): New macro.
31564 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31565 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31566
31567 * setjmp/tst-setjmp-static.c: New file.
31568 * setjmp/Makefile (tests): Add it.
31569 (tests-static): New variable.
31570
31571 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
31572
31573 [BZ #17485]
31574 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31575
31576 2014-10-21 Joseph Myers <joseph@codesourcery.com>
31577
31578 [BZ #14132]
31579 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31580
31581 2014-10-21 Roland McGrath <roland@hack.frob.com>
31582
31583 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31584
31585 2014-10-20 Roland McGrath <roland@hack.frob.com>
31586
31587 * io/fts.c (dirent_not_directory): New function.
31588 (fts_build): Call it.
31589
31590 2014-10-20 Roland McGrath <roland@hack.frob.com>
31591
31592 * nptl/version.c (__nptl_main): Use normal __write rather than
31593 INTERNAL_SYSCALL.
31594 (banner): Update copyright years.
31595
31596 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31597 gettimeofday.
31598 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31599 * nptl/pthread_cond_timedwait.c: Likewise.
31600 * nptl/pthread_mutex_timedlock.c: Likewise.
31601 * nptl/sem_timedwait.c: Likewise.
31602
31603 * sysdeps/nptl/bits/libc-lock.h
31604 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31605 (__libc_lock_init_recursive): Return void, not 0.
31606 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31607 (__libc_rwlock_init): Likewise.
31608 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31609
31610 2014-10-20 Torvald Riegel <triegel@redhat.com>
31611
31612 [BZ #15215]
31613 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31614 (__pthread_once_slow): ... here.
31615 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31616 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31617
31618 2014-10-20 Torvald Riegel <triegel@redhat.com>
31619
31620 [BZ #15215]
31621 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31622 __PTHREAD_ONCE_FORK_GEN_INCR): New.
31623 * sysdeps/nptl/fork.c (__libc_fork): Use them.
31624 * nptl/pthread_once.c (__pthread_once): Likewise.
31625 Update comments.
31626
31627 2014-10-20 Joseph Myers <joseph@codesourcery.com>
31628
31629 [BZ #14138]
31630 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31631 name.
31632 (writev): Use __libc_writev as strong name.
31633 * sysdeps/unix/sysv/linux/readv.c: Remove file.
31634 * sysdeps/unix/sysv/linux/writev.c: Likewise.
31635
31636 2014-10-17 Roland McGrath <roland@hack.frob.com>
31637
31638 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31639
31640 * sysdeps/i386/nptl/tls.h
31641 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31642 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31643 New macros.
31644 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31645 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31646 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31647 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31648 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31649 Call CHECK_THREAD_SYSINFO instead of doing an assert.
31650
31651 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31652 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31653 on [__NR_futex].
31654 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31655 broken out of ...
31656 (__pthread_mutex_init): ... here. Call it.
31657 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31658 Conditionalize PI cases on [__NR_futex].
31659 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31660 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31661 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31662
31663 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31664 conditional on [SIGSETXID].
31665 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31666 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31667 is defined. Likewise for SIGSETXID.
31668 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31669 Conditionalize definitions on [SIGSETXID].
31670 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31671 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31672 unblocking on [SIGCANCEL].
31673
31674 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31675 [__NR_set_robust_list].
31676
31677 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31678
31679 * string/strcoll_l.c (get_next_seq): Fix up formatting.
31680 (do_compare): Likewise.
31681
31682 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
31683
31684 [BZ #15884]
31685 * string/strcoll_l.c: Don't include stdio.h.
31686 (coll_seq): Remove members idxarr and rulearr.
31687 (get_next_seq_cached): Remove function.
31688 (get_next_seq): Likewise.
31689 (get_next_seq_nocache): Rename to get_next_seq.
31690 (do_compare): Remove function.
31691 (do_compare_nocache): Rename to do_compare.
31692 (STRCOLL): Remove weight and rules cache.
31693
31694 2014-10-16 Roland McGrath <roland@hack.frob.com>
31695
31696 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31697 * sysdeps/arm/sfp-machine.h: ... to here.
31698 * sysdeps/arm/Implies: Remove arm/soft-fp.
31699
31700 2014-10-14 Joseph Myers <joseph@codesourcery.com>
31701
31702 * conform/data/sys/utsname.h-data (*_t): Allow.
31703 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31704 [POSIX] (WEXITED): Do not expect constant.
31705 [POSIX] (WSTOPPED): Likewise.
31706 [POSIX] (WNOHANG): Likewise.
31707 [POSIX] (WNOWAIT): Likewise.
31708 [POSIX] (siginfo_t): Do not expect type or elements.
31709 [POSIX] (pid_t): Do not expect type.
31710 [POSIX] (signal.h): Do not allow header.
31711 [POSIX] (sys/resource.h): Likewise.
31712 [POSIX] (si_*): Do not allow pattern.
31713 [POSIX] (W*): Likewise.
31714 [POSIX] (P_*): Likewise.
31715 [POSIX] (BUS_*): Likewise.
31716 [POSIX] (CLD_*): Likewise.
31717 [POSIX] (FPE_*): Likewise.
31718 [POSIX] (ILL_*): Likewise.
31719 [POSIX] (POLL_*): Likewise.
31720 [POSIX] (SEGV_*): Likewise.
31721 [POSIX] (SI_*): Likewise.
31722 [POSIX] (TRAP_*): Likewise.
31723 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31724 variable.
31725
31726 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
31727
31728 [BZ #12926]
31729 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31730 infinite loop when __recvmsg returns 0.
31731
31732 2014-10-10 Joseph Myers <joseph@codesourcery.com>
31733
31734 * CANCEL-FCT-WAIVE: Remove file.
31735 * CANCEL-FILE-WAIVE: Likewise.
31736
31737 [BZ #14132]
31738 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31739 instead of INTVARDEF.
31740 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31741 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31742 rtld_hidden_data_def instead of INTVARDEF.
31743 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31744 * elf/dl-deps.c (expand_dst): Likewise.
31745 * elf/dl-load.c (_dl_dst_count): Likewise.
31746 (_dl_dst_substitute): Likewise.
31747 (decompose_rpath): Likewise.
31748 (_dl_init_paths): Likewise.
31749 (open_path): Likewise.
31750 (_dl_map_object): Likewise.
31751 * elf/rtld.c (dl_main): Likewise.
31752 (process_dl_audit): Likewise.
31753 (process_envvars): Likewise.
31754 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31755 Remove declaration.
31756 (__libc_enable_secure): Use rtld_hidden_proto.
31757
31758 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
31759
31760 * elf/dl-load.c
31761 (add_path): New function broken out of _dl_rtld_di_serinfo.
31762 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
31763
31764 2014-10-09 Joseph Myers <joseph@codesourcery.com>
31765
31766 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31767 parentheses around macro arguments.
31768 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31769 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31770 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31771 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31772 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31776 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31779 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31780 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31781 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31783 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31784 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31785 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31786 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31787 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31788 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31797 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31798 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31799 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31800 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31801 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31802 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31803 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31804 Likewise.
31805 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31806 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31808 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31812 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31813 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31814 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31816 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31817 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31826 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31830 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31831 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31832 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31833 (_FP_FRAC_SRS_1): Likewise.
31834 (_FP_FRAC_CLZ_1): Likewise.
31835 (_FP_MUL_MEAT_1_imm): Likewise.
31836 (_FP_MUL_MEAT_1_wide): Likewise.
31837 (_FP_MUL_MEAT_1_hard): Likewise.
31838 (_FP_SQRT_MEAT_1): Likewise.
31839 (_FP_FRAC_ASSEMBLE_1): Likewise.
31840 (_FP_FRAC_DISASSEMBLE_1): Likewise.
31841 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31842 (__FP_CLZ_2): Likewise.
31843 (_FP_MUL_MEAT_2_wide): Likewise.
31844 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31845 (_FP_MUL_MEAT_2_gmp): Likewise.
31846 (_FP_MUL_MEAT_2_120_240_double): Likewise.
31847 (_FP_SQRT_MEAT_2): Likewise.
31848 (_FP_FRAC_ASSEMBLE_2): Likewise.
31849 (_FP_FRAC_DISASSEMBLE_2): Likewise.
31850 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31851 (_FP_FRAC_CLZ_4): Likewise.
31852 (_FP_MUL_MEAT_4_wide): Likewise.
31853 (_FP_MUL_MEAT_4_gmp): Likewise.
31854 (_FP_SQRT_MEAT_4): Likewise.
31855 (_FP_FRAC_ASSEMBLE_4): Likewise.
31856 (_FP_FRAC_DISASSEMBLE_4): Likewise.
31857 * soft-fp/op-common.h (_FP_CMP): Likewise.
31858 (_FP_CMP_EQ): Likewise.
31859 (_FP_CMP_UNORD): Likewise.
31860 (_FP_TO_INT): Likewise.
31861 (_FP_FROM_INT): Likewise.
31862 [!__FP_CLZ] (__FP_CLZ): Likewise.
31863 (_FP_DIV_HELP_imm): Likewise.
31864 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31865 Likewise.
31866 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31868 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31872 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31876 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31877 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31879 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31880 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31881 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31882 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31887 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31894 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31895 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31896 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31898 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31899 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31900 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31901 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31902 (FP_UNPACK_RAW_SP): Likewise.
31903 (FP_PACK_RAW_S): Likewise.
31904 (FP_PACK_RAW_SP): Likewise.
31905 (FP_UNPACK_S): Likewise.
31906 (FP_UNPACK_SP): Likewise.
31907 (FP_UNPACK_SEMIRAW_S): Likewise.
31908 (FP_UNPACK_SEMIRAW_SP): Likewise.
31909 (FP_PACK_S): Likewise.
31910 (FP_PACK_SP): Likewise.
31911 (FP_PACK_SEMIRAW_S): Likewise.
31912 (FP_PACK_SEMIRAW_SP): Likewise.
31913 (_FP_SQRT_MEAT_S): Likewise.
31914 (FP_CMP_S): Likewise.
31915 (FP_CMP_EQ_S): Likewise.
31916 (FP_CMP_UNORD_S): Likewise.
31917 (FP_TO_INT_S): Likewise.
31918 (FP_FROM_INT_S): Likewise.
31919
31920 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31921
31922 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31923 (FP_EX_INVALID_IMZ): Likewise.
31924 (FP_EX_INVALID_IMZ_FMA): Likewise.
31925 (FP_EX_INVALID_ISI): Likewise.
31926 (FP_EX_INVALID_ZDZ): Likewise.
31927 (FP_EX_INVALID_IDI): Likewise.
31928 (FP_EX_INVALID_SQRT): Likewise.
31929 (FP_EX_INVALID_CVI): Likewise.
31930 (FP_EX_INVALID_VC): Likewise.
31931 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31932 "invalid" exceptions.
31933 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31934 (_FP_ADD_INTERNAL): Likewise.
31935 (_FP_MUL): Likewise.
31936 (_FP_FMA): Likewise.
31937 (_FP_DIV): Likewise.
31938 (_FP_CMP_CHECK_NAN): Likewise.
31939 (_FP_SQRT): Likewise.
31940 (_FP_TO_INT): Likewise.
31941 (FP_EXTEND): Likewise.
31942
31943 2014-10-09 Allan McRae <allan@archlinux.org>
31944
31945 * po/fr.po: Update French translation from translation project.
31946
31947 2014-10-09 Joseph Myers <joseph@codesourcery.com>
31948
31949 [BZ #14132]
31950 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31951 of INTDEF.
31952 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31953 (__cxa_atexit): Use libc_hidden_proto.
31954 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31955
31956 [BZ #14132]
31957 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31958 declaration.
31959 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31960 [!_ISOMAC] (__iswspace_l_internal): Likewise.
31961 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31962 [!_ISOMAC] (__iswctype_internal): Likewise.
31963 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31964 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31965 alias.
31966 (fcntl): Remove __fcntl_internal alias.
31967 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31968 __connect_internal alias.
31969 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31970 Likewise.
31971
31972 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31973 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31974 FP_DENORM_ZERO.
31975 (_FP_CHECK_FLUSH_ZERO): New macro.
31976 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31977 (_FP_CMP): Likewise.
31978 (_FP_CMP_EQ): Likewise.
31979 (_FP_TO_INT): Do not set inexact for subnormal arguments if
31980 FP_DENORM_ZERO.
31981 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31982 (FP_TRUNC): Likewise.
31983
31984 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31985 treated as invalid conversion, not as normal exponent.
31986
31987 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31988 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
31989 (_FP_CMP_EQ): Likewise.
31990 (_FP_CMP_UNORD): Likewise.
31991 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31992 (FP_CMP_EQ_D): Likewise.
31993 (FP_CMP_UNORD_D): Likewise.
31994 * soft-fp/extended.h (FP_CMP_E): Likewise.
31995 (FP_CMP_EQ_E): Likewise.
31996 (FP_CMP_UNORD_E): Likewise.
31997 * soft-fp/quad.h (FP_CMP_Q): Likewise.
31998 (FP_CMP_EQ_Q): Likewise.
31999 (FP_CMP_UNORD_Q): Likewise.
32000 * soft-fp/single.h (FP_CMP_S): Likewise.
32001 (FP_CMP_EQ_S): Likewise.
32002 (FP_CMP_UNORD_S): Likewise.
32003 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32004 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32005 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32006 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32007 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32008 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32009 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32010 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32011 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32012 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32013 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32014 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32015 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32016 to FP_CMP_Q.
32017 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32018 FP_CMP_Q.
32019 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32020 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32021 FP_CMP_EQ_Q.
32022 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32023 FP_CMP_Q.
32024 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32025 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32026 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32027 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32028 FP_CMP_EQ_Q.
32029 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32030 FP_CMP_Q.
32031 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32032 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32033 FP_CMP_EQ_Q.
32034 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32035 FP_CMP_Q.
32036 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32037 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32038 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32039 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32040 FP_CMP_EQ_Q.
32041
32042 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32043 a subnormal result, set the underflow exception if trapping on
32044 underflow is enabled.
32045 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32046 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32047 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32048 redefine to 0.
32049 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32050 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32051 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32052 * soft-fp/extendxftf2.c (__extendxftf2): Use
32053 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32054
32055 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32056 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32057 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32058 FP_HANDLE_EXCEPTIONS.
32059 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32060 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32061 FP_HANDLE_EXCEPTIONS.
32062 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32063 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32064 FP_HANDLE_EXCEPTIONS.
32065 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32066 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32067 FP_HANDLE_EXCEPTIONS.
32068
32069 2014-10-08 Joseph Myers <joseph@codesourcery.com>
32070
32071 [BZ #14132]
32072 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32073 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32074 use INTUSE.
32075 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32076 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32077 Remove alias.
32078 (__adjtimex): Define using libc_hidden_ver.
32079 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32080 Remove declaration.
32081 (ntp_gettime): Call __adjtimex directly.
32082 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32083 Remove declaration.
32084 (ntp_gettimex): Call __adjtimex directly.
32085 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32086 __adjtimex_internal alias.
32087
32088 2014-10-08 Roland McGrath <roland@hack.frob.com>
32089
32090 [BZ #17460]
32091 * nscd/nscd.c (more_help): Rewrite list of tables collection
32092 using xstrdup and asprintf.
32093
32094 * nscd/nscd_conf.c: Remove local xstrdup declaration.
32095
32096 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32097 Roland McGrath <roland@hack.frob.com>
32098
32099 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32100 (do_lookup_unique): ... local function 'enter' here; update callers.
32101
32102 2014-10-06 Joseph Myers <joseph@codesourcery.com>
32103
32104 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32105 compat_symbol calls on [SHARED].
32106 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32107 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32108 Remove.
32109 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32110 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32111 (oldsetrlimit): Remove.
32112 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32114 (lchown): New syscall entry.
32115 (oldsetrlimit): Remove.
32116 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32117 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32118 (oldsetrlimit): Remove.
32119 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32120
32121 [BZ #14138]
32122 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32123 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32124 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32125 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32126 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32127 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32128 (fchown): Likewise.
32129 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32130 (fchown): Likewise.
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32132 Likewise.
32133
32134 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32135
32136 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32137 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32138 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32139 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32140 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32141 Likewise.
32142 (__old_sem_post): Likewise.
32143
32144 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
32145
32146 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32147 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32148 HAVE_CLOCK_GETTIME_VSYSCALL macros.
32149 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32150 Use INLINE_VSYSCALL macro.
32151 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32152 __vdso_clock_gettime.
32153 * sysdeps/unix/sysv/linux/tile/init-first.c
32154 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32155 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32156 __vdso_clock_gettime.
32157
32158 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32159 to set up frame more cleanly.
32160
32161 * sysdeps/tile/memcmp.c: New file.
32162
32163 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32164
32165 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32166 * sysdeps/tile/tilegx/strcasestr.c: New file.
32167 * sysdeps/tile/tilegx/strnlen.c: New file.
32168 * sysdeps/tile/tilegx/strstr.c: New file.
32169
32170 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32171
32172 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
32173
32174 * nptl/tst-setuid3.c: Write errors to stdout.
32175
32176 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32177
32178 * elf/dl-deps.c
32179 (preload): New functions broken out of _dl_map_object_deps.
32180 (_dl_map_object_deps): Remove a nested function. Update call sites.
32181
32182 2014-10-01 Joseph Myers <joseph@codesourcery.com>
32183
32184 [BZ #14138]
32185 * sysdeps/unix/sysv/linux/execve.c: Remove file.
32186 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32187
32188 2014-10-01 Steve Ellcey <sellcey@mips.com>
32189
32190 * sysdeps/mips/strcmp.S: New.
32191
32192 2014-09-30 Joseph Myers <joseph@codesourcery.com>
32193
32194 [BZ #14138]
32195 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32196 (linkat): Likewise.
32197 (mkdirat): Likewise.
32198 (readlinkat): Likewise.
32199 (renameat): Likewise.
32200 (symlinkat): Likewise.
32201 (unlinkat): Likewise.
32202 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32203 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32204 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32205 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32206 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32207 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32208 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32209
32210 2014-09-30 Will Newton <will.newton@linaro.org>
32211
32212 * math/math.h: Define long double math functions if
32213 _LIBC_TEST is defined.
32214 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32215
32216 * localedata/Makefile: Move assignment to tests-special
32217 into an ifdef testing run-built-tests.
32218 * timezone/Makefile: Likewise.
32219
32220 2014-09-29 Joseph Myers <joseph@codesourcery.com>
32221
32222 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32223 with $(BASH) not $(SHELL).
32224
32225 2014-09-29 Carlos O'Donell <carlos@redhat.com>
32226 Matthew LeGendre <legendre1@llnl.gov>
32227
32228 [BZ #17411]
32229 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32230 l_reloc_result.
32231
32232 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32233
32234 * stdio-common/printf_fp.c
32235 (hack_digit): New function, broken out of ...
32236 (__printf_fp): ... local function here. Update call sites.
32237 hack_digit now takes an additional parameter that is a pointer
32238 to a struct of the referenced locals. Those locals moved inside
32239 the struct and references updated.
32240
32241 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 * aclocal.m4: Require autoconf 2.69.
32244 * configure: Regenerated.
32245 * sysdeps/aarch64/configure: Likewise.
32246 * sysdeps/alpha/configure: Likewise.
32247 * sysdeps/arm/armv7/configure: Likewise.
32248 * sysdeps/arm/configure: Likewise.
32249 * sysdeps/ia64/configure: Likewise.
32250 * sysdeps/mach/configure: Likewise.
32251 * sysdeps/mips/configure: Likewise.
32252 * sysdeps/s390/configure: Likewise.
32253 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32255
32256 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32257 file.
32258 * sysdeps/ia64/configure.ac: Likewise.
32259
32260 2014-09-26 Joseph Myers <joseph@codesourcery.com>
32261
32262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32263 specify symbol version for ld.so. Do not include entry for
32264 libpthread.
32265 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32268
32269 [BZ #14171]
32270 * Makeconfig [$(build-shared) = yes]
32271 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32272 makefiles.
32273 [$(build-shared) = yes && $(soversions.mk-done) = t]
32274 ($(common-objpfx)gnu/lib-names.h): Remove rule.
32275 [$(build-shared) = yes && $(soversions.mk-done) = t]
32276 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
32277 to Makerules.
32278 [$(build-shared) = yes && $(soversions.mk-done) = t]
32279 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32280 here.
32281 [$(build-shared) = yes && $(soversions.mk-done) = t]
32282 (common-generated): Don't append gnu/lib-names.h and
32283 gnu/lib-names.stmp here.
32284 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32285 (lib-names-h-abi): New variable.
32286 [$(build-shared) = yes && $(soversions.mk-done) = t]
32287 (lib-names-stmp-abi): Likewise.
32288 [$(build-shared) = yes && $(soversions.mk-done) = t &&
32289 abi-variants] (before-compile): Append
32290 $(common-objpfx)$(lib-names-h-abi).
32291 [$(build-shared) = yes && $(soversions.mk-done) = t &&
32292 abi-variants] (common-generated): Append gnu/lib-names.h.
32293 [$(build-shared) = yes && $(soversions.mk-done) = t &&
32294 abi-variants] (install-others-nosubdir): Depend on
32295 $(inst_includedir)/$(lib-names-h-abi).
32296 [$(build-shared) = yes && $(soversions.mk-done) = t &&
32297 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32298 [$(build-shared) = yes && $(soversions.mk-done) = t]
32299 ($(common-objpfx)$(lib-names-h-abi)): New rule.
32300 [$(build-shared) = yes && $(soversions.mk-done) = t]
32301 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32302 [$(build-shared) = yes && $(soversions.mk-done) = t]
32303 (common-generated): Append $(lib-names-h-abi) and
32304 $(lib-names-stmp-abi).
32305 * scripts/lib-names.awk: Do not handle multi being set.
32306 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32307 Remove variable.
32308 (abi-lp64_be-ld-soname): Likewise.
32309 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32310 Likewise.
32311 (abi-hard-ld-soname): Likewise.
32312 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32313 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32314 Remove variable.
32315 (abi-o32_hard-ld-soname): Likewise.
32316 (abi-o32_soft_2008-ld-soname): Likewise.
32317 (abi-o32_hard_2008-ld-soname): Likewise.
32318 (abi-n32_soft-ld-soname): Likewise.
32319 (abi-n32_hard-ld-soname): Likewise.
32320 (abi-n32_soft_2008-ld-soname): Likewise.
32321 (abi-n32_hard_2008-ld-soname): Likewise.
32322 (abi-n64_soft-ld-soname): Likewise.
32323 (abi-n64_hard-ld-soname): Likewise.
32324 (abi-n64_soft_2008-ld-soname): Likewise.
32325 (abi-n64_hard_2008-ld-soname): Likewise.
32326 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32327 Likewise.
32328 (abi-64-v2-ld-soname): Likewise.
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32330 ld.so entries.
32331 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32332 variable.
32333 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32334 entry.
32335 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32336 variable.
32337 (abi-64-ld-soname): Likewise.
32338 (abi-x32-ld-soname): Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32340 entry.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32342
32343 2014-09-23 Joseph Myers <joseph@codesourcery.com>
32344
32345 [BZ #14138]
32346 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32347 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32348 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32349 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32350 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32351 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32352 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32353 syscall entry for GLIBC_2.2 symbol version.
32354 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32355 Likewise.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32357 (setrlimit): Likewise.
32358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32359 Likewise.
32360
32361 2014-09-23 Will Newton <will.newton@linaro.org>
32362
32363 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32364 _LINUX_ARM_SYSDEP_H include guard too.
32365 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32366 define.
32367
32368 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
32369
32370 * sysdeps/unix/sysv/linux/eventfd.c:
32371 Make first argument unsigned.
32372 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32373 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32374
32375 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
32376
32377 [BZ #16852]
32378 * socket/recvmmsg.c (recvmmsg): Drop const argument.
32379 * socket/sys/socket.h: Likewise.
32380 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32381
32382 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32383
32384 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32385
32386 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
32387
32388 * time/tst-ftime.c: New test.
32389 * time/Makefile (tests): Add tst-ftime.
32390
32391 2014-09-17 Joseph Myers <joseph@codesourcery.com>
32392
32393 * soft-fp/extended.h: Fix comment formatting.
32394 * soft-fp/op-1.h: Likewise.
32395 * soft-fp/op-2.h: Likewise.
32396 * soft-fp/op-4.h: Likewise.
32397 * soft-fp/op-8.h: Likewise.
32398 * soft-fp/op-common.h: Likewise.
32399 * soft-fp/soft-fp.h: Likewise.
32400
32401 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32402
32403 2014-09-16 Joseph Myers <joseph@codesourcery.com>
32404
32405 [BZ #6652]
32406 * Makeconfig (soversions-default-setname): Remove variable.
32407 ($(common-objpfx)soversions.i): Don't pass default_setname to
32408 soversions.awk.
32409 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32410 oldest_abi to abi-versions.awk.
32411 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32412 * config.make.in (oldest-abi): Remove variable.
32413 * configure.ac (--enable-oldest-abi): Remove configure option.
32414 * configure: Regenerated.
32415 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32416 text.
32417 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32418 * scripts/soversions.awk: Do not handle default_setname variable.
32419 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32420 variable.
32421 * sysdeps/mach/hurd/configure: Regenerated.
32422 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32423 variable.
32424 * sysdeps/unix/sysv/linux/configure: Regenerated.
32425
32426 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32427
32428 * elf/Makefile (CFLAGS-interp.c): Remove.
32429 ($(elf-objpfx)runtime-linker.h): Generate header with linker
32430 path string.
32431 * elf/interp.c: Include generated runtime-linker.h
32432
32433 * Makerules (lib%.so): Don't include $(+interp) in
32434 prerequisites.
32435 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32436 * dlfcn/eval.c: Remove file.
32437
32438 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32439 macros.
32440
32441 [BZ #17266]
32442 * misc/sys/cdefs.h: Define __extern_always_inline for clang
32443 4.2 and newer.
32444
32445 [BZ #17370]
32446 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32447
32448 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32449 Jakub Jelinek <jakub@redhat.com>
32450
32451 [BZ #17266]
32452 * libio/stdio.h: Check definition of __fortify_function
32453 instead of __extern_always_inline to include bits/stdio2.h.
32454 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32455 check if __extern_always_inline is defined.
32456 [__USE_MISC || __USE_XOPEN]: Likewise.
32457 [__USE_ISOC99] Likewise.
32458 * misc/sys/cdefs.h (__fortify_function): Define only if
32459 __extern_always_inline is defined.
32460 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32461 __extern_always_inline and __extern_inline only for g++-4.3
32462 and newer or a compatible gcc.
32463
32464 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
32465
32466 [BZ #17371]
32467 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32468 last change to handle zero prefix length.
32469
32470 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32471
32472 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32473 _SC_REGEX_VERSION.
32474
32475 * posix/getconf.c (vars): Add _POSIX_IPV6 and
32476 _POSIX_RAW_SOCKETS.
32477
32478 2014-09-13 Allan McRae <allan@archlinux.org>
32479
32480 * po/ru.po: Update Russian translation from translation project.
32481
32482 2014-09-12 Roland McGrath <roland@hack.frob.com>
32483
32484 * locale/programs/locale.c (show_locale_vars): Inline local function
32485 into its sole call site. Clean up some style nits.
32486 (print_item): New function, broken out of ...
32487 (show_info): ... local function here. Clean up style nits.
32488
32489 * locale/programs/ld-ctype.c (set_one_default): New function, broken
32490 out of ...
32491 (set_class_defaults): ... local function set_default here.
32492 Define set_default as a macro locally to pass constant parameters.
32493 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32494 rather than a shared local.
32495
32496 * stdlib/rpmatch.c (try): New function, broken out of ...
32497 (rpmatch): ... local function here. Also, prototypify definition.
32498
32499 2014-09-12 Joseph Myers <joseph@codesourcery.com>
32500
32501 * scripts/soversions.awk: Do not handle configuration names.
32502 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32503 vendor and os variables to soversions.awk.
32504 * configure.ac: Do not modify gnu-* host_os.
32505 * configure: Regenerated
32506 * shlib-versions: Remove first column with configuration names.
32507 * nptl/shlib-versions: Likewise.
32508 * nptl_db/shlib-versions: Likewise.
32509 * sysdeps/hppa/shlib-versions: Likewise.
32510 * sysdeps/m68k/shlib-versions: Likewise.
32511 * sysdeps/mach/hurd/shlib-versions: Likewise.
32512 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32513 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32514 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32515 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32516 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32517 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32518 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32519 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32521 Likewise.
32522 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32523 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32524 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32525 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32526 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32527 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32528 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32529 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32530
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32532 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32534 Regenerated.
32535 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32537 Condition symbol version definitions on [HAVE_ELFV2_ABI].
32538
32539 * shlib-versions: Remove OS-specific entries. Moved to files in
32540 sysdeps.
32541 * sysdeps/mach/hurd/shlib-versions: New file.
32542 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32543
32544 * nptl/shlib-versions: Remove architecture-specific entries.
32545 Moved to files in sysdeps.
32546 * shlib-versions: Likewise.
32547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32548 file.
32549 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32550 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32551 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32552 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32553
32554 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32555 (UDP_NO_CHECK6_RX): Likewise.
32556
32557 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32558
32559 * sysdeps/posix/sysconf.c (__sysconf): Spell
32560 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32561
32562 2014-08-12 Florian Weimer <fweimer@redhat.com>
32563
32564 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32565 loading.
32566 * iconv/Versions (__gconv_transliterate): Export for use from
32567 gconv modules.
32568 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32569 (struct __gconv_trans_data, __gconv_trans_fct,
32570 __gconv_trans_context_fct, __gconv_trans_query_fct,
32571 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32572 definitions.
32573 (struct __gconv_step_data): Remove __trans member.
32574 (__gconv_transliterate): Declaration moved from gconv_int.h. No
32575 longer hidden. Remove unused trans_data argument.
32576 * iconv/gconv_int.h (struct trans_struct): Remove definition.
32577 (__gconv_translit_find): Remove declaration.
32578 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
32579 prototype.
32580 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32581 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32582 trans_data argument. Add hidden definition.
32583 (__gconv_translit_find): Remove.
32584 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32585 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32586 * iconv/skeleton.c: Remove transliteration initialization.
32587 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32588 __gconv_step_data initialization.
32589 * libio/iofwide.c (__libio_translit_): Remove.
32590 (_IO_fwide): Adjust struct __gconv_step_data initialization.
32591 * wcsmbs/btowc.c (__btowc): Likewise.
32592 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32593 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32594 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32595 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32596 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32597 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32598 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32599 * wcsmbs/wctob.c (wctob): Likewise.
32600
32601 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32602
32603 [BZ #16194]
32604 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32605 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
32606 register usage.
32607 * sysdeps/x86/Makefile: Adjust.
32608
32609 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32610 Roland McGrath <roland@hack.frob.com>
32611
32612 * locale/weight.h: Add include guard.
32613 (findidx): Make static rather than auto; take new parameters
32614 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32615 * locale/weightwc.h: Likewise.
32616 * posix/fnmatch_loop.c
32617 (FCT): Change type of EXTRA from int32_t to wint_t.
32618 Don't include either header inside the function.
32619 Call FINDIDX rather than findidx, and pass new arguments.
32620 #undef FINDIDX at the end of the file.
32621 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32622 FINDIDX before including fnmatch_loop.c for the non-wide version.
32623 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32624 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32625 for the wide version.
32626 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32627 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32628 Pass new arguments to findidx.
32629 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32630 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32631 Don't #include it inside the function. Pass new arguments to findidx.
32632 * posix/regex_internal.h
32633 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32634 (re_string_elem_size_at): Don't #include it inside the function.
32635 Pass new arguments to findidx.
32636 * string/strcoll_l.c: #include WEIGHT_H at top level.
32637 (get_next_seq): Don't #include it inside the function.
32638 Pass new arguments to findidx.
32639 (get_next_seq_nocache): Likewise.
32640 * string/strxfrm_l.c: #include WEIGHT_H at top level.
32641 (STRXFRM): Don't #include it inside the function.
32642 Pass new arguments to findidx.
32643
32644 2014-09-11 Florian Weimer <fweimer@redhat.com>
32645
32646 [BZ #17344]
32647 * malloc/malloc.c (unlink): Turn asserts into a call to
32648 malloc_printerr.
32649
32650 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
32651
32652 [BZ #17370]
32653 * libio/wfileops (do_ftell_wide): Free OUT.
32654
32655 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
32656
32657 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32658
32659 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32660
32661 [BZ #17363]
32662 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32663 group if the current group is empty.
32664
32665 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32666
32667 * benchtests/bench-memset.c (test_main): Add more test from size
32668 from 32 to 512 bytes.
32669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32670 Add POWER8 memset object.
32671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32672 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32673 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32674 implementation.
32675 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32676 Likewise.
32677 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32678 multiarch POWER8 memset optimization.
32679 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32680 POWER8 memset optimization.
32681
32682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32683 Remove bzero multiarch objects.
32684 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32685 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32686 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32687 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32688 Remove define.
32689 [__bzero]: Redefine to specific name.
32690 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32691 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32692 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32693 define.
32694 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32695 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32696
32697 2014-09-10 Florian Weimer <fweimer@redhat.com>
32698
32699 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32700 warnings into errors.
32701
32702 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32703 __cxa_thread_atexit_impl prototype.
32704
32705 2014-09-09 Steve Ellcey <sellcey@mips.com>
32706
32707 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32708 Fix capitalization of error message.
32709
32710 2014-09-09 Steve Ellcey <sellcey@mips.com>
32711
32712 * sysdeps/mips/preconfigure: Modify ABI tests.
32713
32714 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
32715
32716 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32717
32718 2014-09-07 Roland McGrath <roland@hack.frob.com>
32719 Carlos O'Donell <carlos@systemhalted.org>
32720
32721 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32722 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32723 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32724 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32725 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32726 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32727 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32728 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32729 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32730 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32731 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32732 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32733 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32734 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32735 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32736 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32737 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32738 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32739 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32740 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32741 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32742 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32743 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32744 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32745 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32746 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32747 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32748 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32749 Deconditionalize the code that was previously under [RESET_PID].
32750 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32751 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32752 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32753 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32754 include sysdep.h.
32755
32756 2014-09-08 Allan McRae <allan@archlinux.org>
32757
32758 * version.h (RELEASE): Set to "development".
32759 (VERSION): Set to "2.20.90"
32760
32761 2014-09-07 Allan McRae <allan@archlinux.org
32762
32763 * version.h (RELEASE): Set to "stable".
32764 (VERSION): Set to "2.20"
32765 * include/features.h (__GLIBC_MINOR__): Set to 20.
32766
32767 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32768 Liebler.
32769
32770 * po/ko.po: Update Korean translation from translation project.
32771
32772 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
32773
32774 [BZ #17354]
32775 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32776 macro for handling signed relocations.
32777
32778 2014-09-03 Florian Weimer <fweimer@redhat.com>
32779
32780 [BZ #17325]
32781 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32782 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32783 assert.
32784 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32785 * iconvdata/ibm935.c (BODY): Likewise.
32786 * iconvdata/ibm937.c (BODY): Likewise.
32787 * iconvdata/ibm939.c (BODY): Likewise.
32788 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32789 assert.
32790 * iconvdata/Makefile (iconv-test.out): Pass module list to test
32791 script.
32792 * iconvdata/run-iconv-test.sh: New test loop for checking for
32793 decoder crashers.
32794
32795 2014-09-02 Khem Raj <raj.khem@gmail.com>
32796
32797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32798 libm_hidden_ver.
32799
32800 2014-09-01 Allan McRae <allan@archlinux.org>
32801
32802 * po/eo.po: Update Esperanto translation from translation project.
32803
32804 * po/ca.po: Update Catalan translation from translation project.
32805
32806 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
32807
32808 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32809 __proc_dostop call.
32810
32811 2014-08-27 Mark Wielaard <mjw@redhat.com>
32812
32813 [BZ #17319]
32814 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32815 to call set_thread_area instead of hand written asm.
32816 (__NR_set_thread_area): Removed define.
32817 (TLS_FLAG_WRITABLE): Likewise.
32818 (__ASSUME_SET_THREAD_AREA): Remove check.
32819 (TLS_EBX_ARG): Remove define.
32820 (TLS_LOAD_EBX): Likewise.
32821
32822 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32823
32824 Simplify atomicity of socket creation in bind.
32825
32826 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32827 looking up the name after linking the file.
32828
32829 2014-08-27 Allan McRae <allan@archlinux.org>
32830
32831 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32832
32833 2014-08-26 Florian Weimer <fweimer@redhat.com>
32834
32835 [BZ #17187]
32836 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32837 trans_compare, open_translit, __gconv_translit_find):
32838 Remove module loading code.
32839
32840 2014-08-26 Allan McRae <allan@archlinux.org>
32841
32842 * po/vi.po: Update Vietnamese translation from translation project.
32843
32844 * po/uk.po: Update Ukrainian translation from translation project.
32845
32846 * po/fr.po: Update French translation from translation project.
32847
32848 * po/ru.po: Update Russian translation from translation project.
32849
32850 * po/pl.po: Update Polish translation from translation project.
32851
32852 * po/cs.po: Update Czech translation from translation project.
32853
32854 * po/de.po: Update German translation from translation project.
32855
32856 * po/bg.po: Update Bulgarian translation from translation project.
32857
32858 * po/sv.po: Update Sweedish translation from translation project.
32859
32860 * po/nl.po: Update Dutch translation from translation project.
32861
32862 * po/es.po: Update Spanish translation from translation project.
32863
32864 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32865
32866 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32867
32868 * catgets/Makefile (CPPFLAGS-gencat): Remove.
32869 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32870 (CPPFLAGS-iconvconfig): Likewise.
32871 * timezone/Makefile (CPPFLAGS-zic): Likewise.
32872
32873 * include/libc-symbols.h: Remove unnecessary check for
32874 NOT_IN_libc.
32875 * nptl/pthreadP.h: Likewise.
32876 * sysdeps/aarch64/setjmp.S: Likewise.
32877 * sysdeps/alpha/setjmp.S: Likewise.
32878 * sysdeps/arm/sysdep.h: Likewise.
32879 * sysdeps/i386/setjmp.S: Likewise.
32880 * sysdeps/m68k/setjmp.c: Likewise.
32881 * sysdeps/posix/getcwd.c: Likewise.
32882 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32884 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32885 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32886 * sysdeps/sh/sh3/setjmp.S: Likewise.
32887 * sysdeps/sh/sh4/setjmp.S: Likewise.
32888 * sysdeps/unix/alpha/sysdep.h: Likewise.
32889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32891 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32892 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32900 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32902 * sysdeps/x86_64/setjmp.S: Likewise.
32903
32904 2014-08-13 Joseph Myers <joseph@codesourcery.com>
32905
32906 [BZ #17263]
32907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32908 <stdint.h>.
32909 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32910 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32911
32912 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32913
32914 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32915
32916 [BZ #17262]
32917 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32918 and __x86_64__ when disabling x87 inline functions.
32919
32920 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
32921
32922 [BZ #17259]
32923 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32924 asm statement with __cpuid_count.
32925
32926 2014-08-12 Mike Frysinger <vapier@gentoo.org>
32927
32928 * configure.ac: Change __ehdr_start code to dereference the struct.
32929 Run readelf on the output to look for relocations.
32930 * configure: Regenerated.
32931
32932 2014-08-12 Joseph Myers <joseph@codesourcery.com>
32933
32934 [BZ #17261]
32935 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32936 value to 0.
32937 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32938
32939 2014-08-12 Roland McGrath <roland@hack.frob.com>
32940
32941 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32942
32943 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
32944
32945 [BZ #16892]
32946 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32947 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32948
32949 2014-08-12 Sean Anderson <seanga2@gmail.com>
32950
32951 * malloc/malloc.c: Fix typo in comment.
32952
32953 2014-08-09 Allan McRae <allan@archlinux.org>
32954
32955 * Regenerate libc.po.
32956
32957 2014-08-08 Mike Frysinger <vapier@gentoo.org>
32958
32959 * intl/tst-gettext2.sh: Check every lang file for creation.
32960
32961 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
32962
32963 * sysdeps/aarch64/fpu/math_private.h
32964 (libc_feholdsetround_noex_aarch64_ctx): New function.
32965
32966 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
32967
32968 * sysdeps/arm/armv6/strcpy.S (strcpy):
32969 Fix performance issue in misaligned cases.
32970
32971 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32972
32973 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32974 Move definition from termios.h.
32975 (struct termio): Likewise.
32976 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32977 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32978 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32979 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32980 Likewise.
32981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32982 Move definition to ioctl-types.h
32983 (struct termio): Likewise.
32984 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32985 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32986 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32987 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32988 Likewise.
32989
32990 2014-08-05 Richard Henderson <rth@redhat.com>
32991
32992 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32993 exceptions.
32994 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32995 Add fraiseexcpt.
32996 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32997 Use __feraiseexcept.
32998 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32999 Protect libm symbols with IS_IN_libm.
33000
33001 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33002
33003 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
33004
33005 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33006
33007 2014-08-04 Will Newton <will.newton@linaro.org>
33008
33009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33010 file.
33011
33012 2014-08-04 Mike Frysinger <vapier@gentoo.org>
33013
33014 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33015 variants for each function.
33016
33017 2014-08-04 Roland McGrath <roland@hack.frob.com>
33018
33019 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33020 appended ...
33021 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33022 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33023 appended ...
33024 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33025 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33026 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33027 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33028 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33029 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33030 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33031 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33032 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33033 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33034 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33035 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33036 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33037 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33038 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33039 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33041 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33042 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33043 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33044 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33045 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33047 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33048 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33049 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33050 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33051 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33052 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33053 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33054 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33055 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33056 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33057 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33058 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33059 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33060 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33061 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33062 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33063 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33064 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33066 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33068 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33070 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33072 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33073 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33074 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33075 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33076 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33077 Update #include.
33078 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33079 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33080
33081 2014-08-04 Roland McGrath <roland@hack.frob.com>
33082
33083 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33084 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33085 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33086 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33087 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33088 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33089
33090 2014-08-04 Roland McGrath <roland@hack.frob.com>
33091
33092 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33093 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33094 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33095 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33096
33097 2014-08-04 Roland McGrath <roland@hack.frob.com>
33098
33099 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33100 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33101 (__libc_vfork): Define function under this name.
33102 (__vfork): Define as an alias.
33103 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33104 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33105
33106 2014-08-04 Roland McGrath <roland@hack.frob.com>
33107
33108 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33109 that was previously under [RESET_PID].
33110 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33111
33112 2014-08-04 Andreas Schwab <schwab@suse.de>
33113
33114 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33115
33116 2014-08-03 Mike Frysinger <vapier@gentoo.org>
33117
33118 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33119 (main): Likewise.
33120
33121 2014-08-01 Roland McGrath <roland@hack.frob.com>
33122
33123 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33124
33125 2014-08-01 Richard Henderon <rth@redhat.com>
33126
33127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33128 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33129 typo in exact zero test.
33130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33133
33134 2014-08-01 Roland McGrath <roland@hack.frob.com>
33135
33136 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33137 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33138 * sysdeps/arm/sysdep.h: ... here.
33139 [!__ASSEMBLER__]: Include <stdint.h>.
33140
33141 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33142
33143 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33144 (HAVE_WCTYPE_H): Likewise.
33145 (HAVE_ISWCTYPE): Likewise.
33146 (ENABLE_NLS): Likewise.
33147 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33148 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33149
33150 * posix/regex_internal.c: Check if DEBUG is defined and is
33151 set.
33152
33153 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33154 (HAVE_MBSRTOWCS): Likewise.
33155 * posix/fnmatch.c: Include string.h unconditionally.
33156
33157 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
33158
33159 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33160 reversal.
33161
33162 2014-07-31 Roland McGrath <roland@hack.frob.com>
33163
33164 * sysdeps/generic/safe-fatal.h: New file.
33165 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33166 * nptl/forward.c: Include it.
33167 (__pthread_unwind): Use __safe_fatal as default action, rather
33168 than a bogus use of INTERNAL_SYSCALL that could never work.
33169
33170 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33171 * configure.ac (libc_cv_builtin_trap): New test.
33172 * configure: Regenerated.
33173 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33174 (ABORT_INSTRUCTION): Define using __builtin_trap.
33175
33176 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33177 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33178 * sysdeps/nptl/nptl-signals.h: New file.
33179 * nptl/pthreadP.h: Include <nptl-signals.h>.
33180
33181 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
33182
33183 * sysdeps/s390/s390-64/utf16-utf32-z9.c
33184 (ONE_DIRECTION): Define.
33185 * sysdeps/s390/s390-64/utf8-utf16-z9.c
33186 (ONE_DIRECTION): Define.
33187 * sysdeps/s390/s390-64/utf8-utf32-z9.c
33188 (ONE_DIRECTION): Define.
33189
33190 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
33191
33192 * sysdeps/s390/Makefile: Delete file.
33193 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33194 * sysdeps/s390/__longjmp.c: Delete file.
33195 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33196 Remove fields __flags and __reserved.
33197 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33198 and add versioning.
33199 * sysdeps/s390/rtld-__longjmp.c: Delete file.
33200 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33201 * sysdeps/s390/rtld-setjmp.S: Likewise.
33202 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33203 * sysdeps/s390/s390-32/__longjmp.c: ... here.
33204 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33205 * sysdeps/s390/s390-32/setjmp.S: ... here.
33206 Add versioning.
33207 (__sigsetjmp): Remove setting __flags field.
33208 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33209 * sysdeps/s390/s390-64/__longjmp.c: ... here.
33210 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33211 * sysdeps/s390/s390-64/setjmp.S: ... here.
33212 Add versioning.
33213 (__sigsetjmp): Remove setting __flags field.
33214 * sysdeps/s390/setjmp.S: Delete file.
33215 * sysdeps/s390/sigjmp.c: Likewise.
33216 * sysdeps/s390/v1-longjmp.c: Likewise.
33217 * sysdeps/s390/v1-setjmp.h: Likewise.
33218 * sysdeps/s390/v1-sigjmp.c: Likewise.
33219 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33220 Remove v1-longjmp_chk.
33221 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33222 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33223 Include debug/longjmp_chk.c and add versioning.
33224 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33225 Include nptl/pt-longjmp.c and add versioning.
33226 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33227 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33228 Include __longjmp.c.
33229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33230 Move to ...
33231 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33232 (__getcontext): Remove setting __flags field.
33233 Add versioning.
33234 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33235 Don't restore upper high grps.
33236 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33237 Likewise.
33238 (__swapcontext): Remove setting uc_flags field.
33239 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33240 Delete file.
33241 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33242 Include __longjmp.c.
33243 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33244 Move to ...
33245 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33246 (__getcontext): Remove setting __flags field.
33247 Add versioning.
33248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33249 (__swapcontext): Remove setting uc_flags field.
33250 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33252 Remove fields uc_high_gprs and __reserved.
33253 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33254 New file with reverted content.
33255 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33257 Regenerated.
33258 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33259 Regenerated.
33260
33261 2014-07-31 Andreas Schwab <schwab@suse.de>
33262
33263 * config.h.in (HAVE_IFUNC): Define to 0.
33264 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33265 definedness.
33266
33267 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
33268
33269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33270 memmove-avx-unaligned, memcpy-avx-unaligned and
33271 mempcpy-avx-unaligned.
33272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33273 Add tests for AVX memcpy functions.
33274 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33275 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33276 memcpy_chk.
33277 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33278 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33279 memmove_chk.
33280 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33282 mempcpy_chk.
33283 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33284 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33285 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33286
33287 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33288
33289 [BZ #17213]
33290 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33291 powerpc64le.
33292
33293 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
33294
33295 [BZ #16839]
33296 * manual/llio.texi: Add section about open file description locks.
33297 * manual/examples/ofdlocks.c: Example of open file description
33298 lock usage.
33299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33300 F_OFD_SETLK, and F_OFD_SETLKW.
33301
33302 2014-07-23 Allan McRae <allan@archlinux.org>
33303
33304 * po/es.po: Update Spanish translation from translation project.
33305
33306 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
33307
33308 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33309
33310 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
33311
33312 [BZ #17078]
33313 * sysdeps/arm/dl-machine.h (elf_machine_rela)
33314 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33315 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33316
33317 2014-07-17 Joseph Myers <joseph@codesourcery.com>
33318
33319 [BZ #17088]
33320 * math/fesetenv.c (__fesetenv)
33321 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33322 * math/feupdateenv.c (__feupdateenv)
33323 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33324
33325 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33326 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33327 (__ASSUME_SOCKETCALL): Do not define.
33328
33329 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33330 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33331 (__ASSUME_SOCKETCALL): Do not define.
33332 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33333 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33334 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33335 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33336 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33337 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33338 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33339 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33340
33341 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33342 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33343 (__ASSUME_SOCKETCALL): Do not define.
33344 (__ASSUME_IPC64): Define unconditionally.
33345 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33346 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33347 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33348 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33349 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33351 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33352 Likewise.
33353
33354 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33355 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33356 (__ASSUME_SOCKETCALL): Do not define.
33357 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33358 (__ASSUME_FUTEX_LOCK_PI): Likewise.
33359 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33361 (__ASSUME_REQUEUE_PI): Define unconditionally.
33362 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33363 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33364 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33365 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33367 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33368
33369 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33370 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33371 (__ASSUME_SOCKETCALL): Do not define.
33372 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33373 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33374 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33375 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33376 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33377 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33378
33379 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33380 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33381 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33382 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33383 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33384 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33385 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33386 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33387 (__ASSUME_GETCPU_SYSCALL): Likewise.
33388
33389 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33390 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
33391 cases for individual architectures.
33392 * sysdeps/gnu/configure: Regenerated.
33393 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33394 LIBC_SLIBDIR_RTLDDIR.
33395 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33396 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33397 LIBC_SLIBDIR_RTLDDIR.
33398 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33400 LIBC_SLIBDIR_RTLDDIR.
33401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33402 Regenerated.
33403 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33404 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33405 file.
33406 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33407 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33408 file.
33409 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33410 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33411 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33412 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33413
33414 * sysdeps/aarch64/shlib-versions: Move to ...
33415 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33416 * sysdeps/alpha/shlib-versions: Move to ...
33417 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33418 * sysdeps/arm/shlib-versions: Move to ...
33419 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33420 * sysdeps/hppa/shlib-versions: Move all contents except for
33421 libgcc_s entry to ...
33422 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
33423 entry from ...
33424 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
33425 * sysdeps/ia64/shlib-versions: Move to ...
33426 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
33427 entry from ...
33428 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
33429 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33430 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33431 * sysdeps/microblaze/shlib-versions: Move to ...
33432 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33433 * sysdeps/mips/shlib-versions: Move to ...
33434 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
33435 entry from ...
33436 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
33437 * sysdeps/tile/shlib-versions: Move to ...
33438 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33439 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33440 from ...
33441 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
33442 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33443 entry from ...
33444 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
33445
33446 2014-07-17 Will Newton <will.newton@linaro.org>
33447
33448 * sysdeps/arm/bits/atomic.h
33449 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33450 (__arch_compare_and_exchange_bool_16_int): Likewise.
33451 (__arch_compare_and_exchange_bool_64_int): Likewise.
33452
33453 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33454 into an #else block.
33455
33456 2014-07-16 Roland McGrath <roland@hack.frob.com>
33457
33458 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33459 just Linux configurations. Test empirically that the compiler sets
33460 __ARM_EABI__, rather than using the tuple to decide.
33461 * sysdeps/arm/preconfigure: Regenerated.
33462 * sysdeps/unix/sysv/linux/arm/configure: File removed.
33463 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33464 contents appended ...
33465 * sysdeps/arm/configure.ac: ... here.
33466 * sysdeps/arm/configure: Regenerated.
33467
33468 2014-07-15 Roland McGrath <roland@hack.frob.com>
33469
33470 * nptl/pthread_kill.c: New file.
33471 * nptl/pthread_sigmask.c: New file.
33472 * nptl/pthread_sigqueue.c: New file.
33473
33474 * sysdeps/nptl/lowlevellock.h: New file.
33475 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33476 * sysdeps/nptl/lowlevellock-futex.h: New file.
33477
33478 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33479 Remove dead declarations.
33480
33481 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
33482
33483 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33484 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33485 config-cflags-avx2.
33486 * sysdeps/x86_64/configure.ac: Likewise.
33487 * sysdeps/i386/configure: Regenerated.
33488 * sysdeps/x86_64/configure: Likewise.
33489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33490 memset-avx2 only if config-cflags-avx2 is yes.
33491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33492 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33493 defined.
33494 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33495 only if HAVE_AVX2_SUPPORT is defined.
33496 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33497
33498 2014-07-14 Alan Modra <amodra@gmail.com>
33499
33500 [BZ #17153]
33501 * elf/elf.h (DT_PPC64_NUM): Correct value.
33502 * NEWS: Add to fixed bug list.
33503
33504 2014-07-13 Jim Meyering <meyering@fb.com>
33505
33506 [BZ 17150]
33507 regex: don't deref NULL upon heap allocation failure
33508 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33509 failure in one more place.
33510 To trigger the segfault, configure grep -with-included-regex,
33511 build it, and run these commands:
33512 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33513
33514 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
33515
33516 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33517
33518 2014-07-11 Richard Henderson <rth@redhat.com>
33519
33520 * sysdeps/aarch64/libm-test-ulps: Update.
33521
33522 2014-07-10 Florian Weimer <fweimer@redhat.com>
33523
33524 [BZ #17135]
33525 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33526 * nptl/allocatestack.c (__nptl_setxid_error): New function.
33527 (__nptl_setxid): Initialize error member. Call
33528 __nptl_setxid_error.
33529 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33530 * nptl/descr.h (struct xid_command): Add error member.
33531 * nptl/tst-setuid3.c: New file.
33532 * nptl/Makefile (tests): Add it.
33533
33534 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33535
33536 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33537 New define.
33538 (__lll_trylock): Use __lll_base_trylock.
33539 (__lll_cond_trylock): Likewise.
33540
33541 2014-07-10 Roland McGrath <roland@hack.frob.com>
33542
33543 * nptl/pthread_create.c (start_thread): Use atomic_or and
33544 lll_futex_wake directly rather than lll_robust_dead.
33545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33546 (lll_robust_dead): Macro removed.
33547 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33548 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33549 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33550 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33552 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33553 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33554 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33555 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33558 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33559 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33560 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33562
33563 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33564 Use atomic_compare_and_exchange_val_acq directly rather than
33565 lll_robust_trylock.
33566 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33567 (__lll_robust_trylock, lll_robust_trylock): Removed.
33568 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33569 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33570 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33571 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33572 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33573 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33574 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33575 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33577 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33578 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33579 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33580 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33582
33583 2014-07-02 Florian Weimer <fweimer@redhat.com>
33584
33585 * manual/locale.texi (Locale Names): New section documenting
33586 locale name syntax. Adjust menu and node chaining accordingly.
33587 (Choosing Locale): Reference Locale Names, Locale Categories.
33588 Mention setting LC_ALL=C. Reflect that name syntax is now
33589 documented.
33590 (Locale Categories): New section title. Reference Locale Names.
33591 LC_ALL is an environment variable, but not a category.
33592 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33593 description, now in Locale Name. Reference that section. Locale
33594 name syntax is now documented.
33595
33596 2014-07-02 Florian Weimer <fweimer@redhat.com>
33597
33598 [BZ #17137]
33599 * locale/findlocale.c (name_present, valid_locale_name): New
33600 functions.
33601 (_nl_find_locale): Use the loc_name variable to store name
33602 candidates. Call name_present and valid_locale_name to check and
33603 validate locale names. Return an error if the locale is invalid.
33604
33605 2014-07-02 Florian Weimer <fweimer@redhat.com>
33606
33607 * locale/setlocale.c (setlocale): Use strdup for allocating
33608 composite name copy.
33609
33610 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 Sync up with gnulib.
33613 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33614 [!_LIBC && ENABLE_NLS]: Include gettext.h.
33615 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33616 and _GL_ARG_NONNULL.
33617 [USE_UNLOCKED_IO]: Include unlocked-io.h.
33618 [!_LIBC]: Include code for Windows and Cygwin.
33619 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33620 Include prototype for int strerror_r.
33621 [!_LIBC] (is_open): New function.
33622 (flush_stdout): New function.
33623 (print_errno_message): Use it.
33624 (error): Likewise.
33625 (error_at_line): Likewise.
33626 (error_tail) Add function attribute macros. Use
33627 __builtin_expect.
33628
33629 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33630
33631 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33632
33633 * io/ftw.c: Include sys/param.h unconditionally.
33634
33635 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33636
33637 [BZ #17125]
33638 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33639 libc_freeres_ptr.
33640 (freecache): New function to free CACHE on exit.
33641
33642 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33643 initialization.
33644
33645 2014-07-09 David S. Miller <davem@davemloft.net>
33646
33647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33648
33649 * sysdeps/sparc/nptl/internaltypes.h: Delete.
33650 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33651 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33652 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33653 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33654 * sysdeps/sparc/nptl/sem_init.c: Likewise.
33655 * sysdeps/sparc/nptl/sem_post.c: Likewise.
33656 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33657 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33658 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33659 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33660 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33661 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33662
33663 2014-07-09 Andreas Schwab <schwab@suse.de>
33664
33665 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33666 output.
33667 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33668 (do_test): Likewise.
33669
33670 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33671
33672 2014-07-09 Will Newton <will.newton@linaro.org>
33673
33674 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33675 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33676 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33677 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33678 * sysdeps/hppa/start.S (_start): Likewise.
33679
33680 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33681
33682 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33683
33684 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33685 defined.
33686
33687 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33688
33689 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33690 after checking that it is non-NULL.
33691
33692 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33693
33694 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33695
33696 * sysdeps/powerpc/memmove.c: Remove file.
33697 * sysdeps/powerpc/powerpc32/power4/memcopy.h
33698 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33700 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33701 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33702 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33703 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33704 string memmove instead of removed powerpc one.
33705
33706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33707 [weak_alias]: Fix compiler warning due trailing data.
33708 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33709 [weak_alias]: Likewise.
33710 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33711 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33712
33713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33714 (__libc_ifunc_impl_list): Add memmove functions.
33715
33716 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33717
33718 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33719 Remove code.
33720 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33721 Likewise.
33722 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33723 Likewise.
33724 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33725 Likewise.
33726 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33727 Likewise.
33728 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33729 Likewise.
33730 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33731 Likewise.
33732 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33733 Likewise.
33734 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33735 Likewise.
33736 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33737 Likewise.
33738 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33739 Likewise.
33740 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33741 Likewise.
33742 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33743 Likewise.
33744 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33745 Likewise.
33746 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33747 Likewise.
33748 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33749 Likewise.
33750 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33751 Likewise.
33752
33753 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33754
33755 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33756 to avoid alignment traps in non-cacheable memory.
33757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33758
33759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33760 multiarch objects.
33761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33762 file: multiarch power7 memmove.
33763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33764 multiarch default memmove.
33765 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33766 multiarch memove for powerpc32/power4.
33767
33768 * string/bcopy.c: Use full path to include memmove.c.
33769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33770 multiarch objects.
33771 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33772 bcopy for powerpc64.
33773 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33774 bcopy for powerpc64.
33775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33776 and memmove implementations.
33777 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33778 optimized multiarch memmove for POWER7/powerpc64.
33779 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33780 default multiarch memmove for powerpc64.
33781 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33782 multiarch for powerpc64.
33783 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33784 for POWER7/powerpc64.
33785 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33786 memmove for POWER7/powerpc64.
33787
33788 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33789 glibc default one.
33790
33791 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33792 __ELF_NATIVE_CLASS equal to 64.
33793
33794 2014-07-07 Roland McGrath <roland@hack.frob.com>
33795
33796 * sysdeps/nptl/lowlevellock.h: File removed.
33797
33798 * NEWS: NPTL is no longer an add-on!
33799 * nptl/internaltypes.h: Moved ...
33800 * sysdeps/nptl/internaltypes.h: ... here.
33801 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33802 * sysdeps/nptl/fork.c: Likewise.
33803 * sysdeps/nptl/gai_misc.h: Likewise.
33804 * sysdeps/nptl/librt-cancellation.c: Likewise.
33805 * sysdeps/nptl/jmp-unwind.c: Likewise.
33806 * sysdeps/nptl/setxid.h: Likewise.
33807 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33808 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33809 * sysdeps/unix/sysv/linux/arm/Implies: New file.
33810 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33811 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33812 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33813 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33814 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33815 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33816 * sysdeps/unix/sysv/linux/mips/Implies: New file.
33817 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33818 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33819 * sysdeps/unix/sysv/linux/sh/Implies: New file.
33820 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33821 * sysdeps/unix/sysv/linux/tile/Implies: New file.
33822 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33823 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33824 * nptl/Makeconfig: Moved ...
33825 * sysdeps/nptl/Makeconfig: ... here.
33826 * nptl/configure: File removed.
33827 * nptl/ANNOUNCE: File removed.
33828 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33829 * sysdeps/unix/sysv/linux/configure: Regenerated.
33830
33831 * nptl/Makefile (routines): Add libc_pthread_init,
33832 libc_multiple_threads, register-atfork and unregister-atfork.
33833 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33834 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33835 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33836 pthread-pi-defines.sym, structsem.sym.
33837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33838 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33839 [$(subdir) = nptl] (tests): Add tst-setgetname.
33840 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33841 * sysdeps/unix/sysv/linux/sigaction.c: Just include
33842 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33843 [!LIBC_SIGACTION]: Remove aliases.
33844 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33845 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33846 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33847 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33848 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33849 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33852 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33853 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33854 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33855 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33856 __libc_allocate_rtsig_private.
33857 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33858 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33859 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33860 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33861 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33862 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33863 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33864 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33865 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33866 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33867 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33868 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33869 * nptl/internaltypes.h: ... here.
33870 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33871 * sysdeps/nptl/jmp-unwind.c: ... here.
33872 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33873 * nptl/libc-lowlevellock.c: ... here.
33874 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33875 * nptl/libc_multiple_threads.c: ... here.
33876 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33877 * nptl/libc_pthread_init.c: ... here.
33878 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33879 * nptl/lowlevelbarrier.sym: ... here.
33880 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33881 * nptl/lowlevelcond.sym: ... here.
33882 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33883 * nptl/lowlevellock.c: ... here.
33884 * nptl/lowlevellock.h: Moved ...
33885 * sysdeps/nptl/lowlevellock.h: ... here.
33886 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33887 * nptl/lowlevelrobustlock.c: ... here.
33888 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33889 * nptl/lowlevelrobustlock.sym: ... here.
33890 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33891 * nptl/lowlevelrwlock.sym: ... here.
33892 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33893 * nptl/pt-fork.c: ... here.
33894 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33895 * nptl/pthread-pi-defines.sym: ... here.
33896 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33897 * nptl/pthread_attr_getaffinity.c: ... here.
33898 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33899 * nptl/pthread_attr_setaffinity.c: ... here.
33900 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33901 * nptl/pthread_mutex_cond_lock.c: ... here.
33902 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33903 Update #include.
33904 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33905 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33906 * nptl/pthread_once.c: ... here, replacing old file.
33907 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33908 * nptl/pthread_yield.c: ... here.
33909 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33910 * nptl/register-atfork.c: ... here.
33911 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33912 * nptl/sem_post.c: ... here.
33913 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33914 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33915 * nptl/sem_timedwait.c: ... here.
33916 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33917 * nptl/sem_trywait.c: ... here.
33918 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33919 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33920 * nptl/sem_wait.c: ... here.
33921 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33922 * nptl/structsem.sym: ... here.
33923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33924 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33925 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33926 * nptl/unregister-atfork.c: ... here.
33927 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33928 * nptl/unwindbuf.sym: ... here.
33929 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33930 * sysdeps/nptl/fork.c: ... here.
33931 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33932 * sysdeps/nptl/fork.h: ... here.
33933 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33934 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33935 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33936 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33937 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33938 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33939 * sysdeps/unix/sysv/linux/getpid.c: ... here.
33940 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33941 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33942 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33943 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33944 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33945 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33946 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33947 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33948 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33949 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33950 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33951 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33952 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33953 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33954 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33955 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33956 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33957 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33958 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33959 * sysdeps/unix/sysv/linux/raise.c: ... here.
33960 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33961 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33962 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33963 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33964 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33965 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33966 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33967 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33968 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33969 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33970 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33971 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33972 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33973 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33974 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33975
33976 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33977
33978 * sysdeps/generic/memcopy.h: Add comment for
33979 MEMCPY_OK_FOR_FWD_MEMMOVE.
33980
33981 2014-07-04 Will Newton <will.newton@linaro.org>
33982
33983 * string/memchr.c: Merge from gnulib.
33984 [_LIBC]: Remove conditionals.
33985 (__ptr_t): Remove define.
33986 (LONG_MAX_32_BITS): Likewise.
33987 (LONG_MAX): Likewise.
33988 (MEMCHR): Use ANSI prototype and optimize algorithm.
33989
33990 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33991
33992 2014-07-03 Roland McGrath <roland@hack.frob.com>
33993
33994 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33995 (lll_futex_timed_wait_bitset): Fix syscall argument count.
33996
33997 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33998 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33999 in a bare environment with no <stdlib.h> installed.
34000 * sysdeps/nptl/configure: Regenerated.
34001
34002 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34003
34004 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34005 AC_EGREP_CPP for kernel header checks, so they only succeed if
34006 including <linux/version.h> actually works right.
34007 * sysdeps/unix/sysv/linux/configure: Regenerated.
34008
34009 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34010 value so it's not diagnosed as unused.
34011
34012 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34013 thing) with "ifeq ($(subdir),rt)".
34014
34015 2014-07-03 Richard Henderson <rth@redhat.com>
34016
34017 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34018 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34019 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34020
34021 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34022 (math_force_eval): New.
34023
34024 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34025 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34026
34027 * sysdeps/alpha/fpu/s_round.c: Remove file.
34028 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34029
34030 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34031 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34032 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34033 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34034 (_dl_start, print_statistics): Likewise.
34035 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34036 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34037
34038 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34039 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34040 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34041 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34043 (HP_SMALL_TIMING_AVAIL): Define.
34044 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34045 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34046 (HP_SMALL_TIMING_AVAIL): Define.
34047 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34048 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34049
34050 * sysdeps/aarch64/hp-timing.h: New file.
34051
34052 * sysdeps/generic/hp-timing.h: Remove dead comment.
34053 * sysdeps/generic/hp-timing-common.h: New file.
34054 * sysdeps/alpha/hp-timing.h: Include it.
34055 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34056 * sysdeps/i386/i686/hp-timing.h: Likewise.
34057 * sysdeps/ia64/hp-timing.h: Likewise.
34058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34059 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34061 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34062 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34063 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34064 (hp_timing_t): New.
34065
34066 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34067 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34068 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34069 * elf/rtld.c (_dl_start_final): Likewise.
34070 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34071 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34072 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34073 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34074 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34076 (HP_TIMING_DIFF_INIT): Remove.
34077 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34078 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34079 (HP_TIMING_DIFF_INIT): Remove.
34080 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34081 * sysdeps/i386/i686/hp-timing.c: Remove file.
34082 * sysdeps/x86_64/hp-timing.c: Remove file.
34083 * sysdeps/ia64/hp-timing.c: Remove file.
34084 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34085 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34086 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34087 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34088
34089 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34090 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34091 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34092 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34093 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34094 (HP_TIMING_ACCUM): Remove.
34095 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34096 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34097 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34098
34099 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34100 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34101 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34102 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34103 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34104 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34105 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34106 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34107
34108 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34109
34110 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
34111
34112 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34113
34114 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34115
34116 Sync up with gettext.
34117 * intl/loadmsgcat.c: Define O_BINARY if not defined.
34118 [_MSC_VER]: Include malloc.h
34119 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34120 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34121 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
34122 TEMP_FAILURE_RETRY. Cast return of alloca.
34123 [!_LIBC] Call gl_rwlock_init.
34124 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34125
34126 2014-07-02 Roland McGrath <roland@hack.frob.com>
34127
34128 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34129 before checking its value.
34130
34131 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34132
34133 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34134
34135 * debug/memcpy_chk.c: Don't include pagecopy.h.
34136 * debug/mempcpy_chk.c: Likewise.
34137 * string/memcpy.c: Likewise.
34138 * string/memmove.c: Likewise.
34139 * sysdeps/powerpc/memmove.c: Likewise.
34140 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
34141 definition of PAGE_COPY_FWD_MAYBE here...
34142 * sysdeps/generic/pagecopy.h: ... from here.
34143 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34144
34145 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34146 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34147
34148 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34150 optimizations.
34151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34152 (__libc_ifunc_impl_list): Likewise.
34153 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34154 multiarch strcat for PPC64.
34155 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34156 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34157
34158 2014-07-02 Roland McGrath <roland@hack.frob.com>
34159
34160 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34161
34162 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34163
34164 * intl/loadmsgcat.c: Remove declaration of
34165 get_sysdep_segment_value.
34166 (get_sysdep_segment_value): Use ISO C style.
34167 (_nl_load_domain): Use ISO C style. Get rid of redundant
34168 semicolon. Fix typo and formatting in comment.
34169 (_nl_unload_domain): Use ISO C style.
34170
34171 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34172
34173 2014-07-02 Will Newton <will.newton@linaro.org>
34174
34175 * malloc/obstack.c: Merge from gnulib master.
34176 [HAVE_CONFIG_H]: Remove conditional code.
34177 [!_LIBC]: Include config.h.
34178 [!ELIDE_CODE]: Don't include inttypes.h, include
34179 stdint.h unconditionally.
34180 (print_and_abort): Mark as _Noreturn.
34181 (_obstack_allocated_p): Mark as __attribute_pure__.
34182 (obstack_free): Rename to __obstack_free.
34183 [!__attribute__]: Remove conditional code.
34184 * malloc/obstack.h: Merge from gnulib master.
34185 [__cplusplus]: Move conditional down.
34186 [!__attribute_pure__]: Define __attribute_pure__ here
34187 if it is not already defined.
34188 (_obstack_memory_used): Mark as __attribute_pure__.
34189 [!__obstack_free]: Define as obstack_free.
34190 [__GNUC__]: Remove check for ancient NeXT gcc.
34191
34192 2014-07-02 Will Newton <will.newton@linaro.org>
34193 Paul Eggert <eggert@cs.ucla.edu>
34194
34195 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34196
34197 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34198
34199 * resolv/gethnamaddr.c: Add comment warning that the file is
34200 not maintained.
34201
34202 2014-07-01 Carlos O'Donell <carlos@redhat.com>
34203
34204 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34205 entries.
34206
34207 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34208 entry for aio_cancel and aio_cancel64.
34209 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34210 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34211 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34212 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34213 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34214 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34215 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34216 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34217 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34218 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34219 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34220 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34221 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34222
34223 2014-07-01 Roland McGrath <roland@hack.frob.com>
34224
34225 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34226 * nptl/pthread_mutex_lock.c: Likewise.
34227 * nptl/pthread_mutex_timedlock.c: Likewise.
34228 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34229
34230 2014-07-01 Richard henderson <rth@redhat.com>
34231
34232 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34233 (__isnan, __isnanl): Remove.
34234 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34235
34236 * sysdeps/alpha/fpu/libm-test-ulps: Update.
34237
34238 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
34239
34240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34241
34242 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34243
34244 * resolv/nss_dns/dns-host.c (getanswer_r)
34245 [MULTI_PTRS_ARE_ALIASES]: Remove code.
34246
34247 2014-07-01 Joseph Myers <joseph@codesourcery.com>
34248
34249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34250 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34251 undefine.
34252 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34253 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34254
34255 2014-07-01 Roland McGrath <roland@hack.frob.com>
34256
34257 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34258 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34259
34260 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34261 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34262
34263 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34264 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34265 ... here.
34266 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34267 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34268
34269 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34270 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34271 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34272 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34273
34274 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34275 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34276 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34277 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34278 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34279 Moved ...
34280 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34281 ... here.
34282 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34283 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34284 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34285 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34286 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34287 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34288 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34289 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34291 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34292 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34293 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34294 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34295 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34296 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34297 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34298 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34299 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34300 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34301 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34302 ... here.
34303 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34304 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34305 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34306 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34307 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34308 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34309 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34310 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34311
34312 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
34313
34314 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34315 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34316 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34317 Add sysdep.
34318
34319 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34320
34321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34322
34323 2014-06-30 Joseph Myers <joseph@codesourcery.com>
34324
34325 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34326 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34327
34328 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34329
34330 * sysdeps/arm/libm-test-ulps: Regenerated.
34331
34332 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
34333 Roland McGrath <roland@hack.frob.com>
34334
34335 * test-skeleton.c (signal_handler): Kill the whole process group
34336 before killing the child individually.
34337 (main): Report any failure on `setpgid'.
34338
34339 2014-06-30 Roland McGrath <roland@hack.frob.com>
34340
34341 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34342 from _TLS_H to _ARM_NPTL_TLS_H.
34343 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34344 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34345
34346 2014-06-30 Joseph Myers <joseph@codesourcery.com>
34347
34348 [BZ #16539]
34349 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34350 (__expm1l): Return argument unchanged when small but not
34351 subnormal.
34352
34353 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34354 include macro name.
34355 (_FP_UNPACK_RAW_1_P): Likewise.
34356 (_FP_PACK_RAW_1): Likewise.
34357 (_FP_PACK_RAW_1_P): Likewise.
34358 (_FP_MUL_MEAT_1_wide): Likewise.
34359 (_FP_MUL_MEAT_DW_1_hard): Likewise.
34360 (_FP_MUL_MEAT_1_hard): Likewise.
34361 (_FP_DIV_MEAT_1_imm): Likewise.
34362 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34363 (_FP_DIV_MEAT_1_udiv): Likewise.
34364 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34365 (_FP_UNPACK_RAW_2): Likewise.
34366 (_FP_UNPACK_RAW_2_P): Likewise.
34367 (_FP_PACK_RAW_2): Likewise.
34368 (_FP_PACK_RAW_2_P): Likewise.
34369 (_FP_MUL_MEAT_DW_2_wide): Likewise.
34370 (_FP_MUL_MEAT_2_wide): Likewise.
34371 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34372 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34373 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34374 (_FP_MUL_MEAT_2_gmp): Likewise.
34375 (_FP_DIV_MEAT_2_udiv): Likewise.
34376 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34377 (_FP_FRAC_SRL_4): Likewise.
34378 (_FP_FRAC_SRST_4): Likewise.
34379 (_FP_FRAC_SRS_4): Likewise.
34380 (_FP_UNPACK_RAW_4): Likewise.
34381 (_FP_UNPACK_RAW_4_P): Likewise.
34382 (_FP_PACK_RAW_4): Likewise.
34383 (_FP_PACK_RAW_4_P): Likewise.
34384 (_FP_MUL_MEAT_DW_4_wide): Likewise.
34385 (_FP_MUL_MEAT_4_wide): Likewise.
34386 (_FP_MUL_MEAT_4_gmp): Likewise.
34387 (umul_ppppmnnn): Likewise.
34388 (_FP_DIV_MEAT_4_udiv): Likewise.
34389 (__FP_FRAC_ADD_4): Likewise.
34390 (__FP_FRAC_SUB_3): Likewise.
34391 (__FP_FRAC_SUB_4): Likewise.
34392 (__FP_FRAC_DEC_3): Likewise.
34393 (__FP_FRAC_DEC_4): Likewise.
34394 (__FP_FRAC_ADDI_4): Likewise.
34395 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34396 (_FP_FRAC_SRL_8): Likewise.
34397 (_FP_FRAC_SRS_8): Likewise.
34398
34399 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34400 include macro name.
34401 (FP_UNPACK_RAW_EP): Likewise.
34402 (FP_PACK_RAW_E): Likewise.
34403 (FP_PACK_RAW_EP): Likewise.
34404 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34405 (_FP_ISSIGNAN): Likewise.
34406 (_FP_ADD_INTERNAL): Likewise.
34407 (_FP_FMA): Likewise.
34408 (_FP_CMP): Likewise.
34409 (_FP_SQRT): Likewise.
34410 (_FP_TO_INT): Likewise.
34411 (_FP_FROM_INT): Likewise.
34412 (FP_EXTEND): Likewise.
34413 (_FP_DIV_MEAT_N_loop): Likewise.
34414
34415 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
34416
34417 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34418 throughout.
34419
34420 2014-06-29 Joseph Myers <joseph@codesourcery.com>
34421
34422 [BZ #17097]
34423 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34424 result with correct sign in case of exponents that produce
34425 overflow except for X very close to 1.
34426
34427 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
34428
34429 mktime: merge #if/#ifdef usage from glibc
34430 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34431 as that works with both Glibc's and Gnulib's style.
34432 See thread starting at Siddhesh Poyarekar's bug report at:
34433 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34434
34435 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34436
34437 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34438 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34439 * sysdeps/tile/tilegx/memmove.c: Remove file.
34440
34441 2014-06-27 Joseph Myers <joseph@codesourcery.com>
34442
34443 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34444 abi-name definition.
34445 * scripts/soversions.awk: Do not handle or generate ABI lines.
34446 * shlib-versions: Remove ABI entries.
34447 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34448 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34449
34450 2014-06-27 Roland McGrath <roland@hack.frob.com>
34451
34452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34453 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34457 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34459 Moved ...
34460 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34461 ... here.
34462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34463 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34465 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34467 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34469 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34471 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34473 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34475 Moved ...
34476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34482 Moved ...
34483 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34485 Moved ...
34486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34490 Moved ...
34491 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34493 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34495 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34497 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34499 Moved ...
34500 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34502 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34503 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34504 Moved ...
34505 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34507 Moved ...
34508 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34510 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34512 Moved ...
34513 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34514 ... here.
34515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34516 Identical file removed.
34517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34518 Moved ...
34519 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34521 Identical file removed.
34522 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34524 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34525 Moved ...
34526 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34528 Identical file removed.
34529 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34530 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34532 Identical file removed.
34533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34534 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34536 Identical file removed.
34537 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34538 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34540 Identical file removed.
34541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34542 Moved ...
34543 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34545 Identical file removed.
34546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34547 Moved ...
34548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34550 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34552 Identical file removed.
34553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34554 Moved ...
34555 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34556 ... here.
34557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34558 Identical file removed.
34559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34560 Moved ...
34561 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34563 Identical file removed.
34564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34565 Moved ...
34566 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34568 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34571 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34572 Moved ...
34573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34574 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34575 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34576
34577 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34578 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34579 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34580 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34581 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34582
34583 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
34584
34585 [BZ #17092]
34586 * nscd/nscd.c (monitor_child): Return exit status of child
34587 instead of return value from wait syscall.
34588
34589 2014-06-27 Joseph Myers <joseph@codesourcery.com>
34590
34591 * configure.ac (libc_commonpagesize): Remove variable.
34592 (libc_relro_required): Likewise.
34593 (libc_cv_z_relro): Remove configure test.
34594 * configure: Regenerated.
34595 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34596 variable.
34597 (libc_relro_required): Likewise.
34598 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34599 (libc_relro_required): Likewise.
34600 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34601 (libc_relro_required): Likewise.
34602 * sysdeps/arm/preconfigure: Regenerated.
34603 * sysdeps/ia64/preconfigure: Remove file.
34604 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34605 variable.
34606 (libc_relro_required): Likewise.
34607
34608 [BZ #16561]
34609 [BZ #16562]
34610 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34611 (__ieee754_yn): Set FE_TONEAREST mode internally and then
34612 recompute overflowing results in original rounding mode.
34613 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34614 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34615 recompute overflowing results in original rounding mode.
34616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34617 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34618 recompute overflowing results in original rounding mode.
34619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34620 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34621 recompute overflowing results in original rounding mode.
34622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34623 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34624 recompute overflowing results in original rounding mode.
34625 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34626 (libc_feholdsetround_ctx): New macro.
34627 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34628 * sysdeps/i386/fpu/libm-test-ulps: Update.
34629 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34630
34631 2014-06-26 Joseph Myers <joseph@codesourcery.com>
34632
34633 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34634 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34635 corresponding .cpsetup call.
34636
34637 2014-06-26 Roland McGrath <roland@hack.frob.com>
34638
34639 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34640 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34641 * sysdeps/arm/Makefile [$(subdir) = csu]
34642 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34643 (static-only-routines): Add aeabi_read_tp here.
34644 (shared-only-routines): Add libc-aeabi_read_tp here.
34645 (CFLAGS-libc-start.c): Add -fexceptions here.
34646 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34647 (sysdep_routines, static-only-routines, shared-only-routines):
34648 Don't add to these here.
34649 (CFLAGS-libc-start.c): Likewise.
34650
34651 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34652 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34653 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34654 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34655 * sysdeps/arm/Makefile [$(subdir) = rt]
34656 (librt-sysdep_routines, librt-shared-only-routines):
34657 Append rt-aeabi_unwind_cpp_pr1 here.
34658 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34659 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34660 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34661 (libpthread-sysdep_routines, libpthread-shared-only-routines):
34662 Append nptl-aeabi_unwind_cpp_pr1 here.
34663 (tests): Filter out tst-cleanupx4 here.
34664 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34665 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34666 Don't do those here.
34667
34668 2014-06-26 Joseph Myers <joseph@codesourcery.com>
34669
34670 * scripts/list-sources.sh: Do not handle ports specially.
34671
34672 2014-06-26 Roland McGrath <roland@hack.frob.com>
34673
34674 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34675 * sysdeps/arm/feupdateenv.c: Likewise.
34676
34677 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34678
34679 2014-06-26 Joseph Myers <joseph@codesourcery.com>
34680
34681 * manual/texinfo.tex: Update to version 2014-05-05.10 with
34682 trailing whitespace removed.
34683 * scripts/config.guess: Update to version 2014-03-23.
34684 * scripts/config.sub: Update to version 2014-05-01
34685 * scripts/install-sh: Update to version 2013-12-25.23.
34686 * scripts/move-if-change: Update from gnulib.
34687
34688 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34689
34690 * debug/memmove_chk.c: Remove pagecopy.h include.
34691
34692 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
34693
34694 * time/mktime.c (leapyear): Remove inline keyword. The code is now
34695 identical to gnulib mktime.
34696
34697 2014-06-26 Joseph Myers <joseph@codesourcery.com>
34698
34699 * configure.ac: Do not test for machine being rs6000. Do not test
34700 for powerpc*-*soft.
34701 * configure: Regenerated.
34702
34703 [BZ #11505]
34704 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34705 test.
34706 * configure: Regenerated.
34707 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34708 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34709 Remove configure test.
34710 * sysdeps/arm/configure: Regenerated.
34711 * sysdeps/nptl/configure.ac: Do not check
34712 libc_cv_asm_cfi_directives.
34713 * sysdeps/nptl/configure: Regenerated.
34714 * sysdeps/x86_64/nptl/configure.ac: Remove file.
34715 * sysdeps/x86_64/nptl/configure: Remove generated file.
34716 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34717 unconditional.
34718 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34719
34720 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34721
34722 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34723 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34724 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34725 it is defined.
34726
34727 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34728 instead of whether it is defined.
34729 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34730 * sysdeps/hppa/dl-machine.h: Likewise.
34731 * sysdeps/ia64/dl-machine.h: Likewise.
34732 * sysdeps/m68k/dl-machine.h: Likewise.
34733 * sysdeps/microblaze/dl-machine.h: Likewise.
34734 * sysdeps/mips/dl-machine.: Likewise.
34735 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34736 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34737 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34738 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34739 * sysdeps/sh/dl-machine.h: Likewise.
34740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34742 * sysdeps/tile/dl-machine.h: Likewise.
34743 * sysdeps/x86_64/dl-machine.h: Likewise.
34744
34745 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34746 code.
34747 (verify_persistent_db): Likewise.
34748
34749 2014-06-26 Roland McGrath <roland@hack.frob.com>
34750
34751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34752 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34754 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34756 Moved ...
34757 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34758 ... here.
34759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34760 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34762 Identical file removed.
34763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34766 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34768 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34774 Moved ...
34775 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34777 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34779 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34781 Moved ...
34782 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34784 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34786 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34788 Identical file removed.
34789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34790 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34792 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34794 Moved ...
34795 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34796 ... here.
34797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34800 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34802 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34806 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34808 Moved ...
34809 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34811 Moved ...
34812 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34814 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34816 Moved ...
34817 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34819 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34820
34821 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34822 folded into ...
34823 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34824 * sysdeps/unix/sysv/linux/s390/Versions
34825 (libpthread: GLIBC_2.19): New version set.
34826 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34827 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34828 (librt: GLIBC_2.3.3): New version set.
34829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34831 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34832 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34833 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34834 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34835 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34836 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34837 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34838 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34839 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34840 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34841 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34843 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34844 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34845 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34846 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34848 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34849 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34857 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34859 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34874
34875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34876 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34877 (__libc_vfork): Define the function under this name.
34878 [!NOT_IN_libc] (__vfork): Make this an alias.
34879 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34881 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34882 (__libc_vfork): Define the function under this name.
34883 [!NOT_IN_libc] (__vfork): Make this an alias.
34884 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34885 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34886 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34890
34891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34892 code that was previously under [RESET_PID].
34893 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34896
34897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34898 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34900 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34902 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34903 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34904 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34905 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34906 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34907 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34908 Moved ...
34909 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34910 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34911 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34912 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34914 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34915 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34916 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34917 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34918 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34920 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34921 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34922 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34923 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34924 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34925 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34926 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34927 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34928 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34929 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34930 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34931 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34932 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34933 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34934 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34938
34939 2014-06-25 Roland McGrath <roland@hack.frob.com>
34940
34941 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34942 that was previously under [RESET_PID].
34943 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34944
34945 2014-06-25 Joseph Myers <joseph@codesourcery.com>
34946
34947 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34948 not undefine and redefine.
34949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34950 [O_CLOEXEC]: Make code unconditional.
34951 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34952 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34953 <kernel-features.h>.
34954 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34955 conditional variable definition.
34956 (shm_open) [O_CLOEXEC]: Make code unconditional.
34957 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34958 code.
34959
34960 * configure.ac (USE_REGPARMS): Don't define here.
34961 * configure: Regenerated.
34962 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34963 * sysdeps/i386/configure: Regenerated.
34964
34965 * nptl/createthread.c: Don't include kernel-features.h.
34966 * nptl/pthread_cancel.c: Likewise.
34967 * nptl/pthread_condattr_setclock.c: Likewise.
34968 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34969 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34970 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34971 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34972 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34974 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34976 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34977 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34978 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34979 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34980 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34981 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34982 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34983 * nscd/gai.c: Likewise.
34984 * nss/nss_db/db-open.c: Likewise.
34985 * sysdeps/generic/ldsodefs.h: Likewise.
34986 * sysdeps/sh/nptl/tls.h: Likewise.
34987 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34988 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34989 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34990 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34991 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34992 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34993 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34996 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34997 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34999 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35000 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35001 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35002 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35003 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35004 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35005 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35006 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35009 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35010 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35014 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35015 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35016 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35017 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35019 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35020 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35022 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35024 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35025 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35026 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35027 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35028 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35029 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35031 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35032 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35033 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35034 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35035 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35036 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35037 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35038 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35039 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35040 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35041 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35042 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35067 * sysdeps/unix/sysv/linux/pread.c: Likewise.
35068 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35069 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35070 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35071 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35072 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35074 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35075 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35076 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35078 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35079 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35080 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35081 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35082 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35084 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35085 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35086 * sysdeps/unix/sysv/linux/system.c: Likewise.
35087 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35088 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35091 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35093 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35094
35095 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35096 * configure: Regenerated.
35097 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35098
35099 * configure.ac (base_machine): Do not set specially for particular
35100 machines here.
35101 * configure: Regenerated.
35102 * sysdeps/powerpc/preconfigure: Move machine and base_machine
35103 settings from configure.ac.
35104 * sysdeps/i386/preconfigure: New file.
35105 * sysdeps/s390/preconfigure: Likewise.
35106 * sysdeps/sh/preconfigure: Likewise.
35107 * sysdeps/sparc/preconfigure: Likewise.
35108
35109 2014-06-25 Roland McGrath <roland@hack.frob.com>
35110
35111 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35112 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35113 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35114 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35115 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35116 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35117 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35118 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35119 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35120 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35121 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35122 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35126 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35128 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35129 * sysdeps/sparc/sparc64/Makefile: ... appended here.
35130
35131 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35132 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35134 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35135 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35136 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35137 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35138 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35139 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35140 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35142 * sysdeps/sparc/sparc32/sem_post.c: ... here.
35143 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35144 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35145 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35146 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35147 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35148 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35149 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35152 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35162 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35164 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35166 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35168 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35169
35170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35171 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35173 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35175 Moved ...
35176 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35177 ... here.
35178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35179 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35181 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35183 Moved ...
35184 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35186 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35190 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35192 Moved ...
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35195 Moved ...
35196 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35198 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35200 Moved ...
35201 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35203 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35205 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35207 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35209 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35211 Moved ...
35212 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35213 ... here.
35214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35215 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35219 Moved ...
35220 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35222 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35226 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35228 Moved ...
35229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35231 Moved ...
35232 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35234 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35236 Moved ...
35237 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35242
35243 2014-06-25 Joseph Myers <joseph@codesourcery.com>
35244
35245 * timezone/checktab.awk: Update from tzcode 2014e.
35246 * timezone/private.h: Likewise.
35247 * timezone/tzfile.h: Likewise.
35248 * timezone/zdump.c: Likewise.
35249 * timezone/zic.c: Likewise.
35250
35251 * sysdeps/unix/sysv/linux/kernel-features.h
35252 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35254 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35255 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35256 Remove conditional code.
35257
35258 2014-06-25 Will Newton <will.newton@linaro.org>
35259
35260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35261 (_dl_arm_cap_flags): Add HWCAP2 values.
35262 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35263 (_DL_HWCAP_COUNT): Increase to 37.
35264 (_DL_HWCAP_LAST): New define.
35265 (_DL_HWCAP2_LAST): New define.
35266 (_dl_procinfo): Add support for printing
35267 AT_HWCAP2 entries.
35268 (_dl_string_hwcap): Use _dl_hwcap_string.
35269
35270 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35271
35272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35273
35274 2014-06-25 Joseph Myers <joseph@codesourcery.com>
35275
35276 * README: Do not mention ports directory.
35277
35278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35279 Remove macro.
35280 * sysdeps/unix/sysv/linux/futimes.c: Do not include
35281 <kernel-features.h>.
35282 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35283 conditional variable definition.
35284 (__futimes): Update comment.
35285 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35286 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35287
35288 [BZ #16560]
35289 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35290 arguments close to 0.
35291 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35292 Likewise.
35293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35294 Likewise.
35295 * math/auto-libm-test-in: Add more tests of exp10.
35296 * math/auto-libm-test-out: Regenerated.
35297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35298
35299 * sysdeps/unix/sysv/linux/kernel-features.h
35300 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35301 * sysdeps/unix/sysv/linux/readv.c: Do not include
35302 <kernel-features.h>.
35303 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35304 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35305 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35306 unconditional.
35307 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35308 conditional code.
35309 * sysdeps/unix/sysv/linux/writev.c: Do not include
35310 <kernel-features.h>.
35311 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35312 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35313 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35314 unconditional.
35315 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35316 conditional code.
35317
35318 2014-06-25 Will Newton <will.newton@linaro.org>
35319
35320 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35321 comment changes throughout the file. Remove checks
35322 for HAVE_*_H definitions that are not required.
35323 (__gen_tempname): Call abort if an unknown kind value is
35324 passed.
35325
35326 2014-06-25 Andreas Schwab <schwab@suse.de>
35327
35328 [BZ #17086]
35329 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35330 scalbln, scalblnf, scalblnl in libc.
35331
35332 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35333
35334 [BZ #17086]
35335 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35336 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35337 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35338
35339 2014-06-24 Roland McGrath <roland@hack.frob.com>
35340
35341 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35342 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35343 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35344 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35345 Update #include.
35346 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35347 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35348 Update #include.
35349 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35351 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35353 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35354 * sysdeps/x86/bits/pthreadtypes.h: ... here.
35355 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35356 * sysdeps/x86/bits/semaphore.h: ... here.
35357 * sysdeps/x86/nptl/elide.h: Moved ...
35358 * sysdeps/x86/elide.h: ... here.
35359 * sysdeps/x86_64/nptl/Implies: File removed.
35360 * sysdeps/i386/nptl/Implies: File removed.
35361
35362 2014-06-24 Joseph Myers <joseph@codesourcery.com>
35363
35364 [BZ #16539]
35365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35366 return the argument for normal arguments with exponent below -64.
35367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35368 Likewise.
35369 * math/auto-libm-test-in: Add another test of expm1.
35370 * math/auto-libm-test-out: Regenerated.
35371
35372 [BZ #16287]
35373 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35374 calling __erfcl for arguments at least 16.
35375 * math/auto-libm-test-in: Add more tests of erf.
35376 * math/auto-libm-test-out: Regenerated.
35377
35378 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35379 individual architectures.
35380 * sysdeps/unix/sysv/linux/configure: Regenerated.
35381 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35382 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35383 * sysdeps/unix/sysv/linux/powerpc/configure.ac
35384 (ldd_rewrite_script): Define variable.
35385 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35387 file.
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35389 generated file.
35390 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35391 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35392 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35393 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35394 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35395 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35396 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35397 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35398
35399 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35400
35401 [BZ #17084]
35402 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35403 Rename member __data.d to __data.__elision_data.
35404
35405 2014-06-24 Wilco <wdijkstr@arm.com>
35406
35407 * NEWS: Add 16918 to fixed bug list.
35408
35409 2014-06-24 Wilco <wdijkstr@arm.com>
35410
35411 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35412
35413 2014-06-24 Wilco <wdijkstr@arm.com>
35414
35415 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35416 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35417 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35418 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35419 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35420 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35421 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35422 Use _FPU_MASK_RM.
35423
35424 2014-06-24 Wilco <wdijkstr@arm.com>
35425
35426 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35427
35428 2014-06-24 Wilco <wdijkstr@arm.com>
35429
35430 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35431 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35432 * sysdeps/arm/fesetround.c (fesetround): Remove space.
35433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35434
35435 2014-06-24 Wilco <wdijkstr@arm.com>
35436
35437 [BZ #16918]
35438 * sysdeps/arm/feupdateenv.c (feupdateenv):
35439 Rewrite to reduce FPSCR accesses and fix return value.
35440
35441 2014-06-24 Wilco <wdijkstr@arm.com>
35442
35443 * sysdeps/arm/fclrexcpt.c (feclearexcept):
35444 Optimize to avoid unnecessary FPSCR writes.
35445 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35446 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35447 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35448 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35449
35450 2014-06-24 Wilco <wdijkstr@arm.com>
35451
35452 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35454 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35455 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35456 Call libc_fetestexcept_vfp.
35457 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35458 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35459 __SOFTFP__ ifdef so that they can be built for softfp.
35460
35461 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35462
35463 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35464 argument type signed char.
35465
35466 * Makerules (check-abi): Dump diff of symlist if the test
35467 fails.
35468
35469 2014-06-23 Roland McGrath <roland@hack.frob.com>
35470
35471 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35472 using abort.
35473
35474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35475 Remove unused variable ST.
35476
35477 2014-06-23 Joseph Myers <joseph@codesourcery.com>
35478
35479 [BZ #16354]
35480 [BZ #17061]
35481 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35482 small arguments before calling __expm1.
35483 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35484 small arguments before calling __expm1f.
35485 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35486 small arguments before calling __expm1l.
35487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35488 Likewise.
35489 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35490 * math/auto-libm-test-in: Add more cosh tests. Do not allow
35491 spurious underflow for some cosh tests.
35492 * math/auto-libm-test-out: Regenerated.
35493 * sysdeps/i386/fpu/libm-test-ulps: Update.
35494
35495 [BZ #17050]
35496 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35497 (__ieee754_y1): Set errno if return value overflows.
35498 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35499 (__ieee754_y1f): Set errno if return value overflows.
35500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35501 (__ieee754_y1l): Set errno if return value overflows.
35502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35503 (__ieee754_y1l): Set errno if return value overflows.
35504 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35505 * math/auto-libm-test-out: Regenerated.
35506
35507 * math/gen-auto-libm-tests.c: Document use of
35508 ignore-zero-inf-sign.
35509 (input_flag_type): Add value flag_ignore_zero_inf_sign.
35510 (input_flags): Add ignore-zero-inf-sign.
35511 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35512 * math/gen-libm-test.pl (generate_testfile): Handle
35513 ignore-zero-inf-sign.
35514 * math/auto-libm-test-in: Mark some cpow tests with
35515 ignore-zero-inf-sign and some with xfail-rounding.
35516 * math/auto-libm-test-out: Regenerated.
35517 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35518 * sysdeps/i386/fpu/libm-test-ulps: Update.
35519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520
35521 [BZ #16315]
35522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35523 overflowing or underflowing operations take place with sign of
35524 result.
35525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35526 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35528 (__ieee754_pow): Recompute overflowing and underflowing results in
35529 original rounding mode.
35530 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35531 (__powl_helper): Allow negative argument X and scale negated value
35532 as needed. Avoid passing value outside [-1, 1] to f2xm1.
35533 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35534 overflowing or underflowing operations take place with sign of
35535 result.
35536 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35537 Include <math.h>.
35538 * math/auto-libm-test-in: Add more tests of pow.
35539 * math/auto-libm-test-out: Regenerated.
35540 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35541 (pow_tonearest_test_data): Remove.
35542 (pow_test_tonearest): Likewise.
35543 (pow_towardzero_test_data): Likewise.
35544 (pow_test_towardzero): Likewise.
35545 (pow_downward_test_data): Likewise.
35546 (pow_test_downward): Likewise.
35547 (pow_upward_test_data): Likewise.
35548 (pow_test_upward): Likewise.
35549 (main): Don't call removed functions.
35550 * sysdeps/i386/fpu/libm-test-ulps: Update.
35551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552
35553 2014-06-23 Roland McGrath <roland@hack.frob.com>
35554
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35556 Moved ...
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35559 Moved ...
35560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35562 Moved ...
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35565 Moved ...
35566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35568 File removed.
35569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35570 File removed.
35571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35572 File removed.
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35574 File removed.
35575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35576 File removed.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35578 File removed.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35580 File removed.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35582 File removed.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35584 File removed.
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35586 File removed.
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35588 File removed.
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35590 File removed.
35591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35592 Moved ...
35593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35595 Moved ...
35596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35597 ... here.
35598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35599 Moved ...
35600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35602 Moved ...
35603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35605 Moved ...
35606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35608 Moved ...
35609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35611 Moved ...
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35614 Moved ...
35615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35617 Moved ...
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35621 ... here.
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35623 Moved ...
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35626 Moved ...
35627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35628 ... here.
35629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35630 Moved ...
35631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35632 ... here.
35633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35634 Moved ...
35635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35636 ... here.
35637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35638 Moved ...
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35641 Moved ...
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35646 Moved ...
35647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35648 ... here.
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35650 Moved ...
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35652 ... here.
35653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35654 Moved ...
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35657 Moved ...
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35660 Moved ...
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35663 Moved ...
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35666 Moved ...
35667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35668 ... here.
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35670 Moved ...
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35673 Moved ...
35674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35676 Moved ...
35677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35679 Moved ...
35680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35684 Moved ...
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35687 Moved ...
35688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35690 Moved ...
35691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35692 ... here.
35693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35694 Moved ...
35695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35696 ... here.
35697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35698 Moved ...
35699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35700 ... here.
35701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35702 Moved ...
35703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35705 Moved ...
35706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35708 Moved ...
35709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35711 Moved ...
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35713 ... here.
35714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35715 Moved ...
35716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35717 ... here.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35719 Moved ...
35720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35721 ... here.
35722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35723 Moved ...
35724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35726 Moved ...
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35728
35729 2014-06-23 Will Newton <will.newton@linaro.org>
35730 Wilco <wdijkstr@arm.com>
35731
35732 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35733 implementation. Include get-rounding-mode.h.
35734 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35735 [!libc_feholdsetround_noex_ctx]: Define
35736 libc_feholdsetround_noex_ctx.
35737 [!libc_feholdsetround_noexf_ctx]: Define
35738 libc_feholdsetround_noexf_ctx.
35739 [!libc_feholdsetround_noexl_ctx]: Define
35740 libc_feholdsetround_noexl_ctx.
35741 (libc_feholdsetround_ctx): New function.
35742 (libc_feresetround_ctx): New function.
35743 (libc_feholdsetround_noex_ctx): New function.
35744 (libc_feresetround_noex_ctx): New function.
35745
35746 2014-06-23 Roland McGrath <roland@hack.frob.com>
35747
35748 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35749 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35750 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35751 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35752 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35753 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35754
35755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35756 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35757 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35758 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35759 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35760 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35764 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35766 Moved ...
35767 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35768 ... here.
35769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35770 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35772 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35774 Moved ...
35775 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35777 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35781 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35783 Moved ...
35784 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35786 Moved ...
35787 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35789 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35791 Moved ...
35792 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35794 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35795 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35796 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35797 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35798 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35800 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35802 Moved ...
35803 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35804 ... here.
35805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35806 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35810 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35812 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35816 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35818 Moved ...
35819 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35821 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35823 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35825 Moved ...
35826 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35828 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35829 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35830 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35831
35832 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35833 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35835 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35837 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35839 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35841 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35843 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35844 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35845 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35847 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35848 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35849 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35851 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35852 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35853 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35855 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35856 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35857 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35858 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35859 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35860
35861 2014-06-23 Joseph Myers <joseph@codesourcery.com>
35862
35863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35864 (FALLOC_FL_COLLAPSE_RANGE): New macro.
35865 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35866 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35867 (IPV6_PMTUDISC_INTERFACE): Likewise.
35868 (IPV6_PMTUDISC_OMIT): Likewise.
35869
35870 2014-06-23 Andreas Schwab <schwab@suse.de>
35871
35872 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35873 Remove unused errout label.
35874
35875 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35876
35877 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35878 macro: hardware supports Vector Crypto instructions.
35879
35880 2014-06-23 Will Newton <will.newton@linaro.org>
35881
35882 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35883 rather than __builtin_expect.
35884
35885 * elf/dl-lookup.c (undefined_msg): Remove variable.
35886 (_dl_lookup_symbol_x): Replace undefined_msg with string
35887 literal.
35888
35889 * elf/dl-lookup.c (do_lookup_unique): New function.
35890 (do_lookup_x): Move STB_GNU_UNIQUE handling code
35891 to a separate function.
35892
35893 2014-06-23 Andreas Schwab <schwab@suse.de>
35894
35895 [BZ #17079]
35896 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35897 before reading the next line.
35898
35899 2014-06-23 Will Newton <will.newton@linaro.org>
35900
35901 * test-skeleton.c (signal_handler): Use printf and %m
35902 rather than perror. Use printf rather than fprintf to
35903 stderr. Use puts rather than fputs to stderr.
35904 (main): Likewise.
35905
35906 2014-06-22 Ludovic Courtès <ludo@gnu.org>
35907
35908 * nscd/nscd.c (thread_info_t): Remove typedef.
35909 (thread_info): Remove variable.
35910
35911 2014-06-21 Allan McRae <allan@archlinux.org>
35912
35913 * NEWS: Mention CVE-2014-4043.
35914
35915 2014-06-20 Roland McGrath <roland@hack.frob.com>
35916
35917 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35918 * nptl/smp.h: ... here.
35919
35920 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35921
35922 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35923 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35924 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35925 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35926
35927 * nptl/allocatestack.c: Include <stack-aliasing.h>.
35928 * nptl/stack-aliasing.h: New file.
35929 * sysdeps/i386/i686/stack-aliasing.h: New file.
35930 * sysdeps/i386/i686/nptl/Makefile: File removed.
35931 * sysdeps/x86_64/stack-aliasing.h: New file.
35932 * sysdeps/x86_64/nptl/Makefile
35933 (CFLAGS-pthread_create.c): Variable removed.
35934
35935 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35936 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35937 old file.
35938 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35939 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35940 old file.
35941
35942 2014-06-21 Joseph Myers <joseph@codesourcery.com>
35943
35944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35945 (__ASSUME_SIGFRAME_V2): Remove macro.
35946 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35947 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35948 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35949 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35950 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35951 Declare as function. Remove conditional macro definitions.
35952 (__default_rt_sa_restorer): Likewise.
35953 (__default_sa_restorer_v1): Remove declaration.
35954 (__default_sa_restorer_v2): Likewise.
35955 (__default_rt_sa_restorer_v1): Likewise.
35956 (__default_rt_sa_restorer_v2): Likewise.
35957 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35958 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35959 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35960
35961 2014-06-20 Roland McGrath <roland@hack.frob.com>
35962
35963 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35964 (libpthread-routines): Add sysdep.
35965 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35966 * sysdeps/unix/sysv/linux/sparc/Versions
35967 (libpthread: GLIBC_2.3.3): New version set.
35968 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35969 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35970 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35971 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35972 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
35973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35974 Moved ...
35975 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35977 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35978 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35979 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35981 * sysdeps/sparc/nptl/sem_init.c: ... here.
35982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35983 * sysdeps/sparc/nptl/sem_post.c: ... here.
35984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35985 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35986 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35987 * sysdeps/sparc/nptl/sem_wait.c: ... here.
35988 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35990 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35991 (libpthread-routines): Add cpu_relax.
35992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35993 File removed.
35994 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35995 (librt: GLIBC_2.3.3): New version set.
35996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35997 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35999 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36004 Moved ...
36005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36007 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36015 Moved ...
36016 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36017 Update #include.
36018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36019 Moved ...
36020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36021 Update #include.
36022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36023 Moved ...
36024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36025 Update #include.
36026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36027 Moved ...
36028 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36029 Update #include.
36030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36031 Moved ...
36032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36033 Update #include.
36034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36035 Moved ...
36036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36037 Update #include.
36038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36039 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36049 Moved ...
36050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36054 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36055
36056 2014-06-20 Joseph Myers <joseph@codesourcery.com>
36057
36058 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36059 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36060 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36061 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36062 * nscd/nscd.c: Likewise.
36063 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36064 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36065 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36066 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36067
36068 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36069 <kernel-features.h>.
36070 (init_mq_netlink): Remove conditional have_sock_cloexec
36071 definitions. Remove code conditional on have_sock_cloexec < 0.
36072 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36073 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36074 * sysdeps/unix/sysv/linux/opensock.c: Do not include
36075 <kernel-features.h>.
36076 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36077 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36078
36079 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
36080
36081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36082 Add tests for memset_chk and memset.
36083
36084 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36085 with AVX2_Usable.
36086
36087 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
36088
36089 [BZ #16046]
36090 * elf/tst-dl-iter-static.c: New file.
36091 * elf/Makefile (tests-static): Add tst-dl-iter-static.
36092
36093 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36094 error.
36095
36096 2014-06-20 Joseph Myers <joseph@codesourcery.com>
36097
36098 * sysdeps/unix/sysv/linux/kernel-features.h
36099 (__ASSUME_F_GETOWN_EX): Remove macro.
36100 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36101 <kernel-features.h>.
36102 (miss_F_GETOWN_EX): Remove variable or macro.
36103 (do_fcntl): Do not check miss_F_GETOWN_EX.
36104 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36105
36106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36107 Remove macro.
36108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36109 [!__ASSUME_AT_RANDOM]: Remove conditional code.
36110 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36111
36112 * sysdeps/unix/sysv/linux/kernel-features.h
36113 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36114 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36115 [ADJ_OFFSET_SS_READ]: Make code unconditional.
36116 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36117
36118 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
36119
36120 [BZ #17075]
36121 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36122 Fix calculation of the symbol's value.
36123 * sysdeps/arm/tst-armtlsdescloc.c: New file.
36124 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36125 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36126 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36127 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36128 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36129 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36130 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36131 (modules-names): Add `tst-armtlsdescmod',
36132 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36133 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36134 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36135 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36136 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36137 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36138 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36139 ($(objpfx)tst-armtlsdescloc): New dependency.
36140 ($(objpfx)tst-armtlsdescextnow): Likewise.
36141 ($(objpfx)tst-armtlsdescextlazy): Likewise.
36142 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36143 TLS scheme support.
36144 * sysdeps/arm/configure: Regenerate.
36145
36146 2014-06-20 Joseph Myers <joseph@codesourcery.com>
36147
36148 * include/fcntl.h (__atfct_seterrno): Remove prototype.
36149 (__atfct_seterrno_2): Likewise.
36150 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36151 <kernel-features.h>.
36152 (__ASSUME_ATFCTS): Do not undefine and redefine.
36153 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36154 (__have_atfcts): Remove conditional definition.
36155 (__fxstatat([__NR_fstatat64]: Make code unconditional.
36156 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36157 unreachable if [__ASSUME_ATFCTS].
36158 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36159 not undefine and redefine.
36160 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36161 <kernel-features.h>.
36162 (faccessat) [__NR_faccessat]: Make code unconditional.
36163 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36164 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36165 <kernel-features.h>.
36166 (fchmodat) [__NR_fchmodat]: Make code unconditional.
36167 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36168 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36169 <kernel-features.h>.
36170 (fchownat) [__NR_fchownat]: Make code unconditional.
36171 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36172 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36173 <kernel-features.h>.
36174 (futimesat) [__NR_futimesat]: Make code unconditional.
36175 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36176 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36177 <kernel-features.h>.
36178 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36180 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36181 <kernel-features.h>.
36182 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36183 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36184 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36185 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36186 <kernel-features.h>.
36187 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36188 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36189 * sysdeps/unix/sysv/linux/linkat.c: Do not include
36190 <kernel-features.h>.
36191 (linkat) [__NR_linkat]: Make code unconditional.
36192 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36193 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36194 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36195 <kernel-features.h>.
36196 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36197 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36198 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36199 <kernel-features.h>.
36200 (mkdirat) [__NR_mkdirat]: Make code unconditional.
36201 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36202 * sysdeps/unix/sysv/linux/openat.c: Do not include
36203 <kernel-features.h>.
36204 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36205 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36206 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36207 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36209 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36210 <kernel-features.h>.
36211 (readlinkat) [__NR_readlinkat]: Make code unconditional.
36212 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
36213 result of INLINE_SYSCALL directly, not via int variable.
36214 * sysdeps/unix/sysv/linux/renameat.c: Do not include
36215 <kernel-features.h>.
36216 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36217 (renameat) [__NR_renameat]: Make code unconditional.
36218 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36219 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36220 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36221 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36222 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36223 (__ASSUME_ATFCTS): Do not undefine and redefine.
36224 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36225 <kernel-features.h>.
36226 (symlinkat) [__NR_symlinkat]: Make code unconditional.
36227 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36228 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36229 <kernel-features.h>.
36230 (unlinkat) [__NR_unlinkat]: Make code unconditional.
36231 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36232 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36233 (__ASSUME_ATFCTS): Do not undefine and redefine.
36234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36235 <kernel-features.h>.
36236 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36237 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36238 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36239 <kernel-features.h>.
36240 (__xmknodat) [__NR_mknodat]: Make code unconditional.
36241 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36242
36243 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36246
36247 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
36248
36249 [BZ #17069]
36250 * posix/regcomp.c (parse_reg_exp): Deallocate partially
36251 constructed tree before returning error.
36252 * posix/bug-regexp36.c: Expand test case.
36253
36254 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
36255
36256 [BZ #6803]
36257 * math/libm-test.inc (scalbln_test_date):
36258 Add errno expectations.
36259 * math/w_scalblnf.c: New File.
36260 Add wrapper which checks for setting errno to ERANGE.
36261 Add weak_alias for corresponding scalbln function.
36262 * math/w_scalbln.c: Likewise.
36263 * math/w_scalblnl.c: Likewise.
36264 * math/Makefile (libm-calls): Add w_scalbln.
36265 * sysdeps/ieee754/flt-32/s_scalblnf.c:
36266 Remove weak_alias for corresponding scalbln function.
36267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36271 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36272 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36273 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36274 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36276 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36277 Remove long_double_symbol for scalblnl function in libm, libc.
36278 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36279 Add wrapper which checks for setting errno to ERANGE.
36280 Add long_double_symbol for scalblnl function in libm, libc.
36281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36282 Remove long_double_symbol for scalblnl in libm.
36283 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36284 Add wrapper which checks for setting errno to ERANGE.
36285 Add long_double_symbol for scalblnl function in libm.
36286 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36287 Do not use wrapper because of own implementation.
36288
36289 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
36290
36291 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36292 3 bytes for __pad1 for x32.
36293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36294
36295 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
36296 H.J. Lu <hongjiu.lu@intel.com>
36297
36298 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36299 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36302 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36303
36304 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
36305
36306 [BZ #17069]
36307 * posix/regcomp.c (parse_expression): Deallocate partially
36308 constructed tree before returning error.
36309 * posix/Makefile.c (tests): Add bug-regex36.
36310 (generated): Add bug-regex36.mtrace.
36311 (tests-special): Add $(objpfx)bug-regex36-mem.out
36312 (bug-regex36-ENV): New variable.
36313 ($(objpfx)bug-regex36-mem.out): New rule.
36314 * posix/bug-regex36.c: New file.
36315
36316 2014-06-19 Will Newton <will.newton@linaro.org>
36317
36318 * malloc/malloc.c (systrim): If extra is zero then return
36319 early.
36320
36321 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36322
36323 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36324
36325 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
36326
36327 * sysdeps/aarch64/strchr.S: New file.
36328
36329 2014-06-18 Joseph Myers <joseph@codesourcery.com>
36330
36331 [BZ #17022]
36332 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36333 from arguments -2 or below.
36334 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36335 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36336
36337 2014-06-18 Andreas Schwab <schwab@suse.de>
36338
36339 [BZ #17062]
36340 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36341 of a bracket expr not to run off the end of the string.
36342 * posix/Makefile (tests): Add tst-fnmatch3.
36343 * posix/tst-fnmatch3.c: New file.
36344
36345 2014-06-18 Joseph Myers <joseph@codesourcery.com>
36346
36347 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36348 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36349 [$(cross-compiling) = no]: Likewise.
36350 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36351 [$(cross-compiling) = no]: Likewise.
36352
36353 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36354
36355 [BZ #17031]
36356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36357 double, adjusted for any remainder from the high double.
36358 * math/libm-test.inc (nearbyint): Add tests.
36359 (rint): Likewise.
36360
36361 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36362
36363 * nptl/sysdeps/powerpc/Makefile: Moved ...
36364 * sysdeps/powerpc/nptl/Makefile: ... here.
36365 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36366 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36367 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36368 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36369 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36370 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36371 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36372 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36373 * nptl/sysdeps/powerpc/tls.h: Moved ...
36374 * sysdeps/powerpc/nptl/tls.h: ... here.
36375
36376 2014-06-16 Joseph Myers <joseph@codesourcery.com>
36377
36378 [BZ #16681]
36379 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36380 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36381 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36382 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36383 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36384 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36385 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36386 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36387 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36388
36389 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
36390
36391 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36392
36393 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
36394
36395 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36396 defined operator.
36397
36398 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36399 $TIMEOUTFACTOR.
36400
36401 2014-06-16 Florian Weimer <fweimer@redhat.com>
36402
36403 [BZ #17058]
36404 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36405 non-executed part of the test.
36406
36407 2014-06-16 Andreas Schwab <schwab@suse.de>
36408
36409 * string/bits/string2.h (strdup, strndup): Update feature guard.
36410
36411 2014-06-14 David S. Miller <davem@davemloft.net>
36412
36413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36414
36415 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
36416
36417 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36418 that was previously under [RESET_PID].
36419 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36420
36421 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36422 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36423 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36425 (__libc_vfork): New strong alias.
36426 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36427
36428 2014-06-14 Andi Kleen <ak@linux.intel.com>
36429
36430 * sysdeps/generic/elide.h: New file.
36431
36432 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36433
36434 * Makefile (installed-headers): Adjust path of pthread.h header.
36435
36436 2014-06-13 Roland McGrath <roland@hack.frob.com>
36437
36438 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36439 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36440 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36441 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36442
36443 * nptl/sysdeps/s390/Makefile: Moved ...
36444 * sysdeps/s390/nptl/Makefile: ... here.
36445 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36446 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36447 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36448 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36449 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36450 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36451 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36452 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36453 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36454 * sysdeps/s390/nptl/pthreaddef.h: ... here.
36455 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36456 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36457 * nptl/sysdeps/s390/tls.h: Moved ...
36458 * sysdeps/s390/nptl/tls.h: ... here.
36459
36460 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36461 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36462
36463 2014-06-13 David S. Miller <davem@davemloft.net>
36464
36465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36468 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36472 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36473 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36474 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36475 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36476 Remove RESET_PID cpp guards.
36477 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36478 Remove RESET_PID cpp guards.
36479 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36480
36481 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
36482
36483 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36484 __sp to uintptr_t.
36485
36486 2014-06-13 Andi Kleen <ak@linux.intel.com>
36487
36488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36491 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36492 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36502 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36508
36509 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36510 (pthread_rwlock_rdlock): Add elision.
36511 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36512 (pthread_rwlock_wrlock): Add elision.
36513 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36514 (pthread_rwlock_trywrlock): Add elision.
36515 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36516 (pthread_rwlock_tryrdlock): Add elision.
36517 * nptl/pthread_rwlock_unlock.c: Include elide.h.
36518 (pthread_rwlock_tryrdlock): Add elision unlock.
36519 * nptl/sysdeps/pthread/pthread.h:
36520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36521 (PTHREAD_RWLOCK_INITIALIZER,
36522 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36523 Handle new elision field.
36524 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36525 * sysdeps/arm/nptl/bits/pthreadtypes.h
36526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36527 * sysdeps/sh/nptl/bits/pthreadtypes.h
36528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36529 * sysdeps/tile/nptl/bits/pthreadtypes.h
36530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36531 * sysdeps/a/nptl/bits/pthreadtypes.h
36532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36533 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36535 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36537 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36541 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36543 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36545 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36547 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36549 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36550 (elision_init): Set try_xbegin to zero when no RTM.
36551 * sysdeps/x86/nptl/bits/pthreadtypes.h
36552 (pthread_rwlock_t): Change __pad1 to __rwelision.
36553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36554
36555 2014-06-13 Andi Kleen <ak@linux.intel.com>
36556
36557 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36558 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36559 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36560 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36561
36562 2014-06-13 Meador Inge <meadori@codesourcery.com>
36563
36564 [BZ #16996]
36565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36566 that the cached result has been set before returning it.
36567
36568 2014-06-12 Roland McGrath <roland@hack.frob.com>
36569
36570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36571 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36573 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36574 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36575 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36576
36577 * nptl/sysdeps/sparc/Makefile: Moved ...
36578 * sysdeps/sparc/nptl/Makefile: ... here.
36579 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36580 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36581 * nptl/sysdeps/sparc/tls.h: Moved ...
36582 * sysdeps/sparc/nptl/tls.h: ... here.
36583 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36584 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36585 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36586 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36587 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36588 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36589 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36590 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36591 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36592 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36593 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36594 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36595 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36596 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36597 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36598 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36601 Update #include.
36602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36604 Update #include.
36605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36607 Update #include.
36608 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36610 Update #include.
36611
36612 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36613
36614 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36615 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36616
36617 * sysdeps/pthread/posix-timer.h: Include <list.h>.
36618 (struct list_links): Type removed.
36619 (struct thread_node, struct timer_node): Replace struct list_links
36620 with struct list_head.
36621 (list_unlink_ip): Likewise.
36622 * sysdeps/pthread/timer_routines.c
36623 (timer_free_list, thread_free_list, thread_active_list): Likewise.
36624 (list_append, list_insbefore): Likewise.
36625 (list_init): Function removed.
36626 (thread_init, init_module): Use INIT_LIST_HEAD instead.
36627 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36628 * sysdeps/pthread/Makefile: ... here, new file.
36629
36630 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36631 * sysdeps/nptl/Implies: ... here.
36632 * sysdeps/unix/sysv/linux/Implies: Add nptl.
36633 * nptl/sysdeps/pthread/list.h: Moved ...
36634 * include/list.h: ... here.
36635 * nptl/sysdeps/pthread/createthread.c: Moved ...
36636 * nptl/createthread.c: ... here.
36637 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36638 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36639 * nptl/pt-longjmp.c: ... here.
36640 * nptl/sysdeps/pthread/Makefile: Moved ...
36641 * sysdeps/nptl/Makefile: ... here.
36642 * nptl/sysdeps/pthread/Subdirs: Moved ...
36643 * sysdeps/nptl/Subdirs: ... here.
36644 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36645 * sysdeps/nptl/aio_misc.h: ... here.
36646 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36647 * sysdeps/nptl/bits/libc-lock.h: ... here.
36648 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36649 * sysdeps/nptl/bits/libc-lockP.h: ... here.
36650 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36651 * sysdeps/nptl/bits/stdio-lock.h: ... here.
36652 * nptl/sysdeps/pthread/configure: Moved ...
36653 * sysdeps/nptl/configure: ... here.
36654 * nptl/sysdeps/pthread/configure.ac: Moved ...
36655 * sysdeps/nptl/configure.ac: ... here.
36656 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36657 * sysdeps/nptl/gai_misc.h: ... here.
36658 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36659 * sysdeps/nptl/librt-cancellation.c: ... here.
36660 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36661 * sysdeps/nptl/malloc-machine.h: ... here.
36662 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36663 * sysdeps/nptl/pthread-functions.h: ... here.
36664 * nptl/sysdeps/pthread/pthread.h: Moved ...
36665 * sysdeps/nptl/pthread.h: ... here.
36666 * nptl/sysdeps/pthread/setxid.h: Moved ...
36667 * sysdeps/nptl/setxid.h: ... here.
36668 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36669 * sysdeps/nptl/sigfillset.c: ... here.
36670 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36671 * sysdeps/nptl/tcb-offsets.h: ... here.
36672 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36673 * sysdeps/nptl/tst-mqueue8x.c: ... here.
36674 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36675 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36676 * nptl/sysdeps/pthread/allocalim.h: Moved ...
36677 * sysdeps/pthread/allocalim.h: ... here.
36678 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36679 * sysdeps/pthread/bits/sigthread.h: ... here.
36680 * nptl/sysdeps/pthread/flockfile.c: Moved ...
36681 * sysdeps/pthread/flockfile.c: ... here.
36682 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36683 * sysdeps/pthread/ftrylockfile.c: ... here.
36684 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36685 * sysdeps/pthread/funlockfile.c: ... here.
36686 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36687 * sysdeps/pthread/posix-timer.h: ... here.
36688 * nptl/sysdeps/pthread/timer_create.c: Moved ...
36689 * sysdeps/pthread/timer_create.c: ... here.
36690 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36691 * sysdeps/pthread/timer_delete.c: ... here.
36692 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36693 * sysdeps/pthread/timer_getoverr.c: ... here.
36694 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36695 * sysdeps/pthread/timer_gettime.c: ... here.
36696 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36697 * sysdeps/pthread/timer_routines.c: ... here.
36698 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36699 * sysdeps/pthread/timer_settime.c: ... here.
36700 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36701 * sysdeps/pthread/tst-timer.c: ... here.
36702 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36703 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36704
36705 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36706 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36707
36708 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36709 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36710 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36711 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36712 Update #include target.
36713 * nptl/sysdeps/i386/i686/Makefile: Moved ...
36714 * sysdeps/i386/i686/nptl/Makefile: ... here.
36715 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36716 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36717 Update #include target.
36718 * nptl/sysdeps/i386/i686/tls.h: Moved ...
36719 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
36720 * nptl/sysdeps/i386/Makefile: Moved ...
36721 * sysdeps/i386/nptl/Makefile: ... here.
36722 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36723 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36724 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36725 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36726 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36727 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36728 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36729 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36730 * sysdeps/i386/nptl/pthreaddef.h: ... here.
36731 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36732 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36733 * nptl/sysdeps/i386/tls.h: Moved ...
36734 * sysdeps/i386/nptl/tls.h: ... here.
36735
36736 * sysdeps/sh/Makefile [$(subdir) = csu]
36737 (gen-as-const-headers): Add tcb-offsets.sym.
36738 * nptl/sysdeps/sh/Makefile: File removed.
36739 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36740 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36741 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36742 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36743 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36744 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36745 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36746 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36747 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36748 * sysdeps/sh/nptl/pthreaddef.h: ... here.
36749 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36750 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36751 * nptl/sysdeps/sh/tls.h: Moved ...
36752 * sysdeps/sh/nptl/tls.h: ... here.
36753 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36756 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36758 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36760 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36761 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36762 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36764 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36766 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36768 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36770 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36772 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36774 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36778 Moved ...
36779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36781 Moved ...
36782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36786 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36787 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36788 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36789 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36790 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36791 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36792 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36793 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36794 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36795 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36796 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36797 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36798 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36799 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36801
36802 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
36803
36804 * posix/spawn_faction_addopen.c: Include string.h.
36805
36806 2014-06-11 Roland McGrath <roland@hack.frob.com>
36807
36808 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36809 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36810 * nptl/sysdeps/x86_64/Makefile: Moved ...
36811 * sysdeps/x86_64/nptl/Makefile: ... here.
36812 * nptl/sysdeps/x86_64/configure: Moved ...
36813 * sysdeps/x86_64/nptl/configure: ... here.
36814 * nptl/sysdeps/x86_64/configure.ac: Moved ...
36815 * sysdeps/x86_64/nptl/configure.ac: ... here.
36816 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36817 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36818 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36819 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36820 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36821 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36822 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36823 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36824 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36825 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36826 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36827 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36828 * nptl/sysdeps/x86_64/tls.h: Moved ...
36829 * sysdeps/x86_64/nptl/tls.h: ... here.
36830 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36831 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36832 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36833 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36834
36835 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36836
36837 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36838
36839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36840
36841 2014-06-11 Joseph Myers <joseph@codesourcery.com>
36842
36843 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36844 type.
36845 [POSIX] (off_t): Likewise.
36846 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36847 [POSIX] (S_ISBLK): Require macro.
36848 [POSIX] (S_ISCHR): Likewise.
36849 [POSIX] (S_ISDIR): Likewise.
36850 [POSIX] (S_ISFIFO): Likewise.
36851 [POSIX] (S_ISREG): Likewise.
36852 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36853 optional-macro.
36854 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36855 type.
36856 [POSIX] (time_t): Likewise.
36857 [POSIX] (timer_t): Likewise.
36858
36859 2014-06-11 Florian Weimer <fweimer@redhat.com>
36860
36861 [BZ #17048]
36862 * posix/spawn_int.h (struct __spawn_action): Make the path string
36863 non-const to support deallocation.
36864 * posix/spawn_faction_addopen.c
36865 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36866 * posix/spawn_faction_destroy.c
36867 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
36868 path in all spawn_do_open actions.
36869 * posix/tst-spawn.c (do_test): Exercise the copy operation in
36870 posix_spawn_file_actions_addopen.
36871
36872 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
36873
36874 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36876 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36877 conditional code always true.
36878 (__libc_vfork): New alias.
36879
36880 2014-06-11 Roland McGrath <roland@hack.frob.com>
36881
36882 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36883 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36884
36885 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36886
36887 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36888 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36889
36890 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36891 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36892
36893 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36894 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36895
36896 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36897
36898 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36899 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36900 multiarch strcmp for PPC64.
36901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36902 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36904 multiarch optimizations.
36905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36906 (__libc_ifunc_impl_list): Likewise.
36907
36908 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36909
36910 * benchtests/scripts/validate_benchout.py: New script.
36911 * benchtests/Makefile (bench-func): Call it.
36912 * benchtests/scripts/benchout.schema.json: New file.
36913
36914 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
36915
36916 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36917 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36918 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36919 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36920 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36921 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36922 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36923 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36924 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36925 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36926 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36928 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36929 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36930 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36931 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36933 Moved ...
36934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36935 ... here.
36936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36937 Moved ...
36938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36940 Moved ...
36941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36942 ... here.
36943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36944 Moved ...
36945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36946 ... here.
36947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36948 Moved ...
36949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36951 Moved ...
36952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36953 ... here.
36954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36955 Moved ...
36956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36957 ... here.
36958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36959 Moved ...
36960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36962 Moved ...
36963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36964 ... here.
36965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36966 Moved ...
36967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36968 ... here.
36969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36970 Moved ...
36971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36972 ... here.
36973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36974 Moved ...
36975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36977 Moved ...
36978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36979 ... here.
36980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36981 Moved ...
36982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36983 ... here.
36984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36985 Moved ...
36986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36987 ... here.
36988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36989 Moved ...
36990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36992 Moved ...
36993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36994 ... here.
36995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36996 Moved ...
36997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36998 ... here.
36999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37000 Moved ...
37001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37003 Moved ...
37004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37005 ... here.
37006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37007 Moved ...
37008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37010 Moved ...
37011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37013 Moved ...
37014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37015 ... here.
37016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37017 Moved ...
37018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37019 ... here.
37020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37021 Moved ...
37022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37023 ... here.
37024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37025 Moved ...
37026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37028 Moved ...
37029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37030 ... here.
37031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37032 Moved ...
37033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37034 ... here.
37035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37036 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37038 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37040 Moved ...
37041 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37042 ... here.
37043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37044 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37046 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37048 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37050 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37052 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37054 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37056 Moved ...
37057 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37059 Moved ...
37060 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37062 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37064 Moved ...
37065 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37067 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37068 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37069 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37070 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37071 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37072
37073 2014-06-10 Wilco <wdijkstr@arm.com>
37074
37075 * math/test-fenv-return.c: New file.
37076 * math/Makefile: Add new test test-fenv-return.
37077
37078 2014-06-10 Joseph Myers <joseph@codesourcery.com>
37079
37080 [BZ #17042]
37081 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37082 when x - 1 is zero.
37083 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37084 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37085 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37086 0.0L for an argument of 1.0L.
37087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37088 Likewise.
37089 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37090 value when x - 1 is zero.
37091 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37092 * sysdeps/i386/fpu/libm-test-ulps: Update.
37093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37094
37095 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
37096
37097 [BZ #15119]
37098 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37099
37100 2014-06-09 Roland McGrath <roland@hack.frob.com>
37101
37102 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37103 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37104
37105 2014-06-09 Roland McGrath <roland@hack.frob.com>
37106
37107 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37108 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37109
37110 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37111 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37112
37113 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37114 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37115
37116 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37117 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37118
37119 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37120 if not already defined.
37121 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37122 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37123 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37124 (TLS_INIT_TP): Use it.
37125 (TLS_DEFINE_INIT_TP): New macro.
37126 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37127
37128 2014-06-09 Joseph Myers <joseph@codesourcery.com>
37129
37130 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37131 constant.
37132 [POSIX] (IXANY): Likewise.
37133 [POSIX] (OLCUC): Likewise.
37134 [POSIX || POSIX2008] (CBAUD): Do not allow.
37135 [POSIX || POSIX2008] (DEFECHO): Likewise.
37136 [POSIX || POSIX2008] (ECHOCTL): Likewise.
37137 [POSIX || POSIX2008] (ECHOKE): Likewise.
37138 [POSIX || POSIX2008] (ECHOPRT): Likewise.
37139 [POSIX || POSIX2008] (EXTA): Likewise.
37140 [POSIX || POSIX2008] (EXTB): Likewise.
37141 [POSIX || POSIX2008] (FLUSHO): Likewise.
37142 [POSIX || POSIX2008] (LOBLK): Likewise.
37143 [POSIX || POSIX2008] (PENDIN): Likewise.
37144 [POSIX || POSIX2008] (SWTCH): Likewise.
37145 [POSIX || POSIX2008] (VDISCARD): Likewise.
37146 [POSIX || POSIX2008] (VDSUSP): Likewise.
37147 [POSIX || POSIX2008] (VLNEXT): Likewise.
37148 [POSIX || POSIX2008] (VREPRINT): Likewise.
37149 [POSIX || POSIX2008] (VSTATUS): Likewise.
37150 [POSIX || POSIX2008] (VWERASE): Likewise.
37151 (B*): Change to B[0123456789]*.
37152 * conform/data/time.h-data [POSIX || UNIX98]
37153 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37154 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37155 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37156 [POSIX] (tm_*): Do not allow.
37157
37158 2014-06-07 Joseph Myers <joseph@codesourcery.com>
37159
37160 * Makefile (install): Don't set LANGUAGE.
37161 * Makefile.in (install): Likewise.
37162 * assert/Makefile (test-assert-ENV): Remove variable.
37163 (test-assert-perr-ENV): Likewise.
37164 * elf/Makefile (neededtest4-ENV): Likewise.
37165 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37166 [$(cross-compiling) = no]: Don't set LANGUAGE.
37167 * io/ftwtest-sh (LANG): Remove variable.
37168 * libio/Makefile (tst-widetext-ENV): Likewise.
37169 * manual/install.texi (Running make install): Don't refer to
37170 environment settings for make install.
37171 * INSTALL: Regenerated.
37172 * nptl/tst-tls6.sh: Don't set LANG.
37173 * posix/globtest.sh (LANG): Remove variable.
37174 * string/Makefile (tester-ENV): Likewise.
37175 (inl-tester-ENV): Likewise.
37176 (noinl-tester-ENV): Likewise.
37177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37178 [$(cross-compiling) = no]: Don't set LANGUAGE.
37179 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37180 without explicit environment settings.
37181
37182 2014-06-06 Roland McGrath <roland@hack.frob.com>
37183
37184 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37185 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37186 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37187 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37188
37189 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
37190
37191 * crypt/crypt-private.h [DOS]: Add some includes taken from the
37192 other files in the crypt directory.
37193 * crypt/crypt.c: Remove duplicate includes.
37194 * crypt/crypt-entry.c: Likewise.
37195 * crypt/crypt_util.c: Likewise.
37196
37197 2014-06-06 Joseph Myers <joseph@codesourcery.com>
37198
37199 * Makeconfig (run-program-env): New variable.
37200 (run-program-prefix-before-env): Likewise.
37201 (run-program-prefix-after-env): Likewise.
37202 (run-program-prefix): Define in terms of new variables.
37203 (built-program-cmd-before-env): New variable.
37204 (built-program-cmd-after-env): Likewise.
37205 (built-program-cmd): Define in terms of new variables.
37206 (test-program-prefix-before-env): New variable.
37207 (test-program-prefix-after-env): Likewise.
37208 (test-program-prefix): Define in terms of new variables.
37209 (test-program-cmd-before-env): New variable.
37210 (test-program-cmd-after-env): Likewise.
37211 (test-program-cmd): Define in terms of new variables.
37212 * Rules (make-test-out): Use $(run-program-env).
37213 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37214 (help): Do not mention environment variables. Mention
37215 --timeoutfactor option.
37216 (timeoutfactor): New variable.
37217 (blacklist_exports): Remove function.
37218 (exports): Remove variable.
37219 (command): Do not include ${exports}.
37220 * manual/install.texi (Configuring and compiling): Do not mention
37221 test wrappers preserving environment variables. Mention that last
37222 assignment to a variable must take precedence.
37223 * INSTALL: Regenerated.
37224 * benchtests/Makefile (run-bench): Use $(run-program-env).
37225 * catgets/Makefile ($(objpfx)test1.cat): Use
37226 $(built-program-cmd-before-env), $(run-program-env) and
37227 $(built-program-cmd-after-env).
37228 ($(objpfx)test2.cat): Do not specify environment variables
37229 explicitly.
37230 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37231 $(run-program-env) and $(built-program-cmd-after-env).
37232 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37233 $(run-program-env) and $(test-program-cmd-after-env).
37234 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37235 explicitly.
37236 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37237 run_program_env and test_program_cmd_after_env arguments.
37238 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37239 * elf/tst-pathopt.sh: Use run_program_env argument.
37240 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37241 $(test-wrapper-env) and $(run-program-env).
37242 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37243 run_program_env arguments.
37244 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37245 * intl/Makefile ($(objpfx)tst-gettext.out): Use
37246 $(test-program-prefix-before-env), $(run-program-env) and
37247 $(test-program-prefix-after-env).
37248 ($(objpfx)tst-gettext2.out): Likewise.
37249 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37250 run_program_env and test_program_prefix_after_env arguments.
37251 * intl/tst-gettext2.sh: Likewise.
37252 * intl/tst-gettext4.sh: Do not set environment variables
37253 explicitly.
37254 * intl/tst-gettext6.sh: Likewise.
37255 * intl/tst-translit.sh: Likewise.
37256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37257 $(test-program-prefix-before-env), $(run-program-env) and
37258 $(test-program-prefix-after-env).
37259 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37260 run_program_env and test_program_prefix_after_env arguments.
37261 * math/Makefile (run-regen-ulps): Use $(run-program-env).
37262 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37263 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
37264 explicitly with each use of ${test_wrapper_env}.
37265 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37266 $(test-program-prefix-before-env), $(run-program-env) and
37267 $(test-program-prefix-after-env).
37268 * posix/tst-getconf.sh: Do not set environment variables
37269 explicitly.
37270 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37271 run_program_env and test_program_prefix_after_env arguments.
37272 * stdio-common/tst-printf.sh: Do not set environment variables
37273 explicitly.
37274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37275 $(test-program-prefix-before-env), $(run-program-env) and
37276 $(test-program-prefix-after-env).
37277 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37278 run_program_env and test_program_prefix_after_env arguments.
37279 Split $test calls into $test_pre and $test.
37280 * timezone/Makefile (build-testdata): Use
37281 $(built-program-cmd-before-env), $(run-program-env) and
37282 $(built-program-cmd-after-env).
37283
37284 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37285
37286 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37287 strlen for non SHARED builds.
37288
37289 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37290
37291 * nptl/allocatestack.c (check_list): Inlined function...
37292 (__reclaim_stacks): ... here.
37293
37294 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
37295
37296 [BZ #15698]
37297 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37298 memory overrun.
37299
37300 2014-06-05 Joseph Myers <joseph@codesourcery.com>
37301
37302 * Rules (make-test-out): Include
37303 LOCPATH=$(common-objpfx)localedata in default environment.
37304 * debug/Makefile (tst-chk1-ENV): Remove variable.
37305 (tst-chk2-ENV): Likewise.
37306 (tst-chk3-ENV): Likewise.
37307 (tst-chk4-ENV): Likewise.
37308 (tst-chk5-ENV): Likewise.
37309 (tst-chk6-ENV): Likewise.
37310 (tst-lfschk1-ENV): Likewise.
37311 (tst-lfschk2-ENV): Likewise.
37312 (tst-lfschk3-ENV): Likewise.
37313 (tst-lfschk4-ENV): Likewise.
37314 (tst-lfschk5-ENV): Likewise.
37315 (tst-lfschk6-ENV): Likewise.
37316 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37317 (tst-iconv7-ENV): Likewise.
37318 * intl/Makefile (LOCPATH-ENV): Likewise.
37319 (tst-codeset-ENV): Likewise.
37320 (tst-gettext3-ENV): Likewise.
37321 (tst-gettext5-ENV): Likewise.
37322 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37323 (tst-fopenloc-ENV): Likewise.
37324 (tst-fgetws-ENV): Remove variable.
37325 (tst-ungetwc1-ENV): Likewise.
37326 (tst-ungetwc2-ENV): Likewise.
37327 (bug-ungetwc2-ENV): Likewise.
37328 (tst-swscanf-ENV): Likewise.
37329 (bug-ftell-ENV): Likewise.
37330 (tst-fgetwc-ENV): Likewise.
37331 (tst-fseek-ENV): Likewise.
37332 (tst-ftell-partial-wide-ENV): Likewise.
37333 (tst-ftell-active-handler-ENV): Likewise.
37334 (tst-ftell-append-ENV): Likewise.
37335 * posix/Makefile (tst-fnmatch-ENV): Likewise.
37336 (tst-regexloc-ENV): Likewise.
37337 (bug-regex1-ENV): Likewise.
37338 (tst-regex-ENV): Likewise.
37339 (tst-regex2-ENV): Likewise.
37340 (bug-regex5-ENV): Likewise.
37341 (bug-regex6-ENV): Likewise.
37342 (bug-regex17-ENV): Likewise.
37343 (bug-regex18-ENV): Likewise.
37344 (bug-regex19-ENV): Likewise.
37345 (bug-regex20-ENV): Likewise.
37346 (bug-regex22-ENV): Likewise.
37347 (bug-regex23-ENV): Likewise.
37348 (bug-regex25-ENV): Likewise.
37349 (bug-regex26-ENV): Likewise.
37350 (bug-regex30-ENV): Likewise.
37351 (bug-regex32-ENV): Likewise.
37352 (bug-regex33-ENV): Likewise.
37353 (bug-regex34-ENV): Likewise.
37354 (bug-regex35-ENV): Likewise.
37355 (tst-rxspencer-ENV): Likewise.
37356 (tst-rxspencer-no-utf8-ENV): Likewise.
37357 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37358 (tst-sscanf-ENV): Likewise.
37359 (tst-swprintf-ENV): Likewise.
37360 (tst-swscanf-ENV): Likewise.
37361 (test-vfprintf-ENV): Likewise.
37362 (scanf13-ENV): Likewise.
37363 (bug14-ENV): Likewise.
37364 (tst-grouping-ENV): Likewise.
37365 * stdlib/Makefile (tst-strtod-ENV): Likewise.
37366 (tst-strtod3-ENV): Likewise.
37367 (tst-strtod4-ENV): Likewise.
37368 (tst-strtod5-ENV): Likewise.
37369 (testmb2-ENV): Likewise./
37370 * string/Makefile (tst-strxfrm-ENV): Likewise.
37371 (tst-strxfrm2-ENV): Likewise.
37372 (bug-strcoll1-ENV): Likewise.
37373 (test-strcasecmp-ENV): Likewise.
37374 (test-strncasecmp-ENV): Likewise.
37375 * time/Makefile (tst-strptime-ENV): Likewise.
37376 (tst-ftime_l-ENV): Likewise.
37377 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37378 (tst-mbrtowc-ENV): Likewise.
37379 (tst-wcrtomb-ENV): Likewise.
37380 (tst-mbrtowc2-ENV): Likewise.
37381 (tst-c16c32-1-ENV): Likewise.
37382 (tst-mbsnrtowcs-ENV): Likewise.
37383
37384 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
37385
37386 * manual/resource.texi (How to get information about the memory
37387 subsystem?): Fix typo.
37388 Reported by Peon de la Parra Ivan <peon@keba.com>
37389
37390 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
37391
37392 [BZ #16882]
37393 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37394 (pthread_spin_lock): Branch out of spin loop to proper location.
37395 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37396 (pthread_spin_lock): Likewise.
37397
37398 * nptl/tst-spin4.c: New test.
37399 * nptl/Makefile (tests): Add tst-spin4.
37400
37401 2014-06-03 Andreas Schwab <schwab@suse.de>
37402
37403 [BZ #15946]
37404 * resolv/res_send.c (send_dg): Reload file descriptor after
37405 calling reopen.
37406
37407 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
37408
37409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37410
37411 2014-06-03 Richard Henderson <rth@redhat.com>
37412
37413 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37414 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37415 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37416 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
37417 in the SAVE_PID block.
37418 (__libc_vfork): New alias.
37419 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37420
37421 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37422 child in registers, not on the stack. Remove RESET_PID conditionals.
37423 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37424
37425 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
37426
37427 * sysdeps/aarch64/libm-test-ulps: Regenerate.
37428
37429 2014-06-03 Wilco <wdijkstr@arm.com>
37430
37431 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37432 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37433 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37434 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37435 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37436 Likewise.
37437
37438 2014-06-03 Wilco <wdijkstr@arm.com>
37439
37440 * sysdeps/aarch64/fpu/math_private.h
37441 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37442 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37443 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37444 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37445 Fix declarations.
37446
37447 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
37448
37449 * crypt/crypt-private.h: Include ufc-crypt.h.
37450 (__b64_from_24bit): Declare extern.
37451 * crypt/crypt_util.c(__b64_from_24bit): New function.
37452 (b64t): New static const variable.
37453 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37454 (b64t): Remove variable.
37455 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37456 * crypt/sha256-crypt.c: Include crypt-private.h.
37457 (b64t): Remove variable.
37458 (__sha256_crypt_r): Remove b64_from_24bit and replace
37459 with __b64_from_24bit.
37460 * crypt/sha512-crypt.c: Likewise.
37461
37462 2014-06-02 Roland McGrath <roland@hack.frob.com>
37463
37464 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37465 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37466 Label the code __libc_vfork rather than __vfork.
37467 [!NOT_IN_libc] (vfork): Define as weak alias.
37468 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37469 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37470 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37471
37472 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37473
37474 * malloc/malloc.c (malloc_info): Fix format specifier for
37475 n_mmaps.
37476
37477 2014-06-02 Wilco <wdijkstr@arm.com>
37478
37479 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37480 FPCR write.
37481
37482 2014-06-02 Wilco <wdijkstr@arm.com>
37483
37484 [BZ #17009]
37485 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37486 Rewrite to reduce FPCR/FPSR accesses.
37487
37488 2014-06-01 David S. Miller <davem@davemloft.net>
37489
37490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37491
37492 2014-05-31 David S. Miller <davem@davemloft.net>
37493
37494 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37495 to occur in round to nearest mode when |x| >= 2.0
37496
37497 2014-05-30 Richard Henderson <rth@twiddle.net>
37498
37499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37500 (PSEUDO_RET_NOERRNO): Remove.
37501 (ret): Don't redefine.
37502 (ret_NOERRNO): Define in terms of ret.
37503 (ret_ERRVAL): Likewise.
37504
37505 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37506 use of PSEUDO_RET; perform the error check directly.
37507
37508 2014-05-30 Marko Myllynen <myllynen@redhat.com>
37509
37510 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37511 with __int128_t.
37512
37513 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37514
37515 * malloc/malloc (malloc_info): Fix formatting.
37516
37517 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37518 Roland McGrath <roland@hack.frob.com>
37519
37520 * malloc/malloc (malloc_info): Also print mmapped statistics.
37521
37522 2014-05-30 Roland McGrath <roland@hack.frob.com>
37523
37524 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37525 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37526
37527 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
37528
37529 * malloc/malloc.c (malloc_info): Inline mi_arena.
37530
37531 2014-05-29 Richard Henderson <rth@twiddle.net>
37532
37533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37534 Remove comma before expanding ASM_ARGS_##nr.
37535 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37536 Make _x0 a strict output; make _x8 a strict input; adjust expansion
37537 of ASM_ARGS_##nr.
37538 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37539 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37540 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37541 (ASM_ARGS_1): Add leading comma.
37542
37543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37544 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37545 to __errno_location.
37546 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37547 Remove the expected plt for __errno_location.
37548
37549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37550 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37551 call to __read_tp.
37552
37553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37554 Always allocate 64 bytes of stack frame. Use ldp/stp to create
37555 it and break it down.
37556 (DOCARGS_0, DOCARGS_1): Do nothing.
37557 (DOCARGS_2): Update to store into the new stack frame.
37558 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37559 (UNDOCARGS_1): Update to restore from the new stack frame.
37560 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37561 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37562
37563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37564 (SINGLE_THREAD_P): New parameter for result regno.
37565 (PSEUDO): Update to match; use cbz instead of beq.
37566
37567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37568 Use ENTRY to define the _nocancel entry point. Share the syscall
37569 and syscall error check paths with the cancel path.
37570 (PSEUDO_END): New.
37571
37572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37573 whitespace; tabs before and after asm mnemonics.
37574
37575 2014-05-29 Eric Wong <normalperson@yhbt.net>
37576
37577 [BZ #15132]
37578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37579 Call fstat64 or stat64 internally, depending on arguments passed.
37580 Replace stat buffer argument with file descriptor argument.
37581 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37582 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37583 Pass fd to __internal_statvfs instead of calling fstat64.
37584 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37585 Pass fd to __internal_statvfs64 instead of calling fstat64.
37586 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37587 Pass -1 to __internal_statvfs instead of calling stat64.
37588 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37589 Pass -1 to __internal_statvfs64 instead of calling stat64.
37590
37591 2014-05-28 Roland McGrath <roland@hack.frob.com>
37592
37593 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37594 that was previously under [RESET_PID].
37595 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37596
37597 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37598 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37599
37600 2014-05-27 Roland McGrath <roland@hack.frob.com>
37601
37602 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37603
37604 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37605 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37606
37607 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
37608
37609 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37610
37611 2014-05-27 Andreas Schwab <schwab@suse.de>
37612
37613 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37614 TLS_INIT_TP macro.
37615 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37616 * elf/rtld.c (init_tls, dl_main): Likewise.
37617 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37618 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37619 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37620 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37621 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37622 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37623 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37624 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37625 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37626 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37627 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37628 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37629 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37630 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37631 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37632 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37633 * sysdeps/generic/tls.h: Update description.
37634
37635 2014-05-27 Will Newton <will.newton@linaro.org>
37636
37637 [BZ #16990]
37638 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37639 and restore r2 rather than just restoring.
37640
37641 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37642
37643 [BZ #16724]
37644 * libio/tst-ftell-append.c: New test case.
37645 * libio/Makefile (tests): Add test case.
37646 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37647 append mode.
37648 * libio/wfileops.c (do_ftell_wide): Likewise.
37649
37650 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37651
37652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37653
37654 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37655 ...
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37658 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37659 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37661 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37662 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37663 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37665 Moved ...
37666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37668 Moved ...
37669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37670 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37671 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37672 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37673 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37675 ...
37676 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37678 Moved ...
37679 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37680 here.
37681 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37682 ...
37683 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37684 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37685 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37686
37687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37688 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37690 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37691
37692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37693 merge into ...
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37696 ...
37697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37699 ...
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37702 Moved ...
37703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37704 here.
37705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37706 Moved ...
37707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37709 Moved ...
37710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37711
37712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37713 conditional [RESET_PID].
37714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37716 removed.
37717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37718 removed.
37719
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37721 <tcb-offsets.h>.
37722 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37723 (__libc_vfork): New strong alias.
37724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37725 removed.
37726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37727 Removed.
37728
37729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37730 <tcb-offsets.h>.
37731 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37732 (__libc_vfork): New strong alias.
37733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37734 removed.
37735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37736 removed.
37737
37738 2014-05-26 Carlos O'Donell <carlos@redhat.com>
37739
37740 * malloc/malloc.c (mi_arena): New function.
37741 (malloc_info): Remove nested function mi_arena. Call non-nosted
37742 function mi_arena.
37743
37744 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37745
37746 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37747 by insrwi.
37748 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37749 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37750 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37751 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37753 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37755
37756 2014-05-26 Andreas Schwab <schwab@suse.de>
37757
37758 [BZ #16984]
37759 * locale/programs/repertoire.c (repertoire_read): Add slash
37760 between I18NPATH element and file name.
37761 * locale/programs/locfile.c (locfile_read): Likewise.
37762
37763 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
37764
37765 * nptl/pthread_mutexattr_settype.c
37766 (__pthread_mutexattr_settype):
37767 Disable lock elision for PTHREAD_MUTEX_NORMAL.
37768
37769 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
37770
37771 * nptl/tst-mutex5 (do_test):
37772 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37773
37774 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37775
37776 * benchtests/README: Document 'init' directive.
37777 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37778 BENCH_INIT.
37779 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37780 (parse_file): Recognize 'init' directive.
37781
37782 2014-05-26 Kyle McMartin <kyle@redhat.com>
37783
37784 [BZ #16796]
37785 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37786 alignment of struct pthread.
37787
37788 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37789
37790 [BZ #16878]
37791 * nscd/netgroupcache.c (addgetnetgrentX): Look for
37792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37793 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37794 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37795
37796 2014-05-25 Richard Henderson <rth@twiddle.net>
37797
37798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37799 (SINGLE_THREAD_P_PIC): Remove.
37800 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37801 (SINGLE_THREAD_P_PIC): Remove.
37802
37803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37804 branch to syscall error ...
37805 (PSEUDO): ... here.
37806 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37807 from __local_syscall_error to .Lsyscall_error.
37808 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37809 (SYSCALL_ERROR): Update label name.
37810
37811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37812 Do not use DOARGS/UNDOARGS.
37813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37814 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37815 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37816 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37817 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37818
37819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37820 block comment.
37821
37822 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37823 define if !NOT_IN_libc.
37824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37825 define with non-default symbol versions.
37826
37827 2014-05-23 Richard Henderson <rth@twiddle.net>
37828
37829 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37830 (vfork, __vfork): Define via compat_symbol.
37831
37832 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37833 [!HAVE_IFUNC] (vfork_compat): Remove.
37834 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37835
37836 2014-05-23 Joseph Myers <joseph@codesourcery.com>
37837
37838 [BZ #16978]
37839 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37840 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37841 variable.
37842
37843 2014-05-23 Richard Henderson <rth@twiddle.net>
37844
37845 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37846 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37847 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37848 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37849
37850 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37851 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37853 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37855 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37857 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37858 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37859 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37860 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37861 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37862 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37863 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37864 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37865 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37866 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37867 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37868 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37870 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37871 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37872 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37873 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37874 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37876 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37877 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37878 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37879 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37880 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37881 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37882 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37883 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37884 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37885 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37886 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37887 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37888 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37889 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37890 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37892 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37893 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37897 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37899 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37901 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37903 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37905 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37906
37907 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37908 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37909 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
37910 before exiting on error.
37911 (__libc_vfork): New strong alias.
37912 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37913 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37914
37915 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37916 that was previously under [RESET_PID].
37917 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37918
37919 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37920
37921 2014-05-23 Joseph Myers <joseph@codesourcery.com>
37922
37923 [BZ #16977]
37924 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37925 value when x - 1 is zero.
37926 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37927 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37928 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37929 0.0L for an argument of 1.0L.
37930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37931 Likewise.
37932 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37933 value when x - 1 is zero.
37934 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37935 * sysdeps/i386/fpu/libm-test-ulps: Update.
37936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37937
37938 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
37939
37940 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37941 alphasort and versionsort.
37942
37943 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37944
37945 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37946 macro.
37947 [copysignf]: Likewise.
37948
37949 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37950
37951 * crypt/md5-crypt.c: Fix formatting.
37952
37953 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
37954
37955 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37956 (b64_from_24bit): New function.
37957
37958 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37959
37960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37961 libc_hidden_builtin_def to ifunc.
37962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37963 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37964
37965 2014-05-21 Roland McGrath <roland@hack.frob.com>
37966
37967 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37968 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37969
37970 2014-05-21 Joseph Myers <joseph@codesourcery.com>
37971
37972 * nscd/Depend (linuxthreads): Remove.
37973 (nptl): Add.
37974 * resolv/Depend (linuxthreads): Remove.
37975 * rt/Depend (linuxthreads): Remove.
37976
37977 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37978 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37979 $(common-objpfx)elf/.
37980 (link-libc-before-gnulib): Likewise.
37981 (elfobjdir): Remove variable.
37982 * Makefile (install): Use $(elf-objpfx) instead of
37983 $(common-objpfx)elf/.
37984 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37985 $(elfobjdir)/.
37986 (link-libc-deps): Likewise.
37987 ($(common-objpfx)libc.so): Likewise.
37988 ($(common-objpfx)linkobj/libc.so): Likewise.
37989 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37990 instead of $(common-objpfx)elf/.
37991 (symbolic-link-list): Likewise.
37992 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37993 [$(cross-compiling) = no]: Likewise.
37994 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37995 $(elfobjdir)/.
37996 (static-gnulib-arch): Likewise.
37997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37998 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37999 $(common-objpfx)elf/.
38000
38001 2014-05-21 Richard Henderson <rth@redhat.com>
38002
38003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38004 (SINGLE_THREAD_P): Use the correct width load. Fold
38005 into the ldr offset.
38006
38007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38008 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38009
38010 2014-05-20 Joseph Myers <joseph@codesourcery.com>
38011
38012 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38013 (libgcc_s_resume): Use __attribute_used__.
38014 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38015 Likewise.
38016
38017 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38018
38019 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38020 optimization when used with float constants.
38021
38022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38023
38024 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
38025
38026 [BZ #16915]
38027 * locale/nl_langinfo_l.c: Make direct reference to every
38028 _nl_current_CATEGORY symbol.
38029 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38030 (tests-static): Add tst-langinfo-static.
38031 (tests-special): Add tst-langinfo-static.out.
38032 ($(objpfx)tst-langinfo.out): Redirect output.
38033 ($(objpfx)tst-langinfo-static.out): New.
38034 * localedata/tst-langinfo.sh: Send output to stdout.
38035 * localedata/tst-langinfo-static.c: New file.
38036
38037 [BZ #16965]
38038 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38039 when the shift amount is modulo the limb size.
38040
38041 2014-05-20 Richard Henderson <rth@redhat.com>
38042
38043 [BZ #16967]
38044 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38045 Change type of sa_flags from unsigned int to int.
38046
38047 [BZ #16966]
38048 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38049
38050 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38051
38052 2014-05-20 Will Newton <will.newton@linaro.org>
38053
38054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38055 Test the return value of the system call in the nocancel case.
38056
38057 2014-05-20 Will Newton <will.newton@linaro.org>
38058 Yvan Roux <yvan.roux@linaro.org>
38059
38060 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38061 #include of asm/ptrace.h.
38062 (PTRACE_GET_THREAD_AREA): Remove #undef.
38063 (PTRACE_GETHBPREGS): Likewise.
38064 (PTRACE_SETHBPREGS): Likewise.
38065 (struct user_regs_struct): New structure.
38066 (struct user_fpsimd_struct): New structure.
38067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38068 #include of asm/ptrace.h and second #include of sys/user.h.
38069 (PTRACE_GET_THREAD_AREA): Remove #undef.
38070 (PTRACE_GETHBPREGS): Likewise.
38071 (PTRACE_SETHBPREGS): Likewise.
38072 (ELF_NGREG): Use new struct user_regs_struct.
38073 (elf_fpregset_t): Use new struct user_fpsimd_struct.
38074
38075 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38076
38077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38079
38080 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
38081
38082 [BZ #16958]
38083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38084 membar to avoid block loads/stores to overlap previous stores.
38085
38086 2014-05-17 Richard Henderson <rth@redhat.com>
38087
38088 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38089 Create the __##syscall_name##_nocancel entry point.
38090 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38091 Remove; let the sysdep-cancel.h code create it.
38092
38093 2014-05-17 David S. Miller <davem@davemloft.net>
38094
38095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38096 Protect with __USE_GNU.
38097 (TIOCSET_TEMPT): Likewise.
38098 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38099 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38100 these are already provided in bits/ioctl-types.h
38101
38102 2014-05-16 Roland McGrath <roland@hack.frob.com>
38103
38104 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38105 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38106
38107 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38108 Use wait4 regardless of [__NR_waitpid].
38109
38110 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
38111
38112 PR libgcc/60166
38113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38114 (_FP_NANSIGN_Q): Set the quiet bit.
38115
38116 2014-05-16 Joseph Myers <joseph@codesourcery.com>
38117
38118 * benchtests/Makefile
38119 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38120 not $(common-objpfx)math/libm.so.
38121 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38122 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38123 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38124 $(common-objpfx)dlfcn/libdl.so.
38125 ($(objpfx)tst-audit8): Depend on $(libm), not
38126 $(common-objpfx)math/libm.so.
38127 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38128 not $(common-objpfx)dlfcn/libdl.so.
38129 * math/Makefile
38130 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38131 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
38132 [$(build-shared) = yes].
38133 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38134 $(common-objpfx)nptl/libpthread.so.
38135 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38136 $(common-objpfx)math/libm.so$(libm.so-version) or
38137 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38138 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38139 $(common-objpfx)dlfcn/libdl.so.
38140 * setjmp/Makefile (link-libm): Remove variable.
38141 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38142 * stdio-common/Makefile (link-libm): Remove variable.
38143 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38144 * stdlib/Makefile (link-libm): Remove variable.
38145 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38146 ($(objpfx)tst-strtod-round): Likewise.
38147 ($(objpfx)tst-tininess): Likewise.
38148 ($(objpfx)tst-strtod-underflow): Likewise.
38149 ($(objpfx)tst-strtod6): Likewise.
38150 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38151 $(libdl), not $(common-objpfx)nptl/libpthread.so and
38152 $(common-objpfx)dlfcn/libdl.so.
38153
38154 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38155
38156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38157 BSD terminal modes definitions.
38158
38159 2014-05-16 Roland McGrath <roland@hack.frob.com>
38160
38161 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38162 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38163
38164 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38165 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38166 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38167 Don't do #include_next.
38168 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38169 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38170 Don't do #include_next.
38171 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38172 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38173 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38174 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38175
38176 2014-05-16 Allan McRae <allan@archlinux.org>
38177
38178 * po/sv.po: Update Swedish translation from translation project.
38179
38180 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38181 in sed expression.
38182
38183 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
38184
38185 [BZ #16917]
38186 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38187 errno if the TIOCGPTN ioctl fails with an error different than
38188 EINVAL.
38189 * login/tst-ptsname.c: New file.
38190 * login/Makefile (tests): Add tst-ptsname.
38191
38192 [BZ #16943]
38193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38194 and prlimit64.
38195
38196 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38197
38198 [BZ #16849]
38199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38200 herrno to return EAI_AGAIN.
38201
38202 2014-05-14 Roland McGrath <roland@hack.frob.com>
38203
38204 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38205 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38207 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38209 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38211 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38213 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38215 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38216 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38217 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38218 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38219 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38220 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38221 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38225 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38226 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38227 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38229 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38231 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38232 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38233 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38235 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38237 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38239 Moved ...
38240 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38242 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38246 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38248 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38252 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38254 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38256 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38258 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38260 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38262 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38264 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38266 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38268 Moved ...
38269 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38271 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38273 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38275 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38277 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38281 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38283 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38285 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38287 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38289 Moved ...
38290 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38292 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38293
38294 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38295 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38296 (libpthread-sysdep_routines): Add elision-related stuff here instead.
38297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38298 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38299 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38300 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38301 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38302 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38303 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38304 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38305 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38306 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38307 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38308 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38309 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38310 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38311 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38312 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38314 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38315 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38316 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38323 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38325
38326 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38327 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38328
38329 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38330 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38331 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38333 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38335 Moved ...
38336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38338 Moved ...
38339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38341 Moved ...
38342 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38344 Moved ...
38345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38347 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38349 Moved ...
38350 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38351 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38352 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38354 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38355 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38356 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38358 Moved ...
38359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38361 Moved ...
38362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38363 ... here.
38364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38365 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38367 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38369 Moved ...
38370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38371 ... here.
38372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38373 Moved ...
38374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38375 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38376 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38378 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38380 Moved ...
38381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38383 Moved ...
38384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38386 Moved ...
38387 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38389 Moved ...
38390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38392 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38394 Moved ...
38395 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38396 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38397 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38400 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38401 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38403 Moved ...
38404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38406 Moved ...
38407 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38408 ... here.
38409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38410 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38412 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38414 Moved ...
38415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38416 ... here.
38417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38418 Moved ...
38419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38420 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38421 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38422 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38423 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38424 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38426 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38427 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38429 Moved ...
38430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38432 Moved ...
38433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38435 Moved ...
38436 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38438 Moved ...
38439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38440 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38441 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38442 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38443 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38445 Moved ...
38446 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38447 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38448 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38450 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38451 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38452 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38454 Moved ...
38455 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38456 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38457 Moved ...
38458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38459 ... here.
38460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38461 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38462 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38463 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38465 Moved ...
38466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38467 ... here.
38468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38469 Moved ...
38470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38471 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38472 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38473 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38474 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38475 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38476 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38477 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38479 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38480 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38481
38482 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38483 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38484
38485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38486 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38487
38488 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38489 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38490 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38492 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38493 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38494 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38495 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38496 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38501 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38502 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38504 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38506 Moved ...
38507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38511 Moved ...
38512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38516 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38520 Moved ...
38521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38523 Moved ...
38524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38530 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38532 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38536 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38537 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38538 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38539 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38541
38542 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38543 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38544 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38545 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38546 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38547
38548 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38549 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38550 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38551 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38552 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38553 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38554 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38555 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38556 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38557 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38558
38559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38561
38562 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38563 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38564 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38565 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38567 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38569 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38571 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38573 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38575 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38577 Update #include.
38578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38579 Likewise.
38580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38581 Likewise.
38582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38583 Likewise.
38584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38585 Likewise.
38586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38587 Likewise.
38588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38589 Likewise.
38590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38591 Likewise.
38592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38593 Likewise.
38594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38595 Likewise.
38596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
38610 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
38611
38612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38613 that was previously under [RESET_PID].
38614 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38615 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38616 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38617
38618 * sysdeps/i386/nptl/Implies: New file.
38619 * sysdeps/x86_64/nptl/Implies: New file.
38620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38621 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38622 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38623 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38624
38625 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38627 (__libc_vfork): New strong alias.
38628 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38629 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38630
38631 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38633 (__libc_vfork): New strong alias.
38634 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38635 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38636
38637 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38639 (__libc_vfork): New strong alias.
38640 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38641 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38642 * nptl/pt-vfork.c: New file.
38643 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38644 (libpthread: GLIBC_2.20): New version set (empty).
38645
38646 2014-05-14 Will Newton <will.newton@linaro.org>
38647
38648 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38649 rather than #if.
38650
38651 2014-05-14 Joseph Myers <joseph@codesourcery.com>
38652
38653 [BZ #16564]
38654 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38655 arguments with exponent 65 or above.
38656 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38657 arguments 0x1p113L or above.
38658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38659 to arguments 0x1p107L or above.
38660 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38661 positive arguments with exponent 65 or above.
38662 * math/auto-libm-test-in: Add more tests of log1p.
38663 * math/auto-libm-test-out: Regenerated.
38664
38665 [BZ #16928]
38666 * math/s_cacos.c (__cacos): Ensure zero real part of result from
38667 non-finite arguments is +0.
38668 * math/s_cacosf.c (__cacosf): Likewise.
38669 * math/s_cacosl.c (__cacosl): Likewise.
38670 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38671 * sysdeps/i386/fpu/libm-test-ulps: Update.
38672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38673
38674 [BZ #16927]
38675 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38676 value.
38677 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38678 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38679 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38680 for explicit high bit of mantissa when testing for argument equal
38681 to 1.
38682 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38683 * sysdeps/i386/fpu/libm-test-ulps: Update.
38684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38685
38686 [BZ #16516]
38687 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38688 (__erf): Scale by 16 instead of 8 in potentially underflowing
38689 case. Ensure exception if result actually underflows.
38690 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38691 (__erff): Scale by 16 instead of 8 in potentially underflowing
38692 case. Ensure exception if result actually underflows.
38693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38694 (efx8): Remove variable.
38695 (__erfl): Scale by 16 instead of 8 in potentially underflowing
38696 case. Ensure exception if result actually underflows.
38697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38698 (efx8): Remove variable.
38699 (__erfl): Scale by 16 instead of 8 in potentially underflowing
38700 case. Ensure exception if result actually underflows.
38701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38702 (efx8): Remove variable.
38703 (__erfl): Scale by 16 instead of 8 in potentially underflowing
38704 case. Ensure exception if result actually underflows.
38705 * math/auto-libm-test-in: Add more tests of erf.
38706 * math/auto-libm-test-out: Regenerated.
38707
38708 2014-05-14 Andreas Schwab <schwab@suse.de>
38709
38710 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38711 Remove code conditionalized on USE___THREAD.
38712
38713 * config.h.in (HAVE_PT_CHOWN): Define as 0.
38714 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38715 not definedness.
38716
38717 2014-05-14 Joseph Myers <joseph@codesourcery.com>
38718
38719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38720 Define unconditionally.
38721 (__ASSUME_O_CLOEXEC): Likewise.
38722 (__ASSUME_SOCK_CLOEXEC): Likewise.
38723 (__ASSUME_IN_NONBLOCK): Likewise.
38724 (__ASSUME_PIPE2): Likewise.
38725 (__ASSUME_EVENTFD2): Likewise.
38726 (__ASSUME_SIGNALFD4): Likewise.
38727 (__ASSUME_DUP3): Likewise.
38728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38729 (__ASSUME_DUP3): Do not define.
38730 (__ASSUME_EVENTFD2): Likewise.
38731 (__ASSUME_IN_NONBLOCK): Likewise.
38732 (__ASSUME_O_CLOEXEC): Likewise.
38733 (__ASSUME_PIPE2): Likewise.
38734 (__ASSUME_SIGNALFD4): Likewise.
38735 (__ASSUME_SOCK_CLOEXEC): Likewise.
38736 (__ASSUME_UTIMES): Undefine.
38737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38738 (__ASSUME_UTIMES): Do not define.
38739 (__ASSUME_O_CLOEXEC): Likewise.
38740 (__ASSUME_SOCK_CLOEXEC): Likewise.
38741 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38742 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38743 0x020621].
38744 (__ASSUME_PIPE2): Likewise.
38745 (__ASSUME_EVENTFD2): Likewise.
38746 (__ASSUME_SIGNALFD4): Likewise.
38747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38748 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38749 Do not define.
38750 (__ASSUME_EVENTFD2): Likewise.
38751 (__ASSUME_SIGNALFD4): Likewise.
38752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38753 (__ASSUME_32BITUIDS): Likewise.
38754 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38755 (__ASSUME_IPC64): Likewise.
38756 (__ASSUME_ST_INO_64_BIT): Likewise.
38757 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38758 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38760 (__ASSUME_UTIMES): Do not define.
38761 (__ASSUME_PSELECT): Likewise.
38762 (__ASSUME_PPOLL): Likewise.
38763 (__ASSUME_O_CLOEXEC): Likewise.
38764 (__ASSUME_SOCK_CLOEXEC): Likewise.
38765 (__ASSUME_IN_NONBLOCK): Likewise.
38766 (__ASSUME_PIPE2): Likewise.
38767 (__ASSUME_EVENTFD2): Likewise.
38768 (__ASSUME_SIGNALFD4): Likewise.
38769 (__ASSUME_DUP3): Likewise.
38770 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38771 (__ASSUME_UTIMES): Likewise.
38772 (__ASSUME_O_CLOEXEC): Likewise.
38773 (__ASSUME_SOCK_CLOEXEC): Likewise.
38774 (__ASSUME_IN_NONBLOCK): Likewise.
38775 (__ASSUME_PIPE2): Likewise.
38776 (__ASSUME_EVENTFD2): Likewise.
38777 (__ASSUME_SIGNALFD4): Likewise.
38778 (__ASSUME_DUP3): Likewise.
38779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38780 (__ASSUME_UTIMES): Likewise.
38781 (__ASSUME_O_CLOEXEC): Likewise.
38782 (__ASSUME_SOCK_CLOEXEC): Likewise.
38783 (__ASSUME_IN_NONBLOCK): Likewise.
38784 (__ASSUME_PIPE2): Likewise.
38785 (__ASSUME_EVENTFD2): Likewise.
38786 (__ASSUME_SIGNALFD4): Likewise.
38787 (__ASSUME_DUP3): Likewise.
38788 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38789 Likewise.
38790 (__ASSUME_UTIMES): Likewise.
38791 (__ASSUME_EVENTFD2): Likewise.
38792 (__ASSUME_SIGNALFD4): Likewise.
38793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38794 (__ASSUME_O_CLOEXEC): Likewise.
38795 (__ASSUME_SOCK_CLOEXEC): Likewise.
38796 (__ASSUME_IN_NONBLOCK): Likewise.
38797 (__ASSUME_PIPE2): Likewise.
38798 (__ASSUME_EVENTFD2): Likewise.
38799 (__ASSUME_SIGNALFD4): Likewise.
38800 (__ASSUME_DUP3): Likewise.
38801 (__ASSUME_UTIMES): Undefine.
38802
38803 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38804 feclearexcept. Remove symbol versioning code.
38805 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
38806 symbol versioning code.
38807 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
38808 symbol versioning code.
38809 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38810 feupdateenv. Remove symbol versioning code.
38811 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38812 fegetexceptflag. Remove symbol versioning code.
38813 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38814 fesetexceptflag. Remove symbol versioning code.
38815 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38816 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
38817 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38818 (__posix_fadvise64_l32): Remove prototype.
38819 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38820 code.
38821
38822 2014-05-13 Roland McGrath <roland@hack.frob.com>
38823
38824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38825 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38826 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38827 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38828
38829 2014-05-13 Sami Kerola <kerolasa@iki.fi>
38830
38831 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38832 current working directory
38833
38834 2014-05-13 Roland McGrath <roland@hack.frob.com>
38835
38836 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38837 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38838 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38839 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38840 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38841 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38842 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38843 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38844 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38845 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38846 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38847 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38848 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38849 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38850 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38851 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38852 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38853 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38854 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38855 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38856 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38857 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38858 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38859 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38860 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38861 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38862 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38863 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38864 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38865 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38866 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38867 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38868 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38869 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38870 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38871 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38872 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38875 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38876 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38877 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38878
38879 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38880 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38881
38882 * sysdeps/unix/sysv/linux/arm/Makefile
38883 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38884 Add rt-aeabi_unwind_cpp_pr1.
38885 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38886 Add nptl-aeabi_unwind_cpp_pr1.
38887 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38888 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38889 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38890 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38891 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38892 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38893
38894 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38895 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38896 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38897 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38898
38899 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38900 Deconditionalize the code that was previously under [RESET_PID].
38901 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38902
38903 * sysdeps/generic/exit-thread.h: New file.
38904 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38905 * include/unistd.h (__exit_thread): Remove declaration.
38906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38907 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38908 * csu/libc-start.c: Include <exit-thread.h>.
38909 (LIBC_START_MAIN): Pass no argument to __exit_thread.
38910 * nptl/pthread_create.c: Include <exit-thread.h>.
38911 (start_thread): Call __exit_thread in place of __exit_thread_inline.
38912 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38913 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38914 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38915 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38916 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38917 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38918 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38919 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38920 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38921 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38922 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38923 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38924 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38925 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38926 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38927 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38928
38929 2014-05-13 Andreas Schwab <schwab@suse.de>
38930
38931 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38932
38933 2014-05-12 Joseph Myers <joseph@codesourcery.com>
38934
38935 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38936 (__ASSUME_UTIMES): Do not condition on kernel version.
38937 (__ASSUME_PSELECT): Define unconditionally.
38938 (__ASSUME_PPOLL): Likewise.
38939 (__ASSUME_ATFCTS): Likewise.
38940 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38941 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38942 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38943 (__ASSUME_UTIMENSAT): Define unconditionally.
38944 (__ASSUME_PRIVATE_FUTEX): Likewise.
38945 (__ASSUME_FALLOCATE): Likewise.
38946 (__ASSUME_O_CLOEXEC): Likewise.
38947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38948 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38949 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38950 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38951 (__ASSUME_IN_NONBLOCK): Likewise.
38952 (__ASSUME_PIPE2): Likewise.
38953 (__ASSUME_EVENTFD2): Likewise.
38954 (__ASSUME_SIGNALFD4): Likewise.
38955 (__ASSUME_DUP3): Likewise.
38956 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38957 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38958 (__ASSUME_AT_RANDOM): Likewise.
38959 (__ASSUME_PREADV): Likewise.
38960 (__ASSUME_PWRITEV): Likewise.
38961 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38962 (__ASSUME_F_GETOWN_EX): Define unconditionally.
38963 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38965 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38967 (__ASSUME_O_CLOEXEC): Define unconditionally.
38968 (__ASSUME_PSELECT): Do not undefine conditionally.
38969 (__ASSUME_PPOLL): Likewise.
38970 (__ASSUME_ATFCTS): Likewise.
38971 (__ASSUME_SET_ROBUST_LIST): Likewise.
38972 (__ASSUME_UTIMENSAT): Likewise.
38973 (__ASSUME_FDATASYNC): Define unconditionally.
38974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38975 (__ASSUME_SIGFRAME_V2): Likewise.
38976 )__ASSUME_EVENTFD2): Likewise.
38977 (__ASSUME_SIGNALFD4): Likewise.
38978 (__ASSUME_PSELECT): Do not undefine conditionally.
38979 (__ASSUME_PPOLL): Likewise.
38980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38981 (__ASSUME_PSELECT): Define unconditionally.
38982 (__ASSUME_PPOLL): Likewise.
38983 (__ASSUME_O_CLOEXEC): Likewise.
38984 (__ASSUME_SOCK_CLOEXEC): Likewise.
38985 (__ASSUME_IN_NONBLOCK): Likewise.
38986 (__ASSUME_PIPE2): Likewise.
38987 (__ASSUME_EVENTFD2): Likewise.
38988 (__ASSUME_SIGNALFD4): Likewise.
38989 (__ASSUME_DUP3): Likewise.
38990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38991 (__ASSUME_O_CLOEXEC): Likewise.
38992 (__ASSUME_SOCK_CLOEXEC): Likewise.
38993 (__ASSUME_IN_NONBLOCK): Likewise.
38994 (__ASSUME_PIPE2): Likewise.
38995 (__ASSUME_EVENTFD2): Likewise.
38996 (__ASSUME_SIGNALFD4): Likewise.
38997 (__ASSUME_DUP3): Likewise.
38998 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38999 (__ASSUME_EVENTFD2): Likewise.
39000 (__ASSUME_SIGNALFD4): Likewise.
39001 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39002
39003 2014-05-12 Andreas Schwab <schwab@suse.de>
39004
39005 [BZ #16932]
39006 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39007 (_nss_nis_gethostbyname4_r): Return error if item length is larger
39008 than maximum RPC packet size.
39009 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39010 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39011 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39012 (_nss_nis_getservbyport_r): Likewise.
39013
39014 2014-05-12 Will Newton <will.newton@linaro.org>
39015
39016 * malloc/Makefile (tests): Add tst-mallopt.
39017 * malloc/tst-mallopt.c: New file.
39018
39019 2014-05-09 Roland McGrath <roland@hack.frob.com>
39020
39021 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39022 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39023
39024 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39025
39026 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39027 (tst-tlsmod6.so): Likewise.
39028
39029 2014-05-09 Roland McGrath <roland@hack.frob.com>
39030
39031 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39032
39033 2014-05-09 Joseph Myers <joseph@codesourcery.com>
39034
39035 [BZ #16064]
39036 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39037 and <dl-procinfo.h>.
39038 (__fegetenv): Save SSE state in envp->__eip if supported.
39039 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39040 envp->__eip if supported.
39041 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39042 and <dl-procinfo.h>.
39043 (__fesetenv): Always set __eip, __cs_selector, __opcode,
39044 __data_offset and __data_selector in environment to 0. Set SSE
39045 state if supported.
39046 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39047 test-fenv-sse.
39048 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39049 -mfpmath=sse.
39050 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39051
39052 2014-05-09 Will Newton <will.newton@linaro.org>
39053
39054 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39055 and libc_relro_required for ARM.
39056 * sysdeps/arm/preconfigure: Regenerate.
39057
39058 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
39059 Stefan Liebler <stli@linux.vnet.ibm.com>
39060
39061 * config.make.in (enable-lock-elision): New Makefile variable.
39062 * configure.ac: Likewise.
39063 * configure: Regenerate.
39064 * sysdeps/s390/configure.ac:
39065 Add check for gcc transactions support.
39066 * sysdeps/s390/configure: Regenerate.
39067 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39068 Build elision files if enabled.
39069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39070 Add lock elision support for s390.
39071 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39072 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39073 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39074 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39075 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39076 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39078 Likewise.
39079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39080 Likewise.
39081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39082 Likewise.
39083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39084 Likewise.
39085 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39086 (__lll_timedlock_elision, __lll_lock_elision)
39087 (__lll_unlock_elision, __lll_trylock_elision)
39088 (lll_timedlock_elision, lll_lock_elision)
39089 (lll_unlock_elision, lll_trylock_elision): Add.
39090 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39091 (pthread_mutex_t): Add lock elision support for s390.
39092
39093 2014-05-14 Wilco <wdijkstr@arm.com>
39094
39095 * sysdeps/arm/fclrexcpt.c: Cleanup.
39096 * sysdeps/arm/fedisblxcpt.c: Cleanup.
39097 * sysdeps/arm/feenablxcpt.c: Cleanup.
39098 * sysdeps/arm/fegetenv.c: Cleanup.
39099 * sysdeps/arm/fegetexcept.c: Cleanup.
39100 * sysdeps/arm/fegetround.c: Cleanup.
39101 * sysdeps/arm/feholdexcpt.c: Cleanup.
39102 * sysdeps/arm/fesetenv.c: Cleanup.
39103 * sysdeps/arm/fesetround.c: Cleanup.
39104 * sysdeps/arm/feupdateenv.c: Cleanup.
39105 * sysdeps/arm/fgetexcptflg.c: Cleanup.
39106 * sysdeps/arm/fraiseexcpt.c: Cleanup.
39107 * sysdeps/arm/fsetexcptflg.c: Cleanup.
39108 * sysdeps/arm/ftestexcept.c: Cleanup.
39109 * sysdeps/arm/get-rounding-mode.h: Cleanup.
39110 * sysdeps/arm/setfpucw.c: Cleanup.
39111
39112 2014-05-09 Will Newton <will.newton@linaro.org>
39113
39114 * sysdeps/arm/armv7/strcmp.S: New file.
39115 * NEWS: Mention addition of ARMv7 optimized strcmp.
39116
39117 2014-05-08 Roland McGrath <roland@hack.frob.com>
39118
39119 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39120 look for %.ac rather than %.in.
39121
39122 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39123 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39124 * sysdeps/mach/hurd/configure: Regenerated.
39125 * sysdeps/unix/sysv/linux/configure: Regenerated.
39126
39127 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39128
39129 2014-05-07 Steve Ellcey <sellcey@mips.com>
39130
39131 [BZ# 16922]
39132 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39133 (LONG_SUB): Ditto.
39134 (PTR_SUB): Ditto.
39135
39136 2014-05-07 Andreas Schwab <schwab@suse.de>
39137
39138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39139 when skipping over non-matching result from nscd.
39140
39141 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
39142
39143 [BZ #16876]
39144 * nptl/sockperf.c (client): Check socket return value.
39145
39146 [BZ #16877]
39147 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39148 nscd security class.
39149
39150 2014-05-06 Roland McGrath <roland@hack.frob.com>
39151
39152 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39153 * sysdeps/arm/unwind.h: ... here.
39154
39155 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
39156
39157 [BZ# 16916]
39158 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39159 Define.
39160
39161 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39162
39163 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39164 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39165 multiarch strncpy for PPC64.
39166 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39167 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39169 multiarch optimizations.
39170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39171 (__libc_ifunc_impl_list): Likewise.
39172 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39174 multiarch stpncpy for PPC64.
39175 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39176 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39177
39178 2014-05-06 Andreas Schwab <schwab@suse.de>
39179
39180 [BZ #16912]
39181 * gmon/mcount.c (_MCOUNT_DECL): Use
39182 atomic_compare_and_exchange_bool_acq instead of
39183 catomic_compare_and_exchange_bool_acq.
39184
39185 2014-05-05 Roland McGrath <roland@hack.frob.com>
39186
39187 * elf/Makefile (others, install-bin): Remove pldd.
39188 (pldd-modules): Variable removed.
39189 ($(objpfx)pldd): Target removed.
39190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39191 (others, install-bin): Append pldd here.
39192 ($(objpfx)pldd): New target.
39193
39194 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39195 to 0, so the first #if test emitted later doesn't see it undefined.
39196 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39197 * sysdeps/gnu/errlist.c: Regenerated.
39198
39199 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39200
39201 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39202 [libc_hidden_builtin_def]: Define to empty value.
39203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39204 [libc_hidden_builtin_def]: Likewise.
39205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39206 [libc_hidden_builtin_def]: Likewise.
39207 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39208 [libc_hidden_builtin_def]: Likewise.
39209 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39210 __redirect_memcpy and define ifunc as default hidden symbol.
39211 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39212 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39213
39214 2014-05-04 Adam Conrad <adconrad@0c3.net>
39215
39216 * locale/iso-4217.def: Reintroduce XDR currency.
39217
39218 2014-05-04 Allan McRae <allan@archlinux.org>
39219
39220 * po/eo.po: Update Esperanto translation from translation project.
39221
39222 2014-05-02 Carlos O'Donell <carlos@redhat.com>
39223
39224 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39225 and FEATURE_INDEX_MAX to 1.
39226 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39227
39228 2014-05-01 Steve Ellcey <sellcey@mips.com>
39229
39230 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39231 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39232 * iconvdata/big5.c (ONE_DIRECTION): Define.
39233 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39234 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39235 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39236 * iconvdata/cp932.c (ONE_DIRECTION): Define.
39237 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39238 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39239 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39240 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39241 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39242 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39243 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39244 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39245 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39246 * iconvdata/gbk.c (ONE_DIRECTION): Define.
39247 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39248 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39249 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39250 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39251 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39252 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39253 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39254 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39255 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39256 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39257 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39258 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39259 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39260 * iconvdata/iso646.c (ONE_DIRECTION): Define.
39261 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39262 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39263 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39264 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39265 * iconvdata/johab.c (ONE_DIRECTION): Define.
39266 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39267 * iconvdata/sjis.c (ONE_DIRECTION): Define.
39268 * iconvdata/t.61.c (ONE_DIRECTION): Define.
39269 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39270 * iconvdata/tscii.c (ONE_DIRECTION): Define.
39271 * iconvdata/uhc.c (ONE_DIRECTION): Define.
39272 * iconvdata/unicode.c (ONE_DIRECTION): Define.
39273 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39274 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39275 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39276
39277 2014-05-01 Roland McGrath <roland@hack.frob.com>
39278
39279 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39280 (_IO_JUMPS_OFFSET): Define to 0.
39281
39282 * nptl/sysdeps/pthread/bits/libc-lock.h
39283 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39284 (__libc_lock_define_initialized_recursive): Always define using
39285 initializer. Modern compilers treat uninitialized (implicit zero) and
39286 explicit zero initializers the same (i.e. put the datum in bss).
39287
39288 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
39289
39290 * nscd/nscd-client.h: Include <string.h>.
39291
39292 2014-05-01 David S. Miller <davem@davemloft.net>
39293
39294 [BZ #16885]
39295 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39296 multiple zero bytes exist at the end of a string.
39297 Reported by Aurelien Jarno <aurelien@aurel32.net>
39298
39299 * string/test-strcmp.c (check): Add explicit test for situations where
39300 there are multiple zero bytes after the first.
39301
39302 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
39303
39304 [BZ #16890]
39305 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39306 when compiling wprintf.
39307 * stdio-common/tstdiomisc.c (t3): New function.
39308 (main): Call it.
39309
39310 2014-05-01 Steve Ellcey <sellcey@mips.com>
39311
39312 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39313 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39314 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39315 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39316
39317 2014-05-01 Steve Ellcey <sellcey@mips.com>
39318
39319 * stdlib/longlong.h: Updated from GCC.
39320
39321 2014-05-01 Will Newton <will.newton@linaro.org>
39322 Bernard Ogden <bernie.ogden@linaro.org>
39323
39324 * NEWS: Update fixed bug list.
39325
39326 [BZ #15119]
39327 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39328
39329 2014-04-30 David S. Miller <davem@davemloft.net>
39330
39331 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39332 (libc_feholdexcept_setround_sparc_ctx): New function.
39333 (libc_fesetenv_sparc_ctx): Likewise.
39334 (libc_feupdateenv_sparc_ctx): Likewise.
39335 (libc_feholdsetround_sparc_ctx): Likewise.
39336 (libc_feholdexcept_setround_ctx): Define.
39337 (libc_feholdexcept_setroundf_ctx): Likewise.
39338 (libc_feholdexcept_setroundl_ctx): Likewise.
39339 (libc_fesetenv_ctx): Likewise.
39340 (libc_fesetenvf_ctx): Likewise.
39341 (libc_fesetenvl_ctx): Likewise.
39342 (libc_feupdateenv_ctx): Likewise.
39343 (libc_feupdateenvf_ctx): Likewise.
39344 (libc_feupdateenvl_ctx): Likewise.
39345 (libc_feresetround_ctx): Likewise.
39346 (libc_feresetroundf_ctx): Likewise.
39347 (libc_feresetroundl_ctx): Likewise.
39348 (libc_feholdsetround_ctx): Likewise.
39349 (libc_feholdsetroundf_ctx): Likewise.
39350 (libc_feholdsetroundl_ctx): Likewise.
39351
39352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39353 with __USE_GNU instead of XOPEN cpp guards.
39354
39355 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39356 0.
39357
39358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39359 with XOPEN cpp guards.
39360
39361 2014-04-30 Julian Brown <julian@codesourcery.com>
39362
39363 [BZ #16888]
39364 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39365 handling.
39366
39367 2014-04-30 Joseph Myers <joseph@codesourcery.com>
39368
39369 [BZ #9894]
39370 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39371 Change to 2.6.32.
39372 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39373 * sysdeps/unix/sysv/linux/configure: Regenerated.
39374 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39375 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39376 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39377 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39378 * README: Update reference to required Linux kernel version.
39379 * manual/install.texi (Linux): Update reference to required Linux
39380 kernel headers version.
39381 * INSTALL: Regenerated.
39382
39383 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39384 header inclusion.
39385 [POSIX] (limits.h): Likewise.
39386 [POSIX] (math.h): Likewise.
39387 [POSIX] (sys/wait.h): Likewise.
39388 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39389 function.
39390 [POSIX] (stddef.h): Do not allow header inclusion.
39391
39392 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39393
39394 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39395
39396 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
39397
39398 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39399 Return immediately after lll_futex_wake.
39400
39401 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39402
39403 [BZ #16791]
39404 * nscd/nscd-client.h (datahead_init_common): Initialize entire
39405 structure.
39406 (datahead_init_pos): Call datahead_init_common early.
39407 (datahead_init_neg): Likewise.
39408
39409 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39410 datahead_init_neg): New functions.
39411 * nscd/aicache.c (addhstaiX): Use them.
39412 * nscd/grpcache.c (cache_addgr): Likewise.
39413 * nscd/hstcache.c (cache_addhst): Likewise.
39414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39415 * nscd/netgroupcache.c (do_notfound): Likewise.
39416 (addgetnetgrentX): Likewise.
39417 (addinnetgrX): Likewise.
39418 * nscd/pwdcache.c (cache_addpw): Likewise.
39419 * nscd/servicescache.c (cache_addserv): Likewise.
39420
39421 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39422 Atsushi Onoe <atsushi@onoe.org>
39423
39424 [BZ #14308]
39425 [BZ #12994]
39426 [BZ #13651]
39427 * resolv/res_query.c (__libc_res_nsearch): Return if at least
39428 one response is valid.
39429 * resolv/res_send.c (send_dg): Check for validity of other
39430 response if the current response is a referral.
39431
39432 2014-04-29 Steve Ellcey <sellcey@mips.com>
39433
39434 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39435
39436 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
39437
39438 [BZ #16823]
39439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39440 Always divide by positive zero when computing -Inf result.
39441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39442 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39443
39444 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39445
39446 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39447 FPSCR if value do not change.
39448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39450 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39451 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39452 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39453 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39454 function.
39455
39456 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
39457
39458 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39459 * sysdeps/unix/sysv/linux/hppa: Move directory from
39460 ports/systeps/unix/sysv/linux/hppa.
39461 * README: Update listing for hppa-*-linux-gnu.
39462
39463 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
39464
39465 [BZ #16754]
39466 * manual/stdio.texi (Hook functions): Fix types of stream hook
39467 functions.
39468 [BZ #16854]
39469 * socket/sys/socket.h: Fix typo in comment.
39470
39471 2014-04-28 Wilco <wdijkstr@arm.com>
39472
39473 * sysdeps/arm/fenv_private.h: New file.
39474 * sysdeps/arm/math_private.h: New file.
39475 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39476
39477 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
39478
39479 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39480 with __int128_t.
39481 (La_x86_64_retval): Likewise.
39482
39483 2014-04-24 Ian Bolton <ian.bolton@arm.com>
39484
39485 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39486 fpsr if value didn't change.
39487 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39488 to fpcr if value didn't change.
39489 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39490 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39491 fpsr or fpcr if value didn't change.
39492 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39493 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39494 fpcr if value didn't change.
39495 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39496 to fpsr if value didn't change.
39497
39498 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
39499
39500 * nptl/tst-sem3.c: Use test-skeleton.c
39501 (main): Rename to do_test. Use return instead of
39502 exit.
39503 * nptl/tst-sem4.c: Use test-skeleton.c
39504 (main): Rename to do_test.
39505
39506 2014-04-22 David S. Miller <davem@davemloft.net>
39507
39508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39509 (struct sigaction): New struct member __glibc_reserved0, change
39510 type of sa_flags to int.
39511
39512 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
39513
39514 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39515 (COUNT_LEADING_ZEROS_0): Define for AArch64.
39516
39517 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39518
39519 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39520 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39521
39522 2014-04-22 Will Newton <will.newton@linaro.org>
39523 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
39524
39525 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39526 (__longjmp): Add longjmp and longjmp_target SystemTap
39527 probes.
39528 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39529 (__sigsetjmp): Add setjmp SystemTap probe.
39530
39531 2014-04-17 Carlos O'Donell <carlos@redhat.com>
39532
39533 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39534 match manual order.
39535
39536 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39537
39538 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39539
39540 * sysdeps/powerpc/fpu/fenv_private.h
39541 (libc_feholdexcept_setroundl_ctx): Define to
39542 libc_feholdexcept_setround_ppc_ctx.
39543 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39544 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39545 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39546 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39547
39548 2014-04-17 Ian Bolton <ian.bolton@arm.com>
39549
39550 * sysdeps/aarch64/math-tests.h: New file.
39551
39552 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
39553
39554 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39555 New.
39556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39557 Check and set bit_AVX2_Usable.
39558 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39559 macro.
39560 (bit_AVX2): Likewise.
39561 (index_AVX2_Usable): Likewise.
39562 (CPUID_AVX2): Likewise.
39563 (HAS_AVX2): Likewise.
39564
39565 2014-04-17 Will Newton <will.newton@linaro.org>
39566
39567 * manual/setjmp.texi (System V contexts): Add note that
39568 calling setcontext on a context created by a call to a
39569 signal handler is undefined. Update text to note that
39570 setcontext from a signal handler is possible but not
39571 recommended.
39572
39573 [BZ #16629]
39574 * stdlib/tst-setcontext.c: Include signal.h.
39575 (main): Check that the signal stack before and
39576 after swapcontext is the same.
39577
39578 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39579 Re-implement to restore registers in user code and avoid
39580 rt_sigreturn system call.
39581
39582 2014-04-17 Wilco <wdijkstr@arm.com>
39583
39584 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39585 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39586 * math/test-fenv.c: Skip exception trap tests on targets which only
39587 support non-stop mode.
39588
39589 2014-04-17 Ian Bolton <ian.bolton@arm.com>
39590 Wilco Dijkstra <wilco.dijkstra@arm.com>
39591
39592 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39593 (libc_feholdsetround_aarch64_ctx)
39594 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39595 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39596 (libc_feresetround_ctx, libc_feresetroundf_ctx)
39597 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39598 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39599 (libc_feresetround_noexl_ctx): Define.
39600
39601 2014-04-16 Richard Henderson <rth@redhat.com>
39602
39603 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39604
39605 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39606 unwind tables.
39607
39608 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39609 const from the non-libc, non-ldso copy.
39610
39611 * sysdeps/alpha/libm-test-ulps: Regenerate.
39612
39613 2014-04-16 Ian Bolton <ian.bolton@arm.com>
39614 Wilco Dijkstra <wilco.dijkstra@arm.com>
39615
39616 * sysdeps/aarch64/fpu/math_private.h: New file.
39617
39618 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
39619
39620 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39621
39622 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
39623
39624 [BZ #16275]
39625 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39626 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39628 Intel MPX bound registers before _dl_profile_fixup.
39629 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39630 registers after _dl_profile_fixup. Save and restore bound
39631 registers bnd0/bnd1 when calling _dl_call_pltexit.
39632 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39633 (LR_BND_OFFSET): Likewise.
39634 (LRV_BND0_OFFSET): Likewise.
39635 (LRV_BND1_OFFSET): Likewise.
39636
39637 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
39638
39639 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39640 to...
39641 * sysdeps/mach/hurd/i386/tls.h: ... here.
39642 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39643 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39644 fields.
39645
39646 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
39647
39648 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39649
39650 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
39651
39652 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39653
39654 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
39655
39656 [BZ #14770]
39657 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39658 * sysdeps/s390/configure: Regenerate.
39659
39660 [BZ #16824]
39661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39662 Set round-to-nearest internally to reduce error accumulation.
39663
39664 2014-04-16 Alan Modra <amodra@gmail.com>
39665
39666 [BZ #16740]
39667 [BZ #16619]
39668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39669 * math/libm-test.inc (frexp_test_data): Add tests.
39670 * NEWS: Update fixed bug list.
39671
39672 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39673
39674 * benchtests/Makefile: Depend on libraries in build directory.
39675 (bench-math): Separate out math tests.
39676 (bench-pthread): Separate out pthread tests.
39677 (bench): Include math and pthread tests.
39678
39679 2014-04-14 Carlos O'Donell <carlos@redhat.com>
39680
39681 [BZ #16831]
39682 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39683 _dl_debug_initialize.
39684
39685 * configure.ac: Remove SELinux header check.
39686 * configure: Regenerate.
39687 * nscd/selinux.c (perms): Array of const char* to permission names.
39688 (nscd_request_avc_has_perm): Call security_deny_unknown to find
39689 default policy. Call string_to_security_class and string_to_av_perm to
39690 translate strings. Enforce default policy and call avs_has_perm with
39691 results of translated strings.
39692
39693 2014-04-13 David S. Miller <davem@davemloft.net>
39694
39695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39696
39697 2014-04-12 Allan McRae <allan@archlinux.org>
39698
39699 [BZ #16838]
39700 * manual/string.texi (Collation Functions): Fix qsort argument
39701 order in example.
39702 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39703
39704 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
39705
39706 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39707 Make the test a no-op if there are no exceptions defined.
39708
39709 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
39710
39711 * elf/Makefile (tests): make tst-dlopen-aout conditional on
39712 enable-hardcoded-path-in-tests
39713
39714 2014-04-11 Will Newton <will.newton@linaro.org>
39715
39716 * benchtests/Makefile (extra-objs): Add json-lib.o.
39717 (bench-func): Tidy up JSON output.
39718 * benchtests/bench-skeleton.c: Include json-lib.h.
39719 (main): Use JSON library functions to do output of
39720 benchmark results.
39721 * benchtests/bench-timing-type.c (main): Output the
39722 timing type simply, leaving formatting to the user.
39723 * benchtests/json-lib.c: New file.
39724 * benchtests/json-lib.h: Likewise.
39725
39726 2014-04-11 Torvald Riegel <triegel@redhat.com>
39727
39728 [BZ #15215]
39729 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39730 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
39731 memory barriers. Add comments.
39732 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39733 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39734 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39735 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39736 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39737 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39738
39739 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
39740
39741 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39742 * sysdeps/s390/s390-64/configure.ac: ... this ...
39743 * sysdeps/s390/configure.ac: ... to here.
39744 * sysdeps/s390/s390-32/configure: Delete file.
39745 * sysdeps/s390/s390-64/configure: Delete file.
39746 * sysdeps/s390/configure: Regenerate.
39747
39748 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
39749
39750 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39751
39752 2014-04-11 Will Newton <will.newton@linaro.org>
39753
39754 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39755 to zero if it is not defined elsewhere. (mtrim): Test
39756 the value of MALLOC_DEBUG with #if rather than #ifdef.
39757
39758 2014-04-10 Torvald Riegel <triegel@redhat.com>
39759
39760 * benchtests/pthread_once-inputs: New file.
39761 * benchtests/pthread_once-source.c: New file.
39762 * benchtests/README: Update documentation.
39763
39764 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
39765 H.J. Lu <hongjiu.lu@intel.com>
39766
39767 [BZ #16275]
39768 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39769 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39770 * sysdeps/x86_64/configure: Regenerated.
39771 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39772 macro.
39773 (REGISTER_SAVE_RAX): Likewise.
39774 (REGISTER_SAVE_RCX): Likewise.
39775 (REGISTER_SAVE_RDX): Likewise.
39776 (REGISTER_SAVE_RSI): Likewise.
39777 (REGISTER_SAVE_RDI): Likewise.
39778 (REGISTER_SAVE_R8): Likewise.
39779 (REGISTER_SAVE_R9): Likewise.
39780 (REGISTER_SAVE_BND0): Likewise.
39781 (REGISTER_SAVE_BND1): Likewise.
39782 (REGISTER_SAVE_BND2): Likewise.
39783 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
39784 bound registers when calling _dl_fixup.
39785
39786 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39787
39788 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39789 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39790 of its definition.
39791 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39792 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39793 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39794 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39795 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39796 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39797 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39798
39799 2014-04-09 Peter Brett <peter@peter-b.co.uk>
39800
39801 [BZ #15514]
39802 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39803 pathconf(_PC_NAME_MAX).
39804
39805 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39806
39807 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39808 Remove macro usage.
39809 (__PTHREAD_SPINS): Move definition to ...
39810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39811 (__PTHREAD_SPINS): ... here.
39812 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39813 (__PTHREAD_SPIN): Likewise.
39814 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39815 (__PTHREAD_SPIN): Likewise.
39816 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39817 (__PTHREAD_SPIN): Likewise.
39818 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39819 (__PTHREAD_SPIN): Likewise.
39820 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39821 (__PTHREAD_SPIN): Likewise.
39822 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39823 (__PTHREAD_SPIN): Likewise.
39824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39825 (__PTHREAD_SPIN): Likewise.
39826 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39827 (__PTHREAD_SPIN): Likewise.
39828 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39829 (__PTHREAD_SPIN): Likewise.
39830 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39831 (__PTHREAD_SPIN): Likewise.
39832 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39833 (__PTHREAD_SPIN): Likewise.
39834 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39835 (__PTHREAD_SPIN): Likewise.
39836
39837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39838 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39839 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39841 imply folder.
39842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39843 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39844 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39845 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39846 correct imply path.
39847 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39848 strlen symbol for non multi-arch builds.
39849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39850 missing hidden_def and weak_alias.
39851
39852 2014-04-08 Carlos O'Donell <carlos@redhat.com>
39853
39854 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39855
39856 2014-04-07 Will Newton <will.newton@linaro.org>
39857
39858 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39859 and contents. [!_LIBC] Remove #ifndef and contents.
39860 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
39861 * string/memccpy.c (__memccpy): Use ANSI prototype.
39862 * string/memfrob.c (memfrob): Likewise.
39863 * string/strcoll.c (STRCOLL): Likewise.
39864 * string/strlen.c (strlen): Likewise.
39865 * string/strtok.c (STRTOK): Likewise.
39866 * string/strcat.c: Remove unused #include of memcopy.h.
39867 (strcat): Use ANSI prototype.
39868 * string/strchr.c: Remove unused #include of memcopy.h.
39869 (strchr): Use ANSI prototype.
39870 * string/strcmp.c: Remove unused #include of memcopy.h.
39871 (strcmp): Use ANSI prototype.
39872 * string/strcpy.c: Remove unused #include of memcopy.h.
39873 (strcpy): Use ANSI prototype.
39874
39875 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39876
39877 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39878 * config.make.in (config-extra-cppflags): Set it from
39879 libc_extra_cppflags.
39880 * configure.ac (libc_extra_cflags): Make it accumulate over
39881 configure fragments.
39882 (libc_extra_cppflags): New flag.
39883 * configure. Regenerate.
39884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39885 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39886 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39888
39889 [BZ #16815]
39890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39891 result for FE_DOWNWARD rounding mode.
39892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39893 Likewise.
39894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39895
39896 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
39897
39898 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39899 in function argument name.
39900
39901 2014-04-03 David Svoboda <svoboda@cert.org>
39902
39903 [BZ #5666]
39904 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39905 explicitly.
39906
39907 2014-04-03 Roland McGrath <roland@hack.frob.com>
39908
39909 * elf/dl-unmap-segments.h: New file.
39910 * sysdeps/generic/ldsodefs.h
39911 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39912 * elf/dl-close.c: Include <dl-unmap-segments.h>.
39913 * elf/dl-fptr.c: Likewise.
39914 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39915 * sysdeps/aarch64/tlsdesc.c: Likewise.
39916 * sysdeps/arm/tlsdesc.c: Likewise.
39917 * sysdeps/i386/tlsdesc.c: Likewise.
39918 * sysdeps/tile/dl-runtime.c: Likewise.
39919 * sysdeps/x86_64/tlsdesc.c: Likewise.
39920 * elf/dl-load.h: New file.
39921 * elf/dl-load.c: Include it.
39922 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39923 Macros moved to dl-load.h.
39924 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39925 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39926 Use _dl_unmap_segments in place of __munmap.
39927 Break out segment-mapping loop into ...
39928 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39929
39930 2014-04-03 Will Newton <will.newton@linaro.org>
39931
39932 * elf/dl-lookup.c (do_lookup_x): Remove comment
39933 referring to nested function and move variable
39934 declarations down to before first use.
39935
39936 2014-04-02 Joseph Myers <joseph@codesourcery.com>
39937
39938 [BZ #16799]
39939 [BZ #16800]
39940 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39941 with 0 numerator.
39942 * math/s_catanf.c (__catanf): Likewise.
39943 * math/s_catanh.c (__catanh): Likewise.
39944 * math/s_catanhf.c (__catanhf): Likewise.
39945 * math/s_catanhl.c (__catanhl): Likewise.
39946 * math/s_catanl.c (__catanl): Likewise.
39947 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39948 by positive zero when computing -Inf result.
39949 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39950 (catanh_test): Likewise.
39951 * sysdeps/i386/fpu/libm-test-ulps: Update.
39952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39953
39954 [BZ #16789]
39955 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39956 instead of using underflowing value in computing result.
39957 * math/s_clog10.c (__clog10): Likewise.
39958 * math/s_clog10f.c (__clog10f): Likewise.
39959 * math/s_clog10l.c (__clog10l): Likewise.
39960 * math/s_clogf.c (__clogf): Likewise.
39961 * math/s_clogl.c (__clogl): Likewise.
39962 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39963 (clog10_test): Likewise.
39964 * sysdeps/i386/fpu/libm-test-ulps: Update.
39965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39966
39967 2014-04-02 Alan Modra <amodra@gmail.com>
39968
39969 [BZ #16739]
39970 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39971 output when value is near a power of two. Use int64_t for lx and
39972 remove casts. Use decimal rather than hex exponent constants.
39973 Don't use long double multiplication when double will suffice.
39974 * math/libm-test.inc (nextafter_test_data): Add tests.
39975 * NEWS: Add 16739 and 16786 to bug list.
39976
39977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39978
39979 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39980
39981 2014-04-01 Will Newton <will.newton@linaro.org>
39982
39983 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39984 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
39985
39986 2014-04-01 Florian Weimer <fweimer@redhat.com>
39987
39988 [BZ #13347]
39989 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39990 * nptl/tst-setuid2.c: New file.
39991 * nptl/Makefile (xtests): Add tst-setuid2.
39992
39993 2014-04-01 Alan Modra <amodra@gmail.com>
39994
39995 [BZ #16786]
39996 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39997
39998 2014-03-31 Joseph Myers <joseph@codesourcery.com>
39999
40000 [BZ #6803]
40001 [BZ #6804]
40002 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40003 set errno as appropriate.
40004 * math/w_scalbf.c (__scalbf): Likewise.
40005 * math/w_scalbl.c (__scalbl): Likewise.
40006 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40007 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40008 * math/libm-test.inc (scalb_test_data): Add errno expectations.
40009 Add more NaN tests.
40010
40011 [BZ #16349]
40012 * math/w_atan2.c: Include <errno.h>.
40013 (__atan2): Set errno for result underflowing to zero.
40014 * math/w_atan2f.c: Include <errno.h>.
40015 (__atan2f): Set errno for result underflowing to zero.
40016 * math/w_atan2l.c: Include <errno.h>.
40017 (__atan2l): Set errno for result underflowing to zero.
40018 * math/auto-libm-test-in: Don't allow missing errno for some atan2
40019 tests.
40020 * math/auto-libm-test-out: Regenerated.
40021
40022 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40023
40024 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40025 Encode instruction correctly in little endian.
40026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40027 Likewise.
40028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40029 Likewise.
40030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40031 Likewise.
40032 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40033 Likewise.
40034
40035 2014-03-31 Joseph Myers <joseph@codesourcery.com>
40036
40037 [BZ #9894]
40038 * sysdeps/unix/sysv/linux/kernel-features.h
40039 [__sparc__ && !__arch64__ && !__sparc_v9__]
40040 (__ASSUME_SET_ROBUST_LIST): Do not define.
40041 [__sparc__ && !__arch64__ && !__sparc_v9__]
40042 (__ASSUME_FUTEX_LOCK_PI): Likewise.
40043 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40044 Likewise.
40045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40046 (__ASSUME_FUTEX_LOCK_PI): Undefine.
40047 (__ASSUME_REQUEUE_PI): Likewise.
40048 (__ASSUME_SET_ROBUST_LIST): Likewise.
40049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40050 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40051 Undefine.
40052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40054 Likewise.
40055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40056 Likewise.
40057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40058 Likewise.
40059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
40060 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40061 Undefine.
40062 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40063 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40064 Likewise.
40065
40066 [BZ #16648]
40067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40068 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40069 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40070
40071 2014-03-31 Will Newton <will.newton@linaro.org>
40072
40073 * benchtests/Makefile (bench): Add ffs and ffsll to list
40074 of tests.
40075 * benchtests/ffs-inputs: New file.
40076 * benchtests/ffsll-inputs: Likewise.
40077
40078 2014-03-29 Joseph Myers <joseph@codesourcery.com>
40079
40080 [BZ #16770]
40081 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40082 too large before casting to int.
40083 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40084 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40085 * math/libm-test.inc (scalb_test_data): Add more tests.
40086
40087 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40088
40089 * benchtests/Makefile (DETAILED_OPT): New make option.
40090 (bench-func): Run benchmark program with -d if DETAILED_OPT is
40091 set.
40092 * benchtests/bench-skeleton.c: Include stdbool.h.
40093 (main): Store and print timings per input.
40094 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40095 member to each argument value.
40096 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40097 (_print_arg_data): Initialize per-input timing to 0.
40098
40099 * benchtests/Makefile (timing-type): New binary.
40100 (bench-clean): Also remove bench-timing-type.
40101 (bench): New target for timing-type.
40102 (bench-func): Print output in JSON format.
40103 * benchtests/bench-skeleton.c (main): Print output in JSON
40104 format.
40105 * benchtests/bench-timing-type.c: New file.
40106 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40107 (TIMING_PRINT_STATS): Remove.
40108 * benchtests/scripts/bench.py (_print_arg_data): Store variant
40109 name separately.
40110
40111 * benchtests/bench-modf.c: Remove.
40112 * benchtests/modf-inputs: New inputs file.
40113
40114 2014-03-28 Joseph Myers <joseph@codesourcery.com>
40115
40116 [BZ #16362]
40117 * math/s_clog10.c (M_PI_LOG10E): New macro.
40118 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40119 imaginary parts are 0.
40120 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40121 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40122 imaginary parts are 0.
40123 * math/s_clog10l.c (M_PI_LOG10El): New macro.
40124 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40125 imaginary parts are 0.
40126 * math/libm-test.inc (clog10_test_data): Update expected results
40127 for when real and imaginary parts are 0.
40128
40129 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
40130
40131 * elf/dl-load.c: Finish conversion of __builtin_expect into
40132 __glibc_{un}likely.
40133
40134 2014-03-27 Joseph Myers <joseph@codesourcery.com>
40135
40136 [BZ #16348]
40137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40138 1+x for argument with exponent below -67.
40139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40140 Likewise.
40141 * math/auto-libm-test-in: Add more tests of exp.
40142 * math/auto-libm-test-out: Regenerated.
40143
40144 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40145
40146 [BZ #16759]
40147 * inet/getnetgrent_r.c (get_nonempty_val): New function.
40148 (nscd_getnetgrent): Use it.
40149
40150 [BZ #16760]
40151 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40152 of stpcpy.
40153
40154 2014-03-27 Andi Kleen <ak@linux.intel.com>
40155
40156 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40157 (lll_robust_lock, lll_cond_lock, lll_timedlock)
40158 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40159 (lll_robust_unlock): Remove out of line section. Use cfi
40160 intrinsics.
40161 (LLL_STUB_UNWIND_INFO*): Remove.
40162 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40163 (lll_robust_lock, lll_cond_lock, lll_timedlock)
40164 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40165 (lll_robust_unlock): Remove out of line section. Use cfi
40166 intrinsics.
40167 (LLL_STUB_UNWIND_INFO*): Remove.
40168
40169 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40170
40171 [BZ #16758]
40172 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40173 blank values.
40174
40175 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
40176
40177 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40178
40179 2014-03-26 Joseph Myers <joseph@codesourcery.com>
40180
40181 [BZ #16198]
40182 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40183 fnstenv.
40184 * math/test-fenv-preserve.c: New file.
40185 * math/Makefile (tests): Add test-fenv-preserve.
40186
40187 2014-03-26 Will Newton <will.newton@linaro.org>
40188
40189 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40190
40191 2014-03-25 Roland McGrath <roland@hack.frob.com>
40192
40193 * scripts/versionlist.awk: Partition the version sets and emit all
40194 GLIBC_* (sorted) before all others (sorted).
40195
40196 2014-03-25 Joseph Myers <joseph@codesourcery.com>
40197
40198 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40199 GLIBC_2.2.5 version.
40200
40201 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40202
40203 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40204 calls.
40205
40206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40207 previous change.
40208
40209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40210
40211 2014-03-25 Andreas Schwab <schwab@suse.de>
40212
40213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40214 label to be used after in6ailist is initialized.
40215
40216 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40217
40218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40219 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40220
40221 2014-03-25 Joseph Myers <joseph@codesourcery.com>
40222
40223 [BZ #16357]
40224 [BZ #16599]
40225 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40226 min_plus_half.
40227 (fp_formats): Update initializers.
40228 (init_fp_formats): Initialize new field.
40229 (output_for_one_input_case): Allow underflow for results up to
40230 min_plus_half.
40231 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40232 * math/auto-libm-test-in: Don't mark some underflows from asin and
40233 atanh as spurious.
40234 * math/auto-libm-test-out: Regenerated.
40235 * sysdeps/i386/fpu/libm-test-ulps: Update.
40236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40237
40238 2014-03-25 Andreas Schwab <schwab@suse.de>
40239
40240 * libio/Makefile (tst-ftell-partial-wide-ENV)
40241 (tst-ftell-active-handler-ENV): Define.
40242
40243 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
40244
40245 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40246
40247 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
40248
40249 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40250
40251 2014-03-24 Joseph Myers <joseph@codesourcery.com>
40252
40253 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40254 * sysdeps/x86_64/fpu/multiarch/e_exp.c
40255 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40256
40257 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
40258
40259 [BZ #16634]
40260 * elf/dl-load.c (open_verify): Add mode parameter.
40261 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40262 (open_path): Change from boolean 'secure' to complete flag 'mode'
40263 (_dl_map_object): Adjust.
40264 * elf/Makefile (tests): Add tst-dlopen-aout.
40265 * elf/tst-dlopen-aout.c: New test.
40266
40267 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
40268
40269 [BZ #16714]
40270 * sysdeps/unix/sysv/linux/s390/bits/stat.h
40271 (struct stat): Rename member pad0 to __glibc_reserved0.
40272
40273 [BZ #16712]
40274 * sysdeps/s390/s390-32/bits/wordsize.h
40275 (__WORDSIZE32_SIZE_ULONG): New define.
40276 * sysdeps/s390/s390-64/bits/wordsize.h
40277 (__WORDSIZE32_SIZE_ULONG): Likewise.
40278 * sysdeps/generic/stdint.h (SIZE_MAX):
40279 Define as UL if __WORDSIZE32_SIZE_ULONG.
40280
40281 [BZ #16713]
40282 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40283 (__glibc_reserved0): New variable.
40284 (sa_flags): Change type to int.
40285
40286 * posix/Makefile (before-compile): Use += before-compile instead
40287 of a :=.
40288
40289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40290 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40291
40292 2014-03-20 Andreas Schwab <schwab@suse.de>
40293
40294 [BZ #16743]
40295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40296 non-matching result from nscd.
40297
40298 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40299
40300 * scripts/bench.py: Moved to ...
40301 * benchtests/scripts/bench.py: ... here.
40302 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40303
40304 2014-03-24 Andreas Schwab <schwab@suse.de>
40305
40306 [BZ #16002]
40307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40308 alloca_account and account alloca use for struct in6ailist.
40309
40310 2014-03-24 Joseph Myers <joseph@codesourcery.com>
40311
40312 [BZ #16284]
40313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40314 rounding mode to recompute results that overflow to infinity or
40315 underflow to zero.
40316 * math/auto-libm-test-in: Don't mark tests as expected to fail for
40317 bug 16284.
40318 * math/auto-libm-test-out: Regenerated.
40319 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40320 (ccosh_test): Likewise.
40321 (csin_test_data): Use plus_oflow.
40322 (csin_test): Use ALL_RM_TEST.
40323 (csinh_test_data): Use plus_oflow.
40324 (csinh_test): Use ALL_RM_TEST.
40325 * sysdeps/i386/fpu/libm-test-ulps: Update.
40326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40327
40328 2014-03-21 Joseph Myers <joseph@codesourcery.com>
40329
40330 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40331 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40332 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40333
40334 [BZ #16731]
40335 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40336 when x - 1 is zero.
40337 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40338 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40339 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40340 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40341 argument is 1.
40342 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40343 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40344 zero.
40345 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40346 * sysdeps/i386/fpu/libm-test-ulps: Update.
40347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40348
40349 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40350
40351 * scripts/bench.pl: Remove file.
40352 * scripts/bench.py: New benchmark script.
40353 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40354 * benchtests/README: Mention python dependency.
40355 * scripts/pylintrc: New file.
40356 * scripts/pylint: New file.
40357
40358 * bits/mathdef.h: Use #ifdef instead of #if.
40359 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40361 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40362 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40363 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40364 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40365
40366 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40367 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40368
40369 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40371 and strpbrk-ppc64 objects.
40372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40373 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40375 multiarch strpbrk for POWER7.
40376 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40377 multiarch strpbrk for PPC64.
40378 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40379 ifunc selector.
40380 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40381 strpbrk for POWER7.
40382
40383 2014-03-20 Joseph Myers <joseph@codesourcery.com>
40384
40385 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40386 (atan_test): Likewise.
40387 (atanh_test_data): Use NO_TEST_INLINE for two tests.
40388 (atanh_test): Use ALL_RM_TEST.
40389 (atan2_test_data): Likewise.
40390 (cabs_test): Likewise.
40391 (cacosh_test): Likewise.
40392 (carg_test): Likewise.
40393 (casin_test): Likewise.
40394 (casinh_test): Likewise.
40395 (cbrt_test): Likewise.
40396 (csqrt_test): Likewise.
40397 (erf_test): Likewise.
40398 (erfc_test): Likewise.
40399 (pow10_test): Likewise.
40400 (exp2_test): Likewise.
40401 (hypot_test): Likewise.
40402 (j0_test): Likewise.
40403 (j1_test): Likewise.
40404 (lgamma_test): Likewise.
40405 (gamma_test): Likewise.
40406 (sincos_test): Likewise.
40407 (tanh_test): Likewise.
40408 (y0_test): Likewise.
40409 (y1_test): Likewise.
40410 * sysdeps/i386/fpu/libm-test-ulps: Update.
40411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412
40413 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40414
40415 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40417 and strcspn-ppc64 objects.
40418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40419 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40420 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40421 multiarch strcspn for POWER7.
40422 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40423 multiarch strcspn for PPC64.
40424 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40425 ifunc selector.
40426 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40427 strcspn for POWER7.
40428
40429 2014-03-20 Joseph Myers <joseph@codesourcery.com>
40430
40431 * math/gen-libm-test.pl (generate_testfile): Expect only function
40432 name as argument to AUTO_TESTS_* and pass results for all rounding
40433 modes to parse_args.
40434 (parse_auto_input): Separate inputs of automatic tests from
40435 outputs before storing in %auto_tests.
40436 * math/libm-test.inc (acos_test_data): Update call to
40437 AUTO_TESTS_f_f.
40438 (acos_test): Use ALL_RM_TEST.
40439 (acos_tonearest_test_data): Remove.
40440 (acos_test_tonearest): Likewise.
40441 (acos_towardzero_test_data): Likewise.
40442 (acos_test_towardzero): Likewise.
40443 (acos_downward_test_data): Likewise.
40444 (acos_test_downward): Likewise.
40445 (acos_upward_test_data): Likewise.
40446 (acos_test_upward): Likewise.
40447 (acosh_test_data): Update call to AUTO_TESTS_f_f.
40448 (asin_test_data): Likewise.
40449 (asin_test): Use ALL_RM_TEST.
40450 (asin_tonearest_test_data): Remove.
40451 (asin_test_tonearest): Likewise.
40452 (asin_towardzero_test_data): Likewise.
40453 (asin_test_towardzero): Likewise.
40454 (asin_downward_test_data): Likewise.
40455 (asin_test_downward): Likewise.
40456 (asin_upward_test_data): Likewise.
40457 (asin_test_upward): Likewise.
40458 (asinh_test_data): Update call to AUTO_TESTS_f_f.
40459 (atan_test_data): Likewise.
40460 (atanh_test_data): Likewise.
40461 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40462 (cabs_test_data): Update call to AUTO_TESTS_c_f.
40463 (carg_test_data): Likewise.
40464 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40465 (ccos_test_data): Update call to AUTO_TESTS_c_c.
40466 (ccosh_test_data): Likewise.
40467 (cexp_test_data): Likewise.
40468 (clog_test_data): Likewise.
40469 (clog10_test_data): Likewise.
40470 (cos_test_data): Update call to AUTO_TESTS_f_f.
40471 (cos_test): Use ALL_RM_TEST.
40472 (cos_tonearest_test_data): Remove.
40473 (cos_test_tonearest): Likewise.
40474 (cos_towardzero_test_data): Likewise.
40475 (cos_test_towardzero): Likewise.
40476 (cos_downward_test_data): Likewise.
40477 (cos_test_downward): Likewise.
40478 (cos_upward_test_data): Likewise.
40479 (cos_test_upward): Likewise.
40480 (cosh_test_data): Update call to AUTO_TESTS_f_f.
40481 (cosh_test): Use ALL_RM_TEST.
40482 (cosh_tonearest_test_data): Remove.
40483 (cosh_test_tonearest): Likewise.
40484 (cosh_towardzero_test_data): Likewise.
40485 (cosh_test_towardzero): Likewise.
40486 (cosh_downward_test_data): Likewise.
40487 (cosh_test_downward): Likewise.
40488 (cosh_upward_test_data): Likewise.
40489 (cosh_test_upward): Likewise.
40490 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40491 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40492 (ctan_test_data): Likewise.
40493 (ctan_test): Use ALL_RM_TEST.
40494 (ctan_tonearest_test_data): Remove.
40495 (ctan_test_tonearest): Likewise.
40496 (ctan_towardzero_test_data): Likewise.
40497 (ctan_test_towardzero): Likewise.
40498 (ctan_downward_test_data): Likewise.
40499 (ctan_test_downward): Likewise.
40500 (ctan_upward_test_data): Likewise.
40501 (ctan_test_upward): Likewise.
40502 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40503 (ctanh_test): Use ALL_RM_TEST.
40504 (ctanh_tonearest_test_data): Remove.
40505 (ctanh_test_tonearest): Likewise.
40506 (ctanh_towardzero_test_data): Likewise.
40507 (ctanh_test_towardzero): Likewise.
40508 (ctanh_downward_test_data): Likewise.
40509 (ctanh_test_downward): Likewise.
40510 (ctanh_upward_test_data): Likewise.
40511 (ctanh_test_upward): Likewise.
40512 (erf_test_data): Update call to AUTO_TESTS_f_f.
40513 (erfc_test_data): Likewise.
40514 (exp_test_data): Likewise.
40515 (exp_test): Use ALL_RM_TEST.
40516 (exp_tonearest_test_data): Remove.
40517 (exp_test_tonearest): Likewise.
40518 (exp_towardzero_test_data): Likewise.
40519 (exp_test_towardzero): Likewise.
40520 (exp_downward_test_data): Likewise.
40521 (exp_test_downward): Likewise.
40522 (exp_upward_test_data): Likewise.
40523 (exp_test_upward): Likewise.
40524 (exp10_test_data): Update call to AUTO_TESTS_f_f.
40525 (exp10_test): Use ALL_RM_TEST.
40526 (exp10_tonearest_test_data): Remove.
40527 (exp10_test_tonearest): Likewise.
40528 (exp10_towardzero_test_data): Likewise.
40529 (exp10_test_towardzero): Likewise.
40530 (exp10_downward_test_data): Likewise.
40531 (exp10_test_downward): Likewise.
40532 (exp10_upward_test_data): Likewise.
40533 (exp10_test_upward): Likewise.
40534 (exp2_test_data): Update call to AUTO_TESTS_f_f.
40535 (expm1_test_data): Likewise.
40536 (expm1_test): Use ALL_RM_TEST.
40537 (expm1_tonearest_test_data): Remove.
40538 (expm1_test_tonearest): Likewise.
40539 (expm1_towardzero_test_data): Likewise.
40540 (expm1_test_towardzero): Likewise.
40541 (expm1_downward_test_data): Likewise.
40542 (expm1_test_downward): Likewise.
40543 (expm1_upward_test_data): Likewise.
40544 (expm1_test_upward): Likewise.
40545 (fma_test_data): Update call to AUTO_TESTS_fff_f.
40546 (fma_test): Use ALL_RM_TEST.
40547 (fma_towardzero_test_data): Remove.
40548 (fma_test_towardzero): Likewise.
40549 (fma_downward_test_data): Likewise.
40550 (fma_test_downward): Likewise.
40551 (fma_upward_test_data): Likewise.
40552 (fma_test_upward): Likewise.
40553 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40554 (j0_test_data): Update call to AUTO_TESTS_f_f.
40555 (j1_test_data): Likewise.
40556 (jn_test_data): Update call to AUTO_TESTS_if_f.
40557 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40558 (log_test_data): Update call to AUTO_TESTS_f_f.
40559 (log10_test_data): Likewise.
40560 (log1p_test_data): Likewise.
40561 (log2_test_data): Likewise.
40562 (pow_test_data): Update call to AUTO_TESTS_ff_f.
40563 (pow_tonearest_test_data): Likewise.
40564 (sin_test_data): Update call to AUTO_TESTS_f_f.
40565 (sin_test): Use ALL_RM_TEST.
40566 (sin_tonearest_test_data): Remove.
40567 (sin_test_tonearest): Likewise.
40568 (sin_towardzero_test_data): Likewise.
40569 (sin_test_towardzero): Likewise.
40570 (sin_downward_test_data): Likewise.
40571 (sin_test_downward): Likewise.
40572 (sin_upward_test_data): Likewise.
40573 (sin_test_upward): Likewise.
40574 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40575 (sinh_test_data): Update call to AUTO_TESTS_f_f.
40576 (sinh_test): Use ALL_RM_TEST.
40577 (sinh_tonearest_test_data): Remove.
40578 (sinh_test_tonearest): Likewise.
40579 (sinh_towardzero_test_data): Likewise.
40580 (sinh_test_towardzero): Likewise.
40581 (sinh_downward_test_data): Likewise.
40582 (sinh_test_downward): Likewise.
40583 (sinh_upward_test_data): Likewise.
40584 (sinh_test_upward): Likewise.
40585 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40586 (sqrt_test): Use ALL_RM_TEST.
40587 (sqrt_tonearest_test_data): Remove.
40588 (sqrt_test_tonearest): Likewise.
40589 (sqrt_towardzero_test_data): Likewise.
40590 (sqrt_test_towardzero): Likewise.
40591 (sqrt_downward_test_data): Likewise.
40592 (sqrt_test_downward): Likewise.
40593 (sqrt_upward_test_data): Likewise.
40594 (sqrt_test_upward): Likewise.
40595 (tan_test_data): Update call to AUTO_TESTS_f_f.
40596 (tan_test): Use ALL_RM_TEST.
40597 (tan_tonearest_test_data): Remove.
40598 (tan_test_tonearest): Likewise.
40599 (tan_towardzero_test_data): Likewise.
40600 (tan_test_towardzero): Likewise.
40601 (tan_downward_test_data): Likewise.
40602 (tan_test_downward): Likewise.
40603 (tan_upward_test_data): Likewise.
40604 (tan_test_upward): Likewise.
40605 (tanh_test_data): Update call to AUTO_TESTS_f_f.
40606 (tgamma_test_data): Likewise.
40607 (y0_test_data): Likewise.
40608 (y1_test_data): Likewise.
40609 (yn_test_data): Update call to AUTO_TESTS_if_f.
40610 (main): Do not call removed functions.
40611
40612 2014-03-19 Joseph Myers <joseph@codesourcery.com>
40613
40614 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40615 (ldexp_test_data): Remove.
40616 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
40617 scalbn_test_data.
40618 (scalb_test): Use ALL_RM_TEST.
40619
40620 2014-03-19 Andreas Schwab <schwab@suse.de>
40621
40622 * nscd/nscd.service: Also invalidate netgroup cache on reload.
40623
40624 2014-03-19 Joseph Myers <joseph@codesourcery.com>
40625
40626 [BZ #16649]
40627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40628 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40629 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40631 (__ASSUME_PREADV): Undefine.
40632 (__ASSUME_PWRITEV): Likewise.
40633
40634 2014-03-18 Roland McGrath <roland@hack.frob.com>
40635
40636 * bits/mman-linux.h: Add comment about non-Linux use.
40637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40638 bits/mman-linux.h resting place.
40639
40640 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40641 * bits/mman-linux.h: ... here.
40642
40643 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40644
40645 * conform/conformtest.pl: Add standard definition when calling C
40646 preprocessor on data files.
40647 (checknamespace): Remove unused variable.
40648
40649 2014-03-18 Joseph Myers <joseph@codesourcery.com>
40650
40651 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40652 minus_oflow, plus_uflow and minus_uflow in expected results.
40653 * math/libm-test.inc (scalbn_test_data): Add more tests of
40654 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
40655 minus_uflow.
40656 (scalbn_test): Use ALL_RM_TEST.
40657 (scalbln_test_data): Add more tests of negative arguments. Use
40658 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40659 (scalbln_test): Use ALL_RM_TEST.
40660
40661 2014-03-18 Roland McGrath <roland@hack.frob.com>
40662
40663 * scripts/abilist.awk: Ignore symbols marked with .hidden.
40664
40665 2014-03-18 Will Newton <will.newton@linaro.org>
40666
40667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40668 inaccurate comment.
40669
40670 2014-03-18 Joseph Myers <joseph@codesourcery.com>
40671
40672 * Makerules [!subdir] (check-abi): Exit with error status if a
40673 test failed.
40674
40675 2014-03-17 Joseph Myers <joseph@codesourcery.com>
40676
40677 * math/libm-test.inc (nearbyint_test_data): Include all tests used
40678 for rint. Include results for all rounding modes.
40679 (nearbyint_test): Use ALL_RM_TEST.
40680 (rint_test_data): Include all tests used for nearbyint.
40681
40682 2014-03-17 Will Newton <will.newton@linaro.org>
40683
40684 * nptl/sysdeps/pthread/pthread.h: Revert previous
40685 change.
40686
40687 * sysdeps/generic/ldsodefs.h: Revert previous
40688 change.
40689
40690 * libio/genops.c: Revert previous change.
40691 * libio/libioP.h: Likewise.
40692 * stdio-common/vfprintf.c: Likewise.
40693
40694 * sysdeps/generic/math_private.h: Revert previous
40695 change.
40696
40697 * sysdeps/generic/math_private.h: Check whether
40698 HAVE_RM_CTX is defined with #ifdef rather
40699 than #if.
40700
40701 * argp/argp-fmtstream.h: Check whether
40702 __STRICT_ANSI__ is defined with #ifdef rather
40703 than #if.
40704 * argp/argp.h: Likewise.
40705
40706 * libio/genops.c: Check whether
40707 _IO_JUMPS_OFFSET is defined with #ifdef rather
40708 than #if.
40709 * libio/libioP.h: Likewise.
40710 * stdio-common/vfprintf.c: Likewise.
40711
40712 * sysdeps/generic/ldsodefs.h: Check whether
40713 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40714 than #if.
40715
40716 * nptl/sysdeps/pthread/pthread.h: Check
40717 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40718 its value.
40719
40720 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40721
40722 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40723 setting O_APPEND.
40724 * libio/tst-ftell-active-handler.c (do_append_test): Add a
40725 test case.
40726
40727 [BZ #16680]
40728 * libio/fileops.c (_IO_file_open): Seek to end of file but
40729 don't cache the offset.
40730 (get_file_offset): Remove function.
40731 (do_ftell): Use cached offset when available.
40732 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40733 don't cache the offset.
40734 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40735 case.
40736 (do_one_test): Call it.
40737 (do_ftell_test): Fix up expected old offset for a+ mode.
40738 * libio/wfileops.c (do_ftell_wide): Used cached offset when
40739 available.
40740
40741 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40742 up test status with function return status.
40743 (do_write_test): Likewise.
40744 (do_append_test): Likewise.
40745
40746 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40747 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40748 Remove.
40749
40750 2014-03-17 Joseph Myers <joseph@codesourcery.com>
40751
40752 * math/gen-libm-test.pl (parse_args): Handle results specified for
40753 each rounding mode separately.
40754 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40755 tests and results from lrint_tonearest_test_data,
40756 lrint_towardzero_test_data, lrint_downward_test_data and
40757 lrint_upward_test_data.
40758 (lrint_test): Use ALL_RM_TEST.
40759 (lrint_tonearest_test_data): Remove.
40760 (lrint_test_tonearest): Likewise.
40761 (lrint_towardzero_test_data): Likewise.
40762 (lrint_test_towardzero): Likewise.
40763 (lrint_downward_test_data): Likewise.
40764 (lrint_test_downward): Likewise.
40765 (lrint_upward_test_data): Likewise.
40766 (lrint_test_upward): Likewise.
40767 (llrint_test_data): Merge in per-rounding-mode tests and results
40768 from llrint_tonearest_test_data, llrint_towardzero_test_data,
40769 llrint_downward_test_data and llrint_upward_test_data.
40770 (llrint_test): Use ALL_RM_TEST.
40771 (llrint_tonearest_test_data): Remove.
40772 (llrint_test_tonearest): Likewise.
40773 (llrint_towardzero_test_data): Likewise.
40774 (llrint_test_towardzero): Likewise.
40775 (llrint_downward_test_data): Likewise.
40776 (llrint_test_downward): Likewise.
40777 (llrint_upward_test_data): Likewise.
40778 (llrint_test_upward): Likewise.
40779 (rint_test_data): Merge in per-rounding-mode tests and results
40780 from rint_tonearest_test_data, rint_towardzero_test_data,
40781 rint_downward_test_data and rint_upward_test_data. Add
40782 per-rounding-mode results for tests not in those arrays.
40783 (rint_test): Use ALL_RM_TEST.
40784 (rint_tonearest_test_data): Remove.
40785 (rint_test_tonearest): Likewise.
40786 (rint_towardzero_test_data): Likewise.
40787 (rint_test_towardzero): Likewise.
40788 (rint_downward_test_data): Likewise.
40789 (rint_test_downward): Likewise.
40790 (rint_upward_test_data): Likewise.
40791 (rint_test_upward): Likewise.
40792 (main): Don't call removed functions.
40793
40794 2014-03-14 Roland McGrath <roland@hack.frob.com>
40795
40796 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40797 "Compiled on ..." crapola. It is anti-useful.
40798
40799 2014-03-14 Joseph Myers <joseph@codesourcery.com>
40800
40801 * scripts/evaluate-test.sh: Handle fourth argument to determine
40802 whether test run should stop on failure.
40803 * Makeconfig (stop-on-test-failure): New variable.
40804 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40805 $(stop-on-test-failure).
40806 * Makefile (tests): Give a summary of results from testing and
40807 exit with failure status if they include an ERROR or FAIL.
40808 (xtests): Likewise.
40809 * manual/install.texi (Configuring and compiling): Mention
40810 stop-on-test-failure=y.
40811 * INSTALL: Regenerated.
40812
40813 2014-03-14 Roland McGrath <roland@hack.frob.com>
40814
40815 * scripts/versionlist.awk: New file.
40816 * Makerules [$(build-shared) = yes]
40817 (postclean-generated): Add Versions.def, not Versions.def.v and
40818 Versions.def.v.i.
40819 ($(common-objpfx)Versions.def.v.i): Target removed.
40820 ($(common-objpfx)Versions.def): New target.
40821 ($(common-objpfx)Versions.all): Depend on that rather that
40822 $(common-objpfx)Versions.def.v.
40823 * Versions.def: File removed.
40824
40825 * Makeconfig (+gccwarn): Add -Wundef.
40826 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40827 a dl-sysdep.h breaking its contract.
40828 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40829 * include/stackinfo.h: New file.
40830 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40831 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40832 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40833 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40834 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40835 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40836 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40837 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40838 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40839 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40840 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40841 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40842 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40843 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40844 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40845
40846 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40847
40848 [BZ #16707]
40849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40850 implementation.
40851 * math/libm-test.inc (round_test_data): Add more tests.
40852
40853 [BZ #16706]
40854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40855 implementation.
40856 * math/libm-test.inc (nearbyint_test_data): Add more tests.
40857
40858 [BZ #16701]
40859 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40860 implementation.
40861 * math/libm-test.inc (ceil_test_data): Add more tests.
40862
40863 * math/libm-test.inc (trunc_test_data): Add more tests related to
40864 BZ#16414.
40865
40866 2014-03-14 Roland McGrath <roland@hack.frob.com>
40867
40868 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40869 with #if rather than #ifdef.
40870 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40871
40872 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
40873
40874 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40875 first. Disable AVX-512 GCC support if assembler doesn't support
40876 it.
40877 * sysdeps/x86_64/configure: Regenerated.
40878
40879 2014-03-13 Carlos O'Donell <carlos@redhat.com>
40880
40881 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40882 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40883 (__old_pthread_attr_setstack): Likewise.
40884 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40885 [!_STACK_GROWS_DOWN]: Likewise.
40886
40887 2014-03-13 Mike Frysinger <vapier@gentoo.org>
40888
40889 * config.make.in (have-bash2): Delete.
40890 * configure.ac (libc_cv_have_bash2): Delete.
40891 * configure: Regenerate.
40892 * elf/Makefile (common-ldd-rewrite): Rename to ...
40893 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
40894 (sh-ldd-rewrite): Delete.
40895 (bash-ldd-rewrite): Delete.
40896 (have-bash2): Delete checks.
40897 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40898 ldd-rewrite.
40899
40900 * config.make.in (have-ksh): Delete.
40901 (KSH): Delete.
40902 * configure.ac (libc_cv_have_ksh): Delete.
40903 * configure: Regenerate.
40904
40905 * elf/Makefile: Delete $(have-ksh) check.
40906 ($(objpfx)sotruss): Change KSH to BASH.
40907 * elf/sotruss.ksh: Rename to ...
40908 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
40909 function style to match POSIX. Drop ksh vim mode setting.
40910
40911 * manual/time.texi (Specifying the Time Zone with TZ): Change
40912 Tuesday to Thursday.
40913
40914 * debug/tst-longjmp_chk2.c: Update header comment.
40915 (stackoverflow_handler): Add comment. Call assert on pass value.
40916
40917 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
40918
40919 [BZ #16194]
40920 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40921 (HAVE_AVX512_ASM_SUPPORT): Likewise.
40922 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40923 (La_x86_64_vector): Add zmm.
40924 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40925 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40926 ($(objpfx)tst-audit10): New target.
40927 ($(objpfx)tst-audit10.out): Likewise.
40928 (tst-audit10-ENV): New.
40929 (AVX512-CFLAGS): Likewise.
40930 (CFLAGS-tst-audit10.c): Likewise.
40931 (CFLAGS-tst-auditmod10a.c): Likewise.
40932 (CFLAGS-tst-auditmod10b.c): Likewise.
40933 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40934 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40935 * sysdeps/x86_64/configure: Regenerated.
40936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40937 AVX-512 zmm register support.
40938 (_dl_x86_64_save_sse): Likewise.
40939 (_dl_x86_64_restore_sse): Likewise.
40940 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40941 size vector registers.
40942 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40943 (ZMM_SIZE): Likewise.
40944 * sysdeps/x86_64/tst-audit10.c: New file.
40945 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40946 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40947
40948 2014-03-13 Roland McGrath <roland@hack.frob.com>
40949
40950 * configure.ac (HAVE_EHDR_START): New check.
40951 * configure: Regenerated.
40952 * config.h.in (HAVE_EHDR_START): New #undef.
40953 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40954 assuming the lowest-addressed segment maps the start of the file.
40955
40956 2014-03-13 Joseph Myers <joseph@codesourcery.com>
40957
40958 * INSTALL: Regenerated.
40959
40960 2014-03-13 Will Newton <will.newton@linaro.org>
40961
40962 * manual/setjmp.texi (System V contexts): Improve
40963 clarity and grammar of documentation.
40964
40965 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
40966
40967 [BZ #16381]
40968 * elf/Makefile (tests): Add tst-pie2.
40969 (tests-pie): Add tst-pie2.
40970 * elf/tst-pie2.c: New file.
40971 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40972 for ET_EXEC.
40973 * elf/rtld.c (map_doit): Load executable as lt_executable.
40974 (dl_main): Likewise.
40975
40976 2014-03-12 Joseph Myers <joseph@codesourcery.com>
40977
40978 [BZ #16642]
40979 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40980 (__ASSUME_PSELECT): Undefine.
40981
40982 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40983
40984 [BZ #16689]
40985 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40986 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40987 static build.
40988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40989 selector for static builds.
40990
40991 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40992
40993 [BZ #16695]
40994 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40995 key in the buffer.
40996
40997 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40998
40999 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41000 IFUNC selector for static builds.
41001
41002 2014-03-11 Joseph Myers <joseph@codesourcery.com>
41003
41004 * sysdeps/mips/math_private.h [__mips_hard_float]
41005 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41006 libc_feresetround_mips_ctx.
41007 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41008 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41009 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41010
41011 [BZ #16677]
41012 * math/s_nextafter.c (__nextafter): Do not return value from
41013 overflowing computation.
41014 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41015 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41017 Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41019 Likewise.
41020 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41021 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41022
41023 2014-03-11 Roland McGrath <roland@hack.frob.com>
41024
41025 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41026 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41027 Move sfi_sp use from the load-multiple (that no longer sets sp) to
41028 the new mov targetting sp.
41029
41030 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41031
41032 [BZ #16683]
41033 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41034 Define it for static builds as well.
41035 (NO_BZERO_IMPL): Likewise.
41036
41037 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41038
41039 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41040 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41041 multiarch strspn for PPC64.
41042 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41043 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41045 (__libc_ifunc_impl_list): Likewise.
41046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41047 multiarch optimizations
41048 * string/strspn.c (strspn): Using macro to redefine symbol name.
41049
41050 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41051 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41052
41053 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41054 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41055 multiarch strncat for PPC64.
41056 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41057 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41059 (__libc_ifunc_impl_list): Likewise.
41060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41061 multiarch optimizations
41062
41063 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41064
41065 [BZ #16639]
41066 * nscd/nscd.service: Make service type forking.
41067
41068 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41069
41070 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41071 sign in non default rounding modes.
41072 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41073
41074 2014-03-08 Joseph Myers <joseph@codesourcery.com>
41075
41076 * math/libm-test.inc (ALL_RM_TEST): New macro.
41077 (ceil_test): Use ALL_RM_TEST.
41078 (cimag_test): Likewise.
41079 (conj_test): Likewise.
41080 (copysign_test): Likewise.
41081 (cproj_test): Likewise.
41082 (creal_test): Likewise.
41083 (fabs_test): Likewise.
41084 (floor_test): Likewise.
41085 (fmax_test): Likewise.
41086 (fmin_test): Likewise.
41087 (fmod_test): Likewise.
41088 (fpclassify_test): Likewise.
41089 (frexp_test): Likewise.
41090 (ilogb_test): Likewise.
41091 (isfinite_test): Likewise.
41092 (finite_test): Likewise.
41093 (isgreater_test): Likewise.
41094 (isgreaterequal_test): Likewise.
41095 (isinf_test): Likewise.
41096 (isless_test): Likewise.
41097 (islessequal_test): Likewise.
41098 (islessgreater_test): Likewise.
41099 (isnan_test): Likewise.
41100 (isnormal_test): Likewise.
41101 (issignaling_test): Likewise.
41102 (isunordered_test): Likewise.
41103 (logb_test): Likewise.
41104 (logb_downward_test_data): Remove.
41105 (logb_test_downward): Likewise.
41106 (lround_test): Use ALL_RM_TEST.
41107 (llround_test): Likewise.
41108 (modf_test): Likewise.
41109 (nexttoward_test): Likewise.
41110 (remainder_test): Likewise.
41111 (drem_test): Likewise.
41112 (remainder_tonearest_test_data): Likewise.
41113 (remainder_test_tonearest): Likewise.
41114 (drem_test_tonearest): Likewise.
41115 (remainder_towardzero_test_data): Likewise.
41116 (remainder_test_towardzero): Likewise.
41117 (drem_test_towardzero): Likewise.
41118 (remainder_downward_test_data): Likewise.
41119 (remainder_test_downward): Likewise.
41120 (drem_test_downward): Likewise.
41121 (remainder_upward_test_data): Likewise.
41122 (remainder_test_upward): Likewise.
41123 (drem_test_upward): Likewise.
41124 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
41125 (round_test): Use ALL_RM_TEST.
41126 (signbit_test): Likewise.
41127 (trunc_test): Likewise.
41128 (significand_test): Likewise.
41129 (main): Don't call removed functions.
41130
41131 2014-03-07 Joseph Myers <joseph@codesourcery.com>
41132
41133 [BZ #16674]
41134 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41135 || __USE_XOPEN2K8].
41136 (ILL_ILLOPN): Likewise.
41137 (ILL_ILLADR): Likewise.
41138 (ILL_ILLTRP): Likewise.
41139 (ILL_PRVOPC): Likewise.
41140 (ILL_PRVREG): Likewise.
41141 (ILL_COPROC): Likewise.
41142 (ILL_BADSTK): Likewise.
41143 (FPE_INTDIV): Likewise.
41144 (FPE_INTOVF): Likewise.
41145 (FPE_FLTDIV): Likewise.
41146 (FPE_FLTOVF): Likewise.
41147 (FPE_FLTUND): Likewise.
41148 (FPE_FLTRES): Likewise.
41149 (FPE_FLTINV): Likewise.
41150 (FPE_FLTSUB): Likewise.
41151 (SEGV_MAPERR): Likewise.
41152 (SEGV_ACCERR): Likewise.
41153 (BUS_ADRALN): Likewise.
41154 (BUS_ADRERR): Likewise.
41155 (BUS_OBJERR): Likewise.
41156 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41157 (TRAP_TRACE): Likewise.
41158 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41159 __USE_XOPEN2K8].
41160 (CLD_KILLED): Likewise.
41161 (CLD_DUMPED): Likewise.
41162 (CLD_TRAPPED): Likewise.
41163 (CLD_STOPPED): Likewise.
41164 (CLD_CONTINUED): Likewise.
41165 (POLL_IN): Likewise.
41166 (POLL_OUT): Likewise.
41167 (POLL_MSG): Likewise.
41168 (POLL_ERR): Likewise.
41169 (POLL_PRI): Likewise.
41170 (POLL_HUP): Likewise.
41171 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41172 Likewise.
41173 (ILL_ILLOPN): Likewise.
41174 (ILL_ILLADR): Likewise.
41175 (ILL_ILLTRP): Likewise.
41176 (ILL_PRVOPC): Likewise.
41177 (ILL_PRVREG): Likewise.
41178 (ILL_COPROC): Likewise.
41179 (ILL_BADSTK): Likewise.
41180 (FPE_INTDIV): Likewise.
41181 (FPE_INTOVF): Likewise.
41182 (FPE_FLTDIV): Likewise.
41183 (FPE_FLTOVF): Likewise.
41184 (FPE_FLTUND): Likewise.
41185 (FPE_FLTRES): Likewise.
41186 (FPE_FLTINV): Likewise.
41187 (FPE_FLTSUB): Likewise.
41188 (SEGV_MAPERR): Likewise.
41189 (SEGV_ACCERR): Likewise.
41190 (BUS_ADRALN): Likewise.
41191 (BUS_ADRERR): Likewise.
41192 (BUS_OBJERR): Likewise.
41193 (BUS_MCEERR_AR): Likewise.
41194 (BUS_MCEERR_AO): Likewise.
41195 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41196 (TRAP_TRACE): Likewise.
41197 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41198 __USE_XOPEN2K8].
41199 (CLD_KILLED): Likewise.
41200 (CLD_DUMPED): Likewise.
41201 (CLD_TRAPPED): Likewise.
41202 (CLD_STOPPED): Likewise.
41203 (CLD_CONTINUED): Likewise.
41204 (POLL_IN): Likewise.
41205 (POLL_OUT): Likewise.
41206 (POLL_MSG): Likewise.
41207 (POLL_ERR): Likewise.
41208 (POLL_PRI): Likewise.
41209 (POLL_HUP): Likewise.
41210 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41211 (ILL_ILLOPN): Likewise.
41212 (ILL_ILLADR): Likewise.
41213 (ILL_ILLTRP): Likewise.
41214 (ILL_PRVOPC): Likewise.
41215 (ILL_PRVREG): Likewise.
41216 (ILL_COPROC): Likewise.
41217 (ILL_BADSTK): Likewise.
41218 (FPE_INTDIV): Likewise.
41219 (FPE_INTOVF): Likewise.
41220 (FPE_FLTDIV): Likewise.
41221 (FPE_FLTOVF): Likewise.
41222 (FPE_FLTUND): Likewise.
41223 (FPE_FLTRES): Likewise.
41224 (FPE_FLTINV): Likewise.
41225 (FPE_FLTSUB): Likewise.
41226 (SEGV_MAPERR): Likewise.
41227 (SEGV_ACCERR): Likewise.
41228 (BUS_ADRALN): Likewise.
41229 (BUS_ADRERR): Likewise.
41230 (BUS_OBJERR): Likewise.
41231 (BUS_MCEERR_AR): Likewise.
41232 (BUS_MCEERR_AO): Likewise.
41233 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41234 (TRAP_TRACE): Likewise.
41235 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41236 __USE_XOPEN2K8].
41237 (CLD_KILLED): Likewise.
41238 (CLD_DUMPED): Likewise.
41239 (CLD_TRAPPED): Likewise.
41240 (CLD_STOPPED): Likewise.
41241 (CLD_CONTINUED): Likewise.
41242 (POLL_IN): Likewise.
41243 (POLL_OUT): Likewise.
41244 (POLL_MSG): Likewise.
41245 (POLL_ERR): Likewise.
41246 (POLL_PRI): Likewise.
41247 (POLL_HUP): Likewise.
41248 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41249 Likewise.
41250 (ILL_ILLOPN): Likewise.
41251 (ILL_ILLADR): Likewise.
41252 (ILL_ILLTRP): Likewise.
41253 (ILL_PRVOPC): Likewise.
41254 (ILL_PRVREG): Likewise.
41255 (ILL_COPROC): Likewise.
41256 (ILL_BADSTK): Likewise.
41257 (ILL_BADIADDR): Likewise.
41258 (ILL_BREAK): Likewise.
41259 (FPE_INTDIV): Likewise.
41260 (FPE_INTOVF): Likewise.
41261 (FPE_FLTDIV): Likewise.
41262 (FPE_FLTOVF): Likewise.
41263 (FPE_FLTUND): Likewise.
41264 (FPE_FLTRES): Likewise.
41265 (FPE_FLTINV): Likewise.
41266 (FPE_FLTSUB): Likewise.
41267 (FPE_DECOVF): Likewise.
41268 (FPE_DECDIV): Likewise.
41269 (FPE_DECERR): Likewise.
41270 (FPE_INVASC): Likewise.
41271 (FPE_INVDEC): Likewise.
41272 (SEGV_MAPERR): Likewise.
41273 (SEGV_ACCERR): Likewise.
41274 (SEGV_PSTKOVF): Likewise.
41275 (BUS_ADRALN): Likewise.
41276 (BUS_ADRERR): Likewise.
41277 (BUS_OBJERR): Likewise.
41278 (BUS_MCEERR_AR): Likewise.
41279 (BUS_MCEERR_AO): Likewise.
41280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41281 (TRAP_TRACE): Likewise.
41282 (TRAP_BRANCH): Likewise.
41283 (TRAP_HWBKPT): Likewise.
41284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41285 __USE_XOPEN2K8].
41286 (CLD_KILLED): Likewise.
41287 (CLD_DUMPED): Likewise.
41288 (CLD_TRAPPED): Likewise.
41289 (CLD_STOPPED): Likewise.
41290 (CLD_CONTINUED): Likewise.
41291 (POLL_IN): Likewise.
41292 (POLL_OUT): Likewise.
41293 (POLL_MSG): Likewise.
41294 (POLL_ERR): Likewise.
41295 (POLL_PRI): Likewise.
41296 (POLL_HUP): Likewise.
41297 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41298 (ILL_ILLOPN): Likewise.
41299 (ILL_ILLADR): Likewise.
41300 (ILL_ILLTRP): Likewise.
41301 (ILL_PRVOPC): Likewise.
41302 (ILL_PRVREG): Likewise.
41303 (ILL_COPROC): Likewise.
41304 (ILL_BADSTK): Likewise.
41305 (FPE_INTDIV): Likewise.
41306 (FPE_INTOVF): Likewise.
41307 (FPE_FLTDIV): Likewise.
41308 (FPE_FLTOVF): Likewise.
41309 (FPE_FLTUND): Likewise.
41310 (FPE_FLTRES): Likewise.
41311 (FPE_FLTINV): Likewise.
41312 (FPE_FLTSUB): Likewise.
41313 (SEGV_MAPERR): Likewise.
41314 (SEGV_ACCERR): Likewise.
41315 (BUS_ADRALN): Likewise.
41316 (BUS_ADRERR): Likewise.
41317 (BUS_OBJERR): Likewise.
41318 (BUS_MCEERR_AR): Likewise.
41319 (BUS_MCEERR_AO): Likewise.
41320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41321 (TRAP_TRACE): Likewise.
41322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41323 __USE_XOPEN2K8].
41324 (CLD_KILLED): Likewise.
41325 (CLD_DUMPED): Likewise.
41326 (CLD_TRAPPED): Likewise.
41327 (CLD_STOPPED): Likewise.
41328 (CLD_CONTINUED): Likewise.
41329 (POLL_IN): Likewise.
41330 (POLL_OUT): Likewise.
41331 (POLL_MSG): Likewise.
41332 (POLL_ERR): Likewise.
41333 (POLL_PRI): Likewise.
41334 (POLL_HUP): Likewise.
41335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41336 (ILL_ILLOPN): Likewise.
41337 (ILL_ILLADR): Likewise.
41338 (ILL_ILLTRP): Likewise.
41339 (ILL_PRVOPC): Likewise.
41340 (ILL_PRVREG): Likewise.
41341 (ILL_COPROC): Likewise.
41342 (ILL_BADSTK): Likewise.
41343 (FPE_INTDIV): Likewise.
41344 (FPE_INTOVF): Likewise.
41345 (FPE_FLTDIV): Likewise.
41346 (FPE_FLTOVF): Likewise.
41347 (FPE_FLTUND): Likewise.
41348 (FPE_FLTRES): Likewise.
41349 (FPE_FLTINV): Likewise.
41350 (FPE_FLTSUB): Likewise.
41351 (SEGV_MAPERR): Likewise.
41352 (SEGV_ACCERR): Likewise.
41353 (BUS_ADRALN): Likewise.
41354 (BUS_ADRERR): Likewise.
41355 (BUS_OBJERR): Likewise.
41356 (BUS_MCEERR_AR): Likewise.
41357 (BUS_MCEERR_AO): Likewise.
41358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41359 (TRAP_TRACE): Likewise.
41360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41361 __USE_XOPEN2K8].
41362 (CLD_KILLED): Likewise.
41363 (CLD_DUMPED): Likewise.
41364 (CLD_TRAPPED): Likewise.
41365 (CLD_STOPPED): Likewise.
41366 (CLD_CONTINUED): Likewise.
41367 (POLL_IN): Likewise.
41368 (POLL_OUT): Likewise.
41369 (POLL_MSG): Likewise.
41370 (POLL_ERR): Likewise.
41371 (POLL_PRI): Likewise.
41372 (POLL_HUP): Likewise.
41373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41374 (ILL_ILLOPN): Likewise.
41375 (ILL_ILLADR): Likewise.
41376 (ILL_ILLTRP): Likewise.
41377 (ILL_PRVOPC): Likewise.
41378 (ILL_PRVREG): Likewise.
41379 (ILL_COPROC): Likewise.
41380 (ILL_BADSTK): Likewise.
41381 (FPE_INTDIV): Likewise.
41382 (FPE_INTOVF): Likewise.
41383 (FPE_FLTDIV): Likewise.
41384 (FPE_FLTOVF): Likewise.
41385 (FPE_FLTUND): Likewise.
41386 (FPE_FLTRES): Likewise.
41387 (FPE_FLTINV): Likewise.
41388 (FPE_FLTSUB): Likewise.
41389 (SEGV_MAPERR): Likewise.
41390 (SEGV_ACCERR): Likewise.
41391 (BUS_ADRALN): Likewise.
41392 (BUS_ADRERR): Likewise.
41393 (BUS_OBJERR): Likewise.
41394 (BUS_MCEERR_AR): Likewise.
41395 (BUS_MCEERR_AO): Likewise.
41396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41397 (TRAP_TRACE): Likewise.
41398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41399 __USE_XOPEN2K8].
41400 (CLD_KILLED): Likewise.
41401 (CLD_DUMPED): Likewise.
41402 (CLD_TRAPPED): Likewise.
41403 (CLD_STOPPED): Likewise.
41404 (CLD_CONTINUED): Likewise.
41405 (POLL_IN): Likewise.
41406 (POLL_OUT): Likewise.
41407 (POLL_MSG): Likewise.
41408 (POLL_ERR): Likewise.
41409 (POLL_PRI): Likewise.
41410 (POLL_HUP): Likewise.
41411 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41412 (ILL_ILLOPN): Likewise.
41413 (ILL_ILLADR): Likewise.
41414 (ILL_ILLTRP): Likewise.
41415 (ILL_PRVOPC): Likewise.
41416 (ILL_PRVREG): Likewise.
41417 (ILL_COPROC): Likewise.
41418 (ILL_BADSTK): Likewise.
41419 (ILL_DBLFLT): Likewise.
41420 (ILL_HARDWALL): Likewise.
41421 (FPE_INTDIV): Likewise.
41422 (FPE_INTOVF): Likewise.
41423 (FPE_FLTDIV): Likewise.
41424 (FPE_FLTOVF): Likewise.
41425 (FPE_FLTUND): Likewise.
41426 (FPE_FLTRES): Likewise.
41427 (FPE_FLTINV): Likewise.
41428 (FPE_FLTSUB): Likewise.
41429 (SEGV_MAPERR): Likewise.
41430 (SEGV_ACCERR): Likewise.
41431 (BUS_ADRALN): Likewise.
41432 (BUS_ADRERR): Likewise.
41433 (BUS_OBJERR): Likewise.
41434 (BUS_MCEERR_AR): Likewise.
41435 (BUS_MCEERR_AO): Likewise.
41436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41437 (TRAP_TRACE): Likewise.
41438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41439 __USE_XOPEN2K8].
41440 (CLD_KILLED): Likewise.
41441 (CLD_DUMPED): Likewise.
41442 (CLD_TRAPPED): Likewise.
41443 (CLD_STOPPED): Likewise.
41444 (CLD_CONTINUED): Likewise.
41445 (POLL_IN): Likewise.
41446 (POLL_OUT): Likewise.
41447 (POLL_MSG): Likewise.
41448 (POLL_ERR): Likewise.
41449 (POLL_PRI): Likewise.
41450 (POLL_HUP): Likewise.
41451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41452 (ILL_ILLOPN): Likewise.
41453 (ILL_ILLADR): Likewise.
41454 (ILL_ILLTRP): Likewise.
41455 (ILL_PRVOPC): Likewise.
41456 (ILL_PRVREG): Likewise.
41457 (ILL_COPROC): Likewise.
41458 (ILL_BADSTK): Likewise.
41459 (FPE_INTDIV): Likewise.
41460 (FPE_INTOVF): Likewise.
41461 (FPE_FLTDIV): Likewise.
41462 (FPE_FLTOVF): Likewise.
41463 (FPE_FLTUND): Likewise.
41464 (FPE_FLTRES): Likewise.
41465 (FPE_FLTINV): Likewise.
41466 (FPE_FLTSUB): Likewise.
41467 (SEGV_MAPERR): Likewise.
41468 (SEGV_ACCERR): Likewise.
41469 (BUS_ADRALN): Likewise.
41470 (BUS_ADRERR): Likewise.
41471 (BUS_OBJERR): Likewise.
41472 (BUS_MCEERR_AR): Likewise.
41473 (BUS_MCEERR_AO): Likewise.
41474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41475 (TRAP_TRACE): Likewise.
41476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41477 __USE_XOPEN2K8].
41478 (CLD_KILLED): Likewise.
41479 (CLD_DUMPED): Likewise.
41480 (CLD_TRAPPED): Likewise.
41481 (CLD_STOPPED): Likewise.
41482 (CLD_CONTINUED): Likewise.
41483 (POLL_IN): Likewise.
41484 (POLL_OUT): Likewise.
41485 (POLL_MSG): Likewise.
41486 (POLL_ERR): Likewise.
41487 (POLL_PRI): Likewise.
41488 (POLL_HUP): Likewise.
41489 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41490 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41491
41492 [BZ #16670]
41493 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41494 before #include of <time.h>.
41495 [!__USE_XOPEN2K] (__need_timespec): Likewise.
41496 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41497 (test-xfail-UNIX98/sched.h/conform): Likewise.
41498
41499 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
41500
41501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41502 error absence of trapping exception support.
41503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41504
41505 2014-03-07 Joseph Myers <joseph@codesourcery.com>
41506
41507 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41508 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41509 * timezone/Makefile (testdata): Move definition above include of
41510 Rules.
41511 (test-zones): New variable.
41512 (tests-special): Add zone files.
41513 (build-testdata): Use $(evaluate-test).
41514
41515 * elf/Makefile (tests-special): Rename tests to end with .out.
41516 ($(objpfx)noload-mem): Likewise.
41517 ($(objpfx)tst-leaks1-mem): Likewise.
41518 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41519 * iconv/Makefile (xtests-special): Change test-iconvconfig to
41520 $(objpfx)test-iconvconfig.out.
41521 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
41522 set -e inside subshell and redirect output to file.
41523 * iconvdata/Makefile (generated): Rename tests to end with .out.
41524 Correct type.
41525 (tests-special): Rename tests to end with .out.
41526 ($(objpfx)mtrace-tst-loading): Likewise.
41527 * intl/Makefile (generated): Likewise.
41528 (tests-special): Likewise.
41529 ($(objpfx)mtrace-tst-gettext): Likewise.
41530 * misc/Makefile (generated): Likewise.
41531 (tests-special): Likewise.
41532 ($(objpfx)tst-error1-mem): Likewise.
41533 * nptl/Makefile (tests-special): Likewise.
41534 ($(objpfx)tst-stack3-mem): Likewise.
41535 (generated): Likewise.
41536 * posix/Makefile (generated): Likewise.
41537 (tests-special): Likewise.
41538 (xtests-special): Likewise.
41539 ($(objpfx)tst-fnmatch-mem): Likewise.
41540 ($(objpfx)bug-regex2-mem): Likewise.
41541 ($(objpfx)bug-regex14-mem): Likewise.
41542 ($(objpfx)bug-regex21-mem): Likewise.
41543 ($(objpfx)bug-regex31-mem): Likewise.
41544 ($(objpfx)tst-vfork3-mem): Likewise.
41545 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41546 ($(objpfx)tst-pcre-mem): Likewise.
41547 ($(objpfx)tst-boost-mem): Likewise.
41548 ($(objpfx)bug-ga2-mem): Likewise.
41549 ($(objpfx)bug-glob2-mem): Likewise.
41550 * resolv/Makefile (generate): Likewise.
41551 (tests-special): Likewise.
41552 (xtests-special): Likewise.
41553 (generated): Likewise.
41554 ($(objpfx)mtrace-tst-leaks): Likewise.
41555 ($(objpfx)mtrace-tst-leaks2): Likewise.
41556
41557 * scripts/merge-test-results.sh: New file.
41558 * Makefile (tests-special-notdir): New variable.
41559 (tests): Run merge-test-results.sh.
41560 (xtests): Likewise.
41561 * Rules (tests-special-notdir): New variable.
41562 (xtests-special-notdir): Likewise.
41563 (tests): Run merge-test-results.sh
41564 (xtests): Likewise.
41565
41566 * Makeconfig (test-xfail-name): New variable.
41567 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41568 compute variable name for expected failures.
41569 * conform/Makefile (conformtest-headers-data): New variable.
41570 (conformtest-standards): Likewise.
41571 (conformtest-headers-ISO): Likewise.
41572 (conformtest-headers-ISO99): Likewise.
41573 (conformtest-headers-ISO11): Likewise.
41574 (conformtest-headers-POSIX): Likewise.
41575 (conformtest-headers-XPG3): Likewise.
41576 (conformtest-headers-XPG4): Likewise.
41577 (conformtest-headers-UNIX98): Likewise.
41578 (conformtest-headers-XOPEN2K): Likewise.
41579 (conformtest-headers-POSIX2008): Likewise.
41580 (conformtest-headers-XOPEN2K8): Likewise.
41581 (conformtest-header-list-base): Likewise.
41582 (conformtest-header-list-tests): Likewise.
41583 (conformtest-header-base): Likewise.
41584 (conformtest-header-tests): Likewise.
41585 (tests-special): Add $(conformtest-header-list-tests). If
41586 [$(fast-check) && !$(cross-compiling)], add
41587 $(conformtest-header-tests) instead of
41588 $(objpfx)run-conformtest.out.
41589 (generated): Add $(conformtest-header-list-base). If
41590 [$(fast-check) && !$(cross-compiling)], add
41591 $(conformtest-header-base). Remove previous setting.
41592 ($(conformtest-header-list-tests)): New target.
41593 (test-xfail-run-conformtest): Remove variable.
41594 ($(objpfx)run-conformtest.out): Remove target.
41595 (test-xfail-ISO11/complex.h/conform): New variable.
41596 (test-xfail-ISO11/stdalign.h/conform): Likewise.
41597 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41598 (test-xfail-XPG3/varargs.h/conform): Likewise.
41599 (test-xfail-XPG4/varargs.h/conform): Likewise.
41600 (test-xfail-UNIX98/varargs.h/conform): Likewise.
41601 (test-xfail-XPG4/ndbm.h/conform): Likewise.
41602 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41603 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41604 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41605 (test-xfail-XPG3/fcntl.h/conform): Likewise.
41606 (test-xfail-XPG3/ftw.h/conform): Likewise.
41607 (test-xfail-XPG3/grp.h/conform): Likewise.
41608 (test-xfail-XPG3/langinfo.h/conform): Likewise.
41609 (test-xfail-XPG3/limits.h/conform): Likewise.
41610 (test-xfail-XPG3/pwd.h/conform): Likewise.
41611 (test-xfail-XPG3/search.h/conform): Likewise.
41612 (test-xfail-XPG3/signal.h/conform): Likewise.
41613 (test-xfail-XPG3/stdio.h/conform): Likewise.
41614 (test-xfail-XPG3/stdlib.h/conform): Likewise.
41615 (test-xfail-XPG3/string.h/conform): Likewise.
41616 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41617 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41618 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41619 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41620 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41621 (test-xfail-XPG3/sys/types.h/conform): Likewise.
41622 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41623 (test-xfail-XPG3/termios.h/conform): Likewise.
41624 (test-xfail-XPG3/time.h/conform): Likewise.
41625 (test-xfail-XPG3/unistd.h/conform): Likewise.
41626 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41627 (test-xfail-XPG4/fcntl.h/conform): Likewise.
41628 (test-xfail-XPG4/langinfo.h/conform): Likewise.
41629 (test-xfail-XPG4/netdb.h/conform): Likewise.
41630 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41631 (test-xfail-XPG4/signal.h/conform): Likewise.
41632 (test-xfail-XPG4/stdio.h/conform): Likewise.
41633 (test-xfail-XPG4/stdlib.h/conform): Likewise.
41634 (test-xfail-XPG4/stropts.h/conform): Likewise.
41635 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41636 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41637 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41638 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41639 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41640 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41641 (test-xfail-XPG4/sys/time.h/conform): Likewise.
41642 (test-xfail-XPG4/sys/types.h/conform): Likewise.
41643 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41644 (test-xfail-XPG4/termios.h/conform): Likewise.
41645 (test-xfail-XPG4/ucontext.h/conform): Likewise.
41646 (test-xfail-XPG4/unistd.h/conform): Likewise.
41647 (test-xfail-XPG4/utmpx.h/conform): Likewise.
41648 (test-xfail-POSIX/sched.h/conform): Likewise.
41649 (test-xfail-POSIX/signal.h/conform): Likewise.
41650 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41651 (test-xfail-POSIX/tar.h/conform): Likewise.
41652 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41653 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41654 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41655 (test-xfail-UNIX98/netdb.h/conform): Likewise.
41656 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41657 (test-xfail-UNIX98/sched.h/conform): Likewise.
41658 (test-xfail-UNIX98/signal.h/conform): Likewise.
41659 (test-xfail-UNIX98/stdio.h/conform): Likewise.
41660 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41661 (test-xfail-UNIX98/stropts.h/conform): Likewise.
41662 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41663 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41664 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41665 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41666 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41667 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41668 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41669 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41670 (test-xfail-UNIX98/unistd.h/conform): Likewise.
41671 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41672 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41673 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41674 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41675 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41676 (test-xfail-XOPEN2K/math.h/conform): Likewise.
41677 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41678 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41679 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41680 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41681 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41682 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41683 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41684 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41685 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41686 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41687 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41688 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41689 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41690 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41691 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41692 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41693 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41694 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41695 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41696 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41697 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41698 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41699 (test-xfail-POSIX2008/signal.h/conform): Likewise.
41700 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41701 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41702 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41703 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41704 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41705 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41706 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41707 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41708 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41709 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41710 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41711 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41712 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41713 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41714 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41715 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41716 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41717 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41718 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41719 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41720 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41721 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41722 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41723 (conformtest-cc-flags): Likewise.
41724 ($(conformtest-header-tests): New target.
41725 * conform/check-header-lists.sh: New file.
41726 * conform/run-conformtest.sh: Remove.
41727
41728 * conform/conformtest.pl: Allow ' and \ in values given for
41729 constants.
41730 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41731 inclusion.
41732 [POSIX] (sys/types.h): Likewise.
41733 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41734 inclusion.
41735 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41736 inclusion.
41737 * conform/data/signal.h-data (SIGIO): Remove expectation.
41738 [XPG3] (SIGBUS): Do not expect.
41739 [POSIX || XPG3] (SIGPOLL): Likewise.
41740 [POSIX || XPG3] (SIGPROF): Likewise.
41741 [POSIX || XPG3] (SIGSYS): Likewise.
41742 [XPG3] (SIGTRAP): Likewise.
41743 [POSIX || XPG3] (SIGURG): Likewise.
41744 [POSIX || XPG3] (SIGVTALRM): Likewise.
41745 [POSIX || XPG3] (SIGXCPU): Likewise.
41746 [POSIX || XPG3] (SIGXFSZ): Likewise.
41747 [POSIX] (SA_SIGINFO): Expect.
41748 [XPG3] (siginfo_t): Do not expect type or contents.
41749 [POSIX] (si_pid): Do not expect element.
41750 [POSIX] (si_uid): Likewise.
41751 [POSIX] (si_addr): Likewise.
41752 [POSIX] (si_status): Likewise.
41753 [POSIX] (si_band): Likewise.
41754 [XPG4] (si_value): Likewise.
41755 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41756 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41757 [POSIX || XPG3] (ILL_ILLADR): Likewise.
41758 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41759 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41760 [POSIX || XPG3] (ILL_PRVREG): Likewise.
41761 [POSIX || XPG3] (ILL_COPROC): Likewise.
41762 [POSIX || XPG3] (ILL_BADSTK): Likewise.
41763 [POSIX || XPG3] (FPE_INTDIV): Likewise.
41764 [POSIX || XPG3] (FPE_INTOVF): Likewise.
41765 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41766 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41767 [POSIX || XPG3] (FPE_FLTUND): Likewise.
41768 [POSIX || XPG3] (FPE_FLTRES): Likewise.
41769 [POSIX || XPG3] (FPE_FLTINV): Likewise.
41770 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41771 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41772 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41773 [POSIX || XPG3] (BUS_ADRALN): Likewise.
41774 [POSIX || XPG3] (BUS_ADRERR): Likewise.
41775 [POSIX || XPG3] (BUS_OBJERR): Likewise.
41776 [POSIX || XPG3] (CLD_EXITED): Likewise.
41777 [POSIX || XPG3] (CLD_KILLED): Likewise.
41778 [POSIX || XPG3] (CLD_DUMPED): Likewise.
41779 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41780 [POSIX || XPG3] (CLD_STOPPED): Likewise.
41781 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41782 [POSIX || XPG3] (POLL_IN): Likewise.
41783 [POSIX || XPG3] (POLL_OUT): Likewise.
41784 [POSIX || XPG3] (POLL_MSG): Likewise.
41785 [POSIX || XPG3] (POLL_ERR): Likewise.
41786 [POSIX || XPG3] (POLL_PRI): Likewise.
41787 [POSIX || XPG3] (POLL_HUP): Likewise.
41788 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41789 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41790 (SIG*): Do not allow.
41791 [XPG3] (si_*): Likewise.
41792 [XPG3] (SI_*): Likewise.
41793 [XPG3 || XPG4] (sigev_*): Likewise.
41794 [XPG3 || XPG4] (SIGEV_*): Likewise.
41795 [XPG3 || XPG4] (sival_*): Likewise.
41796 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41797 [POSIX || XPG3] (BUS_*): Likewise.
41798 [POSIX || XPG3] (CLD_*): Likewise.
41799 [POSIX || XPG3] (FPE_*): Likewise.
41800 [POSIX || XPG3] (ILL_*): Likewise.
41801 [POSIX || XPG3] (POLL_*): Likewise.
41802 [POSIX || XPG3] (SEGV_*): Likewise.
41803 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41804 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41805 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41806 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41807 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41808 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41809 Specify type and value.
41810 (TVERSLEN): Likewise.
41811 (REGTYPE): Likewise.
41812 (AREGTYPE): Likewise.
41813 (LNKTYPE): Likewise.
41814 (SYMTYPE): Likewise.
41815 (CHRTYPE): Likewise.
41816 (BLKTYPE): Likewise.
41817 (DIRTYPE): Likewise.
41818 (FIFOTYPE): Likewise.
41819 (CONTTYPE): Likewise.
41820 (TSUID): Likewise.
41821 (TSGID): Likewise.
41822 (TSVTX): Likewise.
41823 (TUREAD): Likewise.
41824 (TUWRITE): Likewise.
41825 (TUEXEC): Likewise.
41826 (TGREAD): Likewise.
41827 (TGWRITE): Likewise.
41828 (TGEXEC): Likewise.
41829 (TOREAD): Likewise.
41830 (TOWRITE): Likewise.
41831 (TOEXEC): Likewise.
41832 [POSIX] (TSVTX): Expect constant.
41833
41834 2014-03-06 Joseph Myers <joseph@codesourcery.com>
41835
41836 * Makefile (tests): Change dependencies to ....
41837 (tests-special): ... additions to this variable.
41838 (tests): Depend on $(tests-special).
41839 * Makerules (check-abi-list): New variable.
41840 (check-abi): Depend on $(check-abi-list).
41841 [$(subdir) = elf] (tests-special): Add
41842 $(objpfx)check-abi-libc.out.
41843 [$(build-shared) = yes && subdir] (tests-special): Add
41844 $(check-abi-list).
41845 [$(build-shared) = yes && subdir] (tests): Do not depend on
41846 check-abi.
41847 * Rules (tests): Depend on $(tests-special).
41848 (xtests): Depend on $(xtests-special).
41849 * catgets/Makefile (tests): Change dependencies to ....
41850 (tests-special): ... additions to this variable.
41851 * conform/Makefile (tests): Change dependencies to ....
41852 (tests-special): ... additions to this variable.
41853 * elf/Makefile (tests): Change dependencies to ....
41854 (tests-special): ... additions to this variable.
41855 * grp/Makefile (tests): Change dependencies to ....
41856 (tests-special): ... additions to this variable.
41857 * iconv/Makefile (xtests): Change dependencies to ....
41858 (xtests-special): ... additions to this variable.
41859 * iconvdata/Makefile (tests): Change dependencies to ....
41860 (tests-special): ... additions to this variable.
41861 * intl/Makefile (tests): Change dependencies to ....
41862 (tests-special): ... additions to this variable. Also add
41863 $(objpfx)tst-gettext.out.
41864 * io/Makefile (tests): Change dependencies to ....
41865 (tests-special): ... additions to this variable.
41866 * libio/Makefile (tests): Change dependencies to ....
41867 (tests-special): ... additions to this variable.
41868 * malloc/Makefile (tests): Change dependencies to ....
41869 (tests-special): ... additions to this variable.
41870 * misc/Makefile (tests): Change dependencies to ....
41871 (tests-special): ... additions to this variable.
41872 * nptl/Makefile (tests): Change dependencies to ....
41873 (tests-special): ... additions to this variable.
41874 * nptl_db/Makefile (tests): Change dependencies to ....
41875 (tests-special): ... additions to this variable.
41876 * posix/Makefile (tests): Change dependencies to ....
41877 (tests-special): ... additions to this variable.
41878 (xtests): Change dependencies to ....
41879 (xtests-special): ... additions to this variable.
41880 * resolv/Makefile (tests): Change dependencies to ....
41881 (tests-special): ... additions to this variable.
41882 (xtests): Change dependencies to ....
41883 (xtests-special): ... additions to this variable.
41884 * stdio-common/Makefile (tests): Change dependencies to ....
41885 (tests-special): ... additions to this variable.
41886 (do-tst-unbputc): Remove target.
41887 (do-tst-printf): Likewise.
41888 * stdlib/Makefile (tests): Change dependencies to ....
41889 (tests-special): ... additions to this variable.
41890 * string/Makefile (tests): Change dependencies to ....
41891 (tests-special): ... additions to this variable.
41892 * sysdeps/x86/Makefile (tests): Change dependencies to ....
41893 (tests-special): ... additions to this variable.
41894
41895 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41896 whole file.
41897 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41898 whole file.
41899 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41900 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41901
41902 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41903 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41904 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41905 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41906 * conform/data/libgen.h-data [XPG3]: Likewise.
41907 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41908 * conform/data/ndbm.h-data [XPG3]: Likewise.
41909 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41910 * conform/data/netdb.h-data [XPG3]: Likewise.
41911 * conform/data/netinet/in.h-data [XPG3]: Likewise.
41912 * conform/data/poll.h-data [XPG3]: Likewise.
41913 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41914 * conform/data/strings.h-data [XPG3]: Likewise.
41915 * conform/data/stropts.h-data [XPG3]: Likewise.
41916 * conform/data/sys/mman.h-data [XPG3]: Likewise.
41917 * conform/data/sys/resource.h-data [XPG3]: Likewise.
41918 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41919 Likewise.
41920 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41921 * conform/data/sys/time.h-data [XPG3]: Likewise.
41922 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41923 * conform/data/sys/uio.h-data [XPG3]: Likewise.
41924 * conform/data/sys/un.h-data [XPG3]: Likewise.
41925 * conform/data/syslog.h-data [XPG3]: Likewise.
41926 * conform/data/ucontext.h-data [XPG3]: Likewise.
41927 * conform/data/utmpx.h-data [XPG3]: Likewise.
41928 * conform/data/varargs.h-data [UNIX98]: Enable file.
41929
41930 * manual/Makefile (INSTALL_INFO): Remove variable setting.
41931
41932 * math/libm-test.inc (struct test_f_f_data): Move expected results
41933 into structure for each rounding mode.
41934 (struct test_ff_f_data): Likewise.
41935 (struct test_ff_f_data_nexttoward): Likewise.
41936 (struct test_fi_f_data): Likewise.
41937 (struct test_fl_f_data): Likewise.
41938 (struct test_if_f_data): Likewise.
41939 (struct test_fff_f_data): Likewise.
41940 (struct test_c_f_data): Likewise.
41941 (struct test_f_f1_data): Likewise.
41942 (struct test_fF_f1_data): Likewise.
41943 (struct test_ffI_f1_data): Likewise.
41944 (struct test_c_c_data): Likewise.
41945 (struct test_cc_c_data): Likewise.
41946 (struct test_f_i_data): Likewise.
41947 (struct test_ff_i_data): Likewise.
41948 (struct test_f_l_data): Likewise.
41949 (struct test_f_L_data): Likewise.
41950 (struct test_fFF_11_data): Likewise.
41951 (RM_): New macro.
41952 (RM_FE_DOWNWARD): Likewise.
41953 (RM_FE_TONEAREST): Likewise.
41954 (RM_FE_TOWARDZERO): Likewise.
41955 (RM_FE_UPWARD): Likewise.
41956 (RUN_TEST_LOOP_f_f): Update references to expected results.
41957 (RUN_TEST_LOOP_2_f): Likewise.
41958 (RUN_TEST_LOOP_fff_f): Likewise.
41959 (RUN_TEST_LOOP_c_f): Likewise.
41960 (RUN_TEST_LOOP_f_f1): Likewise.
41961 (RUN_TEST_LOOP_fF_f1): Likewise.
41962 (RUN_TEST_LOOP_fI_f1): Likewise.
41963 (RUN_TEST_LOOP_ffI_f1): Likewise.
41964 (RUN_TEST_LOOP_c_c): Likewise.
41965 (RUN_TEST_LOOP_cc_c): Likewise.
41966 (RUN_TEST_LOOP_f_i): Likewise.
41967 (RUN_TEST_LOOP_f_i_tg): Likewise.
41968 (RUN_TEST_LOOP_ff_i_tg): Likewise.
41969 (RUN_TEST_LOOP_f_b): Likewise.
41970 (RUN_TEST_LOOP_f_b_tg): Likewise.
41971 (RUN_TEST_LOOP_f_l): Likewise.
41972 (RUN_TEST_LOOP_f_L): Likewise.
41973 (RUN_TEST_LOOP_fFF_11): Likewise.
41974 * math/gen-libm-test.pl (parse_args): Output four copies of
41975 expected results for each test.
41976
41977 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41978 (__ASSUME_UTIMES): Remove.
41979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41980 (__ASSUME_UTIMES): Likewise.
41981
41982 * math/gen-auto-libm-tests.c: Update comment on output format.
41983 (output_for_one_input_case): Generate before-rounding and
41984 after-rounding information as conditions on output flags not
41985 floating-point format.
41986 * math/auto-libm-test-out: Regenerated.
41987 * math/gen-libm-test.pl (cond_value): New function.
41988 (or_cond_value): Use cond_value.
41989 (generate_testfile): Handle conditional exceptions.
41990
41991 2014-03-05 Joseph Myers <joseph@codesourcery.com>
41992
41993 * math/libm-test.inc (max_valid_error): New variable.
41994 (init_max_error): Take new argument specifying whether function
41995 results are exactly determined. Set max_valid_error and bound
41996 other variables for errors based on this argument.
41997 (set_max_error): Do not record results above max_valid_error.
41998 (check_float_internal): Only accept errors of up to 0.5ulps if
41999 also at most max_valid_error.
42000 (START): Take new argument EXACT and pass it to init_max_error.
42001 (acos_test): Update call to START.
42002 (acos_test_tonearest): Likewise.
42003 (acos_test_towardzero): Likewise.
42004 (acos_test_downward): Likewise.
42005 (acos_test_upward): Likewise.
42006 (acosh_test): Likewise.
42007 (asin_test): Likewise.
42008 (asin_test_tonearest): Likewise.
42009 (asin_test_towardzero): Likewise.
42010 (asin_test_downward): Likewise.
42011 (asin_test_upward): Likewise.
42012 (asinh_test): Likewise.
42013 (atan_test): Likewise.
42014 (atanh_test): Likewise.
42015 (atan2_test): Likewise.
42016 (cabs_test): Likewise.
42017 (cacos_test): Likewise.
42018 (cacosh_test): Likewise.
42019 (carg_test): Likewise.
42020 (casin_test): Likewise.
42021 (casinh_test): Likewise.
42022 (catan_test): Likewise.
42023 (catanh_test): Likewise.
42024 (cbrt_test): Likewise.
42025 (ccos_test): Likewise.
42026 (ccosh_test): Likewise.
42027 (ceil_test): Likewise.
42028 (cexp_test): Likewise.
42029 (cimag_test): Likewise.
42030 (clog_test): Likewise.
42031 (clog10_test): Likewise.
42032 (conj_test): Likewise.
42033 (copysign_test): Likewise.
42034 (cos_test): Likewise.
42035 (cos_test_tonearest): Likewise.
42036 (cos_test_towardzero): Likewise.
42037 (cos_test_downward): Likewise.
42038 (cos_test_upward): Likewise.
42039 (cosh_test): Likewise.
42040 (cosh_test_tonearest): Likewise.
42041 (cosh_test_towardzero): Likewise.
42042 (cosh_test_downward): Likewise.
42043 (cosh_test_upward): Likewise.
42044 (cpow_test): Likewise.
42045 (cproj_test): Likewise.
42046 (creal_test): Likewise.
42047 (csin_test): Likewise.
42048 (csinh_test): Likewise.
42049 (csqrt_test): Likewise.
42050 (ctan_test): Likewise.
42051 (ctan_test_tonearest): Likewise.
42052 (ctan_test_towardzero): Likewise.
42053 (ctan_test_downward): Likewise.
42054 (ctan_test_upward): Likewise.
42055 (ctanh_test): Likewise.
42056 (ctanh_test_tonearest): Likewise.
42057 (ctanh_test_towardzero): Likewise.
42058 (ctanh_test_downward): Likewise.
42059 (ctanh_test_upward): Likewise.
42060 (erf_test): Likewise.
42061 (erfc_test): Likewise.
42062 (exp_test): Likewise.
42063 (exp_test_tonearest): Likewise.
42064 (exp_test_towardzero): Likewise.
42065 (exp_test_downward): Likewise.
42066 (exp_test_upward): Likewise.
42067 (exp10_test): Likewise.
42068 (exp10_test_tonearest): Likewise.
42069 (exp10_test_towardzero): Likewise.
42070 (exp10_test_downward): Likewise.
42071 (exp10_test_upward): Likewise.
42072 (pow10_test): Likewise.
42073 (exp2_test): Likewise.
42074 (expm1_test): Likewise.
42075 (expm1_test_tonearest): Likewise.
42076 (expm1_test_towardzero): Likewise.
42077 (expm1_test_downward): Likewise.
42078 (expm1_test_upward): Likewise.
42079 (fabs_test): Likewise.
42080 (fdim_test): Likewise.
42081 (floor_test): Likewise.
42082 (fma_test): Likewise.
42083 (fma_test_towardzero): Likewise.
42084 (fma_test_downward): Likewise.
42085 (fma_test_upward): Likewise.
42086 (fmax_test): Likewise.
42087 (fmin_test): Likewise.
42088 (fmod_test): Likewise.
42089 (fpclassify_test): Likewise.
42090 (frexp_test): Likewise.
42091 (hypot_test): Likewise.
42092 (ilogb_test): Likewise.
42093 (isfinite_test): Likewise.
42094 (finite_test): Likewise.
42095 (isgreater_test): Likewise.
42096 (isgreaterequal_test): Likewise.
42097 (isinf_test): Likewise.
42098 (isless_test): Likewise.
42099 (islessequal_test): Likewise.
42100 (islessgreater_test): Likewise.
42101 (isnan_test): Likewise.
42102 (isnormal_test): Likewise.
42103 (issignaling_test): Likewise.
42104 (isunordered_test): Likewise.
42105 (j0_test): Likewise.
42106 (j1_test): Likewise.
42107 (jn_test): Likewise.
42108 (ldexp_test): Likewise.
42109 (lgamma_test): Likewise.
42110 (gamma_test): Likewise.
42111 (lrint_test): Likewise.
42112 (lrint_test_tonearest): Likewise.
42113 (lrint_test_towardzero): Likewise.
42114 (lrint_test_downward): Likewise.
42115 (lrint_test_upward): Likewise.
42116 (llrint_test): Likewise.
42117 (llrint_test_tonearest): Likewise.
42118 (llrint_test_towardzero): Likewise.
42119 (llrint_test_downward): Likewise.
42120 (llrint_test_upward): Likewise.
42121 (log_test): Likewise.
42122 (log10_test): Likewise.
42123 (log1p_test): Likewise.
42124 (log2_test): Likewise.
42125 (logb_test): Likewise.
42126 (logb_test_downward): Likewise.
42127 (lround_test): Likewise.
42128 (llround_test): Likewise.
42129 (modf_test): Likewise.
42130 (nearbyint_test): Likewise.
42131 (nextafter_test): Likewise.
42132 (nexttoward_test): Likewise.
42133 (pow_test): Likewise.
42134 (pow_test_tonearest): Likewise.
42135 (pow_test_towardzero): Likewise.
42136 (pow_test_downward): Likewise.
42137 (pow_test_upward): Likewise.
42138 (remainder_test): Likewise.
42139 (drem_test): Likewise.
42140 (remainder_test_tonearest): Likewise.
42141 (drem_test_tonearest): Likewise.
42142 (remainder_test_towardzero): Likewise.
42143 (drem_test_towardzero): Likewise.
42144 (remainder_test_downward): Likewise.
42145 (drem_test_downward): Likewise.
42146 (remainder_test_upward): Likewise.
42147 (drem_test_upward): Likewise.
42148 (remquo_test): Likewise.
42149 (rint_test): Likewise.
42150 (rint_test_tonearest): Likewise.
42151 (rint_test_towardzero): Likewise.
42152 (rint_test_downward): Likewise.
42153 (rint_test_upward): Likewise.
42154 (round_test): Likewise.
42155 (scalb_test): Likewise.
42156 (scalbn_test): Likewise.
42157 (scalbln_test): Likewise.
42158 (signbit_test): Likewise.
42159 (sin_test): Likewise.
42160 (sin_test_tonearest): Likewise.
42161 (sin_test_towardzero): Likewise.
42162 (sin_test_downward): Likewise.
42163 (sin_test_upward): Likewise.
42164 (sincos_test): Likewise.
42165 (sinh_test): Likewise.
42166 (sinh_test_tonearest): Likewise.
42167 (sinh_test_towardzero): Likewise.
42168 (sinh_test_downward): Likewise.
42169 (sinh_test_upward): Likewise.
42170 (sqrt_test): Likewise.
42171 (sqrt_test_tonearest): Likewise.
42172 (sqrt_test_towardzero): Likewise.
42173 (sqrt_test_downward): Likewise.
42174 (sqrt_test_upward): Likewise.
42175 (tan_test): Likewise.
42176 (tan_test_tonearest): Likewise.
42177 (tan_test_towardzero): Likewise.
42178 (tan_test_downward): Likewise.
42179 (tan_test_upward): Likewise.
42180 (tanh_test): Likewise.
42181 (tgamma_test): Likewise.
42182 (trunc_test): Likewise.
42183 (y0_test): Likewise.
42184 (y1_test): Likewise.
42185 (yn_test): Likewise.
42186 (significand_test): Likewise.
42187
42188 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42189 individual tests in comment.
42190 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42191 (prev_max_error): New variable.
42192 (prev_real_max_error): Likewise.
42193 (prev_imag_max_error): Likewise.
42194 (compare_ulp_data): Don't refer to test names in comment.
42195 (find_test_ulps): Remove function.
42196 (find_function_ulps): Likewise.
42197 (find_complex_function_ulps): Likewise.
42198 (init_max_error): Take function name as argument. Look up ulps
42199 for that function.
42200 (print_ulps): Remove function.
42201 (print_max_error): Use prev_max_error instead of calling
42202 find_function_ulps.
42203 (print_complex_max_error): Use prev_real_max_error and
42204 prev_imag_max_error instead of calling find_complex_function_ulps.
42205 (check_float_internal): Take max_ulp parameter instead of calling
42206 find_test_ulps. Don't call print_ulps.
42207 (check_float): Update call to check_float_internal.
42208 (check_complex): Update calls to check_float_internal.
42209 (START): Pass argument to init_max_error.
42210 * math/gen-libm-test.pl (%results): Don't include "kind"
42211 information.
42212 (parse_ulps): Don't handle ulps of individual tests.
42213 (print_ulps_file): Likewise.
42214 (output_ulps): Likewise.
42215 * math/README.libm-test: Update.
42216 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42217 individual tests.
42218 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42219 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42220 * sysdeps/arm/libm-test-ulps: Likewise.
42221 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42222 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42223 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42224 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42225 * sysdeps/microblaze/libm-test-ulps: Likewise.
42226 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42227 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42229 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42231 * sysdeps/sh/libm-test-ulps: Likewise.
42232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42233 * sysdeps/tile/libm-test-ulps: Likewise.
42234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42235
42236 2014-03-04 Joseph Myers <joseph@codesourcery.com>
42237
42238 * math/libm-test.inc (print_complex_max_error): Check separately
42239 whether real and imaginary errors are within allowed range and
42240 pass 0 to print_complex_function_ulps instead of value within
42241 allowed range.
42242
42243 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42244
42245 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42246 formatting.
42247 (get_handles_fopen): Likewise.
42248 (do_write_test): Likewise.
42249
42250 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42251
42252 * libio/fileops.c (do_ftell): Use cached offset when
42253 available.
42254 * libio/iofwide.c (do_ftell_wide): Likewise.
42255 * libio/iofdopen.c (_IO_new_fdopen): Don't use
42256 _IO_file_attach.
42257 * libio/wfileops.c (_IO_fwide): Don't cache offset.
42258
42259 [BZ #16532]
42260 * libio/libioP.h (get_file_offset): New function.
42261 * libio/fileops.c (get_file_offset): Likewise.
42262 (do_ftell): Likewise.
42263 (_IO_new_file_seekoff): Split out ftell logic.
42264 * libio/wfileops.c (do_ftell_wide): Likewise.
42265 (_IO_wfile_seekoff): Split out ftell logic.
42266 * libio/tst-ftell-active-handler.c: New test case.
42267 * libio/Makefile (tests): Add it.
42268
42269 2014-03-03 Roland McGrath <roland@hack.frob.com>
42270
42271 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42272 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42273
42274 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42275
42276 [BZ #16639]
42277 * nscd/connections.c (nscd_init): Call do_exit.
42278 (start_threads): Call do_exit and notify_parent.
42279 (begin_drop_privileges): Call do_exit.
42280 (finish_drop_privileges): Likewise.
42281 * nscd/selinux.c (preserve_capabilities): Likewise.
42282 (install_real_capabilities): Likewise.
42283 (nscd_selinux_enabled): Likewise.
42284 (avc_create_thread): Likewise.
42285 (avc_alloc_lock): Likewise.
42286 (nscd_avc_init): Likewise.
42287 * nscd/nscd.c (parent_fd): New static variable.
42288 (main): Create a pipe between parent and child processes.
42289 Skip closing parent_fd.
42290 (monitor_child): New function.
42291 (do_exit): Likewise.
42292 (notify_parent): Likewise.
42293 * nscd/nscd.h (notify_parent): Likewise.
42294 (do_exit): Likewise.
42295
42296 2014-03-03 Carlos O'Donell <carlos@redhat.com>
42297
42298 * malloc/malloc.c (__libc_calloc): Revert last change.
42299
42300 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42301
42302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42303
42304 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42305
42306 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42308 implementation.
42309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42310 (__libc_ifunc_impl_list): Likewise.
42311 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42313 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42314 * string/strrchr.c: Define STRRCHR.
42315
42316 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
42317
42318 * benchtest/bench-strtok.c (simple_strtok): Delete.
42319 (strtok_string): Use as benchmark.
42320 * string/strtok (STRTOK): New macro.
42321
42322 2014-02-28 Carlos O'Donell <carlos@redhat.com>
42323
42324 * manual/threads.texi: Add header and standard comments to all
42325 functions.
42326
42327 * elf/dl-lookup.c (check_match): New function.
42328 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42329 (do_lookup_x): Remove nested function check_match. Use non-nested
42330 function check_match.
42331
42332 2014-02-28 Roland McGrath <roland@hack.frob.com>
42333
42334 * csu/Makefile (generated, before-compile): Use += rather than =.
42335 * catgets/Makefile (generated, generated-dirs): Likewise.
42336 * debug/Makefile (generated): Likewise.
42337 * dlfcn/Makefile (generated): Likewise.
42338 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42339 * iconvdata/Makefile (before-compile, generated): Likewise.
42340 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42341 * libio/Makefile (generated): Likewise.
42342 * malloc/Makefile (generated): Likewise.
42343 * manual/Makefile (generated, generated-dirs): Likewise.
42344 * misc/Makefile (generated): Likewise.
42345 * posix/Makefile (generated): Likewise.
42346 * resolv/Makefile (generated): Likewise.
42347 * sunrpc/Makefile (generated, generated-dirs): Likewise.
42348 * timezone/Makefile (generated, generated-dirs): Likewise.
42349
42350 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42351
42352 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42353
42354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42355 power8 implementation.
42356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42357 file: POWER8 llround ifunc implementation.
42358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42359 (__lllround): Add POWER8 implementation.
42360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42361 POWER8 llround implementation.
42362
42363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42364 power8 implementation.
42365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42366 file: POWER8 llrint ifunc implementation.
42367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42368 Add POWER8 implementation.
42369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42370 POWER8 llrint implementation.
42371
42372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42373 power8 implementation.
42374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42375 file: POWER8 finite ifunc implementation.
42376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42377 Add POWER8 implementation.
42378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42379 Likewise.
42380 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42381 POWER8 finite implementation.
42382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42383
42384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42385 power8 implementation.
42386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42387 file: POWER8 isinf ifunc implementation.
42388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42389 POWER8 implementation.
42390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42391 Likewise.
42392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42393 isinf implementation.
42394 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42395
42396 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42397 (INIT_ARCH): Add hwcap2 initialization.
42398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42399 power8 implementation.
42400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42401 file: POWER8 isnan ifunc implementation.
42402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42403 POWER8 implementation.
42404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42405 Likewise.
42406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42407 isnan implementation.
42408 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42409
42410 2014-02-27 Joey Ye <joey.ye@arm.com>
42411
42412 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42413 (_FP_NANFRAC_Q): Set to zero.
42414
42415 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42416
42417 [BZ #16623]
42418 * math/auto-libm-test-in: New test inputs.
42419 * math/auto-libm-test-out: Regenerate.
42420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42421 and DA.
42422 (__cos): Likewise.
42423 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42424
42425 2014-02-27 Joseph Myers <joseph@codesourcery.com>
42426
42427 * scripts/evaluate-test.sh: Take new argument indicating whether
42428 failure is expected.
42429 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42430 indicating whether failure is expected.
42431 * conform/Makefile (test-xfail-run-conformtest): New variable.
42432 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42433 level.
42434 * posix/Makefile (test-xfail-annexc): New variable.
42435 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42436
42437 2014-02-26 Joseph Myers <joseph@codesourcery.com>
42438
42439 * argp/Makefile: Include Makeconfig immediately after defining
42440 subdir.
42441 * assert/Makefile: Likewise.
42442 * benchtests/Makefile: Likewise.
42443 * catgets/Makefile: Likewise.
42444 * conform/Makefile: Likewise.
42445 * crypt/Makefile: Likewise.
42446 * csu/Makefile: Likewise.
42447 (all): Remove target.
42448 * ctype/Makefile: Include Makeconfig immediately after defining
42449 subdir.
42450 * debug/Makefile: Likewise.
42451 * dirent/Makefile: Likewise.
42452 * dlfcn/Makefile: Likewise.
42453 * gmon/Makefile: Likewise.
42454 * gnulib/Makefile: Likewise.
42455 * grp/Makefile: Likewise.
42456 * gshadow/Makefile: Likewise.
42457 * hesiod/Makefile: Likewise.
42458 * hurd/Makefile: Likewise.
42459 (all): Remove target.
42460 * iconvdata/Makefile: Include Makeconfig immediately after
42461 defining subdir.
42462 * inet/Makefile: Likewise.
42463 * intl/Makefile: Likewise.
42464 * io/Makefile: Likewise.
42465 * libio/Makefile: Likewise.
42466 (all): Remove target.
42467 * locale/Makefile: Include Makeconfig immediately after defining
42468 subdir.
42469 * login/Makefile: Likewise.
42470 * mach/Makefile: Likewise.
42471 (all): Remove target.
42472 * malloc/Makefile: Include Makeconfig immediately after defining
42473 subdir.
42474 (all): Remove target.
42475 * manual/Makefile: Include Makeconfig immediately after defining
42476 subdir.
42477 * math/Makefile: Likewise.
42478 * misc/Makefile: Likewise.
42479 * nis/Makefile: Likewise.
42480 * nss/Makefile: Likewise.
42481 * po/Makefile: Likewise.
42482 (all): Remove target.
42483 * posix/Makefile: Include Makeconfig immediately after defining
42484 subdir.
42485 * pwd/Makefile: Likewise.
42486 * resolv/Makefile: Likewise.
42487 * resource/Makefile: Likewise.
42488 * rt/Makefile: Likewise.
42489 * setjmp/Makefile: Likewise.
42490 * shadow/Makefile: Likewise.
42491 * signal/Makefile: Likewise.
42492 * socket/Makefile: Likewise.
42493 * soft-fp/Makefile: Likewise.
42494 * stdio-common/Makefile: Likewise.
42495 * stdlib/Makefile: Likewise.
42496 * streams/Makefile: Likewise.
42497 * string/Makefile: Likewise.
42498 * sunrpc/Makefile: Likewise.
42499 (all): Remove target.
42500 * sysvipc/Makefile: Include Makeconfig immediately after defining
42501 subdir.
42502 * termios/Makefile: Likewise.
42503 * time/Makefile: Likewise.
42504 * timezone/Makefile: Likewise.
42505 (all): Remove target.
42506 * wcsmbs/Makefile: Include Makeconfig immediately after defining
42507 subdir.
42508 * wctype/Makefile: Likewise.
42509
42510 2014-02-26 Steve Ellcey <sellcey@mips.com>
42511
42512 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42513 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42514 (libc_feholdexcept_setround_mips): Ditto.
42515 (libc_feholdsetround): New.
42516 (libc_feholdsetroundf): New.
42517 (libc_feholdsetroundl): New.
42518 (libc_feupdateenv_test_mips): New.
42519 (libc_feupdateenv_test): New.
42520 (libc_feupdateenv_testf): New.
42521 (libc_feupdateenv_testl): New.
42522 (libc_feresetround): New.
42523 (libc_feresetroundf): New.
42524 (libc_feresetroundl): New.
42525 (libc_fetestexcept_mips): New.
42526 (libc_fetestexcept): New.
42527 (libc_fetestexceptf): New.
42528 (libc_fetestexceptl): New.
42529 (HAVE_RM_CTX): New.
42530 (libc_feholdexcept_setround_mips_ctx): New.
42531 (libc_feholdexcept_setround_ctx): New.
42532 (libc_feholdexcept_setroundf_ctx): New.
42533 (libc_feholdexcept_setroundl_ctx): New.
42534 (libc_fesetenv_mips_ctx): New.
42535 (libc_fesetenv_ctx): New.
42536 (libc_fesetenv_ctxf): New.
42537 (libc_fesetenv_ctxl): New.
42538 (libc_feupdateenv_mips_ctx): New.
42539 (libc_feupdateenv_ctx): New.
42540 (libc_feupdateenvf_ctx): New.
42541 (libc_feupdateenvl_ctx): New.
42542 (libc_feholdsetround_mips_ctx): New.
42543 (libc_feholdsetround_ctx): New.
42544 (libc_feholdsetroundf_ctx): New.
42545 (libc_feholdsetroundl_ctx): New.
42546 (libc_feresetround_mips_ctx): New.
42547 (libc_feresetround_ctx): New.
42548 (libc_feresetroundf_ctx): New.
42549 (libc_feresetroundl_ctx): New.
42550
42551 2014-02-26 Carlos O'Donell <carlos@redhat.com>
42552
42553 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42554
42555 * manual/ipc.texi: New file.
42556 * manual/Makefile (chapters): Add ipc.
42557 * manual/job.texi: Add "Inter-Process Communication" to next.
42558 * manual/process.texi: Add "Inter-Process Communication" to prev.
42559
42560 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42561
42562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42563
42564 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
42565
42566 * malloc/malloc.c (__libc_calloc): Simplify implementation.
42567
42568 * manual/arith.texi: Fix spaces after sentences.
42569 * manual/charset.texi: Likewise.
42570 * manual/errno.texi: Likewise.
42571 * manual/install.texi: Likewise.
42572 * manual/llio.texi: Likewise.
42573 * manual/locale.texi: Likewise.
42574 * manual/maint.texi: Likewise.
42575 * manual/math.texi: Likewise.
42576 * manual/memory.texi: Likewise.
42577 * manual/message.texi: Likewise.
42578 * manual/probes.texi: Likewise.
42579 * manual/resource.texi: Likewise.
42580 * manual/signal.texi: Likewise.
42581 * manual/socket.texi: Likewise.
42582 * manual/stdio.texi: Likewise.
42583 * manual/string.texi: Likewise.
42584 * manual/time.texi: Likewise.
42585 * manual/users.texi: Likewise.
42586
42587 2014-02-25 Carlos O'Donell <carlos@redhat.com>
42588
42589 [BZ #16632]
42590 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42591 _DEFAULT_SOURCE is defined.
42592
42593 2014-02-25 Ulrich Drepper <drepper@gmail.com>
42594 Carlos O'Donell <carlos@redhat.com>
42595
42596 [BZ #16613]
42597 * elf/dl-tls.c (_dl_count_modids): New function.
42598 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42599 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42600 audit library and increment generation counter.
42601 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42602 * elf/tst-audit9.c: New file.
42603 * elf/tst-auditmod9a.c: New file.
42604 * elf/tst-auditmod9b.c: New file.
42605 * elf/Makefile: Add rules to build and run tst-audit9.
42606
42607 2014-02-25 Florian Weimer <fweimer@redhat.com>
42608
42609 [BZ #15347]
42610 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42611
42612 2014-02-25 Will Newton <will.newton@linaro.org>
42613
42614 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42615 (__longjmp): Restore sp and lr before restoring callee
42616 saved registers. Add longjmp and longjmp_target
42617 SystemTap probe point.
42618 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42619 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42620 Define to zero to match jmpbuf layout.
42621 * sysdeps/arm/setjmp.S: Include stap-probe.h.
42622 (__sigsetjmp): Save sp and lr before saving callee
42623 saved registers. Add setjmp SystemTap probe point.
42624
42625 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42626
42627 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42628
42629 2014-02-24 Andreas Schwab <schwab@suse.de>
42630
42631 [BZ #15804]
42632 * elf/pldd.c (wait_for_ptrace_stop): New function.
42633 (main): Call it after attaching.
42634
42635 2014-02-22 Roland McGrath <roland@hack.frob.com>
42636
42637 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42638 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42639 Versions files is now verboten.
42640 * hurd/Versions (libc: GLIBC_2.0):
42641 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42642 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42643 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42644 * mach/Versions: Likewise.
42645
42646 * csu/Versions: Remove unused %include.
42647 * resolv/Versions: Likewise.
42648
42649 2014-02-21 Joseph Myers <joseph@codesourcery.com>
42650
42651 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42652 ($(objpfx)check-local-headers.out): Likewise.
42653 ($(objpfx)begin-end-check.out): Likewise.
42654 * Makerules (check-abi-%.out): Likewise.
42655 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42656 ($(objpfx)test2.cat): Likewise.
42657 ($(objpfx)de/libc.cat): Likewise.
42658 ($(objpfx)test-gencat.out): Likewise.
42659 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42660 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42661 ($(objpfx)noload-mem): Likewise.
42662 ($(objpfx)tst-pathopt.out): Likewise.
42663 ($(objpfx)tst-rtld-load-self.out): Likewise.
42664 ($(objpfx)tst-array1-cmp.out): Likewise.
42665 ($(objpfx)tst-array1-static-cmp.out): Likewise.
42666 ($(objpfx)tst-array2-cmp.out): Likewise.
42667 ($(objpfx)tst-array3-cmp.out): Likewise.
42668 ($(objpfx)tst-array4-cmp.out): Likewise.
42669 ($(objpfx)tst-array5-cmp.out): Likewise.
42670 ($(objpfx)tst-array5-static-cmp.out): Likewise.
42671 ($(objpfx)check-textrel.out): Likewise.
42672 ($(objpfx)check-execstack.out): Likewise.
42673 ($(objpfx)check-localplt.out): Likewise.
42674 ($(objpfx)order2-cmp.out): Likewise.
42675 ($(objpfx)tst-leaks1-mem): Likewise.
42676 ($(objpfx)tst-leaks1-static-mem): Likewise.
42677 ($(objpfx)tst-initorder-cmp.out): Likewise.
42678 ($(objpfx)tst-initorder2-cmp.out): Likewise.
42679 ($(objpfx)tst-unused-dep.out): Likewise.
42680 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42681 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42682 * iconv/Makefile (test-iconvconfig): Likewise.
42683 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42684 ($(objpfx)iconv-test.out): Likewise.
42685 ($(objpfx)tst-tables.out): Likewise.
42686 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42687 ($(objpfx)tst-gettext.out): Likewise.
42688 ($(objpfx)tst-translit.out): Likewise.
42689 ($(objpfx)tst-gettext2.out): Likewise.
42690 ($(objpfx)tst-gettext4.out): Likewise.
42691 ($(objpfx)tst-gettext6.out): Likewise.
42692 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42693 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42694 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42695 ($(objpfx)tst-fopenloc-mem.out): Likewise.
42696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42697 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42698 * posix/Makefile ($(objpfx)globtest.out): Likewise.
42699 ($(objpfx)wordexp-tst.out): Likewise.
42700 ($(objpfx)annexc.out): Likewise.
42701 ($(objpfx)tst-fnmatch-mem): Likewise.
42702 ($(objpfx)bug-regex2-mem): Likewise.
42703 ($(objpfx)bug-regex14-mem): Likewise.
42704 ($(objpfx)bug-regex21-mem): Likewise.
42705 ($(objpfx)bug-regex31-mem): Likewise.
42706 ($(objpfx)tst-vfork3-mem): Likewise.
42707 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42708 ($(objpfx)tst-pcre-mem): Likewise.
42709 ($(objpfx)tst-boost-mem): Likewise.
42710 ($(objpfx)tst-getconf.out): Likewise.
42711 ($(objpfx)bug-ga2-mem): Likewise.
42712 ($(objpfx)bug-glob2-mem): Likewise.
42713 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42714 ($(objpfx)mtrace-tst-leaks2): Likewise.
42715 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42716 ($(objpfx)tst-printf.out): Likewise.
42717 ($(objpfx)tst-setvbuf1.out): Likewise.
42718 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42719 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42720 ($(objpfx)tst-fmtmsg.out): Likewise.
42721 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42722 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42723
42724 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42725 * bits/sigaction.h [__USE_MISC]: Likewise.
42726 * bits/waitstatus.h: Update #endif comments.
42727 * ctype/ctype.h: Likewise.
42728 * dirent/dirent.h: Likewise.
42729 [__USE_MISC]: Remove redundant conditionals.
42730 * grp/grp.h: Update #endif comments.
42731 [__USE_GNU]: Remove redundant conditionals.
42732 [__USE_MISC]: Likewise.
42733 * inet/netinet/in.h [__USE_GNU]: Likewise.
42734 * io/sys/stat.h [__USE_MISC]: Likewise.
42735 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42736 * libio/bits/stdio.h: Update #endif comments.
42737 [__USE_MISC]: Remove redundant conditionals.
42738 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42739 * libio/stdio.h: Update #endif comments.
42740 [__USE_MISC]: Remove redundant conditionals.
42741 * math/bits/math-finite.h [__USE_MISC]: Likewise.
42742 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42743 * math/math.h: Update #else and #endif comments.
42744 [__USE_MISC]: Remove redundant conditionals.
42745 * misc/sys/uio.h: Update #endif comments.
42746 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42747 * posix/glob.h [__USE_MISC]: Likewise.
42748 * posix/sys/types.h: Update #endif comments.
42749 [__USE_MISC]: Remove redundant conditionals.
42750 * posix/sys/wait.h: Update #endif comments.
42751 [__USE_MISC]: Remove redundant conditionals.
42752 * posix/unistd.h: Update #endif comments.
42753 [__USE_MISC]: Remove redundant conditionals.
42754 * pwd/pwd.h [__USE_GNU]: Likewise.
42755 [__USE_MISC]: Likewise.
42756 * resolv/netdb.h [__USE_GNU]: Likewise.
42757 * signal/signal.h: Update #endif comments.
42758 [__USE_MISC]: Remove redundant conditionals.
42759 * stdlib/stdlib.h: Update #else and #endif comments.
42760 [__USE_MISC]: Remove redundant conditionals.
42761 [__USE_GNU]: Likewise.
42762 * string/bits/string2.h [__USE_MISC]: Likewise.
42763 * string/string.h: Update #endif comments.
42764 [__USE_MISC]: Remove redundant conditionals.
42765 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42766 Likewise.
42767 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42768 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42769 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42770 Likewise.
42771 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42772 Likewise.
42773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42774 comments.
42775 [__USE_MISC]: Remove redundant conditionals.
42776 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42777 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42778 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42779 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42780 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42781 Likewise.
42782 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42783 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42784 Likewise.
42785 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42786 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42787 Likewise.
42788 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42789 Likewise.
42790 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42792 Likewise.
42793 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42794 Likewise.
42795 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42796 * sysdeps/x86/bits/string.h: Update #endif comments.
42797 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42798 conditionals.
42799 * time/sys/time.h: Update #endif comments.
42800 * time/time.h: Likewise.
42801 [__USE_MISC]: Remove redundant conditionals.
42802
42803 2014-02-21 Yury Gribov <y.gribov@samsung.com>
42804
42805 [BZ #16600]
42806 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42807
42808 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
42809
42810 * Versions.def (librt): Add GLIBC_2.17.
42811
42812 2014-02-21 Adam Conrad <adconrad@0c3.net>
42813
42814 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42815 synonym for _SYS_AUXV_H to allow direct inclusion.
42816 * sysdeps/sparc/bits/hwcap.h: Likewise.
42817 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42818 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42819 * sysdeps/sparc/sysdep.h: Likewise.
42820
42821 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42822
42823 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42824
42825 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42826
42827 * benchtests/bench-strrchr.c: Print length instead of position.
42828
42829 2014-02-20 Joseph Myers <joseph@codesourcery.com>
42830
42831 [BZ #16611]
42832 * sysdeps/unix/sysv/linux/kernel-features.h
42833 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42834 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42835 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42836 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42837 Likewise.
42838 [__i386__ || __powerpc__ || __sh__ || __sparc__]
42839 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42840 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42841 (__ASSUME_SENDMMSG): Define instead of using previous
42842 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42844 (__ASSUME_SENDMMSG_SYSCALL): Define.
42845 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42846 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42847 Likewise.
42848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42849 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42850 Likewise.
42851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42852 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42853 Likewise.
42854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42855 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42856 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42857 [__ASSUME_SENDMMSG]: Change conditionals to
42858 [__ASSUME_SENDMMSG_SOCKETCALL].
42859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42860 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42861 Define.
42862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42863 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42864 Likewise.
42865 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42866 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42867 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42868 [!__ASSUME_SENDMMSG]: Change conditional to
42869 [!__ASSUME_SENDMMSG_SOCKETCALL].
42870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42871 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42872 Define.
42873
42874 [BZ #16610]
42875 * sysdeps/unix/sysv/linux/kernel-features.h
42876 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42877 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42878 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42879 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42880 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42881 [__i386__ || __sparc__]
42882 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42883 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42884 (__ASSUME_RECVMMSG): Define instead of using previous
42885 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42887 (__ASSUME_RECVMMSG_SYSCALL): Define.
42888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42890 Likewise.
42891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42893 Likewise.
42894 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42895 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42896 Likewise.
42897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42898 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42899 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42900 [__ASSUME_RECVMMSG]: Change condition to
42901 [__ASSUME_RECVMMSG_SOCKETCALL].
42902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42903 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42904 Define.
42905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42908 Likewise.
42909 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42910 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42911 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42912 [!__ASSUME_RECVMMSG]: Change condition to
42913 [!__ASSUME_RECVMMSG_SOCKETCALL].
42914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42915 (__ASSUME_RECVMMSG_SYSCALL): Define.
42916
42917 [BZ #16609]
42918 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42919 __powerpc__ || __s390__ || __sh__ || __sparc__]
42920 (__ASSUME_SOCKETCALL): Define.
42921 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42922 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42923 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42924 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42925 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42926 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42927 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42928 (__ASSUME_ACCEPT4): Define instead of using previous
42929 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42930 __powerpc__ || __sparc__ || __s390__)] condition.
42931 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42932 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42933 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42934 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42935 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42936 [!__ASSUME_ACCEPT4]: Change condition to
42937 [!__ASSUME_ACCEPT4_SOCKETCALL].
42938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42939 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
42940 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42942 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42943 __ASSUME_ACCEPT4_SYSCALL.
42944 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42945 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42947 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42948 __ASSUME_ACCEPT4_SYSCALL.
42949 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42950 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42951 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42952 [__ASSUME_ACCEPT4]: Change condition to
42953 [__ASSUME_ACCEPT4_SOCKETCALL].
42954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42955 (__ASSUME_SOCKETCALL): Define.
42956 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42958 (__ASSUME_SOCKETCALL): Define.
42959 (__ASSUME_ACCEPT4): Remove.
42960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42961 Define.
42962 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42963 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42964 Likewise.
42965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42967
42968 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42969 macro.
42970 (HWCAP_ARM_LPAE): Likewise.
42971 (HWCAP_ARM_EVTSTRM): Likewise.
42972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42973 Add vpfd32, lpae and evtstrm.
42974 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42975 Increase to 22.
42976
42977 2014-02-19 Joseph Myers <joseph@codesourcery.com>
42978
42979 * math/auto-libm-test-in: Add tests of clog10.
42980 * math/auto-libm-test-out: Regenerated.
42981 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42982 * sysdeps/i386/fpu/libm-test-ulps: Update.
42983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42984
42985 2014-02-18 Andreas Schwab <schwab@suse.de>
42986
42987 [BZ #16574]
42988 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42989 Store non-zero if the second buffer was newly allocated.
42990 (send_dg): Likewise.
42991 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42992 to send_vc and send_dg.
42993 (res_nsend): Pass NULL for ansp2_malloced.
42994 * resolv/res_query.c (__libc_res_nquery): Add parameter
42995 answerp2_malloced and pass it down to __libc_res_nsend.
42996 (res_nquery): Pass additional NULL to __libc_res_nquery.
42997 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42998 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
42999 second answer buffer if answerp2_malloced was set.
43000 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43001 (__libc_res_nquerydomain): Add parameter
43002 answerp2_malloced and pass it down to __libc_res_nquery.
43003 (res_nquerydomain): Pass additional NULL to
43004 __libc_res_nquerydomain.
43005 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43006 additional NULL to __libc_res_nsend and __libc_res_nquery.
43007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43008 additional NULL to __libc_res_nsearch.
43009 (_nss_dns_gethostbyname4_r): Revert last change. Use new
43010 parameter of __libc_res_nsearch to check for separately allocated
43011 second buffer.
43012 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43013 __libc_res_nquery.
43014 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43015 additional NULL to __libc_res_nquery.
43016 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43017 __libc_res_nsearch.
43018 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43019 * include/resolv.h: Update prototypes of __libc_res_nquery,
43020 __libc_res_nsearch, __libc_res_nsend.
43021
43022 2014-02-18 Joseph Myers <joseph@codesourcery.com>
43023
43024 * math/auto-libm-test-in: Add tests of fma.
43025 * math/auto-libm-test-out: Regenerated.
43026 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43027 (fma_towardzero_test_data): Likewise.
43028 (fma_downward_test_data): Likewise.
43029 (fma_upward_test_data): Likewise.
43030 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43031 mpc_mode.
43032 (rounding_modes): Add values for new field.
43033 (func_calc_method): Add value mpfr_fff_f.
43034 (func_calc_desc): Add mpfr_fff_f union field.
43035 (test_function): Add field exact_args.
43036 (FUNC): Add macro argument EXACT_ARGS.
43037 (FUNC_mpfr_f_f): Update call to FUNC.
43038 (FUNC_mpfr_f_f): Likewise.
43039 (FUNC_mpfr_ff_f): Likewise.
43040 (FUNC_mpfr_if_f): Likewise.
43041 (FUNC_mpc_c_f): Likewise.
43042 (FUNC_mpc_c_c): Likewise.
43043 (test_functions): Add fma. Update calls to FUNC.
43044 (handle_input_arg): Add argument exact_args.
43045 (add_test): Update call to handle_input_arg.
43046 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
43047 (output_for_one_input_case): Update call to calc_generic_results.
43048 Recalculate exact zero results in each rounding mode.
43049
43050 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43051 non-negative before setting low bit.
43052 * math/auto-libm-test-in: Mark one asin test possibly having
43053 spurious underflow.
43054 * math/auto-libm-test-out: Regenerated.
43055 * sysdeps/i386/fpu/libm-test-ulps: Update.
43056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43057
43058 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
43059
43060 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43061 * sysdeps/unix/sysv/linux/microblaze: Move directory from
43062 ports/sysdeps/unix/sysv/linux/microblaze.
43063 * README: Add missing listing for microblaze*-*-linux-gnu.
43064
43065 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
43066
43067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43068 duplicate code
43069
43070 2014-02-16 Mike Frysinger <vapier@gentoo.org>
43071
43072 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43073 * sysdeps/unix/sysv/linux/ia64: Move directory from
43074 ports/sysdeps/unix/sysv/linux/ia64.
43075 * README: Update listing for ia64-*-linux-gnu.
43076
43077 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
43078 Joseph Myers <joseph@codesourcery.com>
43079
43080 * Makeconfig (test-name): New variable.
43081 (evaluate-test): Likewise.
43082 * Makerules (do-test-clean): Remove .test-result files.
43083 (common-mostlyclean): Likewise.
43084 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43085 * scripts/evaluate-test.sh: New file.
43086
43087 2014-02-14 Joseph Myers <joseph@codesourcery.com>
43088
43089 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43090 separate $(objpfx)tst-fopenloc-cmp.out and
43091 $(objpfx)tst-fopenloc-mem.out targets.
43092 (tests): Update dependencies.
43093 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43094 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43095 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43096 (tst-rxspencer-no-utf8-ARGS): New variable.
43097 (tst-rxspencer-no-utf8-ENV): Likewise.
43098 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43099 instead of $(objpfx)tst-rxspencer-mem.
43100 ($(objpfx)tst-rxspencer-mem): Change target to
43101 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
43102 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43103 * posix/tst-rxspencer-no-utf8.c: New file.
43104
43105 * elf/Makefile ($(objpfx)order.out): Remove rule.
43106 [$(run-built-tests) = yes] (tests): Depend on
43107 $(objpfx)order-cmp.out.
43108 ($(objpfx)order-cmp.out): New rule.
43109 [$(run-built-tests) = yes] (tests): Depend on
43110 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43111 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43112 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43113 $(objpfx)tst-array5-static-cmp.out.
43114 ($(objpfx)tst-array1.out): Remove rule.
43115 ($(objpfx)tst-array1-cmp.out): New rule.
43116 ($(objpfx)tst-array1-static.out): Remove rule.
43117 ($(objpfx)tst-array1-static-cmp.out): New rule.
43118 ($(objpfx)tst-array2.out): Remove rule.
43119 ($(objpfx)tst-array2-cmp.out): New rule.
43120 ($(objpfx)tst-array3.out): Remove rule.
43121 ($(objpfx)tst-array3-cmp.out): New rule.
43122 ($(objpfx)tst-array4.out): Remove rule.
43123 ($(objpfx)tst-array4-cmp.out): New rule.
43124 ($(objpfx)tst-array5.out): Remove rule.
43125 ($(objpfx)tst-array5-cmp.out): New rule.
43126 ($(objpfx)tst-array5-static.out): Remove rule.
43127 ($(objpfx)tst-array5-static-cmp.out): New rule.
43128 [$(run-built-tests) = yes] (tests): Depend on
43129 $(objpfx)order2-cmp.out.
43130 ($(objpfx)order2.out): Remove rule.
43131 ($(objpfx)order2-cmp.out): New rule.
43132 ($(objpfx)tst-initorder.out): Remove rule.
43133 [$(run-built-tests) = yes] (tests): Depend on
43134 $(objpfx)tst-initorder-cmp.out.
43135 ($(objpfx)tst-initorder-cmp.out): New rule.
43136 ($(objpfx)tst-initorder2.out): Remove rule.
43137 [$(run-built-tests) = yes] (tests): Depend on
43138 $(objpfx)tst-initorder2-cmp.out.
43139 ($(objpfx)tst-initorder2-cmp.out): New rule.
43140 [$(run-built-tests) = yes] (tests): Depend on
43141 $(objpfx)tst-unused-dep-cmp.out.
43142 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43143 ($(objpfx)tst-unused-dep-cmp.out): New rule.
43144 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43145 on $(objpfx)tst-setvbuf1-cmp.out.
43146 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43147 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43148 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43149 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43150 ($(objpfx)tst-svc.out): Remove rule.
43151 ($(objpfx)tst-svc-cmp.out): New rule.
43152
43153 2014-02-13 Joseph Myers <joseph@codesourcery.com>
43154
43155 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43156 * ctype/ctype.h [__USE_MISC]: Likewise.
43157 * dirent/dirent.h [__USE_MISC]: Likewise.
43158 * grp/grp.h [__USE_MISC]: Likewise.
43159 * io/fcntl.h [__USE_MISC]: Likewise.
43160 * io/sys/stat.h [__USE_MISC]: Likewise.
43161 * libio/stdio.h [__USE_MISC]: Likewise.
43162 * posix/unistd.h [__USE_MISC]: Likewise.
43163 * pwd/pwd.h [__USE_MISC]: Likewise.
43164 * stdlib.h [__USE_MISC]: Likewise.
43165 * string/bits/string2.h [__USE_MISC]: Likewise.
43166 * string/string.h [__USE_MISC]: Likewise.
43167 * time/time.h [__USE_MISC]: Likewise.
43168
43169 2014-02-13 Andreas Schwab <schwab@suse.de>
43170
43171 [BZ #16574]
43172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43173 second answer buffer if it was separately allocated.
43174
43175 2014-02-12 Joseph Myers <joseph@codesourcery.com>
43176
43177 * sysdeps/mips/math-tests.h: Include <features.h>.
43178 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43179 (ROUNDING_TESTS_long_double): Do not define.
43180 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43181 (EXCEPTION_TESTS_long_double): Likewise.
43182 * sysdeps/mips/mips64/libm-test-ulps: Update.
43183
43184 * include/features.h (__USE_BSD): Remove macro definitions.
43185 (__USE_SVID): Likewise.
43186 (_BSD_SOURCE): Likewise.
43187 (_SVID_SOURCE): Likewise.
43188 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43189 from definition of _DEFAULT_SOURCE.
43190 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43191 [_DEFAULT_SOURCE].
43192 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43193 * bits/mman.h [__USE_BSD]: Likewise.
43194 * bits/termios.h [__USE_BSD]: Likewise.
43195 * bits/waitstatus.h [__USE_BSD]: Likewise.
43196 * ctype/ctype.h [__USE_SVID]: Likewise.
43197 * dirent/dirent.h [__USE_BSD]: Likewise.
43198 * grp/grp.h [__USE_SVID]: Likewise.
43199 [__USE_BSD]: Likewise.
43200 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43201 * io/fcntl.h [__USE_BSD]: Likewise.
43202 * io/ftw.h [__USE_BSD]: Likewise.
43203 * io/sys/stat.h [__USE_BSD]: Likewise.
43204 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43205 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43206 * libio/stdio.h [__USE_SVID]: Likewise.
43207 [__USE_BSD]: Likewise.
43208 * math/math.h [__USE_SVID]: Likewise.
43209 [__USE_BSD]: Likewise.
43210 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43211 * misc/bits/syslog.h [__USE_BSD]: Likewise.
43212 * misc/search.h [__USE_SVID]: Likewise.
43213 * misc/sys/mman.h [__USE_BSD]: Likewise.
43214 * misc/sys/syslog.h [__USE_BSD]: Likewise.
43215 * misc/sys/uio.h [__USE_BSD]: Likewise.
43216 * posix/bits/unistd.h [__USE_BSD]: Likewise.
43217 * posix/glob.h [__USE_BSD]: Likewise.
43218 * posix/regex.h [__USE_BSD]: Likewise.
43219 * posix/sys/types.h [__USE_BSD]: Likewise.
43220 [__USE_SVID]: Likewise.
43221 * posix/sys/utsname.h [__USE_SVID]: Likewise.
43222 * posix/sys/wait.h [__USE_BSD]: Likewise.
43223 [__USE_SVID]: Likewise.
43224 * posix/unistd.h [__USE_BSD]: Likewise.
43225 [__USE_SVID]: Likewise.
43226 * pwd/pwd.h [__USE_SVID]: Likewise.
43227 * resolv/netdb.h [__USE_BSD]: Likewise.
43228 * setjmp/setjmp.h [__USE_BSD]: Likewise.
43229 * signal/signal.h [__USE_BSD]: Likewise.
43230 [__USE_SVID]: Likewise.
43231 * socket/sys/socket.h [__USE_BSD]: Likewise.
43232 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43233 * stdlib/stdlib.h [__USE_BSD]: Likewise.
43234 [__USE_SVID]: Likewise.
43235 * string/bits/string2.h [__USE_BSD]: Likewise.
43236 [__USE_SVID]: Likewise.
43237 * string/bits/string3.h [__USE_BSD]: Likewise.
43238 * string/endian.h [__USE_BSD]: Likewise.
43239 * string/string.h [__USE_SVID]: Likewise.
43240 [__USE_BSD]: Likewise.
43241 * string/strings.h [__USE_BSD]: Likewise.
43242 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43243 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43245 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43246 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43247 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43248 Likewise.
43249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43250 Likewise.
43251 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43252 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43253 Likewise.
43254 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43255 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43256 Likewise.
43257 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43258 Likewise.
43259 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43260 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43262 Likewise.
43263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43264 Likewise.
43265 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43266 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43267 * termios/termios.h [__USE_BSD]: Likewise.
43268 * time/sys/time.h [__USE_BSD]: Likewise.
43269 * time/time.h [__USE_BSD]: Likewise.
43270 [__USE_SVID]: Likewise.
43271
43272 * Makefile (subdir_targets): Remove subdir_lint.out.
43273
43274 * stdio-common/Makefile (do-tst-unbputc): Remove target.
43275 (do-tst-printf): Likewise.
43276 (tests): Depend directly on $(objpfx)tst-unbputc.out and
43277 $(objpfx)tst-printf.out.
43278
43279 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43280
43281 * Makerules (check-abi-%): Change target to
43282 $(objpfx)check-abi-%.out.
43283 (check-abi target): Update dependencies.
43284 (check-abi-pattern variable): Redirect output of diff to $@.
43285 (check-abi variable): Likewise.
43286 * elf/Makefile (check-abi): Update dependencies.
43287
43288 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43289 unused.
43290 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43291 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43292 subnormal range.
43293 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43294 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43295 value has largest subnormal exponent.
43296 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43297 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43298 * sysdeps/aarch64/soft-fp/sfp-machine.h
43299 (_FP_TININESS_AFTER_ROUNDING): New macro.
43300 * sysdeps/alpha/soft-fp/sfp-machine.h
43301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43303 Likewise.
43304 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43306 * sysdeps/mips/soft-fp/sfp-machine.h
43307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43308 * sysdeps/powerpc/soft-fp/sfp-machine.h
43309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43310 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43311 Likewise.
43312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
43316 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43317 Likewise.
43318
43319 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
43320
43321 [BZ #16545]
43322 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43323 model 1.
43324
43325 2014-02-12 Richard Henderson <rth@redhat.com>
43326
43327 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43328 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43329 * sysdeps/unix/sysv/linux/alpha: Move directory from
43330 ports/sysdeps/unix/sysv/linux/alpha.
43331 * README: Update listing for alpha-*-linux-gnu.
43332
43333 2014-02-11 Joseph Myers <joseph@codesourcery.com>
43334
43335 * include/features.h: Update comment documenting feature test
43336 macros.
43337 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
43338 _DEFAULT_SOURCE.
43339 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43340 (_SVID_SOURCE): Likewise.
43341 (_DEFAULT_SOURCE): Update description of default features.
43342 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43343 with _GNU_SOURCE.
43344 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43345 (S_ISVTX): Likewise.
43346 * manual/math.texi (Mathematical Constants): Likewise.
43347 * manual/signal.texi (Interrupted Primitives): Likewise.
43348 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43349 * math/test-matherr.c (_SVID_SOURCE): Do not define.
43350 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43351 Don't refer to _SVID_SOURCE in warning text.
43352
43353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43354
43355 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43356 already defined.
43357 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43358 * sysdeps/mips/dl-lookup.c: Remove.
43359 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43360
43361 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43362
43363 [BZ #16447]
43364 * math/auto-libm-test-in: Add testcase for expl.
43365 * math/auto-libm-test-out: Regenerate.
43366 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43367 calculation of unsafe.
43368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43369
43370 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
43371
43372 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43373 * sysdeps/unix/sysv/linux/aarch64: Move directory from
43374 ports/sysdeps/unix/sysv/linux/aarch64.
43375 * README: Update listing for aarch64*-*-linux-gnu.
43376
43377 2014-02-11 Will Newton <will.newton@linaro.org>
43378
43379 * manual/probes.texi (Mathematical Function Probes): Use
43380 "triggered" instead of "hit".
43381
43382 * manual/probes.texi (Internal Probes): Add documentation
43383 of setjmp, longjmp and longjmp_target probes.
43384
43385 * include/stap-probe.h: Add comment about probe argument
43386 format.
43387
43388 * malloc/mtrace.c (attribute_hidden): Remove unused macro
43389 definition. (tr_where, tr_freehook, tr_mallochook,
43390 tr_reallochook, tr_memalignhook): Use ANSI protoype.
43391
43392 2014-02-11 David S. Miller <davem@davemloft.net>
43393
43394 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43395 processing int_tests.
43396
43397 2014-02-10 Joseph Myers <joseph@codesourcery.com>
43398
43399 * sysdeps/mips: Move directory from ports/sysdeps/mips.
43400 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43401 * sysdeps/unix/sysv/linux/mips: Move directory from
43402 ports/sysdeps/unix/sysv/linux/mips.
43403 * README: Update listing for mips-*-linux-gnu and
43404 mips64-*-linux-gnu.
43405
43406 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
43407
43408 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43409 * sysdeps/unix/sysv/linux/m68k: Move directory from
43410 ports/sysdeps/unix/sysv/linux/m68k.
43411 * README: Update listing for m68k-*-linux-gnu.
43412
43413 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
43414
43415 * sysdeps/tile: Move directory from ports/sysdeps/tile.
43416 * sysdeps/unix/sysv/linux/generic: Move directory from
43417 ports/sysdeps/unix/sysv/linux/generic.
43418 * sysdeps/unix/sysv/linux/tile: Move directory from
43419 ports/sysdeps/unix/sysv/linux/tile.
43420 * README: Update listing for tile*-*-linux-gnu.
43421
43422 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
43423
43424 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43425 __builtin_expect.
43426 * benchtests/bench-memmem.c (simple_memmem): Likewise.
43427 * catgets/open_catalog.c (__open_catalog): Likewise.
43428 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43429 * debug/confstr_chk.c: Likewise.
43430 * debug/fread_chk.c (__fread_chk): Likewise.
43431 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43432 * debug/getgroups_chk.c: Likewise.
43433 * debug/mbsnrtowcs_chk.c: Likewise.
43434 * debug/mbsrtowcs_chk.c: Likewise.
43435 * debug/mbstowcs_chk.c: Likewise.
43436 * debug/memcpy_chk.c: Likewise.
43437 * debug/memmove_chk.c: Likewise.
43438 * debug/mempcpy_chk.c: Likewise.
43439 * debug/memset_chk.c: Likewise.
43440 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43441 * debug/strcat_chk.c (__strcat_chk): Likewise.
43442 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43443 * debug/strncat_chk.c (__strncat_chk): Likewise.
43444 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43445 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43446 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43447 * debug/wcpncpy_chk.c: Likewise.
43448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43449 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43450 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43451 * debug/wcsncpy_chk.c: Likewise.
43452 * debug/wcsnrtombs_chk.c: Likewise.
43453 * debug/wcsrtombs_chk.c: Likewise.
43454 * debug/wcstombs_chk.c: Likewise.
43455 * debug/wmemcpy_chk.c: Likewise.
43456 * debug/wmemmove_chk.c: Likewise.
43457 * debug/wmempcpy_chk.c: Likewise.
43458 * debug/wmemset_chk.c: Likewise.
43459 * dirent/scandirat.c (SCANDIRAT): Likewise.
43460 * dlfcn/dladdr1.c (dladdr1): Likewise.
43461 * dlfcn/dladdr.c (dladdr): Likewise.
43462 * dlfcn/dlclose.c (dlclose_doit): Likewise.
43463 * dlfcn/dlerror.c (__dlerror): Likewise.
43464 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43465 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43466 * dlfcn/dlopen.c (dlopen_doit): Likewise.
43467 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43468 * dlfcn/dlsym.c (dlsym_doit): Likewise.
43469 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43470 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43471 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43472 Likewise.
43473 * elf/dl-conflict.c: Likewise.
43474 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43475 * elf/dl-dst.h: Likewise.
43476 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43477 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43478 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43479 * elf/dl-init.c (call_init, _dl_init): Likewise.
43480 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43481 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43482 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43483 Likewise.
43484 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43485 Likewise.
43486 * elf/dl-minimal.c (__libc_memalign): Likewise.
43487 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43489 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43490 * elf/dl-sym.c (do_sym): Likewise.
43491 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43492 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43493 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43494 * elf/dl-writev.h (_dl_writev): Likewise.
43495 * elf/ldconfig.c (search_dir): Likewise.
43496 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43497 (dl_main): Likewise.
43498 * elf/setup-vdso.h (setup_vdso): Likewise.
43499 * grp/compat-initgroups.c (compat_call): Likewise.
43500 * grp/fgetgrent.c (fgetgrent): Likewise.
43501 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43502 * grp/putgrent.c (putgrent): Likewise.
43503 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43504 Likewise.
43505 * hurd/hurdinit.c: Likewise.
43506 * iconvdata/8bit-gap.c (struct): Likewise.
43507 * iconvdata/ansi_x3.110.c : Likewise.
43508 * iconvdata/big5.c : Likewise.
43509 * iconvdata/big5hkscs.c : Likewise.
43510 * iconvdata/cp1255.c: Likewise.
43511 * iconvdata/cp1258.c : Likewise.
43512 * iconvdata/cp932.c : Likewise.
43513 * iconvdata/euc-cn.c: Likewise.
43514 * iconvdata/euc-jisx0213.c : Likewise.
43515 * iconvdata/euc-jp.c: Likewise.
43516 * iconvdata/euc-jp-ms.c : Likewise.
43517 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43518 * iconvdata/gb18030.c : Likewise.
43519 * iconvdata/gbbig5.c (const): Likewise.
43520 * iconvdata/gbgbk.c: Likewise.
43521 * iconvdata/gbk.c : Likewise.
43522 * iconvdata/ibm1364.c : Likewise.
43523 * iconvdata/ibm930.c : Likewise.
43524 * iconvdata/ibm932.c: Likewise.
43525 * iconvdata/ibm933.c : Likewise.
43526 * iconvdata/ibm935.c : Likewise.
43527 * iconvdata/ibm937.c : Likewise.
43528 * iconvdata/ibm939.c : Likewise.
43529 * iconvdata/ibm943.c: Likewise.
43530 * iconvdata/iso_11548-1.c: Likewise.
43531 * iconvdata/iso-2022-cn.c : Likewise.
43532 * iconvdata/iso-2022-cn-ext.c : Likewise.
43533 * iconvdata/iso-2022-jp-3.c: Likewise.
43534 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43535 * iconvdata/iso-2022-kr.c : Likewise.
43536 * iconvdata/iso646.c (gconv_end): Likewise.
43537 * iconvdata/iso_6937-2.c : Likewise.
43538 * iconvdata/iso_6937.c : Likewise.
43539 * iconvdata/iso8859-1.c: Likewise.
43540 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43541 * iconvdata/shift_jisx0213.c : Likewise.
43542 * iconvdata/sjis.c : Likewise.
43543 * iconvdata/t.61.c : Likewise.
43544 * iconvdata/tcvn5712-1.c : Likewise.
43545 * iconvdata/tscii.c: Likewise.
43546 * iconvdata/uhc.c : Likewise.
43547 * iconvdata/unicode.c (gconv_end): Likewise.
43548 * iconvdata/utf-16.c (gconv_end): Likewise.
43549 * iconvdata/utf-32.c (gconv_end): Likewise.
43550 * iconvdata/utf-7.c (base64): Likewise.
43551 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43552 * iconv/gconv_close.c (__gconv_close): Likewise.
43553 * iconv/gconv_open.c (__gconv_open): Likewise.
43554 * iconv/gconv_simple.c (internal_ucs4_loop_single)
43555 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43556 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43557 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43558 (ucs4le_internal_loop_single): Likewise.
43559 * iconv/iconv.c (iconv): Likewise.
43560 * iconv/iconv_close.c: Likewise.
43561 * iconv/loop.c (SINGLE): Likewise.
43562 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43563 * include/atomic.h: Likewise.
43564 * inet/inet6_option.c (option_alloc): Likewise.
43565 * intl/bindtextdom.c (set_binding_values): Likewise.
43566 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43567 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43568 * intl/localealias.c (read_alias_file): Likewise.
43569 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43570 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43571 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43572 * libio/fmemopen.c (fmemopen): Likewise.
43573 * libio/iofgets.c (_IO_fgets): Likewise.
43574 * libio/iofgets_u.c (fgets_unlocked): Likewise.
43575 * libio/iofgetws.c (fgetws): Likewise.
43576 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43577 * libio/iogetdelim.c (_IO_getdelim): Likewise.
43578 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43579 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43580 * locale/findlocale.c (_nl_find_locale): Likewise.
43581 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43582 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43583 Likewise.
43584 * locale/setlocale.c (setlocale): Likewise.
43585 * login/programs/pt_chown.c (main): Likewise.
43586 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43587 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43588 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43589 (mmap, mmap64, mremap, munmap): Likewise.
43590 * math/e_exp2l.c: Likewise.
43591 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43592 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43593 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43594 * math/s_catan.c (__catan): Likewise.
43595 * math/s_catanf.c (__catanf): Likewise.
43596 * math/s_catanh.c (__catanh): Likewise.
43597 * math/s_catanhf.c (__catanhf): Likewise.
43598 * math/s_catanhl.c (__catanhl): Likewise.
43599 * math/s_catanl.c (__catanl): Likewise.
43600 * math/s_ccosh.c (__ccosh): Likewise.
43601 * math/s_ccoshf.c (__ccoshf): Likewise.
43602 * math/s_ccoshl.c (__ccoshl): Likewise.
43603 * math/s_cexp.c (__cexp): Likewise.
43604 * math/s_cexpf.c (__cexpf): Likewise.
43605 * math/s_cexpl.c (__cexpl): Likewise.
43606 * math/s_clog10.c (__clog10): Likewise.
43607 * math/s_clog10f.c (__clog10f): Likewise.
43608 * math/s_clog10l.c (__clog10l): Likewise.
43609 * math/s_clog.c (__clog): Likewise.
43610 * math/s_clogf.c (__clogf): Likewise.
43611 * math/s_clogl.c (__clogl): Likewise.
43612 * math/s_csin.c (__csin): Likewise.
43613 * math/s_csinf.c (__csinf): Likewise.
43614 * math/s_csinh.c (__csinh): Likewise.
43615 * math/s_csinhf.c (__csinhf): Likewise.
43616 * math/s_csinhl.c (__csinhl): Likewise.
43617 * math/s_csinl.c (__csinl): Likewise.
43618 * math/s_csqrt.c (__csqrt): Likewise.
43619 * math/s_csqrtf.c (__csqrtf): Likewise.
43620 * math/s_csqrtl.c (__csqrtl): Likewise.
43621 * math/s_ctan.c (__ctan): Likewise.
43622 * math/s_ctanf.c (__ctanf): Likewise.
43623 * math/s_ctanh.c (__ctanh): Likewise.
43624 * math/s_ctanhf.c (__ctanhf): Likewise.
43625 * math/s_ctanhl.c (__ctanhl): Likewise.
43626 * math/s_ctanl.c (__ctanl): Likewise.
43627 * math/w_pow.c: Likewise.
43628 * math/w_powf.c: Likewise.
43629 * math/w_powl.c: Likewise.
43630 * math/w_scalb.c (sysv_scalb): Likewise.
43631 * math/w_scalbf.c (sysv_scalbf): Likewise.
43632 * math/w_scalbl.c (sysv_scalbl): Likewise.
43633 * misc/error.c (error_tail): Likewise.
43634 * misc/pselect.c (__pselect): Likewise.
43635 * nis/nis_callback.c (__nis_create_callback): Likewise.
43636 * nis/nis_call.c (__nisfind_server): Likewise.
43637 * nis/nis_creategroup.c (nis_creategroup): Likewise.
43638 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43640 * nis/nis_getservlist.c (nis_getservlist): Likewise.
43641 * nis/nis_lookup.c (nis_lookup): Likewise.
43642 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43643 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43644 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43645 * nis/nis_xdr.c (xdr_endpoint): Likewise.
43646 * nis/nss_compat/compat-grp.c (getgrent_next_file)
43647 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43648 * nis/nss_compat/compat-initgroups.c (add_group)
43649 (internal_getgrent_r): Likewise.
43650 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43651 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43652 * nis/nss_compat/compat-spwd.c (getspent_next_file)
43653 (internal_getspnam_r): Likewise.
43654 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43655 (_nss_nis_getaliasbyname_r): Likewise.
43656 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43657 (_nss_nis_getntohost_r): Likewise.
43658 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43659 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43660 (_nss_nis_getgrgid_r): Likewise.
43661 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43662 (internal_nis_gethostent_r, internal_gethostbyname2_r)
43663 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43664 (_nss_nis_gethostbyname4_r): Likewise.
43665 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43666 (initgroups_netid): Likewise.
43667 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43668 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43669 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43670 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43671 (_nss_nis_getprotobynumber_r): Likewise.
43672 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43673 (_nss_nis_getsecretkey): Likewise.
43674 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43675 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43676 (_nss_nis_getpwuid_r): Likewise.
43677 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43678 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43679 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43680 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43681 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43682 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43683 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43684 Likewise.
43685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43686 (_nss_nisplus_getntohost_r): Likewise.
43687 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43688 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43689 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43690 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43691 Likewise.
43692 * nis/nss_nisplus/nisplus-initgroups.c
43693 (_nss_nisplus_initgroups_dyn): Likewise.
43694 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43695 (_nss_nisplus_getnetbyaddr_r): Likewise.
43696 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43697 (_nss_nisplus_getprotobynumber_r): Likewise.
43698 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43699 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43700 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43701 Likewise.
43702 * nis/nss_nisplus/nisplus-service.c
43703 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43704 (_nss_nisplus_getservbyport_r): Likewise.
43705 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43706 (_nss_nisplus_getspnam_r): Likewise.
43707 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43708 Likewise.
43709 * nscd/aicache.c (addhstaiX): Likewise.
43710 * nscd/cache.c (cache_search, prune_cache): Likewise.
43711 * nscd/connections.c (register_traced_file, send_ro_fd)
43712 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43713 (main_loop_epoll): Likewise.
43714 * nscd/grpcache.c (addgrbyX): Likewise.
43715 * nscd/hstcache.c (addhstbyX): Likewise.
43716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43717 * nscd/mem.c (gc, mempool_alloc): Likewise.
43718 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43719 (addinnetgrX): Likewise.
43720 * nscd/nscd-client.h (__nscd_acquire_maplock)
43721 (__nscd_drop_map_ref): Likewise.
43722 * nscd/nscd_getai.c (__nscd_getai): Likewise.
43723 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43725 Likewise.
43726 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43728 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43729 (__nscd_get_map_ref): Likewise.
43730 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43731 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43732 Likewise.
43733 * nscd/pwdcache.c (addpwbyX): Likewise.
43734 * nscd/selinux.c (preserve_capabilities): Likewise.
43735 * nscd/servicescache.c (addservbyX): Likewise.
43736 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43737 * posix/fnmatch.c (fnmatch): Likewise.
43738 * posix/getopt.c (_getopt_internal_r): Likewise.
43739 * posix/glob.c (glob, glob_in_dir): Likewise.
43740 * posix/wordexp.c (exec_comm_child): Likewise.
43741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43742 (getanswer_r, gaih_getanswer_slice): Likewise.
43743 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43744 * resolv/res_init.c: Likewise.
43745 * resolv/res_mkquery.c (res_nmkquery): Likewise.
43746 * resolv/res_query.c (__libc_res_nquery): Likewise.
43747 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43748 Likewise.
43749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43750 * stdio-common/perror.c (perror): Likewise.
43751 * stdio-common/printf_fp.c (___printf_fp): Likewise.
43752 * stdio-common/tmpnam.c (tmpnam): Likewise.
43753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43754 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43755 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43756 Likewise.
43757 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43758 * stdlib/putenv.c (putenv): Likewise.
43759 * stdlib/setenv.c (__add_to_environ): Likewise.
43760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43761 * stdlib/strtol_l.c (INTERNAL): Likewise.
43762 * string/memmem.c (memmem): Likewise.
43763 * string/strerror.c (strerror): Likewise.
43764 * string/strnlen.c (__strnlen): Likewise.
43765 * string/test-memmem.c (simple_memmem): Likewise.
43766 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43767 * sunrpc/pm_getport.c (__get_socket): Likewise.
43768 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43769 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43770 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43771 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43772 Likewise.
43773 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43775 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43778 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43779 Likewise.
43780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43781 Likewise.
43782 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43783 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43785 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43786 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43790 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43794 Likewise.
43795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43796 Likewise.
43797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43798 Likewise.
43799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43803 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43804 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43805 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43815 Likewise.
43816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43817 Likewise.
43818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43819 Likewise.
43820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43821 Likewise.
43822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43824 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43825 Likewise.
43826 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43827 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43828 * sysdeps/posix/opendir.c (__opendirat): Likewise.
43829 * sysdeps/posix/sleep.c: Likewise.
43830 * sysdeps/posix/tempname.c: Likewise.
43831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43832 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43833 Likewise.
43834 * sysdeps/powerpc/powerpc32/dl-machine.h
43835 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43838 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43839 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43840 Likewise.
43841 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43843 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43845 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43846 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43847 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43848 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43852 (elf_machine_lazy_rel): Likewise.
43853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43855 (elf_machine_lazy_rel): Likewise.
43856 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43857 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43858 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43859 * sysdeps/unix/grantpt.c (grantpt): Likewise.
43860 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43861 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43864 Likewise.
43865 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43866 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43867 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43868 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43869 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43871 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43872 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43873 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43875 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43876 Likewise.
43877 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43878 (__posix_fallocate64_l64): Likewise.
43879 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43880 (posix_fallocate): Likewise.
43881 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43882 Likewise.
43883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43884 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43885 (getifaddrs_internal): Likewise.
43886 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43888 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43889 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43890 * sysdeps/unix/sysv/linux/posix_fallocate64.c
43891 (__posix_fallocate64_l64): Likewise.
43892 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43893 Likewise.
43894 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43896 (__get_clockfreq): Likewise.
43897 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43898 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43899 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43902 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43903 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43905 Likewise.
43906 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43907 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43908 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43911 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43912 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43913 Likewise.
43914 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43915 (posix_fallocate): Likewise.
43916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43917 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43918 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43919 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43920 (elf_machine_rela, elf_machine_rela_relative)
43921 (elf_machine_lazy_rel): Likewise.
43922 * time/asctime.c (asctime_internal): Likewise.
43923 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43924 * time/tzset.c (__tzset_parse_tz): Likewise.
43925 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43926 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43927 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43928 * wcsmbs/wcsmbsload.h: Likewise.
43929
43930 [BZ #15894]
43931 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43932
43933 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43934 (arena_get2): Remove THREAD_STATS conditionals.
43935 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43936 (__malloc_stats, int): Likewise.
43937
43938 2014-02-08 Mike Frysinger <vapier@gentoo.org>
43939
43940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43941 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
43942
43943 * manual/setjmp.texi: Fix typos/grammar errors.
43944
43945 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43946 Only return early when n is <= 0. Delete unused return statement.
43947
43948 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43949 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43950 * debug/tst-longjmp_chk3.c: New file.
43951
43952 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43953 (test_main): Replace code with set_fortify_handler call.
43954 * debug/test-strcpy_chk.c: Likewise.
43955 * debug/tst-chk1.c: Likewise.
43956 * debug/tst-longjmp_chk.c: Likewise.
43957 * test-skeleton.c: Include fcntl.h & paths.h
43958 (set_fortify_handler): Define.
43959
43960 * debug/tst-longjmp_chk.c: Add header comment and include
43961 ../test-skeleton.c.
43962 (do_test): Mark static.
43963 (TEST_FUNCTION): Define.
43964
43965 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43966 (IP_PMTUDISC_INTERFACE): Likewise.
43967 (IP_MULTICAST_IF): Likewise.
43968 (IP_MULTICAST_TTL): Likewise.
43969 (IP_MULTICAST_LOOP): Likewise.
43970 (IP_ADD_MEMBERSHIP): Likewise.
43971 (IP_DROP_MEMBERSHIP): Likewise.
43972 (IP_UNBLOCK_SOURCE): Likewise.
43973 (IP_BLOCK_SOURCE): Likewise.
43974 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43975 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43976 (IP_MSFILTER): Likewise.
43977 (MCAST_JOIN_GROUP): Likewise.
43978 (MCAST_BLOCK_SOURCE): Likewise.
43979 (MCAST_UNBLOCK_SOURCE): Likewise.
43980 (MCAST_LEAVE_GROUP): Likewise.
43981 (MCAST_JOIN_SOURCE_GROUP): Likewise.
43982 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43983 (MCAST_MSFILTER): Likewise.
43984 (IP_MULTICAST_ALL): Likewise.
43985 (IP_UNICAST_IF): Likewise.
43986
43987 * timezone/Makefile: Delete $(have-ksh) check.
43988 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43989 * timezone/tzselect.ksh: Add +x mode bits.
43990
43991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43992 (ANON_INODE_FS_MAGIC): Likewise.
43993 (BDEVFS_MAGIC): Likewise.
43994 (BINFMTFS_MAGIC): Likewise.
43995 (BTRFS_TEST_MAGIC): Likewise.
43996 (CRAMFS_MAGIC_WEND): Likewise.
43997 (DEBUGFS_MAGIC): Likewise.
43998 (ECRYPTFS_SUPER_MAGIC): Likewise.
43999 (EXT3_SUPER_MAGIC): Likewise.
44000 (EXT4_SUPER_MAGIC): Likewise.
44001 (FUTEXFS_SUPER_MAGIC): Likewise.
44002 (HOSTFS_SUPER_MAGIC): Likewise.
44003 (HUGETLBFS_MAGIC): Likewise.
44004 (MINIX3_SUPER_MAGIC): Likewise.
44005 (MTD_INODE_FS_MAGIC): Likewise.
44006 (NILFS_SUPER_MAGIC): Likewise.
44007 (OPENPROM_SUPER_MAGIC): Likewise.
44008 (PIPEFS_MAGIC): Likewise.
44009 (PSTOREFS_MAGIC): Likewise.
44010 (QNX6_SUPER_MAGIC): Likewise.
44011 (RAMFS_MAGIC): Likewise.
44012 (REISERFS_SUPER_MAGIC_STRING): Likewise.
44013 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44014 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44015 (SECURITYFS_MAGIC): Likewise.
44016 (SELINUX_MAGIC): Likewise.
44017 (SMACK_MAGIC): Likewise.
44018 (SOCKFS_MAGIC): Likewise.
44019 (SQUASHFS_MAGIC): Likewise.
44020 (STACK_END_MAGIC): Likewise.
44021 (TMPFS_MAGIC): Likewise.
44022 (USBDEVICE_SUPER_MAGIC): Likewise.
44023 (V9FS_MAGIC): Likewise.
44024 (XENFS_SUPER_MAGIC): Likewise.
44025 (CRAMFS_MAGIC): Fix typo in comment.
44026 (EXT2_SUPER_MAGIC): Update comment.
44027 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44028
44029 2014-02-08 Joseph Myers <joseph@codesourcery.com>
44030
44031 * sysdeps/arm: Move directory from ports/sysdeps/arm.
44032 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44033 * sysdeps/unix/sysv/linux/arm: Move directory from
44034 ports/sysdeps/unix/sysv/linux/arm.
44035 * README: Update listing for arm-*-linux-gnueabi.
44036
44037 * README: Remove mention of am33.
44038
44039 2014-02-07 Roland McGrath <roland@hack.frob.com>
44040
44041 * bits/sigset.h (__sigemptyset): Use a statement expression rather
44042 than the comma operator, to avoid "rhs of comma has no effect"
44043 compiler warnings.
44044 (__sigfillset, __sigandset, __sigorset): Likewise.
44045 * include/signal.h (__sigemptyset): Likewise.
44046 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44047
44048 2014-02-07 Allan McRae <allan@archlinux.org>
44049
44050 * version.h (RELEASE): Set to "development".
44051 (VERSION): Set to "2.19.90"
44052 * NEWS: Add 2.20 section.
44053
44054 2014-02-06 Carlos O'Donell <carlos@redhat.com>
44055
44056 [BZ #16529]
44057 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44058
44059 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44060
44061 * manual/contrib.texi: Update entry for Carlos O'Donell,
44062 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44063
44064 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
44065
44066 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44067
44068 * sysdeps/unix/sysv/linux/kernel-features.h
44069 [__LINUX_KERNEL_VERSION >= 0x020621]
44070 (__ASSUME_PROC_PID_TASK_COMM): Define.
44071
44072 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44073
44074 [BZ #16398]
44075 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44076 conversion when destination buffer does not have enough space.
44077 * libio/tst-ftell-partial-wide.c: New test case.
44078 * libio/Makefile (tests): Add tst-ftell-partial-wide.
44079
44080 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44081 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
44082 Leonard and Allan McRae.
44083
44084 2014-02-04 David S. Miller <davem@davemloft.net>
44085
44086 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44087 32-bit.
44088
44089 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44090
44091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44092 New file
44093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44094 New file
44095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44096 New file.
44097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44098 New file.
44099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44100 New file.
44101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44102 New file.
44103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44104 New file.
44105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44106 New file.
44107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44108 New file.
44109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44110 New file.
44111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44112 New file.
44113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44114 New file.
44115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44116 New file.
44117
44118 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44119
44120 * nptl/shlib-versions: Change powerpc*le start to 2.17.
44121 * shlib-versions: Likewise.
44122
44123 2014-02-04 Roland McGrath <roland@hack.frob.com>
44124 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44125
44126 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44127 (abilist-pattern): New variable, set to %-le.abilist.
44128
44129 * Makerules (abilist-pattern): New variable.
44130 (vpath): Use $(abilist-pattern) in place of %.abilist.
44131 (check-abi-% pattern rule): Likewise.
44132 (check-abi, update-abi): Likewise.
44133
44134 2014-02-04 Eric Wong <normalperson@yhbt.net>
44135
44136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44137
44138 2014-02-03 Carlos O'Donell <carlos@redhat.com>
44139
44140 * manual/startup.texi: Add next, previous, and top entries for
44141 the `Program Arguments' and `Environment Variables' nodes.
44142
44143 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
44144
44145 * manual/macros.texi: Add comments before MTASC-safety macros.
44146
44147 * manual/users.texi: Document MTASC-safety properties.
44148
44149 * manual/threads.texi (pthread_key_create, pthread_key_delete)
44150 (pthread_getspecific, pthread_setspecific): Format with
44151 @deftypefun, and add @safety note.
44152 * manual/signal.texi: Move comments that analyze the above
44153 functions to their home place.
44154
44155 2014-02-03 Allan McRae <allan@archlinux.org>
44156
44157 * po/sl.po: Update Slovenian translation from translation project.
44158
44159 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
44160
44161 * manual/time.texi (timegm): Add missing blank after @c.
44162 Reported by Joseph Myers <joseph@codesourcery.com>.
44163
44164 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
44165
44166 * manual/check-safety.sh: New.
44167 * manual/Makefile ($(objpfx)stamp-summary): Run it.
44168
44169 * manual/terminal.texi: Document MTASC-safety properties.
44170
44171 * manual/filesys.texi: Document MTASC-safety properties.
44172
44173 * manual/errno.texi: Document MTASC-safety properties.
44174
44175 * manual/intro.texi: Document safety identifiers and
44176 conditionals.
44177
44178 * manual/string.texi (wcstok): Fix prototype.
44179 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44180
44181 * manual/time.texi: Document MTASC-safety properties.
44182
44183 * manual/string.texi: Document MTASC-safety properties.
44184
44185 * manual/threads.texi: Document MTASC-safety properties.
44186
44187 * manual/stdio.texi: Document MTASC-safety properties.
44188
44189 * manual/syslog.texi: Document MTASC-safety properties.
44190
44191 * manual/sysinfo.texi: Document MTASC-safety properties.
44192
44193 * manual/startup.texi: Document MTASC-safety properties.
44194
44195 * manual/socket.texi: Document MTASC-safety properties.
44196
44197 * manual/signal.texi: Document MTASC-safety properties.
44198
44199 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
44200
44201 * manual/setjmp.texi: Document MTASC-safety properties.
44202
44203 * manual/search.texi: Document MTASC-safety properties.
44204
44205 * manual/resource.texi: Document MTASC-safety properties.
44206
44207 * manual/process.texi: Document MTASC-safety properties.
44208
44209 * manual/platform.texi: Document MTASC-safety properties.
44210
44211 * manual/pipe.texi: Document MTASC-safety properties.
44212
44213 * manual/pattern.texi: Document MTASC-safety properties.
44214
44215 * manual/message.texi: Document MTASC-safety properties.
44216
44217 [BZ #12751]
44218 * manual/memory.texi: Document MTASC-safety properties.
44219
44220 * manual/math.texi: Document MTASC-safety properties.
44221
44222 * manual/locale.texi: Document MTASC-safety properties.
44223
44224 * manual/llio.texi: Document MTASC-safety properties.
44225
44226 * manual/libdl.texi: New.
44227
44228 * manual/lang.texi: Document MTASC-safety properties.
44229
44230 * manual/job.texi: Document MTASC-safety properties.
44231
44232 * manual/getopt.texi: Document MTASC-safety properties.
44233
44234 * manual/ctype.texi: Document MTASC-safety properties.
44235
44236 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
44237
44238 [BZ #16046]
44239 * csu/libc-tls.c (static_map): Remove variable.
44240 (__libc_setup_tls): Use main executable's link map for TLS data.
44241 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44242 casing for LM_ID_BASE and GL(dl_nns).
44243 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44244 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
44245 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44246 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44247 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44248 member.
44249 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44250 l_phnum members.
44251
44252 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
44253
44254 * manual/debug.texi: Document MTASC-safety properties.
44255
44256 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
44257
44258 [BZ #16510]
44259 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44260 of __x86_64__ when disabling x87 inline functions.
44261
44262 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
44263
44264 * manual/charset.texi: Document MTASC-safety properties.
44265
44266 * manual/crypt.texi: Document MTASC-safety properties.
44267
44268 * manual/conf.texi: Document MTASC-safety properties.
44269
44270 * manual/arith.texi: Document MTASC-safety properties.
44271
44272 * manual/argp.texi: Document MTASC-safety properties.
44273
44274 * manual/macros.texi: Introduce macros to document multi
44275 thread, asynchronous signal and asynchronous cancellation
44276 safety properties.
44277 * manual/intro.texi: Introduce the properties themselves.
44278
44279 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44280
44281 * sysdeps/sh/sh4/Makefile: New file.
44282
44283 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
44284
44285 * math/gen-libm-test.pl ($srcdir): New variable.
44286 ($auto_input): Use it.
44287
44288 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44289
44290 [BZ #16506]
44291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44292 access beyond array bounds when parsing netgroups file.
44293
44294 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44295 the old buffer before realloc.
44296
44297 2014-01-27 Allan McRae <allan@archlinux.org>
44298
44299 * po/fr.po: Update French translation from translation project.
44300
44301 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44302
44303 * sysdeps/sh/libm-test-ulps: Regenerate.
44304
44305 2014-01-24 David S. Miller <davem@davemloft.net>
44306
44307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44308
44309 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44310
44311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44312 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44313
44314 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
44315
44316 [BZ #16474]
44317 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44318 string pointers after reallocation.
44319
44320 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44321
44322 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44323 __SH4A__ instead of __SH_FPU_ANY__.
44324
44325 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44326
44327 * sysdeps/sh/fpu_control.h: New file.
44328 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44330 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44331 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44332 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44333 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44334 * sysdeps/sh/sys/ucontext.h: Remove.
44335 * sysdeps/sh/sys: Remove directory.
44336
44337 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44338
44339 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44340 s390/sys/ucontext.h.
44341 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44343
44344 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
44345
44346 [BZ #15605]
44347 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44348
44349 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44350
44351 [BZ#16431]
44352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44353 Adjust the vDSO correctly for internal calls.
44354 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44355
44356 2014-01-20 Allan McRae <allan@archlinux.org>
44357
44358 * po/ca.po: Update Catalan translation from translation project.
44359
44360 2014-01-16 Mike Frysinger <vapier@gentoo.org>
44361
44362 * sysdeps/s390/sotruss-lib.c: New file.
44363
44364 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44365
44366 [BZ#16430]
44367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44368 (__GI___gettimeofday): Alias for a different internal symbol to avoid
44369 local calls issues by not having a PLT stub required for IFUNC calls.
44370 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44371
44372 2014-01-16 Joseph Myers <joseph@codesourcery.com>
44373
44374 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44375 * math/test-fpucw-static.c: Likewise.
44376
44377 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44378
44379 [BZ #16453]
44380 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44381
44382 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44383
44384 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44385 implementation for powerpc.
44386
44387 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
44388
44389 [BZ #14782]
44390 * sysdeps/posix/system.c (__libc_system): Do not enable
44391 asynchronous cancellation.
44392
44393 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44394
44395 [BZ #16427]
44396 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44397 handling only for numbers special also in the IEEE case.
44398
44399 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44400
44401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44402
44403 2014-01-11 Allan McRae <allan@archlinux.org>
44404
44405 * po/bg.po: Update Bulgarian translation from translation project.
44406
44407 * po/de.po: Update German translation from translation project.
44408
44409 2014-01-10 Roland McGrath <roland@hack.frob.com>
44410
44411 * sysdeps/generic/gcc-compat.h: New file.
44412
44413 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44414
44415 * benchtests/asin-inputs: Correct slow inputs.
44416 * benchtests/acos-inputs: Likewise.
44417
44418 2014-01-10 Allan McRae <allan@archlinux.org>
44419
44420 * po:sv.po: Update Swedish translation from translation project.
44421
44422 * po/vi.po: Update Vietnamese translation from translation project.
44423
44424 * po/eo.po: Update Esperanto translation from translation project.
44425
44426 * po/cs.po: Update Czech translation from translation project.
44427
44428 * po/nl.po: Update Dutch translation from translation project.
44429
44430 * po/pl.po: Update Polish translation from translation project.
44431
44432 * po/ru.po: Update Russian translation from translation project.
44433
44434 * po/uk.po: Update Ukrainian translation from translation project.
44435
44436 2014-01-08 Brooks Moses <bmoses@google.com>
44437
44438 * elf/dl-load.c: Fix comment typo.
44439
44440 2014-01-08 Carlos O'Donell <carlos@redhat.com>
44441
44442 * po/header.pot: Rename to...
44443 * po/pot.header: ... this.
44444 * po/Makefile: Use pot.header.
44445
44446 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
44447 Maxim Kuvyrkov <maxim@kugelworks.com>
44448
44449 [BZ #16394]
44450 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44451 SRC and DEST against LEN.
44452
44453 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44454
44455 [BZ #16414]
44456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44457 implementation.
44458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44459
44460 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44461
44462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44463
44464 2014-01-08 Joseph Myers <joseph@codesourcery.com>
44465
44466 [BZ #16408]
44467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44468 for large positive arguments.
44469
44470 2014-01-07 Joseph Myers <joseph@codesourcery.com>
44471
44472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44473
44474 * math/auto-libm-test-in: Mark various tests with
44475 xfail-rounding:ldbl-128ibm.
44476 * math/auto-libm-test-out: Regenerated.
44477
44478 [BZ #16407]
44479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44480 Increase overflow threshold.
44481
44482 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
44483
44484 [BZ #14286]
44485 * stdio-common/vfprintf.c: Check for integer overflow.
44486
44487 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44488
44489 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44490 the first argument and return value of __tls_get_addr_internal.
44491
44492 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44493
44494 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44495 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44496
44497 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44498
44499 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44500 * sysdeps/s390/rtld-global-offsets.sym: New file.
44501 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44502 GLIBC_2.19 symbol.
44503 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44506 ... this.
44507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44509 ... this.
44510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44511 Regenerate.
44512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44513 Regenerate.
44514 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44515 halfs of GPRs for high_gprs contexts.
44516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44517 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
44518 field.
44519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44520 uc_flags field.
44521 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44522 64 bit versions:
44523 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44524 for high GPRs (uc_high_gprs) and for future extensions
44525 (__reserved).
44526 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44527 for future extensions (__reserved).
44528 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44529 64 bit versions:
44530 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44531 SC_HIGHGPRS offset definition.
44532 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44533 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44534
44535 * Versions.def: Add GLIBC_2.19 for libpthread.
44536 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44537 siglongjmp for libpthread with GLIBC_2.19 symver.
44538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44539 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44540 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44541 * sysdeps/s390/__longjmp.c: New file.
44542 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44543 * sysdeps/s390/longjmp.c: New file.
44544 * sysdeps/s390/setjmp.S: New file.
44545 * sysdeps/s390/sigjmp.S: New file.
44546 * sysdeps/s390/v1-longjmp.c: New file.
44547 * sysdeps/s390/v1-setjmp.h: New file.
44548 * sysdeps/s390/v1-sigjmp.c: New file.
44549 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44550 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44551 GLIBC_2.19 version.
44552 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44553 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44554 versioned symbols for ____longjmp_chk.
44555 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44556 Likewise.
44557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44558 Regenerate.
44559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44560 Regenerate.
44561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44562 Regenerate.
44563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44564 Regenerate.
44565 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44566 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44567 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44568 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44569 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44570 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44571 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44572 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44573 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44574 * sysdeps/s390/rtld-__longjmp.c: New file.
44575 * sysdeps/s390/rtld-setjmp.S: New file.
44576
44577 2014-01-06 Joseph Myers <joseph@codesourcery.com>
44578
44579 [BZ #16400]
44580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44581 Return -__logl (x) for small positive arguments without evaluating
44582 a polynomial.
44583
44584 2014-01-06 Mike Frysinger <vapier@gentoo.org>
44585
44586 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44587 Rename to ...
44588 (__ptrace_peeksiginfo_args): ... this.
44589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44592
44593 2014-01-06 Allan McRae <allan@archlinux.org>
44594
44595 * inet/netinet/in.h: Fix typo in comment.
44596
44597 2014-01-05 Andreas Jaeger <aj@suse.de>
44598
44599 * sysdeps/i386/fpu/libm-test-ulps: Update.
44600
44601 2014-01-05 Allan McRae <allan@archlinux.org>
44602
44603 * po/libc.pot: Regenerated.
44604
44605 * malloc/memusagestat.c: Fix gettext call formatting.
44606
44607 2014-01-04 Sami Kerola <kerolasa@iki.fi>
44608
44609 * nscd/nscd.c: Improve usage() output.
44610
44611 2014-01-04 Mike Frysinger <vapier@gentoo.org>
44612
44613 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44614 * sysdeps/unix/sysv/linux/configure: Regenerated.
44615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44616 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44617
44618 2014-01-03 Joseph Myers <joseph@codesourcery.com>
44619
44620 [BZ #16390]
44621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44622 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44623
44624 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44625
44626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44627 extra tokens at end of #undef directive.
44628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44629 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44631
44632 2014-01-03 Joseph Myers <joseph@codesourcery.com>
44633
44634 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44635
44636 * math/auto-libm-test-in: Mark various tests with
44637 xfail-rounding:ldbl-128ibm.
44638 * math/auto-libm-test-out: Regenerated.
44639
44640 2014-01-02 Joseph Myers <joseph@codesourcery.com>
44641
44642 [BZ #16386]
44643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44644 numbers with subnormal high part when calculating exponent.
44645
44646 [BZ #16385]
44647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44648 fabs.
44649
44650 [BZ #16384]
44651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44652 M_LN2l.
44653 (__ieee754_acoshl): Use __log1pl not __log1p.
44654
44655 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
44656
44657 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44658 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44659 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44660 (grow_heap, heap_trim, _int_new_arena, get_free_list)
44661 (reused_arena, arena_get2): Convert to GNU style.
44662 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44663 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44664 (memalign_check, __malloc_set_state): Likewise.
44665 * malloc/mallocbug.c (main): Likewise.
44666 * malloc/malloc.c (__malloc_assert, malloc_init_state)
44667 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44668 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44669 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44670 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44671 (__posix_memalign, malloc_info): Likewise.
44672 * malloc/malloc.h: Likewise.
44673 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44674 (mallochook, memalignhook, reallochook, mabort): Likewise.
44675 * malloc/mcheck.h: Likewise.
44676 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44677 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44678 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44679 * malloc/morecore.c (__default_morecore): Likewise.
44680 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44681 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44682 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44683 (print_and_abort): Likewise.
44684 * malloc/obstack.h: Likewise.
44685 * malloc/set-freeres.c (__libc_freeres): Likewise.
44686 * malloc/tst-mallocstate.c (main): Likewise.
44687 * malloc/tst-mtrace.c (main): Likewise.
44688 * malloc/tst-realloc.c (do_test): Likewise.
44689
44690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44691
44692 [BZ #16366]
44693 * nscd/netgroupcache.c (do_notfound): New function.
44694 (addgetnetgrentX): Use it.
44695
44696 [BZ # 16365]
44697 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44698 NSS_STATUS_NOTFOUND.
44699
44700 2014-01-01 Joseph Myers <joseph@codesourcery.com>
44701
44702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44704
44705 2014-01-01 Allan McRae <allan@archlinux.org>
44706
44707 * scripts/update-copyrights: Update configure input file suffix.
44708
44709 * NEWS: Update copyright year.
44710 * catgets/gencat.c: Likewise.
44711 * csu/version.c: Likewise.
44712 * debug/catchsegv.sh: Likewise.
44713 * debug/pcprofiledump.c: Likewise.
44714 * debug/xtrace.sh: Likewise.
44715 * elf/ldconfig.c: Likewise.
44716 * elf/ldd.bash.in: Likewise.
44717 * elf/pldd.c: Likewise.
44718 * elf/sotruss.ksh: Likewise.
44719 * elf/sprof.c: Likewise.
44720 * iconv/iconv_prog.c: Likewise.
44721 * iconv/iconvconfig.c: Likewise.
44722 * locale/programs/locale.c: Likewise.
44723 * locale/programs/localedef.c: Likewise.
44724 * login/programs/pt_chown.c: Likewise.
44725 * malloc/memusage.sh: Likewise.
44726 * malloc/memusagestat.c: Likewise.
44727 * malloc/mtrace.pl: Likewise.
44728 * manual/libc.texinfo: Likewise.
44729 * nscd/nscd.c: Likewise.
44730 * nss/getent.c: Likewise.
44731 * nss/makedb.c: Likewise.
44732 * posix/getconf.c: Likewise.
44733 * scripts/test-installation.pl: Likewise.
44734
44735 * All files with FSF copyright notices: Update copyright dates
44736 using scripts/update-copyrights.
44737 * intl/plural.c: Regenerated.
44738 * locale/programs/charmap-kw.h: Likewise.
44739 * locale/programs/locfile-kw.h: Likewise.
44740
44741 2013-12-31 Mike Frysinger <vapier@gentoo.org>
44742
44743 * sysdeps/unix/sysv/linux/configure: Regenerated.
44744 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44745 the linux/fanotify.h header.
44746 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44747 HAVE_LINUX_FANOTIFY_H is defined.
44748
44749 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44750
44751 * benchtests/cos-inputs: New inputs.
44752 * benchtests/sin-inputs: Likewise.
44753
44754 * benchtests/atan-inputs: New inputs. Fix name of multiple
44755 precision fallback inputs.
44756
44757 * benchtests/atanh-inputs: New inputs.
44758 * benchtests/tanh-inputs: Likewise.
44759
44760 * benchtests/acosh-inputs: New inputs.
44761 * benchtests/asinh-inputs: Likewise.
44762
44763 * benchtests/cosh-inputs: New inputs.
44764 * benchtests/sinh-inputs: Likewise.
44765
44766 * benchtests/acos-inputs: Add more inputs.
44767 * benchtests/asin-inputs: Likewise.
44768
44769 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
44770
44771 [BZ #16375]
44772 * manual/arith.texi: Fix spelling.
44773 * manual/charset.texi: Likewise.
44774 * manual/errno.texi: Likewise.
44775 * manual/filesys.texi: Likewise.
44776 * manual/lang.texi: Likewise.
44777 * manual/llio.texi: Likewise.
44778 * manual/locale.texi: Likewise.
44779 * manual/message.texi: Likewise.
44780 * manual/resource.texi: Likewise.
44781 * manual/search.texi: Likewise.
44782 * manual/setjmp.texi: Likewise.
44783 * manual/stdio.texi: Likewise.
44784 * manual/string.texi: Likewise.
44785 * manual/sysinfo.texi: Likewise.
44786 * manual/time.texi: Likewise.
44787
44788 2013-12-27 Carlos O'Donell <carlos@redhat.com>
44789
44790 * po/sl.po: New file.
44791
44792 2013-12-27 Mike Frysinger <vapier@gentoo.org>
44793
44794 * .gitignore: Add core/.gdbinit/.gdb_history.
44795
44796 2013-12-27 Allan McRae <allan@archlinux.org>
44797
44798 [BZ #16369]
44799 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44800 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44801
44802 2013-12-24 Brooks Moses <bmoses@google.com>
44803
44804 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44805 all compilers that claim C++98 compliance, not just GCC.
44806 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44807 Likewise.
44808
44809 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
44810
44811 * NEWS: Restore accidentally deleted bug-fix entries.
44812
44813 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
44814 Ondřej Bílka <neleai@seznam.cz>
44815
44816 [BZ #15073]
44817 * malloc/malloc.c (_int_free): Perform sanity check only if we
44818 have_lock.
44819
44820 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
44821
44822 [BZ #12986]
44823 * manual/stdio.texi (String Input Conversions): Clarify that character
44824 classes are not supported.
44825
44826 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44827
44828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44829
44830 2013-12-22 Joseph Myers <joseph@codesourcery.com>
44831
44832 [BZ #16337]
44833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44834 Calculate results for small negative arguments directly rather
44835 than using reflection formula with special underflow handling.
44836
44837 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44838 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44839 sysdeps/unix/bsd/bsd4.4/syscalls.list.
44840 (fchflags): Likewise.
44841 (revoke): Likewise.
44842 (setlogin): Likewise.
44843 (sigaltstack): Likewise.
44844 (wait4): Likewise.
44845 (sigblock): Remove.
44846 (sigsetmask): Likewise.
44847 (wait3): Likewise.
44848 (waitpid): Likewise.
44849 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44850 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44851 file.
44852 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44853 * sysdeps/unix/bsd/Makefile: ... here.
44854 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44855 * sysdeps/unix/bsd/Versions: ... here.
44856 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44857 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44858 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44859 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44860 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44861 * sysdeps/unix/bsd/sigblock.c: ... here.
44862 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44863 * sysdeps/unix/bsd/sigsetmask.c: ... here.
44864 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44865 * sysdeps/unix/bsd/sigvec.c: ... here.
44866 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44867 * sysdeps/unix/bsd/tcdrain.c: ... here.
44868 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44869 * sysdeps/unix/bsd/tcgetattr.c: ... here.
44870 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44871 * sysdeps/unix/bsd/tcsetattr.c: ... here.
44872 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44873 * sysdeps/unix/bsd/wait.c: ... here.
44874 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44875 * sysdeps/unix/bsd/wait3.c: ... here.
44876 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44877 * sysdeps/unix/bsd/waitpid.c: ... here.
44878
44879 2013-12-21 Joseph Myers <joseph@codesourcery.com>
44880
44881 [BZ #16356]
44882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44883 round-to-nearest for [!USE_AS_EXPM1L].
44884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44885 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
44886 more tests of exp and exp10. Expect some exp10 tests to miss
44887 exceptions or fail in directed rounding modes.
44888 * math/auto-libm-test-out: Regenerated.
44889 * math/libm-test.inc (exp10_tonearest_test_data): New array.
44890 (exp10_test_tonearest): New function.
44891 (exp10_towardzero_test_data): New array.
44892 (exp10_test_towardzero): New function.
44893 (exp10_downward_test_data): New array.
44894 (exp10_test_downward): New function.
44895 (exp10_upward_test_data): New array.
44896 (exp10_test_upward): New function.
44897 (main): Call the new functions.
44898 * sysdeps/i386/fpu/libm-test-ulps: Update.
44899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44900
44901 2013-12-20 Joseph Myers <joseph@codesourcery.com>
44902
44903 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44904 asinh, atan, atan2, atanh, cbrt, cos and cosh.
44905 * math/auto-libm-test-out: Regenerated.
44906 * math/libm-test.inc (acosh_test_data): Add more tests.
44907 (atanh_test_data): Likewise.
44908 (ceil_test_data): Likewise.
44909 (copysign_test_data): Likewise.
44910 * sysdeps/i386/fpu/libm-test-ulps: Update.
44911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44912
44913 * timezone/checktab.awk: Update from tzcode 2013i.
44914 * timezone/private.h: Likewise.
44915 * timezone/scheck.c: Likewise.
44916 * timezone/tzfile.h: Likewise.
44917 * timezone/tzselect.ksh: Likewise.
44918 * timezone/zdump.c: Likewise.
44919 * timezone/zic.c: Likewise.
44920
44921 * math/auto-libm-test-in: Add tests of cpow.
44922 * math/auto-libm-test-out: Regenerated.
44923 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
44925 mpc_cc_c.
44926 (func_calc_desc): Add mpc_cc_c union field.
44927 (test_functions): Add cpow.
44928 (special_fill_2pi): New function.
44929 (special_real_inputs): Add 2pi.
44930 (calc_generic_results): Handle mpc_cc_c.
44931 * sysdeps/i386/fpu/libm-test-ulps: Update.
44932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44933
44934 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44935 csqrt, ctan and ctanh.
44936 * math/auto-libm-test-out: Regenerated.
44937 * math/libm-test.inc (TEST_COND_x86_64): New macro.
44938 (TEST_COND_x86): Likewise.
44939 (ccos_test_data): Use AUTO_TESTS_c_c.
44940 (ccosh_test_data): Likewise.
44941 (cexp_test_data): Likewise.
44942 (clog_test_data): Likewise.
44943 (csqrt_test_data): Likewise.
44944 (ctan_test_data): Likewise.
44945 (ctan_tonearest_test_data): Likewise.
44946 (ctan_towardzero_test_data): Likewise.
44947 (ctan_downward_test_data): Likewise.
44948 (ctan_upward_test_data): Likewise.
44949 (ctanh_test_data): Likewise.
44950 (ctanh_tonearest_test_data): Likewise.
44951 (ctanh_towardzero_test_data): Likewise.
44952 (ctanh_downward_test_data): Likewise.
44953 (ctanh_upward_test_data): Likewise.
44954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
44955 mpc_c_c.
44956 (func_calc_desc): Add mpc_c_c union field.
44957 (FUNC_mpc_c_c): New macro.
44958 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44959 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44960 ctanh.
44961 (special_fill_min_subnorm_p120): New function.
44962 (special_real_inputs): Add min_subnorm_p120.
44963 (calc_generic_results): Handle mpc_c_c.
44964 * sysdeps/i386/fpu/libm-test-ulps: Update.
44965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44966
44967 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44968
44969 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44970 (do_sin_slow): New functions.
44971 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44972 (cslow2, csloww1, csloww2): Use the new functions.
44973
44974 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44975 Use M to change sign of result instead of X. Assume X is
44976 positive.
44977 (csloww1): Likewise.
44978 (__sin): Adjust.
44979 (__cos): Adjust.
44980
44981 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44982 arguments A and DA.
44983 (__sin): Adjust.
44984 (__cos): Likewise.
44985
44986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44987 (__cos): Likewise.
44988 (sloww1): Don't adjust sign of DX.
44989 (csloww1): Likewise.
44990 (sloww2): Use X directly and don't adjust sign of DX.
44991 (csloww2): Likewise.
44992
44993 2013-12-19 Joseph Myers <joseph@codesourcery.com>
44994
44995 * math/auto-libm-test-in: Add tests of cabs and carg.
44996 * math/auto-libm-test-out: Regenerated.
44997 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44998 (carg_test_data): Likewise.
44999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45000 mpc_c_f.
45001 (func_calc_desc): Add mpc_c_f union field.
45002 (test_functions): Add cabs and carg.
45003 (calc_generic_results): Handle mpc_c_f.
45004
45005 * sysdeps/powerpc/powerpc32/libgcc-compat.S
45006 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45007 as a macro and a compat symbol.
45008 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45009 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45010 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45011 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45012 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45014 not use .hidden.
45015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45016 Likewise.
45017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45018 Likewise.
45019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45020 Likewise.
45021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45022 Likewise.
45023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45024 Likewise.
45025 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45026 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45027 from GLIBC_2.3.2.
45028
45029 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45030
45031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45032
45033 2013-12-19 Joseph Myers <joseph@codesourcery.com>
45034
45035 * manual/texinfo.tex: Update to version 2013-11-26.10 with
45036 trailing whitespace removed.
45037 * scripts/config.guess: Update to version 2013-11-29.
45038 * scripts/config.sub: Update to version 2013-10-01.
45039
45040 * math/auto-libm-test-in: Add tests of sincos.
45041 * math/auto-libm-test-out: Regenerated.
45042 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45044 mpfr_f_11.
45045 (func_calc_desc): Add mpfr_f_11 union field.
45046 (test_functions): Add sincos.
45047 (calc_generic_results): Handle mpfr_f_11.
45048 * sysdeps/i386/fpu/libm-test-ulps: Update.
45049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45050
45051 2013-12-19 Andreas Schwab <schwab@suse.de>
45052
45053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45054 CALL_MCOUNT.
45055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45057 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45058
45059 2013-12-19 Joseph Myers <joseph@codesourcery.com>
45060
45061 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45062 * sysdeps/i386/fpu/libm-test-ulps: Update.
45063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45064
45065 [BZ #16293]
45066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45067 round-to-nearest mode when using frndint.
45068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45069 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45071 Likewise.
45072 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
45073 sinh test to fail.
45074 * math/auto-libm-test-out: Regenerated.
45075 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45076 (TEST_COND_x86): Likewise.
45077 (expm1_tonearest_test_data): New array.
45078 (expm1_test_tonearest): New function.
45079 (expm1_towardzero_test_data): New array.
45080 (expm1_test_towardzero): New function.
45081 (expm1_downward_test_data): New array.
45082 (expm1_test_downward): New function.
45083 (expm1_upward_test_data): New array.
45084 (expm1_test_upward): New function.
45085 (main): Run the new test functions.
45086 * sysdeps/i386/fpu/libm-test-ulps: Update.
45087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088
45089 * include/features.h: Update comment documenting feature test
45090 macros. Mention _DEFAULT_SOURCE in comment.
45091 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45092 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45093 _BSD_SOURCE and _SVID_SOURCE.
45094 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45095 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45096 !_SVID_SOURCE]: Likewise.
45097 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45098 (__USE_POSIX_IMPLICITLY): Define.
45099 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45100 (_POSIX_SOURCE): Undefine and redefine.
45101 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45102 (_POSIX_C_SOURCE): Likewise.
45103 * manual/creature.texi (_DEFAULT_SOURCE): Document.
45104 (Feature Test Macros): Update documentation of default features.
45105
45106 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45107
45108 * benchtests/Makefile: Add bench-strtok.
45109 * benchtests/bench-strtok.c: New file: strtok benchtest.
45110
45111 2013-12-19 Allan McRae <allan@archlinux.org>
45112
45113 * manual/install.texi: Suppress menu for plain text output.
45114 * INSTALL: Regenerated.
45115
45116 2013-12-18 Brooks Moses <bmoses@google.com>
45117
45118 [BZ #15846]
45119 * misc/getauxval.c: Include errno.h.
45120 (__getauxval): Set errno to ENOENT if the requested type is not
45121 found.
45122 * misc/sys/auxv.h (getauxval): Document that it may set errno;
45123 don't declare with __attribute_const__.
45124 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45125 * manual/startup.texi: Document that getauxval sets errno.
45126
45127 2013-12-18 Joseph Myers <joseph@codesourcery.com>
45128
45129 * math/auto-libm-test-in: Add tests of jn and yn.
45130 * math/auto-libm-test-out: Regenerated.
45131 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45132 (yn_test_data): Likewise.
45133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45134 mpfr_if_f.
45135 (func_calc_desc): Add mpfr_if_f union field.
45136 (FUNC_mpfr_if_f): New macro.
45137 (test_functions): Add jn and yn.
45138 (calc_generic_results): Assert type of second input for
45139 mpfr_ff_f. Handle mpfr_if_f.
45140 (output_for_one_input_case): Disable all checking for arguments
45141 fitting floating-point types in case of an integer argument.
45142 * sysdeps/i386/fpu/libm-test-ulps: Update.
45143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45144
45145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45146 Don't expect fegetround reference in libm.so.
45147
45148 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45149
45150 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45151 $(config-cflags-nofma).
45152
45153 2013-12-18 Joseph Myers <joseph@codesourcery.com>
45154
45155 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45156 * math/auto-libm-test-out: Regenerated.
45157
45158 [BZ #16338]
45159 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45160 to determine exponent and adjust argument to have exponent of -1.
45161 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45162 log2.
45163 * math/auto-libm-test-out: Regenerated.
45164 * sysdeps/i386/fpu/libm-test-ulps: Update.
45165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45166
45167 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
45168
45169 * manual/probes.texi: Remove cases when per-thread arenas are
45170 disabled.
45171
45172 2013-12-18 Andreas Schwab <schwab@suse.de>
45173
45174 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45175 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45176 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45177 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45178 * sysdeps/i386/i686/multiarch/Makefile: Update.
45179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45180
45181 2013-12-17 Joseph Myers <joseph@codesourcery.com>
45182
45183 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45184 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45185
45186 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
45187
45188 [BZ #15968]
45189 Support TZ transition times < 00:00:00.
45190 This is needed for version-3 tz-format files; it supports time
45191 stamps past 2037 for America/Godthab (the only entry in the tz
45192 database for which this change is relevant).
45193 * manual/time.texi (TZ Variable): Document transition times
45194 from -167:59:59 through -00:00:01.
45195 * time/tzset.c (tz_rule): Time of day is now signed.
45196 (__tzset_parse_tz): Parse negative time of day.
45197
45198 Document TZ transition times >= 25:00:00.
45199 * manual/time.texi (TZ Variable): Document transition times from
45200 25:00:00 through 167:59:59. These are already supported, and this
45201 support will help with version-3 tz-format files.
45202
45203 * manual/time.texi (TZ Variable): Modernize North America example
45204 to reflect current (i.e., 2007-and-later) daylight saving rules.
45205
45206 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45207
45208 2013-12-17 Joseph Myers <joseph@codesourcery.com>
45209
45210 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45211 * sysdeps/unix/bsd/bits/stat.h: Likewise.
45212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45214 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45215 * sysdeps/unix/bsd/bsdstat.h: Likewise.
45216 * sysdeps/unix/bsd/clock.c: Likewise.
45217 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45218 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45219 * sysdeps/unix/bsd/init-posix.c: Likewise.
45220 * sysdeps/unix/bsd/poll.c: Likewise.
45221 * sysdeps/unix/bsd/ptsname.c: Likewise.
45222 * sysdeps/unix/bsd/seekdir.c: Likewise.
45223 * sysdeps/unix/bsd/setegid.c: Likewise.
45224 * sysdeps/unix/bsd/seteuid.c: Likewise.
45225 * sysdeps/unix/bsd/setgid.c: Likewise.
45226 * sysdeps/unix/bsd/setrgid.c: Likewise.
45227 * sysdeps/unix/bsd/setruid.c: Likewise.
45228 * sysdeps/unix/bsd/setsid.c: Likewise.
45229 * sysdeps/unix/bsd/setuid.c: Likewise.
45230 * sysdeps/unix/bsd/sigaction.c: Likewise.
45231 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45232 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45233 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45234 * sysdeps/unix/bsd/telldir.c: Likewise.
45235 * sysdeps/unix/bsd/times.c: Likewise.
45236 * sysdeps/unix/bsd/usleep.c: Likewise.
45237
45238 * misc/Makefile (install-lib): Remove libbsd-compat.a.
45239 ($(objpfx)libbsd-compat.a): Remove rule.
45240
45241 * include/features.h (__FAVOR_BSD): Do not define.
45242 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45243 features conflicting with POSIX.
45244 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45245 (_BSD_SOURCE): Remove description of not being a subset of other
45246 feature test macros.
45247 * manual/job.texi (getpgrp): Do not document BSD version.
45248 (getpgid): Do not document by reference to BSD getpgrp.
45249 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45250 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45251 * signal/signal.h [__FAVOR_BSD]: Likewise.
45252 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45253 instead of making contents conditional on [__FAVOR_BSD].
45254 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45255
45256 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45257
45258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45259
45260 2013-12-17 Joseph Myers <joseph@codesourcery.com>
45261
45262 [BZ #16314]
45263 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45264 values below 2**-450, not 2**-500.
45265 * math/auto-libm-test-in: Don't allow spurious underflow from
45266 hypot.
45267 * math/auto-libm-test-out: Regenerated.
45268
45269 [BZ #16316]
45270 [BZ #16330]
45271 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45272 values of ha and hb and sort them after adjusting subnormal
45273 arguments.
45274 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45275 Likewise.
45276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45277 values of ea and eb and sort them after adjusting subnormal
45278 arguments.
45279 * math/auto-libm-test-in: Do not expect some hypot tests of
45280 subnormals to fail. Add more hypot tests.
45281 * math/auto-libm-test-out: Regenerated.
45282
45283 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45284
45285 [BZ #13304]
45286 * sysdeps/sh/s_fma.c: New file.
45287 * sysdeps/sh/s_fmaf.c: New file.
45288 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
45289 version.
45290 * sysdeps/sh/Implies: Add sh/soft-fp.
45291
45292 2013-12-16 Roland McGrath <roland@hack.frob.com>
45293
45294 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
45295 level of indirection to members `objname', `errstring', `malloced'.
45296 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45297 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
45298 it as the __longjmp argument (just pass 1 instead).
45299 (_dl_catch_error): Initialize C with argument pointers and address of
45300 volatile local ERRCODE rather than copying values out of C at return.
45301
45302 2013-12-16 Joseph Myers <joseph@codesourcery.com>
45303
45304 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45305 * math/auto-libm-test-out: Regenerated.
45306 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45307 (hypot_test_data): Likewise.
45308 (pow_test_data): Likewise.
45309 (pow_tonearest_test_data): Likewise.
45310 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45311 mpfr_ff_f.
45312 (func_calc_desc): Add mpfr_ff_f union field.
45313 (FUNC_mpfr_ff_f): New macro.
45314 (test_functions): Add atan2, hypot and pow.
45315 (special_fill_min): New function.
45316 (special_fill_minus_min): Likewise.
45317 (special_fill_min_subnorm): Likewise.
45318 (special_fill_minus_min_subnorm): Likewise.
45319 (special_real_inputs): Add min, -min, min_subnorm and
45320 -min_subnorm.
45321 (calc_generic_results): Handle mpfr_ff_f.
45322 * sysdeps/i386/fpu/libm-test-ulps: Update.
45323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45324
45325 2013-12-16 Will Newton <will.newton@linaro.org>
45326
45327 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45328 (Aligned Memory Blocks): Add documentation for aligned_alloc
45329 and suggest it as an alternative to posix_memalign.
45330 (Hooks for Malloc): Document __memalign_hook is also called
45331 for aligned_alloc. (Summary of Malloc): Add summary for
45332 aligned alloc. Document __memalign_hook is also called
45333 for aligned_alloc.
45334
45335 2013-12-16 Will Newton <will.newton@linaro.org>
45336
45337 * manual/memory.texi (Malloc Examples): Clarify default
45338 alignment documentation. Suggest posix_memalign rather
45339 than memalign or valloc.
45340 (Aligned Memory Blocks): Remove suggestion to use memalign
45341 or valloc. Remove obsolete comment about BSD.
45342 Document memalign errno values and mark the function obsolete.
45343 Document posix_memalign returned error codes. Mark valloc
45344 as obsolete. (Hooks for Malloc): __memalign_hook is also
45345 called for posix_memalign and valloc.
45346 (Summary of Malloc): Add posix_memalign to function summary.
45347 __memalign_hook is also called for posix_memalign and valloc.
45348
45349 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45350
45351 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45352 TAYLOR_SIN.
45353 (__sin): Adjust.
45354 (__cos): Likewise.
45355 (sloww): Use mynumber union. Expand ternary operator into
45356 if-else statements.
45357 (cslow): use mynumber union.
45358
45359 2013-12-16 Allan McRae <allan@archlinux.org>
45360
45361 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45362 * configure: Regenerated.
45363
45364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45365
45366 [BZ #14120]
45367 * configure.ac: Added --enable-maintainer-mode. Check for
45368 autoconf when enabled.
45369 * configure: Regenerated.
45370
45371 * nscd/nscd.service: New file.
45372 * nscd/nscd.tmpfiles: New file.
45373
45374 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
45375
45376 [BZ #12100]
45377 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45378 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45379 * sysdeps/x86_64/multiarch/strstr.c: ... here.
45380 (strstr): Add __strstr_sse2_unaligned ifunc.
45381 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45382 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45383 (strcasestr): Remove __strcasestr_sse42 ifunc.
45384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45387
45388 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45389
45390 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45391 * sysdeps/sh/bits/fenv.h: ... here.
45392 * sysdeps/sh/sh4/fpu/bits: Remove directory.
45393
45394 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45395
45396 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45397
45398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45399 hypotf multiarch implementations.
45400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45402 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45403 multiarch hypot for PPC64.
45404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45407 multiarch hypotf for PPC64.
45408
45409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45410 modff multiarch implementations.
45411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45414 multiarch modf for PPC64.
45415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45418 multiarch modff for PPC64.
45419
45420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45421 and logl multiarch implementations.
45422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45425 multiarch logb for PPC64.
45426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45429 multiarch logb for PPC64.
45430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45433 multiarch logb for PPC64.
45434
45435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45436 isinff multiarch implementation.
45437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45438 file.
45439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45441 multiarch isinf for PPC64.
45442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45443 file.
45444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45445 multiarch isinff for PPC64.
45446
45447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45448 finitef multiarch implementation.
45449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45450 file.
45451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45453 multiarch finite for PPC64.
45454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45455 file.
45456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45457 multiarch finitef for PPC64.
45458
45459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45460 lrint multiarch implementation.
45461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45462 file.
45463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45465 multiarch llrint for PPC64.
45466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45467 multiarch lrint for PPC64.
45468
45469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45470 copysignf multiarch implementation.
45471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45472 file.
45473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45474 file.
45475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45476 multiarch copysign for PPC64.
45477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45478 multiarch copysignf for PPC64.
45479
45480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45481 multiarch implementation.
45482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45483 file.
45484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45485 file.
45486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45487 file.
45488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45489 file.
45490 multiarch llround for PPC64.
45491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45492 multiarch trunc for PPC64.
45493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45494 multiarch truncf for PPC64.
45495
45496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45497 multiarch implementation.
45498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45499 file.
45500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45501 file.
45502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45503 file.
45504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45505 file.
45506 multiarch llround for PPC64.
45507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45508 multiarch round for PPC64.
45509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45510 multiarch roundf for PPC64.
45511
45512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45513 multiarch implementation.
45514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45515 file.
45516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45517 file.
45518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45519 file.
45520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45521 file.
45522 multiarch llround for PPC64.
45523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45524 multiarch floor for PPC64.
45525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45526 multiarch floorf for PPC64.
45527
45528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45529 multiarch implementation.
45530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45531 file.
45532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45533 file.
45534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45535 file.
45536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45537 file.
45538 multiarch llround for PPC64.
45539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45540 multiarch ceil for PPC64.
45541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45542 multiarch ceilf for PPC64.
45543
45544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45545 multiarch implementation.
45546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45547 file.
45548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45549 file.
45550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45551 file.
45552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45553 multiarch llround for PPC64.
45554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45555 multiarch lround for PPC64.
45556
45557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45558 multiarch implementation.
45559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45562 file.
45563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45566 multiarch isnan for PPC64.
45567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45568 multiarch isnanf for PPC64.
45569
45570 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45571 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45572 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45574 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45576
45577 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45581
45582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45583 multiarch implementations.
45584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45585 (__libc_ifunc_impl_list): Likewise.
45586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45589 multiarch stpcpy for PPC64.
45590
45591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45592 multiarch implementations.
45593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45594 (__libc_ifunc_impl_list): Likewise.
45595 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45596 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45597 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45598 multiarch strcpy for PPC64.
45599
45600 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45601 redefine function name.
45602 (_wordcopy_fwd_dest_aligned): Likewise.
45603 (_wordcopy_bwd_aligned): Likewise.
45604 (_wordcopy_bwd_dest_aligned): Likewise.
45605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45606 multiarch implementations.
45607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45608 (__libc_ifunc_impl_list): Likewise.
45609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45612 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45613 multiarch wcscpy for PPC64.
45614
45615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45616 multiarch implementations.
45617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45618 (__libc_ifunc_impl_list): Likewise.
45619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45621 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45623 multiarch wcscpy for PPC64.
45624
45625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45626 multiarch implementations.
45627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45628 (__libc_ifunc_impl_list): Likewise.
45629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45631 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45632 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45633 multiarch wcsrchr for PPC64.
45634
45635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45636 multiarch implementations.
45637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45638 (__libc_ifunc_impl_list): Likewise.
45639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45640 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45641 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45642 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45643 multiarch wcschr for PPC64.
45644
45645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45646 multiarch implementations.
45647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45648 (__libc_ifunc_impl_list): Likewise.
45649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45652 multiarch strchrnul for PPC64.
45653
45654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45655 implementations.
45656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45657 (__libc_ifunc_impl_list): Likewise.
45658 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45659 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45660 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45661 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45662 strchr for PPC64.
45663
45664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45665 implementations.
45666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45667 (__libc_ifunc_impl_list): Likewise.
45668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45669 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45670 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45671 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45672 strncmp for PPC64.
45673
45674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45675 multiarch implementations.
45676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45677 (__libc_ifunc_impl_list): Likewise.
45678 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45679 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45680 strncasecmp for PPC64.
45681 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45682 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45683 multiarch strncasecmp_l for PPC64.
45684
45685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45686 multiarch implementations.
45687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45688 (__libc_ifunc_impl_list): Likewise.
45689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45691 multiarch strcasecmp for PPC64.
45692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45693 file.
45694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45695 multiarch strcasecmp_l for PPC64.
45696
45697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45698 implementations.
45699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45700 (__libc_ifunc_impl_list): Likewise.
45701 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45702 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45703 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45704 strnlen for PPC64.
45705
45706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45707 implementations.
45708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45709 (__libc_ifunc_impl_list): Likewise.
45710 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45712 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45713 strlen for PPC64.
45714
45715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45716 implementations.
45717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45718 (__libc_ifunc_impl_list): Likewise.
45719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45721 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45722 rawmemrchr for PPC64.
45723
45724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45725 implementation.
45726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45727 (__libc_ifunc_impl_list): Likewise.
45728 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45729 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45730 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45731 memrchr for PPC64.
45732
45733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45734 implementation.
45735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45736 (__libc_ifunc_impl_list): Likewise.
45737 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45738 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45739 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45740 memchr for PPC64.
45741
45742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45743 implementation.
45744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45745 (__libc_ifunc_impl_list): Likewise.
45746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45749 mempcpy for PPC64.
45750
45751 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45752 avoid cretion of __bzero symbol.
45753 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45754 Likewise.
45755 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45756 Likewise.
45757 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45758 Likewise.
45759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45760 multiarch implementations.
45761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45762 (__libc_ifunc_impl_list): Likewise.
45763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45764 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45765 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45766 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45767 bzero for PPC32.
45768 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45769 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45770 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45772 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45773 memset for PPC64.
45774 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45775
45776 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45778 implementations.
45779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45780 (__libc_ifunc_impl_list): Likewise.
45781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45783 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45784 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45785 memcmp for PPC64.
45786
45787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45788 multiarch for POWER/PPC64.
45789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45790 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45797 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45798 memcpy for PPC64.
45799
45800 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45801 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45802 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45803 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45804 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45805 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45806 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45807 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45808 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45809 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45810 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45811 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45812 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45813 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45814 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45822
45823 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45824
45825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45826
45827 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45828
45829 * benchtests/Makefile (bench): Add exp2 and log2.
45830 (LDLIBS-bench-exp2): Add -lm.
45831 (LDLIBS-bench-log2): Likewise.
45832 * benchtests/exp2-inputs: New inputs file.
45833 * benchtests/log2-inputs: New inputs file.
45834 * benchtests/log-inputs: Add new inputs.
45835 * benchtests/tan-inputs: Likewise.
45836
45837 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45838
45839 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45840 definition...
45841 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45842 (csloww2): ... from here.
45843
45844 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45845 instead of structures.
45846 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45847 (POLYNOMIAL): Likewise.
45848 (TAYLOR_SLOW): Likewise.
45849 (__sin): Likewise.
45850 (__cos): Likewise.
45851 (slow1): Likewise.
45852 (slow2): Likewise.
45853 (sloww): Likewise.
45854 (sloww1); Likewise.
45855 (sloww2): Likewise.
45856 (bsloww1): Likewise.
45857 (bsloww2): Likewise.
45858 (cslow2): Likewise.
45859 (csloww): Likewise.
45860 (csloww1): Likewise.
45861 (csloww2): Likewise.
45862
45863 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
45864
45865 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45866 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45867 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45868 * malloc/hooks.c (realloc_check): Likewise.
45869
45870 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45871 * malloc/arena.c: Remove PER_THREAD conditional.
45872 [!PER_THREAD]: Remove code.
45873 (ptmalloc_unlock_all2): Likewise.
45874 (ptmalloc_init): Likewise.
45875 (_int_new_arena): Likewise.
45876 (arena_get2): Likewise.
45877 * malloc/hooks.c (__malloc_get_state): Likewise.
45878 (__malloc_set_state): Likewise.
45879 * malloc/malloc.c: Likewise.
45880 (struct malloc_state): Likewise.
45881 (struct malloc_par): Likewise.
45882 (__libc_realloc): Likewise.
45883 (__libc_mallopt): Likewise.
45884
45885 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45886
45887 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45888
45889 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
45890
45891 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45892 macro to a function. Check for zero perturb_byte.
45893 (_int_malloc, _int_free): Remove zero perturb_byte checks.
45894
45895 * malloc/malloc.c: (force_reg): Remove.
45896 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45897 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45898 force_reg by atomic_forced_read.
45899 * malloc/arena.c (ptmalloc_init): Likewise.
45900 * malloc/hooks.c (top_check): Likewise.
45901
45902 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45903
45904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45905
45906 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
45907
45908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45909
45910 2013-12-08 Joseph Myers <joseph@codesourcery.com>
45911
45912 * math/auto-libm-test-in: Add tests of lgamma.
45913 * math/auto-libm-test-out: Regenerated.
45914 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45915 (M_LOG_2_SQRT_PIl): Likewise.
45916 (lgamma_test_data): Use AUTO_TESTS_f_f1.
45917 * math/gen-auto-libm-tests.c (func_calc_method): Add value
45918 mpfr_f_f1.
45919 (func_calc_desc): Add mpfr_f_f1 union field.
45920 (ARGS1): New macro.
45921 (ARGS2): Likewise.
45922 (ARGS3): Likewise.
45923 (ARGS4): Likewise.
45924 (RET1): Likewise.
45925 (RET2): Likewise.
45926 (CALC): Likewise.
45927 (FUNC): Likewise.
45928 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45929 (test_functions): Add lgamma.
45930 (calc_generic_results): Handle mpfr_f_f1.
45931 * sysdeps/i386/fpu/libm-test-ulps: Update.
45932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45933
45934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45935
45936 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45937 __mpn_add_n for PowerPC64/POWER7.
45938 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45939 __mpn_sub_n for PowerPC64/POWER7.
45940
45941 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45942 __mpn_addmul_1 for PowerPC64.
45943 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45944 __mpn_submul_1 for PowerPC64.
45945 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45946 for PowerPC64.
45947 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45948 for PowerPC64.
45949
45950 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
45951
45952 [BZ #15089]
45953 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45954
45955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45956
45957 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45958
45959 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45960 add multiarch folders.
45961 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45962 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45963 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45964 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45965 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45966 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45967 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45968 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45969 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45970 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45971 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45978
45979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45980 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45982 New file.
45983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45984 New file.
45985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45986 multiarch __ieee754_hypot for PowerPC32.
45987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45988 New file.
45989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45990 New file.
45991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45992 multiarch __ieee754_hypotf for PowerPC32.
45993
45994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45995 long_double_symbol only if __logbl is defined.
45996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45997 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45999 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46001 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46003 path for implementation.
46004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46007 logb, and logbl multiarch implementations for PowerPC32.
46008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46009 file.
46010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46011 file.
46012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46013 multiarch logb for PowerPC32.
46014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46015 file.
46016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46017 file.
46018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46019 multiarch logbf for PowerPC32.
46020 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46022 file.
46023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46024 multiarch logbl implementation for PowerPC32.
46025
46026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46027 and modff multiarch implementations.
46028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46029 New file.
46030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46031 New file.
46032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46033 multiarch modf for PowerPC32.
46034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46035 New file.
46036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46037 New file.
46038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46039 multiarch modff for PowerPC32.
46040
46041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46042 and lrintf multiarch implementations.
46043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46044 New file.
46045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46046 New file.
46047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46048 multiarch lrint for PowerPC32.
46049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46050 file: multiarch lrintf for PowerPC32.
46051
46052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46053 and lroundf multiarch implementations.
46054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46055 New file.
46056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46057 New file.
46058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46059 New file.
46060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46061 multiarch lround for PowerPC32.
46062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46063 file: multiarch lroundf for PowerPC32.
46064
46065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46066 copysign and copysignf multiarch implementations.
46067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46068 New file.
46069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46070 New file.
46071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46072 file: multiarch copysign for PowerPC32.
46073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46074 file: multiarch copysignf for PowerPC32.
46075
46076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46077 and truncf multiarch implementations.
46078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46079 New file.
46080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46081 file.
46082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46083 multiarch trunc for PowerPC32.
46084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46085 New file.
46086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46087 New file.
46088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46089 multiarch truncf for PowerPC32.
46090
46091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46092 and roundf multiarch implementations.
46093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46094 New file.
46095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46096 file.
46097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46098 multiarch round for PowerPC32.
46099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46100 New file.
46101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46102 New file.
46103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46104 multiarch roundf for PowerPC32.
46105
46106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46107 and floorf multiarch implementations.
46108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46109 New file.
46110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46111 file.
46112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46113 multiarch floor for PowerPC32.
46114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46115 New file.
46116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46117 New file.
46118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46119 multiarch floorf for PowerPC32.
46120
46121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46122 and ceilf multiarch implementations.
46123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46124 New file.
46125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46126 file.
46127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46128 multiarch ceil for PowerPC32.
46129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46130 New file.
46131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46132 file.
46133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46134 multiarch ceilf for PowerPC32.
46135
46136 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46137 is defined.
46138 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46139 FINITEF is defined.
46140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46141 and finitef multiarch implementations.
46142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46143 New file.
46144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46145 file.
46146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46147 multiarch finite for PowerPC32.
46148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46149 New file.
46150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46151 file: multiarch finitef for PowerPC32.
46152
46153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46154 and isinff multiarch implementations.
46155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46156 file.
46157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46158 file.
46159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46160 multiarch isinf for PowerPC32.
46161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46162 New file.
46163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46164 multiarch isinff for PowerPC32.
46165
46166 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46167 alias when __isnan is defined.
46168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46169 and isnanf multiarch implementations.
46170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46171 file.
46172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46173 file.
46174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46175 file.
46176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46177 file.
46178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46179 multiarch isnan for PowerPC32.
46180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46181 New file.
46182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46183 New file.
46184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46185 multiarch isnanf for PowerPC32.
46186
46187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46188 and sqrtf multiarch implementations.
46189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46190 file.
46191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46192 file.
46193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46194 multiarch sqrt for PowerPC32.
46195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46196 file.
46197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46198 file.
46199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46200 multiarch sqrtf for PowerPC32.
46201
46202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46203 and llroundf multiarch implementations.
46204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46205 New file.
46206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46207 New file.
46208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46209 New file.
46210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46211 file: multiarch llround for PowerPC32.
46212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46213 file: multiarch llroundf for PowerPC32.
46214
46215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46216 multiarch PowerPC32 fpu implementations.
46217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46218 New file.
46219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46220 New file.
46221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46222 multiarch llrint for PowerPC32.
46223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46224 New file.
46225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46226 New file.
46227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46228 file.
46229
46230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46231
46232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46233 file.
46234 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46235 file.
46236 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46237 file.
46238 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46239 multiarch wordcopy for PPC32.
46240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46241 wordcopy objects.
46242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46243 (__libc_ifunc_impl_list): Likewise.
46244 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46245 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46247 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46249 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46250
46251 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46253 file.
46254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46255 file.
46256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46257 file.
46258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46259 multiarch wcscpy for PPC32.
46260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46261 multiarch objects.
46262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46263 (__libc_ifunc_impl_list): Likewise.
46264 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46265 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46266 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46267 sysdeps/powerpc/power6/wcscpy.c.
46268
46269 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46271 file.
46272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46273 file.
46274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46275 file.
46276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46277 multiarch wcsrchr for PPC32.
46278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46279 multiarch objects.
46280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46281 (__libc_ifunc_impl_list): Likewise.
46282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46283 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46284 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46285 sysdeps/powerpc/power6/wcsrchr.c.
46286
46287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46288 file.
46289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46290 file.
46291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46293 multiarch wcschr for PPc32.
46294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46295 multiarch objects.
46296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46297 (__libc_ifunc_impl_list): Likewise.
46298 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46299 * sysdeps/powerpc/power6/wcschr.c: ... to here.
46300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46301 sysdeps/powerpc/power6/wcschr.c.
46302
46303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46305 file.
46306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46307 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46308 file: multiarch strchr for PPC32.
46309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46310 multiarch objects.
46311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46312 (__libc_ifunc_impl_list): Likewise.
46313
46314 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46315 name.
46316 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46317 file.
46318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46319 file.
46320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46321 multiarch strchrnul for PPC32.
46322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46323 multiarch objects.
46324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46325 (__libc_ifunc_impl_list): Likewise.
46326
46327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46328 file.
46329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46330 multiarch strncasecmp for PPC32.
46331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46332 file.
46333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46334 multiarch strncasecmp_l for PPC32.
46335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46336 strncasecmp multiarch objects.
46337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46338 (__libc_ifunc_impl_list): Likewise.
46339
46340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46341 file.
46342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46343 multiarch strncasecmp for PPC32.
46344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46345 New file.
46346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46347 multiarch strcasecmp_l for PPC32.
46348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46349 multiarch objects.
46350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46351 (__libc_ifunc_impl_list): Likewise.
46352
46353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46354 file.
46355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46356 file.
46357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46358 multiarch strncmp for PPC32.
46359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46360 multiarch objects.
46361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46362 (__libc_ifunc_impl_list): Likewise.
46363
46364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46365 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46366 file.
46367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46368 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46370 multiarch objects.
46371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46372 (__libc_ifunc_impl_list): Likewise.
46373
46374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46375 file.
46376 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46377 file.
46378 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46380 multiarch objects.
46381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46382 (__libc_ifunc_impl_list): Likewise.
46383
46384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46385 file.
46386 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46387 file.
46388 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46389 multiarch rawmemchr for PPC32.
46390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46391 multiarch objects.
46392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46393 (__libc_ifunc_impl_list): Likewise.
46394
46395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46396 file.
46397 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46398 file.
46399 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46400 file: memrchr multiarch for PPC32.
46401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46402 multiarch objects.
46403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46404 (__libc_ifunc_impl_list): Likewise.
46405
46406 * string/memchr.c (__memchr): Using macro to redefine symbol name.
46407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46408 file.
46409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46411 multiarch memchr for PPC32.
46412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46413 multiarch objects.
46414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46415 (__libc_ifunc_impl_list): Likewise.
46416
46417 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46419 file.
46420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46421 file.
46422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46423 file: multiarch mempcpy for PPC32.
46424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46425 multiarch objects.
46426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46427 (__libc_ifunc_impl_list): Likewise.
46428
46429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46433 multiarch bzero for PPC32.
46434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46435 file.
46436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46437 file.
46438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46439 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46440 file: multiarch memset for PPC32.
46441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46443 memset multiarch objects.
46444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46445 (__libc_ifunc_impl_list): Likewise.
46446
46447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46448 file.
46449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46451 memcmp for PPC32.
46452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46454 multiarch objects.
46455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46456 (__libc_ifunc_impl_list): Likewise.
46457
46458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46461 file.
46462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46463 file.
46464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46465 file.
46466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46467 multiarch memcpy for PPC32.
46468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46469 multiarch objects.
46470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46471 (__libc_ifunc_impl_list): Likewise.
46472
46473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46474 support multiarch for POWER/PPC32.
46475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46476 Likewise.
46477 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46479 Implies file to make multiarch folder appers before the fpu and
46480 default folder for power4 configuration.
46481
46482 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46483
46484 * scripts/bench.pl: Append volatile keyword to type.
46485
46486 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46487
46488 * sysdeps/sh/sotruss-lib.c: New file.
46489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46490
46491 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46492
46493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46494
46495 2013-12-05 Joseph Myers <joseph@codesourcery.com>
46496
46497 [BZ #6810]
46498 * math/w_tgamma.c: Include <errno.h>.
46499 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
46500 * math/w_tgammaf.c: Include <errno.h>.
46501 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
46502 * math/w_tgammal.c: Include <errno.h>.
46503 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
46504 * math/auto-libm-test-in: Do not allow missing errno on tgamma
46505 underflow. Add more tgamma tests.
46506 * math/auto-libm-test-out: Regenerated.
46507 * sysdeps/i386/fpu/libm-test-ulps: Update.
46508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46509
46510 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46511 sin, sinh, tan, tanh, tgamma, y0 and y1.
46512 * math/auto-libm-test-out: Regenerated.
46513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
46514 (TEST_COND_x86): Likewise.
46515 (M_E2l): Remove macro.
46516 (M_E3l): Likewise.
46517 (M_2_SQRT_PIl): Likewise.
46518 (M_SQRT_PIl): Likewise.
46519 (M_1_DIV_El): Likewise.
46520 (log_test_data): Use AUTO_TESTS_f_f.
46521 (log10_test_data): Likewise.
46522 (log1p_test_data): Likewise.
46523 (log2_test_data): Likewise.
46524 (sin_test_data): Likewise.
46525 (sin_tonearest_test_data): Likewise.
46526 (sin_towardzero_test_data): Likewise.
46527 (sin_downward_test_data): Likewise.
46528 (sin_upward_test_data): Likewise.
46529 (sinh_test_data): Likewise.
46530 (sinh_tonearest_test_data): Likewise.
46531 (sinh_towardzero_test_data): Likewise.
46532 (sinh_downward_test_data): Likewise.
46533 (sinh_upward_test_data): Likewise.
46534 (tan_test_data): Likewise.
46535 (tan_tonearest_test_data): Likewise.
46536 (tan_towardzero_test_data): Likewise.
46537 (tan_downward_test_data): Likewise.
46538 (tan_upward_test_data): Likewise.
46539 (tanh_test_data): Likewise.
46540 (tgamma_test_data): Likewise.
46541 (y0_test_data): Likewise.
46542 (y1_test_data): Likewise.
46543 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46544 (special_real_inputs): Add pi/4.
46545 * sysdeps/i386/fpu/libm-test-ulps: Update.
46546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46547
46548 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46549
46550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46551 "longjmp_target" static probes.
46552 (__longjmp): Rename to __longjmp_symbol.
46553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46554 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46555 on which longjmp to generate.
46556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46558 probe.
46559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
46560 (__sigjmp_save): Rename to __sigjmp_save_symbol.
46561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46563 and __sigjmp_save_symbol based on which sigsetjmp to generated.
46564 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46566 __longjmp_symbol based on which __longjmp to generate.
46567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46568 probe.
46569 (setjmp): Rename to setjmp_symbol.
46570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
46571 (_setjmp): Rename to _setjmp_symbol.
46572 (__sigsetjmp): Rename to __sigsetjmp_symbol.
46573 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46574 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46575 which setjmp to generate.
46576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46577 "longjmp_target" static probes.
46578
46579 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46580
46581 * benchtests/README: Add note about output arguments.
46582 * benchtests/bench-sincos.c: Remove file.
46583 * benchtests/sincos-inputs: New file.
46584 * scripts/bench.pl: Identify output arguments and define
46585 static variables for them.
46586
46587 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46588
46589 [BZ #15941]
46590 * Makefile (INSTALL): Add install-plain.texi as the primary
46591 dependency.
46592 * manual/install-plain.texi: New file.
46593 * manual/install.texi: Include node directive only for
46594 non-plaintext output.
46595
46596 2013-12-04 Joseph Myers <joseph@codesourcery.com>
46597
46598 * stdlib/longlong.h: Update from GCC.
46599
46600 [BZ #6807]
46601 [BZ #15901]
46602 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46603 * math/w_j0f.c (y0f): Likewise.
46604 * math/w_j0l.c (__y0l): Likewise.
46605 * math/w_j1.c (y1): Likewise.
46606 * math/w_j1f.c (y1f): Likewise.
46607 * math/w_j1l.c (__y1l): Likewise.
46608 * math/w_jn.c (yn): Likewise.
46609 * math/w_jnf.c (ynf): Likewise.
46610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46611 Bessel function pole errors in _POSIX_ mode. Use NAN as return
46612 value for Bessel function domain errors outside _SVID_ mode.
46613 Adjust sign of return value for yn (negative integer, 0).
46614 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46615 by zero in return for negative x and set sign appropriately for
46616 negative n.
46617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46619 * math/libm-test.inc (y0_test_data): Add more tests and adjust
46620 expectations in error cases.
46621 (y1_test_data): Likewise.
46622 (yn_test_data): Likewise.
46623 * sysdeps/i386/fpu/libm-test-ulps: Update.
46624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46625
46626 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46627
46628 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46629 "64" to "64-v1". Add "64-v2".
46630 (abi-64-options): Rename to ...
46631 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
46632 (abi-64-condition): Rename to ...
46633 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
46634 (abi-64-ld-soname): Rename to ...
46635 (abi-64-v1-ld-soname): ... this.
46636 (abi-64-v2-options): Define.
46637 (abi-64-v2-condition): Likewise.
46638 (abi-64-v2-ld-soname): Likewise.
46639 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46644
46645 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46646 Alan Modra <amodra@gmail.com>
46647
46648 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46649 New versions for use with the ELFv2 ABI.
46650 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46651 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46652 declaration.
46653 (struct La_ppc64v2_retval): Likewise.
46654 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46655 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46656 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46657 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46658 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46660 Do not save or restore CR.
46661 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46662 (_dl_profile_resolve): Do no save or restore CR. Support extended
46663 return values for ELFv2 ABI. Fix location of FPR return registers.
46664 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46665 updated values for _CALL_ELF == 2.
46666 (La_regs, La_retval, int_retval): Likewise.
46667
46668 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46669
46670 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46671 (FRAME_MIN_SIZE_PARM): Likewise.
46672 (FRAME_BACKCHAIN): Likewise.
46673 (FRAME_CR_SAVE): Likewise.
46674 (FRAME_LR_SAVE): Likewise.
46675 (FRAME_TOC_SAVE): Likewise.
46676 (FRAME_PARM_SAVE): Likewise.
46677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46680 (call_mcount_parm_offset): New macro.
46681 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46682 (PROF): Use symbolic stack frame offsets.
46683 (TAIL_CALL_SYSCALL_ERROR): Likewise.
46684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46685 Redefine in terms of FRAME_MIN_SIZE.
46686 (_dl_runtime_resolve): Use symbolic stack frame offsets.
46687 (_dl_profile_resolve): Likewise. Update comment.
46688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46689 symbols stack frame offsets.
46690 (__sigsetjmp): Likewise.
46691 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46692 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46694 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46695
46696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46697 (FRAME_BACKCHAIN): Remove.
46698 (FRAME_CR_SAVE): Likewise.
46699 (FRAME_LR_SAVE): Likewise.
46700 (FRAME_COMPILER_DW): Likewise.
46701 (FRAME_LINKER_DW): Likewise.
46702 (FRAME_TOC_SAVE): Likewise.
46703 (FRAME_PARM_SAVE): Likewise.
46704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46705 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46706 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46708 (CHECK_SP): Use symbolic stack frame offsets.
46709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46710 zone" instead of caller's parameter save area for temp storage.
46711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46712 Likewise. Also, use symbolic stack frame offsets.
46713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46714 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46715 our own stack frame instead of the caller's.
46716 (__socket): Use symbolic stack frame offsets.
46717
46718 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46719 Alan Modra <amodra@gmail.com>
46720
46721 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46722 Define.
46723 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46724 (PPC64_LOCAL_ENTRY_OFFSET): Define.
46725 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46726 New function.
46727 (elf_machine_fixup_plt): Call it.
46728 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
46729 reloc arguments.
46730 (elf_machine_rela): Update call to elf_machine_plt_conflict.
46731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46732 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46733 r2 before calling target.
46734
46735 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46736 Alan Modra <amodra@gmail.com>
46737
46738 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46739 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46740 versions of macros to support ELFv2 ABI.
46741 (LOCALENTRY): New macro.
46742 (ENTRY, EALIGN): Use it.
46743 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46745 fall through into ENTRY entry point.
46746 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46747 Only define if _CALL_ELF != 2.
46748
46749 (elf_machine_matches_host): Verify ABI version matches.
46750 (RTLD_START): Use LOCALENTRY.
46751 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46752 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46753 (PLT_ENTRY_WORDS): New macro.
46754 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46755 (elf_machine_runtime_setup): Support ELFv2 ABI.
46756 (elf_machine_fixup_plt): Likewise.
46757 (elf_machine_plt_conflict): Likewise.
46758 (resolve_ifunc): Likewise.
46759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46761 Likewise.
46762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46763 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46765 (makecontext): Support ELFv2 ABI.
46766 * elf/elf.h (EF_PPC64_ABI): Define.
46767
46768 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46769
46770 * sysdeps/powerpc/powerpc64/sysdep.h
46771 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46772 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46773 (ENTRY) [ASSEMBLER]: ... but instead here ...
46774 (EALIGN) [ASSEMBLER]: ... and here.
46775 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46776 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46777 (ENTRY_2) [!ASSEMBLER]: Use it.
46778 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46779 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
46780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46781 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46784 Use PPC64_LOAD_FUNCPTR.
46785
46786 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46787
46788 2013-12-04 Alan Modra <amodra@gmail.com>
46789
46790 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46791 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46792 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46793 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46794
46795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46796 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46797 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46798 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46799 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46800 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46801
46802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
46803
46804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46805 (__makecontext): Fix incorrect CFI when backtracing out of
46806 context created via makecontext.
46807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46808 (__setcontext): Fix incorrect CFI during switch to new context.
46809 (__novec_setcontext): Likewise.
46810
46811 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
46812
46813 [BZ #4772]
46814 * time/strptime_l.c (__strptime_internal): Allow modifiers
46815 in strptime.
46816 * time/tst-strptime.c (day_tests): Add testcase.
46817
46818 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46819
46820 * scripts/bench.pl: Skip over blank lines.
46821
46822 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
46823
46824 [BZ #926]
46825 * manual/time.texi (Calendar Time): Clarify what timezone functions
46826 use.
46827
46828 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46829
46830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46831
46832 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
46833
46834 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46835 implementation.
46836 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46837 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46838 * debug/memset_chk.c (__memset_chk): Likewise.
46839 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46840 * debug/strncpy_chk.c: Likewise.
46841
46842 2013-12-03 Joseph Myers <joseph@codesourcery.com>
46843
46844 [BZ #15268]
46845 [BZ #15425]
46846 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46847 (__ieee754_exp): For possibly underflowing results, check size of
46848 result and force underflow exception if required.
46849 * math/auto-libm-test-in: Add more tests of exp.
46850 * math/auto-libm-test-out: Regenerated.
46851 * sysdeps/i386/fpu/libm-test-ulps: Update.
46852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46853
46854 [BZ #16283]
46855 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46856 * math/w_exp2f.c (__exp2f): Likewise.
46857 * math/w_exp2l.c (__exp2l): Likewise.
46858 * math/auto-libm-test-in: Do not allow missing errno on exp2
46859 underflow.
46860 * math/auto-libm-test-out: Regenerated.
46861
46862 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
46863
46864 [BZ #16274]
46865 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46866 handle filename validation.
46867 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46868 (do_open): Delete.
46869
46870 2013-12-03 Joseph Myers <joseph@codesourcery.com>
46871
46872 [BZ #6786]
46873 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46874 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46875 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46876 <float.h>.
46877 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46879 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46883 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46884 * math/auto-libm-test-in: Don't allow missing errno from erfc.
46885 Add more erfc tests.
46886 * math/auto-libm-test-out: Regenerated.
46887 * sysdeps/i386/fpu/libm-test-ulps: Update.
46888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46889
46890 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46891 exp2, expm1, j0 and j1.
46892 * math/auto-libm-test-out: Regenerated.
46893 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46894 (erfc_test_data): Likewise.
46895 (exp_test_data): Likewise.
46896 (exp_tonearest_test_data): Likewise.
46897 (exp_towardzero_test_data): Likewise.
46898 (exp_downward_test_data): Likewise.
46899 (exp_upward_test_data): Likewise.
46900 (exp10_test_data): Likewise.
46901 (exp2_test_data): Likewise.
46902 (expm1_test_data): Likewise.
46903 (j0_test_data): Likewise.
46904 (j1_test_data): Likewise.
46905 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46906 (input_flag_type): Add flag_xfail_rounding.
46907 (input_flags): Add xfail-rounding.
46908 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46909 (output_for_one_input_case): Handle flag_xfail_rounding.
46910 * sysdeps/i386/fpu/libm-test-ulps: Update.
46911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46912
46913 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
46914
46915 [BZ #16289]
46916 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46917 division by 0.
46918
46919 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
46920
46921 [BZ #16195]
46922 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46923 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46924 (STAP_PROBE0): New macro.
46925 (STAP_PROBE1): Likewise.
46926 (STAP_PROBE2): Likewise.
46927 (STAP_PROBE3): Likewise.
46928 (STAP_PROBE4): Likewise.
46929
46930 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
46931
46932 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46933
46934 2013-12-02 Steve Ellcey <sellcey@mips.com>
46935
46936 * benchtests/Makefile (bench): Add sqrt.
46937 (LDLIBS-bench-sqrt): New.
46938 * benchtests/sqrt-input: New.
46939
46940 2013-12-02 Pavel Simerda <psimerda@redhat.com>
46941
46942 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46943 (GAIH_EAI): Likewise.
46944 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46945 (gaih_inet): Likewise.
46946 (getaddrinfo): Don't use GAIH_EAI.
46947
46948 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46949 (struct gaih): Remove definition.
46950
46951 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46952
46953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46954 Use HERRNOP directly.
46955
46956 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46957
46958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46959
46960 2013-11-30 Joseph Myers <joseph@codesourcery.com>
46961
46962 * math/gen-auto-libm-tests.c (test_functions): Add more
46963 single-argument functions.
46964 (special_fill_pi_2): New function.
46965 (special_fill_minus_pi_2): Likewise.
46966 (special_fill_pi_6): Likewise.
46967 (special_fill_minus_pi_6): Likewise.
46968 (special_fill_pi_3): Likewise.
46969 (special_fill_2pi_3): Likewise.
46970 (special_fill_e): Likewise.
46971 (special_fill_1_e): Likewise.
46972 (special_fill_e_minus_1): Likewise.
46973 (special_real_inputs): Add more special inputs.
46974 (output_for_one_input_case): Do not require ERANGE on underflow to
46975 zero if round-to-nearest result does not underflow to zero, unless
46976 exact results required.
46977 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46978 atan, atanh, cbrt, cos and cosh.
46979 * math/auto-libm-test-out: Regenerated.
46980 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46981 (acos_tonearest_test_data): Likewise.
46982 (acos_towardzero_test_data): Likewise.
46983 (acos_downward_test_data): Likewise.
46984 (acos_upward_test_data): Likewise.
46985 (acosh_test_data): Likewise.
46986 (asin_test_data): Likewise.
46987 (asin_tonearest_test_data): Likewise.
46988 (asin_towardzero_test_data): Likewise.
46989 (asin_upward_test_data): Likewise.
46990 (asinh_test_data): Likewise.
46991 (atan_test_data): Likewise.
46992 (atanh_test_data): Likewise.
46993 (cbrt_test_data): Likewise.
46994 (cos_test_data): Likewise.
46995 (cos_tonearest_test_data): Likewise.
46996 (cos_towardzero_test_data): Likewise.
46997 (cos_downward_test_data): Likewise.
46998 (cos_upward_test_data): Likewise.
46999 (cosh_test_data): Likewise.
47000 (cosh_tonearest_test_data): Likewise.
47001 (cosh_towardzero_test_data): Likewise.
47002 (cosh_downward_test_data): Likewise.
47003 (cosh_upward_test_data): Likewise.
47004 * sysdeps/i386/fpu/libm-test-ulps: Update.
47005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47006
47007 2013-11-29 Joseph Myers <joseph@codesourcery.com>
47008
47009 [BZ #6787]
47010 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47011 * math/w_exp10f.c (__exp10f): Likewise.
47012 * math/w_exp10l.c (__exp10l): Likewise.
47013 * math/libm-test.inc (exp10_test_data): Add more tests and expect
47014 errno settings in existing tests.
47015
47016 [BZ #14032]
47017 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47018 precision control set to double precision.
47019 * sysdeps/i386/fpu/w_sqrt.c: New file.
47020 * math/auto-libm-test-in: Add more tests.
47021 * math/auto-libm-test-out: Update.
47022
47023 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47024 (sqrt_test_tonearest): New function.
47025 (sqrt_towardzero_test_data): New variable.
47026 (sqrt_test_towardzero): New function.
47027 (sqrt_downward_test_data): New variable.
47028 (sqrt_test_downward): New function.
47029 (sqrt_upward_test_data): New variable.
47030 (sqrt_test_upward): New function.
47031 (main): Call the new functions.
47032
47033 * math/gen-auto-libm-tests.c: New file.
47034 * math/auto-libm-test-in: Likewise.
47035 * math/auto-libm-test-out: New generated file.
47036 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47037 variables.
47038 (%beautify): Add generated representations of zero.
47039 (top level): Set $auto_input and call parse_auto_input.
47040 (beautify): Remove trailing "f" from hex float constants.
47041 (parse_args): Handle XFAIL_TEST.
47042 (convert_condition): New function.
47043 (or_value): Likewise.
47044 (or_cond_value): Likewise.
47045 (generate_testfile): Handle AUTO_TESTS_* lines.
47046 (parse_auto_input): New function.
47047 * math/libm-test.inc (XFAIL_TEST): New macro.
47048 (ERRNO_UNCHANGED): Update value.
47049 (ERRNO_EDOM): Likewise.
47050 (ERRNO_ERANGE): Likewise.
47051 (IGNORE_RESULT): Likewise.
47052 (TEST_COND_flt_32): New macro.
47053 (TEST_COND_dbl_64): Likewise.
47054 (TEST_COND_ldbl_96_intel): Likewise.
47055 (TEST_COND_ldbl_96_m68k): Likewise.
47056 (TEST_COND_ldbl_128): Likewise.
47057 (TEST_COND_ldbl_128ibm): Likewise.
47058 (TEST_COND_long32): Likewise.
47059 (TEST_COND_long64): Likewise.
47060 (TEST_COND_before_rounding): Likewise.
47061 (TEST_COND_after_rounding): Likewise.
47062 (enable_test): Handle XFAIL_TEST flag.
47063 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47064 with finite results.
47065 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47066 auto-libm-test-out.
47067
47068 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47069 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47070
47071 [BZ #16214]
47072 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47073 __tls_get_addr_internal instead of __tls_get_offset in order to
47074 avoid GOT pointer dependency. Make rtld export
47075 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47076 __tls_get_addr since we are a __tls_get_offset platform.
47077 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47078 GOT pointer being set up before.
47079 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47080
47081 2013-11-28 Joseph Myers <joseph@codesourcery.com>
47082
47083 * manual/math.texi (Errors in Math Functions): Document accuracy
47084 goals.
47085
47086 [BZ #15004]
47087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47088 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47089 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47094 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47095 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47100 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47103
47104 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47105 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47106 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47107 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47108 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47109 Likewise.
47110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47111 Likewise.
47112 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47113 Likewise.
47114 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47116 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47117 atomic-feupdateenv and flt-rounds.
47118 * sysdeps/powerpc/nofpu/Versions (libc): Add
47119 __atomic_feholdexcept, __atomic_feclearexcept,
47120 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47121 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47122 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47123 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47124 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47125 here.
47126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47127 Update.
47128
47129 * manual/arith.texi (FP Exceptions): Document that exceptions may
47130 not be raised when matherr is used.
47131 (Math Error Reporting): Document overflow in directed rounding
47132 modes. Document that errno may not be set when finite values are
47133 returned on overflow. Document intent to set errno on underflow
47134 only for underflow to zero.
47135
47136 [BZ #16271]
47137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47138 round-to-nearest then adjust result for other rounding modes.
47139 * include/fenv.h (fegetround): Use libm_hidden_proto.
47140 * math/fegetround.c (fegetround): Use libm_hidden_def.
47141 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47142 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47143 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47145 Likewise.
47146 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47148 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47149 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47150
47151 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47152
47153 [BZ #16077]
47154 * nss/Versions (libnss_files): Add
47155 _nss_files_gethostbyname3_r.
47156 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47157 New function.
47158 (HOST_DB_LOOKUP): Remove macro.
47159 (_nss_files_gethostbyname_r): Implement function without the
47160 HOST_DB_LOOKUP macro.
47161 (_nss_files_gethostbyname2_r): Likewise.
47162
47163 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
47164
47165 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47166
47167 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
47168
47169 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47170 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47171 warning.
47172
47173 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47174
47175 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47176 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47180 __fe_nomask_env_priv and attribute_hidden.
47181 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47182 (libc_feupdateenv_test_ppc): Likewise.
47183 (libc_feresetround_ppc): Likewise.
47184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47185 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47186 compat_symbol macro.
47187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47188 (__fe_nomask_env): Likewise.
47189 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47190
47191 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
47192
47193 * string/Makefile: Remove ifunc tests.
47194 * string/test-string.h: Define TEST_IFUNC.
47195 * string/test-bcopy-ifunc.c: Remove.
47196 * string/test-bzero-ifunc.c: Likewise.
47197 * string/test-memccpy-ifunc.c: Likewise.
47198 * string/test-memchr-ifunc.c: Likewise.
47199 * string/test-memcmp-ifunc.c: Likewise.
47200 * string/test-memcpy-ifunc.c: Likewise.
47201 * string/test-memmem-ifunc.c: Likewise.
47202 * string/test-memmove-ifunc.c: Likewise.
47203 * string/test-mempcpy-ifunc.c: Likewise.
47204 * string/test-memrchr-ifunc.c: Likewise.
47205 * string/test-memset-ifunc.c: Likewise.
47206 * string/test-rawmemchr-ifunc.c: Likewise.
47207 * string/test-stpcpy-ifunc.c: Likewise.
47208 * string/test-stpncpy-ifunc.c: Likewise.
47209 * string/test-strcasecmp-ifunc.c: Likewise.
47210 * string/test-strcasestr-ifunc.c: Likewise.
47211 * string/test-strcat-ifunc.c: Likewise.
47212 * string/test-strchr-ifunc.c: Likewise.
47213 * string/test-strchrnul-ifunc.c: Likewise.
47214 * string/test-strcmp-ifunc.c: Likewise.
47215 * string/test-strcpy-ifunc.c: Likewise.
47216 * string/test-strcspn-ifunc.c: Likewise.
47217 * string/test-strlen-ifunc.c: Likewise.
47218 * string/test-strncasecmp-ifunc.c: Likewise.
47219 * string/test-strncat-ifunc.c: Likewise.
47220 * string/test-strncmp-ifunc.c: Likewise.
47221 * string/test-strncpy-ifunc.c: Likewise.
47222 * string/test-strnlen-ifunc.c: Likewise.
47223 * string/test-strpbrk-ifunc.c: Likewise.
47224 * string/test-strrchr-ifunc.c: Likewise.
47225 * string/test-strspn-ifunc.c: Likewise.
47226 * string/test-strstr-ifunc.c: Likewise.
47227
47228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
47229
47230 * benchtests/Makefile: Remove ifunc tests.
47231 * benchtests/bench-string.h: Define TEST_IFUNC.
47232 * benchtests/bench-bcopy-ifunc.c: Remove.
47233 * benchtests/bench-bzero-ifunc.c: Likewise.
47234 * benchtests/bench-memccpy-ifunc.c: Likewise.
47235 * benchtests/bench-memchr-ifunc.c: Likewise.
47236 * benchtests/bench-memcmp-ifunc.c: Likewise.
47237 * benchtests/bench-memcpy-ifunc.c: Likewise.
47238 * benchtests/bench-memmem-ifunc.c: Likewise.
47239 * benchtests/bench-memmove-ifunc.c: Likewise.
47240 * benchtests/bench-mempcpy-ifunc.c: Likewise.
47241 * benchtests/bench-memrchr-ifunc.c: Likewise.
47242 * benchtests/bench-memset-ifunc.c: Likewise.
47243 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47244 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47245 * benchtests/bench-stpcpy-ifunc.c: Likewise.
47246 * benchtests/bench-stpncpy-ifunc.c: Likewise.
47247 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47248 * benchtests/bench-strcasestr-ifunc.c: Likewise.
47249 * benchtests/bench-strcat-ifunc.c: Likewise.
47250 * benchtests/bench-strchr-ifunc.c: Likewise.
47251 * benchtests/bench-strchrnul-ifunc.c: Likewise.
47252 * benchtests/bench-strcmp-ifunc.c: Likewise.
47253 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47254 * benchtests/bench-strcpy-ifunc.c: Likewise.
47255 * benchtests/bench-strcspn-ifunc.c: Likewise.
47256 * benchtests/bench-strlen-ifunc.c: Likewise.
47257 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47258 * benchtests/bench-strncat-ifunc.c: Likewise.
47259 * benchtests/bench-strncmp-ifunc.c: Likewise.
47260 * benchtests/bench-strncpy-ifunc.c: Likewise.
47261 * benchtests/bench-strnlen-ifunc.c: Likewise.
47262 * benchtests/bench-strpbrk-ifunc.c: Likewise.
47263 * benchtests/bench-strrchr-ifunc.c: Likewise.
47264 * benchtests/bench-strsep-ifunc.c: Likewise.
47265 * benchtests/bench-strspn-ifunc.c: Likewise.
47266 * benchtests/bench-strstr-ifunc.c: Likewise.
47267
47268 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
47269
47270 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47271
47272 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
47273
47274 * resolv/netdb.h: Use __glibc_reserved instead __unused.
47275 * rt/aio.h: Likewise.
47276 * sysdeps/gnu/bits/utmp.h: Likewise.
47277 * sysdeps/gnu/bits/utmpx.h: Likewise.
47278 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47279 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47280 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47281 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47282 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47283 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47284 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47285 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47286 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47288 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47289 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47292 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47293 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47294 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47295 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47296 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47297 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47298 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47299 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47300 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47301 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47302 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47304 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47305 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47306 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47307 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47308 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47309 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47310 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47312 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47313 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47314 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47317 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47318 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47320
47321 2013-11-25 Carlos O'Donell <carlos@redhat.com>
47322
47323 [BZ #16245]
47324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47325 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47326
47327 2013-11-25 Joseph Myers <joseph@codesourcery.com>
47328
47329 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47331 Likewise.
47332
47333 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47334
47335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47336 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47337 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47338 (__fesetround): Remove define.
47339 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47340 rounding and exceptions handling.
47341 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47342 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47343 (__fe_nomask_env): Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47345 __fegetround instead of fegetround.
47346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47348
47349 2013-11-21 Roland McGrath <roland@hack.frob.com>
47350
47351 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47352 it's there.
47353
47354 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47355
47356 2013-11-21 Meador Inge <meadori@codesourcery.com>
47357
47358 [BZ #11157]
47359 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47360 (encrypt_r): Likewise.
47361 * malloc/obstack.h (obstack_free): Likewise.
47362 * posix/unistd.h (encrypt): Likewise.
47363
47364 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
47365
47366 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47367 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47368 DL_CALL_DT_FINI() that call the functions directly.
47369 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47370 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47371 * elf/dl-fini.c: Likewise.
47372
47373 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
47374
47375 * malloc/hooks.c (memalign_check): Add alignment rounding.
47376 * malloc/malloc.c (_mid_memalign): New function.
47377 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47378 Implement by calling _mid_memalign.
47379 * manual/probes.texi (Memory Allocation Probes): Remove
47380 memory_valloc_retry and memory_pvalloc_retry.
47381
47382 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47383
47384 * locale/programs/locarchive.c (open_archive): Add const
47385 qualifier to ARCHIVEFNAME and copy default fname to
47386 DEFAULT_FNAME.
47387
47388 [BZ #15601]
47389 * libio/tst-widetext.input: Rename Oriya to Odia.
47390 * locale/iso-639.def: Likewise.
47391
47392 * manual/probes.texi (Mathematical Function Probes): Add
47393 documentation for sin, cos, asin and acos probes.
47394 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47395 (__sin32): Add slowasin probe.
47396 (__cos32): Add slowacos probe.
47397 (__mpsin): Add slowsin probe.
47398 (__mpcos): Add slowcos probe.
47399
47400 2013-11-19 Joseph Myers <joseph@codesourcery.com>
47401
47402 [BZ #15483]
47403 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47404 thread-local __sim_exceptions_thread and global
47405 __sim_exceptions_global.
47406 (__sim_disabled_exceptions): Change to thread-local
47407 __sim_disabled_exceptions_thread and global
47408 __sim_disabled_exceptions_global.
47409 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47410 and global __sim_round_mode_global.
47411 (__simulate_exceptions): Use thread-local floating-point state and
47412 set global state from it as needed.
47413 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47414 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47415 __sim_round_mode_thread.
47416 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47417 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47418 and global __sim_exceptions_global.
47419 (__sim_disabled_exceptions): Change to thread-local
47420 __sim_disabled_exceptions_thread and global
47421 __sim_disabled_exceptions_global.
47422 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47423 and global __sim_round_mode_global.
47424 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47425 (SIM_SET_GLOBAL): Likewise.
47426 * sysdeps/powerpc/soft-fp/sfp-machine.h
47427 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47428 __sim_round_mode_thread.
47429 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47430 __sim_disabled_exceptions_thread.
47431 (__sim_exceptions): Change to __sim_exceptions_thread.
47432 (__sim_disabled_exceptions): Change to
47433 __sim_disabled_exceptions_thread.
47434 (__sim_round_mode): Change to __sim_round_mode_thread.
47435 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47436 thread-local floating-point state and set global state from it as
47437 needed.
47438 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47439 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47440 (__sim_disabled_exceptions): Remove extern declaration.
47441 (feenableexcept): Use thread-local floating-point state and set
47442 global state from it as needed.
47443 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47444 extern declaration.
47445 (__sim_disabled_exceptions): Likewise.
47446 (__sim_round_mode): Likewise.
47447 (__fegetenv): Use thread-local floating-point state.
47448 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47449 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47450 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47451 floating-point state and set global state from it as needed.
47452 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47453 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47454 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47455 Likewise.
47456 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47457 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47458 Likewise.
47459 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47460 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47461 Use __sim_round_mode_thread.
47462 * math/test-fenv-tls.c: New file.
47463 * math/Makefile (tests): Add test-fenv-tls.
47464 ($(objpfx)test-fenv-tls): Depend on
47465 $(common-objpfx)nptl/libpthread.so.
47466
47467 2013-11-19 Andreas Schwab <schwab@suse.de>
47468
47469 * locale/programs/locale.c (show_info): Decode wordarray elements.
47470 * locale/categories.def (LC_MONETARY): Add element for
47471 _NL_MONETARY_CRNCYSTR.
47472 * locale/C-monetary.c (conversion_rate): New variable.
47473 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47474 element.
47475
47476 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
47477
47478 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47479 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47480
47481 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47482
47483 * elf/Makefile (tst-auxv): New test.
47484 * elf/tst-auxv.c: New
47485 * elf/rtld.c (dl_main): Adjust AT_EXECFN
47486
47487 2013-11-18 Joseph Myers <joseph@codesourcery.com>
47488
47489 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47490 (hidden_proto): Caller changed.
47491 (hidden_tls_proto): New macro.
47492 (libc_hidden_tls_proto): Likewise.
47493 (rtld_hidden_tls_proto): Likewise.
47494 (libm_hidden_tls_proto): Likewise.
47495 (libresolv_hidden_tls_proto): Likewise.
47496 (librt_hidden_tls_proto): Likewise.
47497 (libdl_hidden_tls_proto): Likewise.
47498 (libnss_files_hidden_tls_proto): Likewise.
47499 (libnsl_hidden_tls_proto): Likewise.
47500 (libnss_nisplus_hidden_tls_proto): Likewise.
47501 (libutil_hidden_tls_proto): Likewise.
47502
47503 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
47504
47505 [BZ #10253]
47506 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47507 (decompose_rpath): Defer expansion to fillin_rpath.
47508 (_dl_init_paths): Pass linkmap to fillin_rpath.
47509
47510 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47511
47512 * benchtests/Makefile: Add strsep.
47513 * benchtests/bench-strsep.c: New file: strsep benchtest.
47514 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47515
47516 2013-11-18 Andreas Schwab <schwab@suse.de>
47517
47518 * locale/programs/locale.c (show_info) [case byte]: Check for
47519 '\377' instead of '\177'.
47520 * locale/C-monetary.c (not_available): Always use "\377".
47521 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47522 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
47523 detect unavailable sign_posn locale elements.
47524 * locale/localeconv.c (__localeconv): For grouping and
47525 mon_grouping handle "\177" and "\377" like no grouping.
47526 (INT_ELEM): New macro. Use it to set all numeric members.
47527 * locale/programs/ld-monetary.c (monetary_read)
47528 <tok_mon_grouping>: Normalize single -1 to the empty string.
47529 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47530 Likewise.
47531
47532 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
47533
47534 [BZ #16055]
47535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47536 when we match (nil).
47537 * stdio-common/tst-sscanf.c (struct test): Add testcase.
47538
47539 2013-11-16 Joseph Myers <joseph@codesourcery.com>
47540
47541 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47542 (NO_TEST_INLINE): Update value.
47543 (ERRNO_UNCHANGED): Likewise.
47544 (ERRNO_EDOM): Likewise.
47545 (ERRNO_ERANGE): Likewise.
47546 (IGNORE_RESULT): Likewise.
47547 (check_float_internal): Check signs of NaN results if
47548 TEST_NAN_SIGN used.
47549 (check_complex): Pass TEST_NAN_SIGN flag through to second
47550 check_float_internal call.
47551 (copysign_test_data): Add tests with quiet NaNs as second
47552 argument. Use TEST_NAN_SIGN.
47553 (fabs_test_data): Add test of negative quiet NaN argument. Use
47554 TEST_NAN_SIGN.
47555 (signbit_test_data): Add tests of quiet NaN argument.
47556 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47557
47558 * math/gen-libm-test.pl (show_exceptions): Take extra argument
47559 $ignore_result.
47560 (parse_args): Handle function results specified as IGNORE.
47561 * math/libm-test.inc (IGNORE_RESULT): New macro.
47562 (check_float_internal): Do not check numerical result if flag
47563 IGNORE_RESULT set.
47564 (check_complex): Pass through IGNORE_RESULT to second
47565 check_float_internal call.
47566 (check_int): Do not check numerical result if flag IGNORE_RESULT
47567 set.
47568 (check_long): Likewise.
47569 (check_bool): Likewise.
47570 (check_longlong): Likewise.
47571 (lrint_test_data): Add tests of infinite and NaN arguments.
47572 (lrint_tonearest_test_data): Likewise.
47573 (lrint_towardzero_test_data): Likewise.
47574 (lrint_downward_test_data): Likewise.
47575 (lrint_upward_test_data): Likewise.
47576 (llrint_test_data): Likewise.
47577 (llrint_tonearest_test_data): Likewise.
47578 (llrint_towardzero_test_data): Likewise.
47579 (llrint_downward_test_data): Likewise.
47580 (llrint_upward_test_data): Likewise.
47581 (lround_test_data): Likewise.
47582 (llround_test_data): Likewise.
47583
47584 * math/libm-test.inc (NO_TEST_INLINE): New macro.
47585 (ERRNO_UNCHANGED): Update value.
47586 (ERRNO_EDOM): Likewise.
47587 (ERRNO_ERANGE): Likewise.
47588 (NO_TEST_INLINE_FLOAT): New macro.
47589 (NO_TEST_INLINE_DOUBLE): Likewise.
47590 (enable_test): New function.
47591 (RUN_TEST_f_f): Check enable_test before running test.
47592 (RUN_TEST_2_f): Likewise.
47593 (RUN_TEST_fff_f): Likewise.
47594 (RUN_TEST_c_f): Likewise.
47595 (RUN_TEST_f_f1): Likewise.
47596 (RUN_TEST_fF_f1): Likewise.
47597 (RUN_TEST_fI_f1): Likewise.
47598 (RUN_TEST_ffI_f1): Likewise.
47599 (RUN_TEST_c_c): Likewise.
47600 (RUN_TEST_cc_c): Likewise.
47601 (RUN_TEST_f_i): Likewise.
47602 (RUN_TEST_f_i_tg): Likewise.
47603 (RUN_TEST_ff_i_tg): Likewise.
47604 (RUN_TEST_f_b): Likewise.
47605 (RUN_TEST_f_b_tg): Likewise.
47606 (RUN_TEST_f_l): Likewise.
47607 (RUN_TEST_f_L): Likewise.
47608 (RUN_TEST_fFF_11): Likewise.
47609 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47610 conditionals.
47611 (cosh_test_data): Likewise.
47612 (exp_test_data): Likewise.
47613 (expm1_test_data): Likewise.
47614 (hypot_test_data): Likewise.
47615 (pow_test_data): Likewise.
47616 (sinh_test_data): Likewise.
47617 (tanh_test_data): Likewise.
47618 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47619 flags argument.
47620
47621 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47622 tests with quiet NaN input and output.
47623 (acosh_test_data): Likewise.
47624 (asin_test_data): Likewise.
47625 (asinh_test_data): Likewise.
47626 (atan_test_data): Likewise.
47627 (atanh_test_data): Likewise.
47628 (atan2_test_data): Likewise.
47629 (cbrt_test_data): Likewise.
47630 (cos_test_data): Likewise.
47631 (cosh_test_data): Likewise.
47632 (erf_test_data): Likewise.
47633 (erfc_test_data): Likewise.
47634 (exp_test_data): Likewise.
47635 (exp10_test_data): Likewise.
47636 (exp2_test_data): Likewise.
47637 (expm1_test_data): Likewise.
47638 (hypot_test_data): Likewise.
47639 (j0_test_data): Likewise.
47640 (j1_test_data): Likewise.
47641 (jn_test_data): Likewise.
47642 (lgamma_test_data): Likewise.
47643 (log_test_data): Likewise.
47644 (log10_test_data): Likewise.
47645 (log1p_test_data): Likewise.
47646 (log2_test_data): Likewise.
47647 (pow_test_data): Likewise.
47648 (scalb_test_data): Likewise.
47649 (sin_test_data): Likewise.
47650 (sincos_test_data): Likewise.
47651 (sinh_test_data): Likewise.
47652 (tan_test_data): Likewise.
47653 (tanh_test_data): Likewise.
47654 (tgamma_test_data): Likewise.
47655 (y0_test_data): Likewise.
47656 (y1_test_data): Likewise.
47657 (yn_test_data): Likewise.
47658
47659 [BZ #16167]
47660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47661 argument being NaN and avoid computations with second argument in
47662 that case.
47663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47666
47667 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
47668
47669 * locale/iso-639.def: Add Chitwani Tharu (the).
47670
47671 2013-11-14 Andreas Schwab <schwab@suse.de>
47672
47673 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47674 word instead of empty string.
47675
47676 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47677
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47679 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47681 (__fe_nomask_env): Likewise.
47682
47683 2013-11-13 Steve Ellcey <sellcey@mips.com>
47684
47685 * benchtests/bench-timing.h: Include time.h.
47686
47687 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
47688
47689 [BZ #15997]
47690 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47691 to 3.4.0 for x32.
47692 * sysdeps/unix/sysv/linux/configure: Regenerated.
47693
47694 2013-11-13 Joseph Myers <joseph@codesourcery.com>
47695
47696 [BZ #16151]
47697 * stdlib/strtod_l.c (round_and_return): Do not consider
47698 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47699 exponent one less than half the least subnormal exponent.
47700 * stdlib/test-strtod-round-data: Add more tests.
47701 * stdlib/tst-strtod-round.c (tests): Regenerated.
47702
47703 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47704
47705 [BZ #14143]
47706 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47707 (__fe_mask_env): Likewise.
47708 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47709 libm_hidden_proto and add function prototype.
47710 (__fe_mask_env): Add function prototype.
47711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47712 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47714 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47716 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47717
47718 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47719
47720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47721 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47722
47723 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47724
47725 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47726 of htab_find_slot().
47727
47728 2013-11-11 David S. Miller <davem@davemloft.net>
47729
47730 [BZ #16150]
47731 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47732 symbol in the non-vis3 case in static builds.
47733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47735 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47737
47738 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
47739
47740 [BZ #387]
47741 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47742 it is empty.
47743
47744 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47745
47746 * benchtests/Makefile: Add bench-strtod.
47747 * benchtests/bench-strtod.c: New file: strtod benchtest
47748
47749 2013-11-11 Andreas Schwab <schwab@suse.de>
47750
47751 [BZ #16153]
47752 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47753 terminating NUL in key length.
47754
47755 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47756
47757 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47758 Add artificial ODP entry for vDSO symbol for PPC64.
47759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47760 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47761
47762 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
47763
47764 [BZ #15374]
47765 * nss/getent.c (services_keys): Recognize services starting with digit.
47766
47767 2013-11-06 David S. Miller <davem@davemloft.net>
47768
47769 [BZ #15985]
47770 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47771 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47772
47773 2013-11-06 Will Newton <will.newton@linaro.org>
47774
47775 * manual/memory.texi (Malloc Examples): Remove register
47776 keyword from examples.
47777
47778 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
47779
47780 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47781
47782 2013-11-04 Joseph Myers <joseph@codesourcery.com>
47783
47784 [BZ #6981]
47785 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47786 depending on [__GCC_IEC_559 > 0].
47787 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47788 depending on [__GCC_IEC_559_COMPLEX > 0].
47789
47790 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
47791
47792 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47793 to iso-639.def.
47794
47795 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
47796
47797 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47798
47799 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
47800
47801 [BZ #16112]
47802 * malloc/malloc (malloc_info): Do not handle first bin as
47803 special case.
47804
47805 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
47806
47807 * locale/iso-639.def: Add Central Nahuatl (nhn).
47808
47809 2013-11-01 Bruno Haible <bruno@clisp.org>
47810
47811 [BZ #7003]
47812 * manual/math.texi (BSD Random): Specify range upper bound as
47813 in POSIX.
47814
47815 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
47816
47817 * locale/iso-639.def: Add Meadow Mari (mhr).
47818
47819 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
47820
47821 [BZ #14752], [BZ #15763]
47822 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47823 Validate name.
47824 * rt/tst_shm.c: Add test for escaping directory.
47825
47826 2013-10-31 Andreas Schwab <schwab@suse.de>
47827
47828 [BZ #15917]
47829 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47830 followed by 'x' as part of digit sequence.
47831 * stdio-common/tst-sscanf.c (double_tests2): New tests.
47832
47833 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47834
47835 [BZ #16037]
47836 * configure.ac: allow GNU Make 4.0 and greater.
47837 * configure: Regenerated.
47838
47839 2013-10-30 Will Newton <will.newton@linaro.org>
47840
47841 [BZ #16038]
47842 * malloc/hooks.c (memalign_check): Limit alignment to the
47843 maximum representable power of two.
47844 * malloc/malloc.c (__libc_memalign): Likewise.
47845 * malloc/tst-memalign.c (do_test): Add test for very
47846 large alignment values.
47847 * malloc/tst-posix_memalign.c (do_test): Likewise.
47848
47849 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
47850
47851 [BZ #11087]
47852 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47853 (munmap_chunk): Likewise.
47854 (mremap_chunk): Likewise.
47855
47856 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
47857
47858 [BZ #15799]
47859 * stdlib/div.c (div): Remove obsolete code.
47860 * stdlib/ldiv.c (ldiv): Likewise.
47861 * stdlib/lldiv.c (lldiv): Likewise.
47862
47863 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47864
47865 [BZ #16071]
47866 * nss/nss_files/files-XXX.c (get_contents_ret): New
47867 enumerator.
47868 (get_contents): New function.
47869 (internal_getent): Use it. Expand size of LINEBUFLEN.
47870
47871 2013-10-30 Mike Frysinger <vapier@gentoo.org>
47872
47873 * configure.in: Moved to ...
47874 * configure.ac: ... here. Change reference to configure.in
47875 to configure.ac.
47876 * sysdeps/arm/preconfigure.ac: ... here.
47877 configure.in to configure.ac.
47878 * sysdeps/gnu/configure.in: Moved to ...
47879 * sysdeps/gnu/configure.ac: ... here.
47880 * sysdeps/i386/configure.in: Moved to ...
47881 * sysdeps/i386/configure.ac: ... here.
47882 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47883 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47884 * sysdeps/mach/configure.in: Moved to ...
47885 * sysdeps/mach/configure.ac: ... here.
47886 * sysdeps/mach/hurd/configure.in: Moved to ...
47887 * sysdeps/mach/hurd/configure.ac: ... here.
47888 * sysdeps/powerpc/configure.in: Moved to ...
47889 * sysdeps/powerpc/configure.ac: ... here.
47890 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47891 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47892 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47893 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47894 * sysdeps/s390/s390-32/configure.in: Moved to ...
47895 * sysdeps/s390/s390-32/configure.ac: ... here.
47896 * sysdeps/s390/s390-64/configure.in: Moved to ...
47897 * sysdeps/s390/s390-64/configure.ac: ... here.
47898 * sysdeps/sh/configure.in: Moved to ...
47899 * sysdeps/sh/configure.ac: ... here.
47900 * sysdeps/sparc/configure.in: Moved to ...
47901 * sysdeps/sparc/configure.ac: ... here.
47902 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47903 * sysdeps/unix/sysv/linux/configure.ac: ... here.
47904 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47905 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47906 * sysdeps/x86_64/configure.in: Moved to ...
47907 * sysdeps/x86_64/configure.ac: ... here.
47908 * sysdeps/x86_64/preconfigure.in: Moved to ...
47909 * sysdeps/x86_64/preconfigure.ac: ... here.
47910 * aclocal.m4: Change reference to configure.in to configure.ac.
47911 * config.h.in: Likewise.
47912 * manual/install.texi: Likewise.
47913 * manual/maint.texi: Likewise.
47914 * Makefile: Likewise.
47915 * malloc/Makefile: Likewise.
47916 * nscd/Makefile: Likewise.
47917 * Makeconfig: Change reference to configure.in and
47918 preconfigure.in to configure.ac and preconfigure.ac
47919 respectively.
47920 * INSTALL: Regenerated.
47921 * configure: Likewise.
47922 * sysdeps/gnu/configure: Likewise.
47923 * sysdeps/i386/configure: Likewise.
47924 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47925 * sysdeps/mach/configure: Likewise.
47926 * sysdeps/mach/hurd/configure: Likewise.
47927 * sysdeps/powerpc/configure: Likewise.
47928 * sysdeps/powerpc/powerpc32/configure: Likewise.
47929 * sysdeps/powerpc/powerpc64/configure: Likewise.
47930 * sysdeps/s390/s390-32/configure: Likewise.
47931 * sysdeps/s390/s390-64/configure: Likewise.
47932 * sysdeps/sh/configure: Likewise.
47933 * sysdeps/sparc/configure: Likewise.
47934 * sysdeps/unix/sysv/linux/configure: Likewise.
47935 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47936 * sysdeps/x86_64/configure: Likewise.
47937 * sysdeps/x86_64/preconfigure: Likewise.
47938
47939 2013-10-29 Andreas Schwab <schwab@suse.de>
47940
47941 * stdio-common/Makefile (tst-swscanf-ENV): Define.
47942
47943 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47944
47945 * benchtests/pow-inputs: Add new inputs.
47946
47947 * benchtests/exp-inputs: Add new inputs.
47948
47949 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47950 conditional check for return value.
47951 (__cos32): Likewise.
47952
47953 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47954
47955 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47956 to provide a boost for large inputs with word alignment.
47957 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47958 implementation based on optimized PPC64 strcpy.
47959 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47960 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47961 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47962 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47963
47964 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
47965
47966 [BZ #2801]
47967 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47968
47969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
47970
47971 [BZ #14876]
47972 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47973 * time/tst-strptime.c (day_tests): Add testcase.
47974
47975 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
47976
47977 [BZ #14029]
47978 * manual/pattern.texi: Acknowledge that fnmatch can fail.
47979
47980 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
47981
47982 [BZ #16074]
47983 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47984 MAP_FAILED on error.
47985
47986 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47987
47988 [BZ #16072]
47989 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47990 heap for large requests.
47991
47992 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
47993
47994 [BZ #9954]
47995 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47996 result if the result has no associated interface.
47997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47998 interface for all 127.X.Y.Z addresses.
47999
48000 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
48001
48002 * locale/iso-639.def: Add Ligurian (lij)
48003
48004 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
48005
48006 [BZ #15825]
48007 * sunrpc/rpc_main.c: Document rpcgen -5.
48008
48009 2013-10-19 Michael Stahl <mstahl@redhat.com>
48010
48011 * elf/rtld.c (do_preload): Print the reason why preloading failed.
48012
48013 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
48014
48015 [BZ #10278]
48016 * posix/glob.c: Match only directories when trailing slash is present.
48017 * posix/tst-gnuglob.c (my_opendir): Do not open files.
48018 (main): Add testcase.
48019
48020 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
48021
48022 [BZ #15670]
48023 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48024
48025 2013-10-18 Carlos O'Donell <carlos@redhat.com>
48026
48027 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48028 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48029 AUTH_DES and cindex for FIPS 140-2.
48030 (DES Encryption): Add cindex FIPS 46-3.
48031
48032 * locale/locarchive.h (struct locarhandle): Add fname.
48033 * locale/programs/localedef.c (main): Pass ARGV[remaining]
48034 if an optional argument was specified to --list-archive,
48035 otherwise NULL.
48036 * locale/programs/locarchive.c (show_archive_content): Take new
48037 argument fname and pass it via ah.fname to open_archive.
48038 * locale/programs/localedef.h: Update decl.
48039 (open_archive): If AH->fname is non-null, open that file
48040 rather than the default file name, and don't ignore ENOENT.
48041 (create_archive): Set AH.fname to NULL.
48042 (delete_locales_from_archive): Likewise.
48043 (add_locales_to_archive): Likewise.
48044 * locale/programs/locfile.c (write_all_categories): Likewise.
48045
48046 2013-10-18 Joseph Myers <joseph@codesourcery.com>
48047 Aldy Hernandez <aldyh@redhat.com>
48048
48049 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48050 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48051 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48052 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48053 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48057 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48059 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48061 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48062 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48064 Likewise.
48065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48066 Likewise.
48067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48068 Likewise.
48069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48070 Likewise.
48071 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48073 Likewise.
48074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48075 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48076 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48077 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48078 Likewise.
48079 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48080 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48081 * sysdeps/powerpc/preconfigure: Likewise.
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48083 Likewise.
48084 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48085 Replace contents of file by #include of <fenv_libc.h>.
48086 * sysdeps/powerpc/soft-fp/sfp-machine.h
48087 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48088 and <sys/prctl.h>.
48089 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48102 Allow copysignl PLT reference to be missing.
48103
48104 2013-10-18 Richard Sandiford <richard@codesourcery.com>
48105 Joseph Myers <joseph@codesourcery.com
48106
48107 [BZ #15948]
48108 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48109 single character.
48110 (add_to_tablewc): Assert sequence of wide characters is nonempty.
48111
48112 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48113
48114 * elf/tst-tls-dlinfo.c: Don't include tls.h.
48115 * elf/tst-tls1.c: Likewise.
48116 * elf/tst-tls10.h: Likewise.
48117 * elf/tst-tls14.c: Likewise.
48118 * elf/tst-tls2.c: Likewise.
48119 * elf/tst-tls3.c: Likewise.
48120 * elf/tst-tls4.c: Likewise.
48121 * elf/tst-tls5.c: Likewise.
48122 * elf/tst-tls6.c: Likewise.
48123 * elf/tst-tls7.c: Likewise.
48124 * elf/tst-tls8.c: Likewise.
48125 * elf/tst-tls9.c: Likewise.
48126 * elf/tst-tlsmod1.c: Likewise.
48127 * elf/tst-tlsmod13.c: Likewise.
48128 * elf/tst-tlsmod13a.c: Likewise.
48129 * elf/tst-tlsmod14a.c: Likewise.
48130 * elf/tst-tlsmod16a.c: Likewise.
48131 * elf/tst-tlsmod16b.c: Likewise.
48132 * elf/tst-tlsmod2.c: Likewise.
48133 * elf/tst-tlsmod3.c: Likewise.
48134 * elf/tst-tlsmod4.c: Likewise.
48135 * elf/tst-tlsmod5.c: Likewise.
48136 * elf/tst-tlsmod6.c: Likewise.
48137
48138 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
48139
48140 [BZ #12486]
48141 * malloc/malloc.c: remove checks for statistics.
48142
48143 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
48144
48145 [BZ #15277]
48146 * inet/inet_net.c (inet_network): Detect additional invalid strings.
48147 * inet/tst-network.c: Add testcase.
48148
48149 2013-10-17 Andreas Schwab <schwab@suse.de>
48150
48151 [BZ #15218]
48152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48153 to determine canonical name.
48154
48155 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
48156
48157 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48158 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48182 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48198 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48205 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48215
48216 2013-10-17 Joseph Myers <joseph@codesourcery.com>
48217
48218 [BZ #16041]
48219 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48220 make result into a quiet NaN.
48221
48222 2013-10-16 Joseph Myers <joseph@codesourcery.com>
48223
48224 * soft-fp/adddf3.c: Fix horizontal whitespace.
48225 * soft-fp/addsf3.c: Likewise.
48226 * soft-fp/addtf3.c: Likewise.
48227 * soft-fp/divdf3.c: Likewise.
48228 * soft-fp/divsf3.c: Likewise.
48229 * soft-fp/divtf3.c: Likewise.
48230 * soft-fp/double.h: Likewise.
48231 * soft-fp/eqdf2.c: Likewise.
48232 * soft-fp/eqsf2.c: Likewise.
48233 * soft-fp/eqtf2.c: Likewise.
48234 * soft-fp/extenddftf2.c: Likewise.
48235 * soft-fp/extended.h: Likewise.
48236 * soft-fp/extendsfdf2.c: Likewise.
48237 * soft-fp/extendsftf2.c: Likewise.
48238 * soft-fp/extendxftf2.c: Likewise.
48239 * soft-fp/fixdfdi.c: Likewise.
48240 * soft-fp/fixdfsi.c: Likewise.
48241 * soft-fp/fixdfti.c: Likewise.
48242 * soft-fp/fixsfdi.c: Likewise.
48243 * soft-fp/fixsfsi.c: Likewise.
48244 * soft-fp/fixsfti.c: Likewise.
48245 * soft-fp/fixtfdi.c: Likewise.
48246 * soft-fp/fixtfsi.c: Likewise.
48247 * soft-fp/fixtfti.c: Likewise.
48248 * soft-fp/fixunsdfdi.c: Likewise.
48249 * soft-fp/fixunsdfsi.c: Likewise.
48250 * soft-fp/fixunsdfti.c: Likewise.
48251 * soft-fp/fixunssfdi.c: Likewise.
48252 * soft-fp/fixunssfsi.c: Likewise.
48253 * soft-fp/fixunssfti.c: Likewise.
48254 * soft-fp/fixunstfdi.c: Likewise.
48255 * soft-fp/fixunstfsi.c: Likewise.
48256 * soft-fp/fixunstfti.c: Likewise.
48257 * soft-fp/floatdidf.c: Likewise.
48258 * soft-fp/floatdisf.c: Likewise.
48259 * soft-fp/floatditf.c: Likewise.
48260 * soft-fp/floatsidf.c: Likewise.
48261 * soft-fp/floatsisf.c: Likewise.
48262 * soft-fp/floatsitf.c: Likewise.
48263 * soft-fp/floattidf.c: Likewise.
48264 * soft-fp/floattisf.c: Likewise.
48265 * soft-fp/floattitf.c: Likewise.
48266 * soft-fp/floatundidf.c: Likewise.
48267 * soft-fp/floatundisf.c: Likewise.
48268 * soft-fp/floatunditf.c: Likewise.
48269 * soft-fp/floatunsidf.c: Likewise.
48270 * soft-fp/floatunsisf.c: Likewise.
48271 * soft-fp/floatunsitf.c: Likewise.
48272 * soft-fp/floatuntidf.c: Likewise.
48273 * soft-fp/floatuntisf.c: Likewise.
48274 * soft-fp/floatuntitf.c: Likewise.
48275 * soft-fp/fmadf4.c: Likewise.
48276 * soft-fp/fmasf4.c: Likewise.
48277 * soft-fp/fmatf4.c: Likewise.
48278 * soft-fp/gedf2.c: Likewise.
48279 * soft-fp/gesf2.c: Likewise.
48280 * soft-fp/getf2.c: Likewise.
48281 * soft-fp/ledf2.c: Likewise.
48282 * soft-fp/lesf2.c: Likewise.
48283 * soft-fp/letf2.c: Likewise.
48284 * soft-fp/muldf3.c: Likewise.
48285 * soft-fp/mulsf3.c: Likewise.
48286 * soft-fp/multf3.c: Likewise.
48287 * soft-fp/negdf2.c: Likewise.
48288 * soft-fp/negsf2.c: Likewise.
48289 * soft-fp/negtf2.c: Likewise.
48290 * soft-fp/op-1.h: Likewise.
48291 * soft-fp/op-2.h: Likewise.
48292 * soft-fp/op-4.h: Likewise.
48293 * soft-fp/op-8.h: Likewise.
48294 * soft-fp/op-common.h: Likewise.
48295 * soft-fp/quad.h: Likewise.
48296 * soft-fp/single.h: Likewise.
48297 * soft-fp/soft-fp.h: Likewise.
48298 * soft-fp/sqrtdf2.c: Likewise.
48299 * soft-fp/sqrtsf2.c: Likewise.
48300 * soft-fp/sqrttf2.c: Likewise.
48301 * soft-fp/subdf3.c: Likewise.
48302 * soft-fp/subsf3.c: Likewise.
48303 * soft-fp/subtf3.c: Likewise.
48304 * soft-fp/truncdfsf2.c: Likewise.
48305 * soft-fp/trunctfdf2.c: Likewise.
48306 * soft-fp/trunctfsf2.c: Likewise.
48307 * soft-fp/trunctfxf2.c: Likewise.
48308 * soft-fp/unorddf2.c: Likewise.
48309 * soft-fp/unordsf2.c: Likewise.
48310 * soft-fp/unordtf2.c: Likewise.
48311
48312 2013-10-15 Joseph Myers <joseph@codesourcery.com>
48313
48314 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48315 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48316
48317 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
48318
48319 * elf/dl-libc.c: Clear initfini list after freeing.
48320
48321 2013-10-14 Joseph Myers <joseph@codesourcery.com>
48322
48323 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48324 * soft-fp/addsf3.c: Likewise.
48325 * soft-fp/addtf3.c: Likewise.
48326 * soft-fp/divdf3.c: Likewise.
48327 * soft-fp/divsf3.c: Likewise.
48328 * soft-fp/divtf3.c: Likewise.
48329 * soft-fp/double.h: Likewise.
48330 * soft-fp/eqdf2.c: Likewise.
48331 * soft-fp/eqsf2.c: Likewise.
48332 * soft-fp/eqtf2.c: Likewise.
48333 * soft-fp/extenddftf2.c: Likewise.
48334 * soft-fp/extended.h: Likewise.
48335 * soft-fp/extendsfdf2.c: Likewise.
48336 * soft-fp/extendsftf2.c: Likewise.
48337 * soft-fp/extendxftf2.c: Likewise.
48338 * soft-fp/fixdfdi.c: Likewise.
48339 * soft-fp/fixdfsi.c: Likewise.
48340 * soft-fp/fixdfti.c: Likewise.
48341 * soft-fp/fixsfdi.c: Likewise.
48342 * soft-fp/fixsfsi.c: Likewise.
48343 * soft-fp/fixsfti.c: Likewise.
48344 * soft-fp/fixtfdi.c: Likewise.
48345 * soft-fp/fixtfsi.c: Likewise.
48346 * soft-fp/fixtfti.c: Likewise.
48347 * soft-fp/fixunsdfdi.c: Likewise.
48348 * soft-fp/fixunsdfsi.c: Likewise.
48349 * soft-fp/fixunsdfti.c: Likewise.
48350 * soft-fp/fixunssfdi.c: Likewise.
48351 * soft-fp/fixunssfsi.c: Likewise.
48352 * soft-fp/fixunssfti.c: Likewise.
48353 * soft-fp/fixunstfdi.c: Likewise.
48354 * soft-fp/fixunstfsi.c: Likewise.
48355 * soft-fp/fixunstfti.c: Likewise.
48356 * soft-fp/floatdidf.c: Likewise.
48357 * soft-fp/floatdisf.c: Likewise.
48358 * soft-fp/floatditf.c: Likewise.
48359 * soft-fp/floatsidf.c: Likewise.
48360 * soft-fp/floatsisf.c: Likewise.
48361 * soft-fp/floatsitf.c: Likewise.
48362 * soft-fp/floattidf.c: Likewise.
48363 * soft-fp/floattisf.c: Likewise.
48364 * soft-fp/floattitf.c: Likewise.
48365 * soft-fp/floatundidf.c: Likewise.
48366 * soft-fp/floatundisf.c: Likewise.
48367 * soft-fp/floatunsidf.c: Likewise.
48368 * soft-fp/floatunsisf.c: Likewise.
48369 * soft-fp/floatuntidf.c: Likewise.
48370 * soft-fp/floatuntisf.c: Likewise.
48371 * soft-fp/floatuntitf.c: Likewise.
48372 * soft-fp/fmadf4.c: Likewise.
48373 * soft-fp/fmasf4.c: Likewise.
48374 * soft-fp/fmatf4.c: Likewise.
48375 * soft-fp/gedf2.c: Likewise.
48376 * soft-fp/gesf2.c: Likewise.
48377 * soft-fp/getf2.c: Likewise.
48378 * soft-fp/ledf2.c: Likewise.
48379 * soft-fp/lesf2.c: Likewise.
48380 * soft-fp/letf2.c: Likewise.
48381 * soft-fp/muldf3.c: Likewise.
48382 * soft-fp/mulsf3.c: Likewise.
48383 * soft-fp/multf3.c: Likewise.
48384 * soft-fp/negdf2.c: Likewise.
48385 * soft-fp/negsf2.c: Likewise.
48386 * soft-fp/negtf2.c: Likewise.
48387 * soft-fp/op-1.h: Likewise.
48388 * soft-fp/op-2.h: Likewise.
48389 * soft-fp/op-4.h: Likewise.
48390 * soft-fp/op-8.h: Likewise.
48391 * soft-fp/op-common.h: Likewise.
48392 * soft-fp/quad.h: Likewise.
48393 * soft-fp/single.h: Likewise.
48394 * soft-fp/soft-fp.h: Likewise.
48395 * soft-fp/sqrtdf2.c: Likewise.
48396 * soft-fp/sqrtsf2.c: Likewise.
48397 * soft-fp/sqrttf2.c: Likewise.
48398 * soft-fp/subdf3.c: Likewise.
48399 * soft-fp/subsf3.c: Likewise.
48400 * soft-fp/subtf3.c: Likewise.
48401 * soft-fp/truncdfsf2.c: Likewise.
48402 * soft-fp/trunctfdf2.c: Likewise.
48403 * soft-fp/trunctfsf2.c: Likewise.
48404 * soft-fp/trunctfxf2.c: Likewise.
48405 * soft-fp/unorddf2.c: Likewise.
48406 * soft-fp/unordsf2.c: Likewise.
48407 * soft-fp/unordtf2.c: Likewise.
48408
48409 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
48410
48411 [BZ #15672]
48412 * misc/error.c (error_tail): Fix possible buffer overflow.
48413
48414 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
48415
48416 [BZ #13028]
48417 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48418 address.
48419
48420 2013-10-14 P. J. McDermott <pj@pehjota.net>
48421
48422 [BZ #832]
48423 * elf/ldd.bash.in (try_trace): New function. Delete previous code
48424 testing pipefail option.
48425
48426 2013-10-12 Joseph Myers <joseph@codesourcery.com>
48427
48428 * soft-fp/double.h: Indent preprocessor directives inside #if.
48429 * soft-fp/extended.h: Likewise.
48430 * soft-fp/op-2.h: Likewise.
48431 * soft-fp/op-4.h: Likewise.
48432 * soft-fp/op-common.h: Likewise.
48433 * soft-fp/quad.h: Likewise.
48434 * soft-fp/single.h: Likewise.
48435 * soft-fp/soft-fp.h: Likewise.
48436
48437 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
48438
48439 * iconv/iconv_prog.c: Fix typos.
48440 * stdio-common/psiginfo-data.h: Likewise.
48441
48442 2013-10-12 Reuben Thomas <rrt@sc3d.org>
48443
48444 [BZ #15764]
48445 * locale/setlocale.c: Fix typo.
48446
48447 2013-10-12 Joseph Myers <joseph@codesourcery.com>
48448
48449 [BZ #16036]
48450 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48451 signaling NaN arguments.
48452 * soft-fp/unordsf2.c (__unordsf2): Likewise.
48453 * soft-fp/unordtf2.c (__unordtf2): Likewise.
48454
48455 [BZ #14910]
48456 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48457 unordered operands.
48458 * soft-fp/gesf2.c (__gesf2): Likewise.
48459 * soft-fp/getf2.c (__getf2): Likewise.
48460 * soft-fp/ledf2.c (__ledf2): Likewise.
48461 * soft-fp/lesf2.c (__lesf2): Likewise.
48462 * soft-fp/letf2.c (__letf2): Likewise.
48463
48464 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48465 * soft-fp/eqsf2.c (__eqsf2): Likewise.
48466 * soft-fp/eqtf2.c (__eqtf2): Likewise.
48467 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48468 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48469 * soft-fp/fixdfti.c (__fixdfti): Likewise.
48470 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48471 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48472 * soft-fp/fixsfti.c (__fixsfti): Likewise.
48473 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48474 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48475 * soft-fp/fixtfti.c (__fixtfti): Likewise.
48476 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48477 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48478 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48479 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48480 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48481 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48482 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48483 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48484 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48485 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48486 * soft-fp/floatdisf.c (__floatdisf): Likewise.
48487 * soft-fp/floatsisf.c (__floatsisf): Likewise.
48488 * soft-fp/floattidf.c (__floattidf): Likewise.
48489 * soft-fp/floattisf.c (__floattisf): Likewise.
48490 * soft-fp/floattitf.c (__floattitf): Likewise.
48491 * soft-fp/floatundidf.c (__floatundidf): Likewise.
48492 * soft-fp/floatundisf.c (__floatundisf): Likewise.
48493 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48494 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48495 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48496 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48497 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48498 * soft-fp/gesf2.c (__gesf2): Likewise.
48499 * soft-fp/getf2.c (__getf2): Likewise.
48500 * soft-fp/ledf2.c (__ledf2): Likewise.
48501 * soft-fp/lesf2.c (__lesf2): Likewise.
48502 * soft-fp/letf2.c (__letf2): Likewise.
48503
48504 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48505 Undefine and redefine.
48506 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48507 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48508 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48509 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48510 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48511 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48512 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48513 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48514 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48515 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48516 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48517 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48518 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48519 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48520 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48521
48522 [BZ #16032]
48523 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48524 without decrementing exponent if mantissa >= that for the
48525 denominator, not >.
48526 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48527 denominator, not >. Decrement exponent in < case instead of
48528 incrementing in >= case.
48529 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48530 without decrementing exponent if mantissa >= that for the
48531 denominator, not >.
48532
48533 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48534 computing saturated result for unsigned overflow.
48535
48536 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48537 Jeff Law <law@redhat.com>
48538
48539 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48540 (atan2Mp): Add systemtap probe marker.
48541 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48542 (__ieee754_log): Add systemtap probe marker.
48543 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48544 (atanMp): Add systemtap probe marker.
48545 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48546 (tanMp): Add systemtap probe marker.
48547 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48548 (__slowexp): Add systemtap probe marker.
48549 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48550 (__slowpow): Add systemtap probe marker.
48551 * manual/probes.texi: Document probes.
48552
48553 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
48554
48555 [BZ #15362]
48556 * libio/fileops.c (_IO_new_file_write): Return count of bytes
48557 written.
48558 (_IO_new_file_xsputn): Don't return EOF if nothing has been
48559 written.
48560 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48561 written to buffer but not flushed.
48562 * libio/iofwrite_u.c: Likewise.
48563 * libio/iopadn.c: Return bytes returned even if EOF was
48564 encountered.
48565 * libio/iowpadn.c: Likewise.
48566 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48567 if _IO_padn does not write the whole buffer.
48568 [!COMPILE_WPRINTF] (PAD): Likewise.
48569
48570 2013-10-10 David S. Miller <davem@davemloft.net>
48571
48572 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48573 directory block.
48574
48575 2013-10-10 Joseph Myers <joseph@codesourcery.com>
48576
48577 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
48578 instead of FSF address.
48579 * soft-fp/fixdfti.c: Likewise.
48580 * soft-fp/fixsfti.c: Likewise.
48581 * soft-fp/fixtfti.c: Likewise.
48582 * soft-fp/fixunsdfti.c: Likewise.
48583 * soft-fp/fixunssfti.c: Likewise.
48584 * soft-fp/fixunstfti.c: Likewise.
48585 * soft-fp/floattidf.c: Likewise.
48586 * soft-fp/floattisf.c: Likewise.
48587 * soft-fp/floattitf.c: Likewise.
48588 * soft-fp/floatuntidf.c: Likewise.
48589 * soft-fp/floatuntisf.c: Likewise.
48590 * soft-fp/floatuntitf.c: Likewise.
48591 * soft-fp/trunctfxf2.c: Likewise.
48592
48593 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
48594 * soft-fp/fixdfti.c: Likewise.
48595 * soft-fp/fixsfti.c: Likewise.
48596 * soft-fp/fixtfti.c: Likewise.
48597 * soft-fp/fixunsdfti.c: Likewise.
48598 * soft-fp/fixunssfti.c: Likewise.
48599 * soft-fp/fixunstfti.c: Likewise.
48600 * soft-fp/floattidf.c: Likewise.
48601 * soft-fp/floattisf.c: Likewise.
48602 * soft-fp/floattitf.c: Likewise.
48603 * soft-fp/floatuntidf.c: Likewise.
48604 * soft-fp/floatuntisf.c: Likewise.
48605 * soft-fp/floatuntitf.c: Likewise.
48606 * soft-fp/trunctfxf2.c: Likewise.
48607
48608 2013-10-10 David S. Miller <davem@davemloft.net>
48609
48610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48611
48612 2013-10-10 Joseph Myers <joseph@codsourcery.com>
48613
48614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48615 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48616 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48617 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48618 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48619 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48620 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48621
48622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48623 for NaNs before doing comparisons on argument.
48624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48625 Likewise.
48626
48627 2013-10-10 Will Newton <will.newton@linaro.org>
48628
48629 * malloc/hooks.c (memalign_check): Ensure the value of bytes
48630 passed to _int_memalign does not overflow.
48631
48632 2013-10-10 Torvald Riegel <triegel@redhat.com>
48633
48634 * scripts/bench.pl: Add include-sources directive.
48635 * benchtests/README: Update documentation.
48636
48637 2013-10-10 Joseph Myers <joseph@codesourcery.com>
48638
48639 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48640 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48641 instead of FP_INIT_ROUNDMODE.
48642 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48643 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48644
48645 [BZ #16034]
48646 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
48647 copy class of input value.
48648 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
48649 not handle exceptions.
48650 * soft-fp/negsf2.c (__negsf2): Likewise.
48651 * soft-fp/negtf2.c (__negtf2): Likewise.
48652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48653
48654 2013-10-09 Joseph Myers <joseph@codesourcery.com>
48655
48656 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48657 semicolon. From Linux kernel.
48658
48659 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
48660
48661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48662
48663 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
48664
48665 [BZ #156]
48666 * manual/socket.texi: Added statement about buffer
48667 for gethostbyname2_r.
48668
48669 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
48670
48671 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48672 Use .p2align directive instead, throughout.
48673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48679 * sysdeps/x86_64/strchr.S: Likewise.
48680 * sysdeps/x86_64/strrchr.S: Likewise.
48681
48682 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
48683
48684 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48685
48686 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48687
48688 * sysdeps/generic/math_private.h (__mpsin1): Remove
48689 declaration.
48690 (__mpcos1): Likewise.
48691 (__mpsin): New argument __range_reduce.
48692 (__mpcos): Likewise.
48693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48694 (slow): Use __mpsin and __mpcos.
48695 (slow1): Likewise.
48696 (slow2): Likewise.
48697 (sloww): Likewise.
48698 (sloww1): Likewise.
48699 (sloww2): Likewise.
48700 (bsloww): Likewise.
48701 (bsloww1): Likewise.
48702 (bsloww2): Likewise.
48703 (cslow2): Likewise.
48704 (csloww): Likewise.
48705 (csloww1): Likewise.
48706 (csloww2): Likewise.
48707 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48708 range_reduce. Merge in __mpsin1.
48709 (__mpcos): Likewise.
48710 (__mpsin1): Remove.
48711 (__mpcos1): Likewise.
48712
48713 2013-10-07 Joseph Myers <joseph@codesourcery.com>
48714
48715 * locale/loadlocale.c (_nl_intern_locale_data): Use
48716 LOCFILE_ALIGNED_P.
48717 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48718 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48719 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48720 obstack data is appropriately aligned.
48721 (obstack_int32_grow_fast): Likewise.
48722 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48723 * locale/programs/locfile.c (add_locale_uint32): Likewise.
48724 (add_locale_uint32_array): Likewise.
48725
48726 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
48727
48728 * benchtests/Makefile: Remove ARGLIST and RET variables.
48729 ($(objpfx)bench-%.c): Pass only function name to the script.
48730 * benchtests/README: Update documentation.
48731 * benchtests/acos-inputs: Add new directives.
48732 * benchtests/acosh-inputs: Likewise.
48733 * benchtests/asin-inputs: Likewise.
48734 * benchtests/asinh-inputs: Likewise.
48735 * benchtests/atan-inputs: Likewise.
48736 * benchtests/atanh-inputs: Likewise.
48737 * benchtests/cos-inputs: Likewise.
48738 * benchtests/cosh-inputs: Likewise.
48739 * benchtests/exp-inputs: Likewise.
48740 * benchtests/log-inputs: Likewise.
48741 * benchtests/pow-inputs: Likewise.
48742 * benchtests/rint-inputs: Likewise.
48743 * benchtests/sin-inputs: Likewise.
48744 * benchtests/sinh-inputs: Likewise.
48745 * benchtests/tan-inputs: Likewise.
48746 * benchtests/tanh-inputs: Likewise.
48747 * scripts/bench.pl: Add support for new directives.
48748
48749 2013-10-07 Alan Modra <amodra@gmail.com>
48750
48751 * README: Fix careless merge.
48752
48753 2013-10-05 Alan Modra <amodra@gmail.com>
48754
48755 * NEWS: Mention powerpc64le support and bugs fixed.
48756 * README: Both big-endian and little-endian powerpc64 supported.
48757
48758 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
48759
48760 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48761 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48762 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48763 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48764
48765 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
48766
48767 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48768 match prototype.
48769
48770 2013-10-04 Joseph Myers <joseph@codesourcery.com>
48771
48772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48773 Move -mhard-float appending from
48774 ports/sysdeps/powerpc/powerpc32/Makefile.
48775 [$(with-fp) = yes] (ASFLAGS): Likewise.
48776 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48777 * sysdeps/powerpc/nofpu: Move directory from
48778 ports/sysdeps/powerpc/nofpu.
48779 * sysdeps/powerpc/soft-fp: Move directory from
48780 ports/sysdeps/powerpc/soft-fp.
48781 * sysdeps/powerpc/powerpc32/405: Move directory from
48782 ports/sysdeps/powerpc/powerpc32/405.
48783 * sysdeps/powerpc/powerpc32/440: Move directory from
48784 ports/sysdeps/powerpc/powerpc32/440.
48785 * sysdeps/powerpc/powerpc32/464: Move directory from
48786 ports/sysdeps/powerpc/powerpc32/464.
48787 * sysdeps/powerpc/powerpc32/476: Move directory from
48788 ports/sysdeps/powerpc/powerpc32/476.
48789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48799 * README: Update for powerpc-*-linux-gnu software floating point
48800 support in libc.
48801
48802 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48803 case to powerpc/powerpc32*.
48804 * sysdeps/unix/sysv/linux/configure: Regenerated.
48805
48806 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48807 (_FPU_MASK_OM): Define as 0x04.
48808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48810 0x00c10080.
48811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48812 0x0000003c.
48813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48814
48815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48817 getcontext_e500.
48818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48820 setcontext_e500.
48821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48823 and setcontext_e500.
48824
48825 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
48826
48827 * locale/iso-3166.def: Update iso-1366.def and related occurrences
48828
48829 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48830
48831 * manual/threads.texi (Default Thread Attributes): Fix typo.
48832
48833 2013-10-04 Will Newton <will.newton@linaro.org>
48834
48835 * malloc/Makefile: Add tst-memalign.
48836 * malloc/tst-memalign.c: New file.
48837
48838 * malloc/tst-posix_memalign.c: Add comments.
48839 (do_test): Add comments and call free on all potentially
48840 allocated pointers. Add space after cast.
48841
48842 * malloc/tst-pvalloc.c: Add comments.
48843 (do_test): Add comments and call free on all potentially
48844 allocated pointers. Remove duplicate check for NULL pointer.
48845 Add space after cast.
48846
48847 * malloc/tst-valloc.c: Add comments.
48848 (do_test): Add comments and call free on all potentially
48849 allocated pointers. Remove duplicate check for NULL pointer.
48850 Add space after cast.
48851
48852 2013-10-04 Alan Modra <amodra@gmail.com>
48853
48854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48855 Use stdint types in rather than __attribute__((mode())).
48856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48857
48858 2013-10-04 Alan Modra <amodra@gmail.com>
48859
48860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48861 Correct handling of unaligned relocs for little-endian.
48862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48863
48864 2013-10-04 Alan Modra <amodra@gmail.com>
48865
48866 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48867 * configure: Regenerate.
48868 * nptl/shlib-versions: Powerpc*le starts at 2.18.
48869 * shlib-versions: Likewise.
48870
48871 2013-10-04 Alan Modra <amodra@gmail.com>
48872
48873 * string/tester.c (test_memrchr): Increment reported test cycle.
48874
48875 2013-10-04 Alan Modra <amodra@gmail.com>
48876
48877 * string/test-memcpy.c (do_one_test): When reporting errors, print
48878 string address and don't overrun end of string.
48879
48880 2013-10-04 Alan Modra <amodra@gmail.com>
48881
48882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48883 insrdi. Make better use of reg selection to speed exit slightly.
48884 Schedule entry path a little better. Remove useless "are we done"
48885 checks on entry to main loop. Handle wrapping around zero address.
48886 Correct main loop count. Handle single left-over word from main
48887 loop inline rather than by using loop_small. Remove extra word
48888 case in loop_small caused by wrong loop count. Add little-endian
48889 support.
48890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
48892 cache hint.
48893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48895 support. Avoid rlwimi.
48896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48897
48898 2013-10-04 Alan Modra <amodra@gmail.com>
48899
48900 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48901 insrdi. Formatting.
48902 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48903 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48904 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48907 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48908
48909 2013-10-04 Alan Modra <amodra@gmail.com>
48910
48911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48915 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
48920 use of regs. Use power7 mtocrf. Tidy function tails.
48921
48922 2013-10-04 Alan Modra <amodra@gmail.com>
48923
48924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48925 Formatting. Consistently use rXXX register defines or rN defines.
48926 Use early exit labels that avoid restoring unused non-volatile regs.
48927 Make cr field use more consistent with rWORDn compares. Rename
48928 regs used as shift registers for unaligned loop, using rN defines
48929 for short lifetime/multiple use regs.
48930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
48932 addi 1,1,64 to pop stack frame. Simplify return value code.
48933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48934
48935 2013-10-04 Alan Modra <amodra@gmail.com>
48936
48937 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48938 support. Correct typos, formatting. Optimize tail. Use insrdi
48939 rather than rlwimi.
48940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48942 little-endian support. Correct typos.
48943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
48944 rather than rlwimi.
48945 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
48946 in loop and entry code to keep "and." results.
48947 (strchr): Add little-endian support. Comment. Move cntlzd
48948 earlier in tail.
48949 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48950
48951 2013-10-04 Alan Modra <amodra@gmail.com>
48952
48953 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48954 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48955 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48956 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48957
48958 2013-10-04 Alan Modra <amodra@gmail.com>
48959
48960 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48961 (rTMP): Define as r11.
48962 (strcmp): Add little-endian support. Optimise tail.
48963 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48970
48971 2013-10-04 Alan Modra <amodra@gmail.com>
48972
48973 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48974 little-endian support. Remove unnecessary "are we done" tests.
48975 Handle "s" wrapping around zero and extremely large "size".
48976 Correct main loop count. Handle single left-over word from main
48977 loop inline rather than by using small_loop. Correct comments.
48978 Delete "zero" tail, use "end_max" instead.
48979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48980
48981 2013-10-04 Alan Modra <amodra@gmail.com>
48982
48983 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48984 support. Don't branch over align.
48985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48986 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48987 support. Rearrange tmp reg use to suit. Comment.
48988 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48989
48990 2013-10-04 Alan Modra <amodra@gmail.com>
48991
48992 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48993
48994 2013-10-04 Alan Modra <amodra@gmail.com>
48995
48996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48997 conditional form of branch and link when obtaining pc.
48998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48999
49000 2013-10-04 Alan Modra <amodra@gmail.com>
49001
49002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49003 HIWORD/LOWORD.
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49006
49007 2013-10-04 Alan Modra <amodra@gmail.com>
49008
49009 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49010 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49013 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49015 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49018 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49019
49020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
49021 Alistair Popple <alistair@ozlabs.au.ibm.com>
49022 Alan Modra <amodra@gmail.com>
49023
49024 [BZ #15723]
49025 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49027 _dl_hwcap access for little-endian.
49028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
49029 destroy vmx regs when saving unaligned.
49030 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49031 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
49032 destroy vmx regs when saving unaligned.
49033
49034 2013-10-04 Alan Modra <amodra@gmail.com>
49035
49036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49037 Don't use a union to pack hi/low value.
49038
49039 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
49040
49041 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49042 for little-endian.
49043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49046 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49047 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49048
49049 2013-10-04 Alan Modra <amodra@gmail.com>
49050
49051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49052 constants to usual value for .cst8 section, and remove redundant
49053 high address load.
49054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49055 constant for 0x1p52. Load little-endian words of double from
49056 correct stack offsets.
49057
49058 2013-10-04 Alan Modra <amodra@gmail.com>
49059
49060 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49061 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49062 words of double from correct stack offsets.
49063 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49064 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49079 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49080
49081 2013-10-04 Alan Modra <amodra@gmail.com>
49082
49083 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49084 64-bit int/double union.
49085 (_FPU_SETCW): Likewise.
49086 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49087 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49088
49089 2013-10-04 Alan Modra <amodra@gmail.com>
49090
49091 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49092 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49093
49094 2013-10-04 Alan Modra <amodra@gmail.com>
49095
49096 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49097 use vector int constants.
49098 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49099
49100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
49101
49102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49103 array with long long.
49104 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49105 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49106 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49107 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49109 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49113 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49114 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49115 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49117
49118 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
49119
49120 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49121 (__signbit): Likewise. Correct for little-endian.
49122 (__signbitl): Call __signbit.
49123 (lrint): Correct for little-endian.
49124 (lrintf): Call lrint.
49125
49126 2013-10-04 Alan Modra <amodra@gmail.com>
49127
49128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49129 union 32-bit int array member with 64-bit int array.
49130 (t515, tm256): Double rather than long double.
49131 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49132
49133 2013-10-04 Alan Modra <amodra@gmail.com>
49134
49135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49136 Delete.
49137 (IEEE854_LONG_DOUBLE_BIAS): Delete.
49138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49139 version of math_ldbl.h.
49140
49141 2013-10-04 Alan Modra <amodra@gmail.com>
49142
49143 [BZ #15734], [BZ #15735]
49144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49145 all uses of ieee875 long double macros and unions. Simplify test
49146 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
49147 ldbl_extract_mantissa value for ix,iy exponents. Properly
49148 normalize after ldbl_extract_mantissa, and don't add hidden bit
49149 already handled. Don't treat low word of ieee854 mantissa like
49150 low word of IBM long double and mask off bit when testing for
49151 zero.
49152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49153 all uses of ieee875 long double macros and unions. Simplify tests
49154 for 0.0L and inf. Correct double adjustment of k. Delete dead code
49155 adjusting ha,hb. Simplify code setting kld. Delete two600 and
49156 two1022, instead use their values. Recognise that tests for large
49157 "a" and small "b" are mutually exclusive. Rename vars. Comment.
49158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49159 Rewrite all uses of ieee875 long double macros and unions. Simplify
49160 test for 0.0L and nan. Correct negation.
49161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49162 ieee875 long double macros and unions. Correct output for large
49163 magnitude x. Correct absolute value calculation.
49164 (__erfcl): Likewise.
49165 * math/libm-test.inc: Add tests for errors discovered in IBM long
49166 double versions of fmodl, remainderl, erfl and erfcl.
49167
49168 2013-10-04 Alan Modra <amodra@gmail.com>
49169
49170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49171 all uses of ieee854 long double macros and unions. Simplify tests
49172 for long doubles that are fully specified by the high double.
49173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49174 Likewise.
49175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49176 Remove dead code too.
49177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49178 (__ieee754_ynl): Likewise.
49179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49182 Remove dead code too.
49183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49187 Simplify.
49188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49189 Simplify.
49190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49193 Comment on variable precision.
49194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49196 Likewise.
49197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49202
49203 2013-10-04 Alan Modra <amodra@gmail.com>
49204
49205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49207 all uses of ieee854 long double macros and unions.
49208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49214 Likewise.
49215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49221 Simplify sign and nan test too.
49222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49226 Likewise.
49227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49229 Likewise.
49230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49236
49237 2013-10-04 Alan Modra <amodra@gmail.com>
49238
49239 * stdio-common/printf_size.c (__printf_size): Don't use
49240 union ieee854_long_double in fpnum union.
49241 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
49242 signbit macro to retrieve sign from long double.
49243 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49244 retrieve sign from long double.
49245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49246 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49249 * math/test-misc.c (main): Don't use union ieee854_long_double.
49250
49251 2013-10-04 Alan Modra <amodra@gmail.com>
49252
49253 [BZ #15680]
49254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49256 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49257 calculation. Remove unnecessary test for denormal exponent.
49258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49259 Correct handling of denormals. Avoid undefined shift behaviour.
49260 Correct normalisation of low mantissa when low double is denormal.
49261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49262 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
49263 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49264 Correct normalisation of low mantissa. Test for overflow of high
49265 mantissa and normalise.
49266 (ldbl_nearbyint): Use more readable constant for two52.
49267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49268 (__mpn_construct_long_double): Fix test for overflow of high
49269 mantissa and correct normalisation. Avoid undefined shift.
49270
49271 2013-10-04 Alan Modra <amodra@gmail.com>
49272
49273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49274 (union ibm_extended_long_double): Define as an array of ieee754_double.
49275 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49277 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49286
49287 2013-10-03 Joseph Myers <joseph@codesourcery.com>
49288
49289 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49290 page size instead of calling getpagesize.
49291
49292 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49293 (LOCFILE_ALIGN_MASK): Likewise.
49294 (LOCFILE_ALIGN_UP): Likewise.
49295 (LOCFILE_ALIGNED_P): Likewise.
49296 * locale/programs/ld-collate.c (collate_output): Use the new
49297 macros instead of __alignof__ (int32_t).
49298 * locale/weight.h (findidx): Likewise.
49299
49300 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
49301
49302 [BZ #431]
49303 * manual/string.texi: Fix strncat and wcsncat.
49304
49305 2013-10-03 Brooks Moses <bmoses@google.com>
49306
49307 [BZ #15915]
49308 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49309 * Makerules: ...here, and adjust associated comments.
49310
49311 2013-10-02 Will Newton <will.newton@linaro.org>
49312
49313 * malloc/Makefile: Add tst-pvalloc.
49314 * malloc/tst-pvalloc.c: New file.
49315
49316 2013-10-02 Will Newton <will.newton@linaro.org>
49317
49318 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49319 improve test coverage.
49320
49321 2013-10-02 Will Newton <will.newton@linaro.org>
49322
49323 * malloc/Makefile: Add tst-posix_memalign.
49324 * malloc/tst-posix_memalign.c: New file.
49325
49326 2013-10-01 Eric Blake <eblake@redhat.com>
49327
49328 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49329 Use __THROWNL rather than __THROW on static functions.
49330
49331 2013-09-30 Petr Machata <pmachata@redhat.com>
49332
49333 * elf/elf.h (R_AARCH64_ABS16): New macro.
49334 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49335 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49336 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49337 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49338 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49339 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49340 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49341 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49342 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49343 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49344 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49345 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49346 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49347 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49348 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49349 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49350 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49351 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49352 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49353 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49354 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49355 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49356 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49357 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49358 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49359 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49360 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49361 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49362 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49363 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49368 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49383 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49384 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49385 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49386 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49387 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49388 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49389 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49390 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49391 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49392 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49393 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49404 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49405 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49406 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49407 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49408 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49409 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49410 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49411 (R_AARCH64_TLSDESC_LDR): Likewise.
49412 (R_AARCH64_TLSDESC_ADD): Likewise.
49413 (R_AARCH64_TLSDESC_CALL): Likewise.
49414
49415 2013-09-30 Andreas Schwab <schwab@suse.de>
49416
49417 [BZ #15048]
49418 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49419 the nss database lookup.
49420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49422
49423 2013-09-28 Mike Frysinger <vapier@gentoo.org>
49424
49425 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49426
49427 2013-09-28 P. J. McDermott <pj@pehjota.net>
49428
49429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49430 ${Bash-specific parameter/pattern/string} parameter expansion.
49431 * sysdeps/unix/make-syscalls.sh: Likewise.
49432
49433 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49434
49435 * sysdeps/sh/stackguard-macros.h: New file.
49436
49437 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
49438
49439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49441 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49444 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49445
49446 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49447
49448 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49449 Fix thread ID register.
49450
49451 2013-09-25 Joseph Myers <joseph@codesourcery.com>
49452
49453 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49454 [POSIX || UNIX98]: Require rather than permitting all symbols from
49455 <time.h>.
49456 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49457 element of struct sched_param.
49458 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49459 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49460 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49461 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49462 constant.
49463
49464 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
49465
49466 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49467 argument calculation.
49468
49469 2013-09-24 Joseph Myers <joseph@codesourcery.com>
49470
49471 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49472 Expect macro.
49473 [POSIX] (pthread_attr_t): Do not require type.
49474 [POSIX] (pthread_cond_t): Likewise.
49475 [POSIX] (pthread_condattr_t): Likewise.
49476 [POSIX] (pthread_key_t): Likewise.
49477 [POSIX] (pthread_mutex_t): Likewise.
49478 [POSIX] (pthread_mutexattr_t): Likewise.
49479 [POSIX] (pthread_once_t): Likewise.
49480 [POSIX] (pthread_t): Likewise.
49481 [POSIX-based standards] (pthread_atfork): Expect function.
49482
49483 2013-09-24 Joseph Myers <joseph@codesourcery.com>
49484 Richard Sandiford <richard@codesourcery.com>
49485
49486 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49487 (swap_endianness_p): New extern variable.
49488 (set_big_endian): New inline function.
49489 (maybe_swap_uint32): Likewise.
49490 (maybe_swap_uint32_array): Likewise.
49491 (maybe_swap_uint32_obstack): Likewise.
49492 * locale/programs/locfile.c: Include <stdbool.h>.
49493 (swap_endianness_p): New variable.
49494 (add_locale_uint32): Call maybe_swap_uint32.
49495 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49496 (write_locale_data): Call maybe_swap_uint32_array.
49497 * locale/programs/ld-collate.c (obstack_int32_grow): Call
49498 maybe_swap_uint32.
49499 (obstack_int32_grow_fast): Likewise.
49500 (output_weightwc): Call maybe_swap_uint32_obstack.
49501 (collate_output): Likewise.
49502 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49503 (OPT_LITTLE_ENDIAN): Likewise.
49504 (options): Add --little-endian and --big-endian options.
49505 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49506 * locale/programs/locarchive.c: Include "locfile.h".
49507 (GET): New macro.
49508 (SET): Likewise.
49509 (INC): Likewise.
49510 (create_archive): Use the new macros to access fields of
49511 structures directly mapped from or written to locale archives.
49512 (oldlocrecentcmp): Likewise.
49513 (enlarge_archive): Likewise.
49514 (insert_name): Likewise.
49515 (add_alias): Likewise.
49516 (add_locale): Likewise.
49517 (delete_locales_from_archive): Likewise.
49518 (show_archive_content): Likewise.
49519 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
49520 locale data.
49521
49522 2013-09-24 Roland McGrath <roland@hack.frob.com>
49523
49524 * manual/freemanuals.texi: Updated from (newly) canonical copy at
49525 http://www.gnu.org/doc/freemanuals.texi.
49526 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49527
49528 2013-09-24 Will Newton <will.newton@linaro.org>
49529
49530 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49531 macro.
49532
49533 2013-09-23 Joseph Myers <joseph@codesourcery.com>
49534
49535 * locale/hashval.h (compute_hashval): Interpret bytes of key as
49536 unsigned char.
49537
49538 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
49539
49540 * manual/threads.texi (POSIX Threads): Fix a typo.
49541
49542 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49543
49544 [BZ #14547]
49545 * string/tst-strcoll-overflow.c: New test case.
49546 * string/Makefile (xtests): Add tst-strcoll-overflow.
49547 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49548 cache if string sizes may cause integer overflow.
49549
49550 [BZ #14547]
49551 * string/strcoll_l.c (coll_seq): New members rule, idx,
49552 save_idx and back_us.
49553 (get_next_seq_nocache): New function.
49554 (do_compare_nocache): New function.
49555 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49556 when malloc fails.
49557
49558 2013-09-23 Carlos O'Donell <carlos@redhat.com>
49559
49560 [BZ #15754]
49561 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49562 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49563 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49564
49565 [BZ #15754]
49566 * elf/Makefile (tests): Add tst-ptrguard1.
49567 (tests-static): Add tst-ptrguard1-static.
49568 (tst-ptrguard1-ARGS): Define.
49569 (tst-ptrguard1-static-ARGS): Define.
49570 * elf/tst-ptrguard1.c: New file.
49571 * elf/tst-ptrguard1-static.c: New file.
49572 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49573 * sysdeps/i386/stackguard-macros.h: Likewise.
49574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49580
49581 2013-09-23 Hector Marco <hecmargi@upv.es>
49582 Ismael Ripoll <iripoll@disca.upv.es>
49583 Carlos O'Donell <carlos@redhat.com>
49584
49585 [BZ #15754]
49586 * sysdeps/generic/stackguard-macros.h: Define
49587 __pointer_chk_guard_local and POINTER_CHK_GUARD.
49588 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49589 Define __pointer_chk_guard_local.
49590 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49591 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49592
49593 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
49594
49595 [BZ #15859]
49596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49597
49598 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
49599
49600 * include/string.h (__ffs): Declare as hidden.
49601 * string/ffs.c (__ffs): Define as hidden.
49602 * sysdeps/i386/ffs.c (__ffs): Likewise.
49603 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49604 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49605 * sysdeps/s390/ffs.c (__ffs): Likewise.
49606 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49607
49608 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
49609
49610 * NEWS: Mention malloc probes.
49611
49612 * malloc/arena.c (new_heap): New memory_heap_new probe.
49613 (grow_heap): New memory_heap_more probe.
49614 (shrink_heap): New memory_heap_less probe.
49615 (heap_trim): New memory_heap_free probe.
49616 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49617 (systrim): New memory_sbrk_less probe.
49618 * manual/probes.texi: Document them.
49619
49620 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49621 * manual/probes.texi: Document it.
49622
49623 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49624 (__libc_realloc): Add memory_realloc_retry probe.
49625 (__libc_memalign): Add memory_memalign_retry probe.
49626 (__libc_valloc): Add memory_valloc_retry probe.
49627 (__libc_pvalloc): Add memory_pvalloc_retry probe.
49628 (__libc_calloc): Add memory_calloc_retry probe.
49629 * manual/probes.texi: Document them.
49630
49631 * malloc/arena.c (get_free_list): Add probe
49632 memory_arena_reuse_free_list.
49633 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49634 and memory_arena_reuse.
49635 (arena_get2) [!PER_THREAD]: Likewise.
49636 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49637 memory_arena_reuse_realloc.
49638 * manual/probes.texi: Document them.
49639
49640 * malloc/malloc.c (__libc_free): Add
49641 memory_mallopt_free_dyn_thresholds probe.
49642 (__libc_mallopt): Add multiple memory_mallopt probes.
49643 * manual/probes.texi: Document them.
49644
49645 * malloc/malloc.c: Include stap-probe.h.
49646 (__libc_mallopt): Add memory_mallopt probe.
49647 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49648 * manual/probes.texi: New.
49649 * manual/Makefile (chapters): Add probes.
49650 * manual/threads.texi: Set next node.
49651
49652 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
49653
49654 [BZ #15963, #13985]
49655 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49656 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49657 Add `Chinese' to `nan' entry name.
49658
49659 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49660
49661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49662 (POLYNOMIAL): Likewise.
49663 (TAYLOR_SINCOS): Likewise.
49664 (TAYLOR_SLOW): Likewise.
49665 (__sin): Use TAYLOR_SINCOS.
49666 (__cos): Likewise.
49667 (slow): Use TAYLOR_SLOW.
49668 (sloww): Likewise.
49669 (bsloww): Likewise.
49670 (csloww): Likewise.
49671
49672 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49673
49674 * stdlib/strtod_l.c: Fix buffer overrun.
49675
49676 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49677
49678 * benchtests/Makefile (bench): Add sincos.
49679 * benchtests/bench-sincos.c: New file.
49680
49681 * math/libm-test.inc (cos_test_data): New test inputs.
49682 (sin_test_data): Likewise.
49683
49684 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49685 macro.
49686 (__sin): Use it.
49687 (__cos): Likewise.
49688 (slow1): Likewise.
49689 (slow2): Likewise.
49690 (sloww1): Likewise.
49691 (sloww2): Likewise.
49692 (bsloww1): Likewise.
49693 (bsloww2): Likewise.
49694 (cslow2): Likewise.
49695 (csloww1): Likewise.
49696 (csloww2): Likewise.
49697
49698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49699 function.
49700 (__sin): Use it.
49701 (__cos): Likewise.
49702
49703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49704 gotos.
49705 (__cos): Likewise.
49706
49707 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
49708
49709 * config.h.in (HAVE_MIPS_NAN2008): New macro.
49710 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49711 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49712 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49713 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49714 * elf/cache.c (print_entry): Handle the new cache flags.
49715
49716 2013-09-18 Joseph Myers <joseph@codesourcery.com>
49717 Aldy Hernandez <aldyh@redhat.com>
49718
49719 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49720 Change condition to [_SOFT_FLOAT].
49721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49733 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49736 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49737 declaration.
49738
49739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
49740
49741 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49743 (__longjmp): Use LOAD_GP to load saved GPRs.
49744 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49745 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49746 (__sigsetjmp): Use SAVE_GP to save GPRs.
49747
49748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49749 Do not append -msoft-float.
49750 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49751
49752 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
49753
49754 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49755
49756 2013-09-17 Joseph Myers <joseph@codesourcery.com>
49757
49758 [BZ #15966]
49759 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49760 (_FPU_GETCW): Use initial "__" on variable and field names but not
49761 on macro parameter name.
49762 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
49763 parentheses around reference to macro parameter.
49764
49765 2013-09-13 Richard Sandiford <richard@codesourcery.com>
49766
49767 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49768 prototype.
49769 (ctype_startup): Use uint32_t in cast and sizeof for
49770 ctype->charnames.
49771
49772 2013-09-11 Jia Liu <proljc@gmail.com>
49773
49774 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49775 __daddr_t_defined.
49776 [__FreeBSD__]: Likewise.
49777
49778 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
49779
49780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49781 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49783 (strchr): Remove __strchr_sse42 ifunc selection.
49784 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49785 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49786
49787 2013-09-11 Will Newton <will.newton@linaro.org>
49788
49789 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49790 parameter to RES. Remove hardcoded 1000 value.
49791 * benchtests/bench-skeleton.c (main): Pass RES parameter
49792 to TIMING_INIT and multiply result by 1000.
49793
49794 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49795
49796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49797
49798 2013-09-11 Andreas Schwab <schwab@suse.de>
49799
49800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49801 if not defined.
49802 (O_TMPFILE) [__USE_GNU]: Define.
49803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49804 Define.
49805
49806 2013-09-11 Will Newton <will.newton@linaro.org>
49807
49808 [BZ #15857]
49809 * malloc/malloc.c (__libc_memalign): Check the value of bytes
49810 does not overflow.
49811
49812 2013-09-11 Will Newton <will.newton@linaro.org>
49813
49814 [BZ #15856]
49815 * malloc/malloc.c (__libc_valloc): Check the value of bytes
49816 does not overflow.
49817
49818 2013-09-11 Will Newton <will.newton@linaro.org>
49819
49820 [BZ #15855]
49821 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49822 does not overflow.
49823
49824 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
49825
49826 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49831
49832 2013-09-10 Allan McRae <allan@archlinux.org>
49833
49834 [BZ #15748]
49835 * manual/arith.texi (Parsing of Floats): Clarify
49836 cross-reference.
49837
49838 [BZ #15849]
49839 * manual/install.texi (Running make install): Mention
49840 --enable-pt-chown.
49841 * INSTALL: Regenerated.
49842
49843 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
49844
49845 * csu/init-first.c (_init): Remove the !SHARED condition around
49846 FPU control word initialization.
49847 * elf/dl-support.c (_dl_fpu_control): New variable.
49848 (_dl_aux_init) <AT_FPUCW>: Initialize it.
49849 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49850 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49851 * math/test-fpucw-static.c: New file.
49852 * math/test-fpucw-ieee.c: New file.
49853 * math/test-fpucw-ieee-static.c: New file.
49854 * math/Makefile (tests): Add `test-fpucw-ieee' and
49855 `$(tests-static)'.
49856 (tests-static): New variable.
49857 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49858 dependency to...
49859 [($(build-shared),yes)]
49860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49861 ... this.
49862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49863 New dependency.
49864
49865 2013-09-09 Allan McRae <allan@archlinux.org>
49866
49867 [BZ #15939]
49868 * manual/string.texi (Collation Functions): Fix typo in
49869 strcoll example.
49870 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49871
49872 [BZ #15893]
49873 * stdlib/isomac.c (get_null_defines): Fix memory leak.
49874
49875 [BZ #15892]
49876 * libio/memstream.c (open_memstream): Fix memory leak.
49877 * libio/wmemstream.c (open_wmemstream): Likewise.
49878
49879 [BZ #15895]
49880 * nscd/netgroupcache.c: Fix nesting of ifdefs.
49881
49882 2013-09-09 Will Newton <will.newton@linaro.org>
49883
49884 * malloc/Makefile: Add tst-realloc to tests.
49885 * malloc/tst-realloc.c: New file.
49886
49887 2013-09-09 Allan McRae <allan@archlinux.org>
49888
49889 [BZ #15844]
49890 * COPYING: Update from GNU website to fix FSF address.
49891 * COPYING.LIB: Likewise.
49892
49893 2013-09-06 David S. Miller <davem@davemloft.net>
49894
49895 * po/zh_TW.po: Update Chinese (traditional) translation from
49896 translation project.
49897
49898 2013-09-06 Richard Sandiford <richard@codesourcery.com>
49899 Joseph Myers <joseph@codesourcery.com>
49900
49901 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49902 "localeinfo.h".
49903 (obstack_chunk_alloc): New macro.
49904 (obstack_chunk_free): Likewise.
49905 (record_offset): New function.
49906 (init_locale_data): Likewise.
49907 (align_locale_data): Likewise.
49908 (add_locale_empty): Likewise.
49909 (add_locale_raw_data): Likewise.
49910 (add_locale_raw_obstack): Likewise.
49911 (add_locale_string): Likewise.
49912 (add_locale_wstring): Likewise.
49913 (add_locale_uint32): Likewise.
49914 (add_locale_uint32_array): Likewise.
49915 (add_locale_char): Likewise.
49916 (start_locale_structure): Likewise.
49917 (end_locale_structure): Likewise.
49918 (start_locale_prelude): Likewise.
49919 (end_locale_prelude): Likewise.
49920 (write_locale_data): Take locale_file structure rather than an
49921 iovec.
49922 * locale/programs/locfile.h: Include "obstack.h".
49923 (struct locale_file): Change to store locale file contents instead
49924 of header.
49925 (init_locale_data): New prototype.
49926 (align_locale_data): Likewise.
49927 (add_locale_empty): Likewise.
49928 (add_locale_raw_data): Likewise.
49929 (add_locale_raw_obstack): Likewise.
49930 (add_locale_string): Likewise.
49931 (add_locale_wstring): Likewise.
49932 (add_locale_uint32): Likewise.
49933 (add_locale_uint32_array): Likewise.
49934 (add_locale_char): Likewise.
49935 (start_locale_structure): Likewise.
49936 (end_locale_structure): Likewise.
49937 (start_locale_prelude): Likewise.
49938 (end_locale_prelude): Likewise.
49939 (write_locale_data): Update prototype.
49940 * locale/programs/3level.h (struct TABLE): Remove result field.
49941 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49942 Use new locale_file interface.
49943 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49944 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49945 * locale/programs/ld-address.c (address_output): Use new
49946 locale_file interface.
49947 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49948 NO_ADD_LOCALE.
49949 (collate_finish): Don't call collseq_table_finalize.
49950 (collate_output): Use new locale_file interface.
49951 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49952 in file.
49953 (NO_FINALIZE): Change to NO_ADD_LOCALE.
49954 (TABLE): Move defines earlier in file.
49955 (ELEMENT): Likewise.
49956 (DEFAULT): Likewise.
49957 (wctrans_table_add): Move macro and inline function earlier in
49958 file.
49959 (struct wctype_table): Move type earlier in file.
49960 (add_locale_wctype_table): New static prototype.
49961 (struct locale_ctype_t): Use logical types instead of struct iovec
49962 pointers for members.
49963 (ctype_output): Use new locale_file interface.
49964 (wctype_table_finalize): Change to add_locale_wctype_table. Use
49965 new locale_file interface.
49966 (allocate_arrays): Update for use of new locale_file interface.
49967 * locale/programs/ld-identification.c (identification_output): Use
49968 new locale_file interface.
49969 * locale/programs/ld-measurement.c (measurement_output): Likewise.
49970 * locale/programs/ld-messages.c (messages_output): Likewise.
49971 * locale/programs/ld-monetary.c (monetary_output): Likewise.
49972 * locale/programs/ld-name.c (name_output): Likewise.
49973 * locale/programs/ld-numeric.c (numeric_output): Likewise.
49974 * locale/programs/ld-paper.c (paper_output): Likewise.
49975 * locale/programs/ld-telephone.c (telephone_output): Likewise.
49976 * locale/programs/ld-time.c (time_output): Likewise.
49977
49978 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49979
49980 * benchtests/Makefile: Add memrchr benchmark.
49981 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49982 benchmark as memrchr.
49983 * benchtests/bench-memrchr-ifunc.c: New file.
49984 * benchtests/bench-memrchr.c: New file.
49985
49986 2013-09-06 Will Newton <will.newton@linaro.org>
49987
49988 * benchtests/Makefile (string-bench): Add memcpy.
49989
49990 2013-09-05 Carlos O'Donell <carlos@redhat.com>
49991 Cong Wang <amwang@redhat.com>
49992
49993 [BZ #15850]
49994 * sysdeps/unix/sysv/linux/bits/in.h
49995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49997 before __USE_KERNEL_IPV6_DEFS uses.
49998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49999 IPPROTO_BEETPH.
50000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50001 sockaddr_in6, or ipv6_mreq.
50002
50003 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50004
50005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50006 memory access for final bytes in some large inputs.
50007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50008
50009 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50010
50011 * string/test-memrchr.c: New file.
50012 * string/test-memrchr-ifunc.c: New file.
50013 * string/Makefile: Add new memrchr testcase.
50014
50015 2013-09-05 Mike Frysinger <vapier@gentoo.org>
50016
50017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50018 fanotify_init returns EPERM.
50019
50020 2013-09-04 Joseph Myers <joseph@codesourcery.com>
50021
50022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50023 errors.
50024 (top level): Treat second token from macro or constant entries for
50025 allowed headers as allowed.
50026 * include/complex.h: Condition internal declarations on
50027 [!_ISOMAC].
50028 * include/fenv.h: Condition include of <stdbool.h> and internal
50029 declarations on [!_ISOMAC].
50030
50031 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
50032
50033 [BZ #15923]
50034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50035
50036 2013-09-04 Joseph Myers <joseph@codesourcery.com>
50037
50038 * configure.in (--enable-versioning): Remove configure option.
50039 (libc_cv_asm_symver_directive): Remove configure test.
50040 (libc_cv_ld_version_script_option): Likewise.
50041 (VERSIONING): Remove variable and AC_SUBST.
50042 (DO_VERSIONING): Remove AC_DEFINE.
50043 * configure: Regenerated.
50044 * config.h.in (DO_VERSIONING): Remove macro.
50045 * Makerules [$(versioning) = yes]: Change conditionals to
50046 [$(build-shared) = yes].
50047 * config.make.in (versioning): Remove variable.
50048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50049 [$(build-shared) = yes].
50050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
50053 [$(build-shared) = yes].
50054 * extra-lib.mk [$(versioning) = yes]: Likewise.
50055 * hurd/Makefile [$(versioning) = yes]: Likewise.
50056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50057 [SHARED].
50058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50059 [SHARED].
50060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50061 [SHARED && !NO_HIDDEN].
50062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50063 [SHARED].
50064 [SHARED && DO_VERSIONING]: Likewise..
50065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
50066 [$(build-shared) = yes].
50067 * manual/install.texi (--disable-versioning): Remove
50068 documentation.
50069 * INSTALL: Regenerated.
50070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50071 to [SHARED].
50072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50073 [$(build-shared) = yes].
50074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50075 * sysdeps/i386/i686/multiarch/strstr-c.c
50076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50077 [SHARED && !NO_HIDDEN].
50078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50080 * sysdeps/powerpc/powerpc32/dl-machine.c
50081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50082 * sysdeps/powerpc/powerpc32/sysdep.h
50083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50084 to [SHARED && PIC && !NO_HIDDEN].
50085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50086 conditional to [SHARED].
50087
50088 2013-09-04 Will Newton <will.newton@linaro.org>
50089
50090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50091 * benchtests/bench-string.h: Include bench-timing.h instead
50092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50094 call to HP_TIMING_DIFF_INIT.
50095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
50096 instead of hp-timing.h macros.
50097 * benchtests/bench-memchr.c: Likewise.
50098 * benchtests/bench-memcmp.c: Likewise.
50099 * benchtests/bench-memcpy.c: Likewise.
50100 * benchtests/bench-memmem.c: Likewise.
50101 * benchtests/bench-memmove.c: Likewise.
50102 * benchtests/bench-memset.c: Likewise.
50103 * benchtests/bench-rawmemchr.c: Likewise.
50104 * benchtests/bench-strcasecmp.c: Likewise.
50105 * benchtests/bench-strcasestr.c: Likewise.
50106 * benchtests/bench-strcat.c: Likewise.
50107 * benchtests/bench-strchr.c: Likewise.
50108 * benchtests/bench-strcmp.c: Likewise.
50109 * benchtests/bench-strcpy.c: Likewise.
50110 * benchtests/bench-strcpy_chk.c: Likewise.
50111 * benchtests/bench-strlen.c: Likewise.
50112 * benchtests/bench-strncasecmp.c: Likewise.
50113 * benchtests/bench-strncat.c: Likewise.
50114 * benchtests/bench-strncmp.c: Likewise.
50115 * benchtests/bench-strncpy.c: Likewise.
50116 * benchtests/bench-strnlen.c: Likewise.
50117 * benchtests/bench-strpbrk.c: Likewise.
50118 * benchtests/bench-strrchr.c: Likewise.
50119 * benchtests/bench-strspn.c: Likewise.
50120 * benchtests/bench-strstr.c: Likewise.
50121
50122 2013-09-04 Will Newton <will.newton@linaro.org>
50123
50124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50125
50126 2013-09-03 Joseph Myers <joseph@codesourcery.com>
50127
50128 [BZ #15427]
50129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50131 * math/libm-test.inc (lgamma_test_data): Add more tests.
50132 * sysdeps/i386/fpu/libm-test-ulps: Update.
50133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50134
50135 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
50136
50137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50139 Add ifunc.
50140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50141 Add strcmp-sse2-unaligned
50142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50143
50144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
50145
50146 * Versions.def (libc): Add GLIBC_2.19.
50147
50148 2013-09-02 Mike Frysinger <vapier@gentoo.org>
50149
50150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50152
50153 2013-09-02 Joseph Myers <joseph@codesourcery.com>
50154
50155 [BZ #14155]
50156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50157 intermediate calculations in recurrence.
50158 (__ieee754_ynf): Likewise.
50159 * math/libm-test.inc (jn_test_data): Do not allow spurious
50160 underflow exception. Add more tests.
50161 (yn_test_data): Add more tests.
50162 * sysdeps/i386/fpu/libm-test-ulps: Update.
50163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50164
50165 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
50166
50167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50168
50169 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
50170
50171 * csu/init-first.c: Fix then/than typos.
50172 * locale/programs/ld-collate.c: Likewise.
50173 * locale/programs/linereader.h: Likewise.
50174 * manual/charset.texi: Likewise.
50175 * manual/filesys.texi: Likewise.
50176 * manual/stdio.texi: Likewise.
50177 * manual/string.texi: Likewise.
50178 * stdlib/fmtmsg.c: Likewise.
50179 * sysdeps/i386/stpncpy.S: Likewise.
50180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50184
50185 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
50186
50187 * elf/dl-open.c: Fix typos.
50188 * iconvdata/gbbig5.c: Likewise.
50189 * iconvdata/iso-2022-jp.c: Likewise.
50190 * iconv/gconv_int.h: Likewise.
50191 * iconv/loop.c: Likewise.
50192 * nis/rpcsvc/nis.h: Likewise.
50193 * resolv/ns_name.c: Likewise.
50194 * stdio-common/vfscanf.c: Likewise.
50195 * streams/stropts.h: Likewise.
50196 * sunrpc/rpc_thread.c: Likewise.
50197 * sysdeps/i386/strpbrk.S: Likewise.
50198 * sysdeps/ieee754/k_standard.c: Likewise.
50199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50202 * sysdeps/mach/hurd/profil.c: Likewise.
50203 * sysdeps/s390/dl-procinfo.h: Likewise.
50204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
50208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50209
50210 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
50211
50212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50214
50215 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
50216
50217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50218 aix specific files.
50219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50227
50228 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
50229 Roland McGrath <roland@hack.frob.com>
50230
50231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50233
50234 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
50235
50236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50237 __executable_start symbol instead of _start.
50238
50239 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
50240
50241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50243 Move macros to...
50244 * sysdeps/gnu/ldsodefs.h: ... this new file.
50245
50246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50248 instead of ELFOSABI_LINUX.
50249
50250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50254 Likewise.
50255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50258 Likewise.
50259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50260 (ibm_extended_long_double): Add ieee_nan member.
50261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50262 (do_test): New function.
50263
50264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50265 TEST_TRUNC.
50266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50267 functions, renamed from truncdfsf_test, trunctfsf_test,
50268 trunctfdf_test.
50269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50270 functions.
50271 (do_test): Run all these.
50272
50273 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
50274
50275 * argp/argp-help.c: Fix typos.
50276 * argp/argp-parse.c: Likewise.
50277 * debug/backtracesyms.c: Likewise.
50278 * elf/elf.h: Likewise.
50279 * malloc/malloc.c: Likewise.
50280 * nis/nis_print.c: Likewise.
50281 * resolv/res_comp.c: Likewise.
50282 * stdlib/stdlib.h: Likewise.
50283 * sunrpc/clnt_tcp.c: Likewise.
50284 * sunrpc/clnt_udp.c: Likewise.
50285 * sunrpc/clnt_unix.c: Likewise.
50286 * sysdeps/unix/bsd/ptsname.c: Likewise.
50287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50290 Likewise.
50291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50292 Likewise.
50293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50294 Likewise.
50295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50296
50297 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50298
50299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50301
50302 2013-08-27 Mike Frysinger <vapier@gentoo.org>
50303
50304 [BZ #15897]
50305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
50306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50307 ($(objpfx)bug-dl-leaf): New rule.
50308 ($(objpfx)bug-dl-leaf.so): Likewise.
50309 ($(objpfx)bug-dl-leaf.out): Likewise.
50310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50312 * dlfcn/bug-dl-leaf.c: New test.
50313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
50314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50316 (dlclose): Likewise.
50317 (dlmopen): Likewise.
50318
50319 2013-08-27 Roland McGrath <roland@hack.frob.com>
50320
50321 * include/netdb.h [!_ISOMAC]:
50322 Don't include <tls.h>.
50323 (h_errno, __libc_h_errno): Move declaration and macros out of
50324 [_LIBC_REENTRANT].
50325
50326 * include/resolv.h [_RESOLV_H_]:
50327 Don't include <tls.h>.
50328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50329 * resolv/res_libc.c: Don't include <tls.h>.
50330 (_res): Use __attribute__ ((nocommon)) in place of
50331 __attribute__ ((section (".bss"))).
50332
50333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50335
50336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50337
50338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
50340
50341 * resolv/res_mkquery.c: Include <sys/time.h>.
50342
50343 * inet/ifreq.c: Moved to ...
50344 * sysdeps/unix/ifreq.c: ... here.
50345 * inet/ifreq.c: New file, true stub version.
50346
50347 * socket/sa_len.c: New file.
50348 * socket/Makefile (aux): Add it.
50349 * sysdeps/unix/sysv/linux/Makefile
50350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50352 and #include <socket/sa_len.c>.
50353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50355
50356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50357 * bits/socket.h: ... here.
50358
50359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50362
50363 2013-08-27 Andreas Schwab <schwab@suse.de>
50364
50365 [BZ #15736]
50366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50369 * string/test-strcasecmp.c (test_main): Run tests in several
50370 locales.
50371 * string/test-strncasecmp.c (test_main): Likewise.
50372
50373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
50376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50377 (__strncasecmp_ssse3) [PIC]: Likewise.
50378
50379 2013-08-26 Roland McGrath <roland@hack.frob.com>
50380
50381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50382
50383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50384 instead of explicitly declaring xdecrypt.
50385 * nis/nss_nis/nis-publickey.c: Likewise.
50386
50387 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50388
50389 [BZ #15890]
50390 * nscd/aicache.c: Include res_hconf.h.
50391 (addhstaiX): Initialize res_hconf.
50392
50393 2013-08-26 Andreas Schwab <schwab@suse.de>
50394
50395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50397
50398 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50399
50400 * nscd/aicache.c (addhstaiX): Fix indentation.
50401
50402 2013-08-25 Mike Frysinger <vapier@gentoo.org>
50403
50404 * configure.ac: Quote $build_pt_chown test.
50405 * configure: Regenerated.
50406
50407 2013-08-23 Joseph Myers <joseph@codesourcery.com>
50408
50409 [BZ #15532]
50410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50411 * math/s_cexpf.c (__cexpf): Likewise.
50412 * math/s_cexpl.c (__cexpl): Likewise.
50413 * math/libm-test.inc (cexp_test_data): Correct expected return
50414 value for NaN + i0. Add another test.
50415
50416 2013-08-22 David S. Miller <davem@davemloft.net>
50417
50418 * po/ca.po: Update Catalan translation from translation project.
50419 * po/uk.po: Add Ukrainian translations from translation project.
50420
50421 2013-08-21 Joseph Myers <joseph@codesourcery.com>
50422
50423 [BZ #15797]
50424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
50425 is infinite, not alongside NaN test.
50426 * math/s_fdimf.c (__fdimf): Likewise.
50427 * math/s_fdiml.c (__fdiml): Likewise.
50428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
50429 errno is unchanged.
50430
50431 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
50432
50433 * argp/argp-help.c: Fix typos.
50434 * crypt/speeds.c: Likewise.
50435 * csu/check_fds.c: Likewise.
50436 * elf/dl-load.c: Likewise.
50437 * elf/dl-open.c: Likewise.
50438 * elf/reldep3.c: Likewise.
50439 * elf/reldep.c: Likewise.
50440 * elf/sprof.c: Likewise.
50441 * iconv/iconv_charmap.c: Likewise.
50442 * iconv/skeleton.c: Likewise.
50443 * iconv/strtab.c: Likewise.
50444 * io/lockf64.c: Likewise.
50445 * libio/libioP.h: Likewise.
50446 * resolv/gai_notify.c: Likewise.
50447 * resolv/ns_name.c: Likewise.
50448 * resolv/ns_samedomain.c: Likewise.
50449 * resolv/res_send.c: Likewise.
50450 * stdlib/random.c: Likewise.
50451 * sunrpc/rpc/xdr.h: Likewise.
50452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50460 * sysdeps/mach/hurd/check_fds.c: Likewise.
50461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50467 * sysdeps/pthread/aio_notify.c: Likewise.
50468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50473
50474 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50475
50476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50477 version if bit_Slow_SSE4_2 is set.
50478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50480
50481 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50482
50483 [BZ #15867]
50484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50485 trampoline stack frame information.
50486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
50492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
50493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50494 sa_flags value.
50495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50496 interrupting a syscall and set with option SA_SIGINFO.
50497
50498 2013-08-20 Joseph Myers <joseph@codesourcery.com>
50499
50500 [BZ #15531]
50501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
50502 argument is infinite.
50503 * math/s_cprojf.c (__cprojf): Likewise.
50504 * math/s_cprojl.c (__cprojl): Likewise.
50505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50506 * math/libm-test.inc (cproj_test_data): Add more tests.
50507
50508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50509
50510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50512 size. Use __ffs to determine corresponding shift.
50513
50514 2013-08-20 Joseph Myers <joseph@codesourcery.com>
50515 Roland McGrath <roland@hack.frob.com>
50516
50517 * Makefile (INSTALL): Remove trailing blank lines from output of
50518 makeinfo.
50519
50520 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50521
50522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50523 Align 32 bit compat elf_greg to 8 bytes.
50524
50525 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
50526
50527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50528
50529 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50530
50531 * string/strcoll_l.c (coll_seq): New structure.
50532 (get_next_seq_cached): New function.
50533 (get_next_seq): New function.
50534 (do_compare): New function.
50535 (STRCOLL): Use GNU style definition. Simplify implementation
50536 by using get_next_seq, get_next_seq_cached and do_compare.
50537
50538 2013-08-16 Florian Weimer <fweimer@redhat.com>
50539
50540 [BZ #14699]
50541 CVE-2013-4237
50542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50543 member.
50544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50545 member.
50546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
50549 conditional.
50550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50551 GETDENTS_64BIT_ALIGNED.
50552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50553 * manual/filesys.texi (Reading/Closing Directory): Document
50554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
50555 strongly.
50556 * manual/conf.texi (Limits for Files): Add portability note to
50557 NAME_MAX, PATH_MAX.
50558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50559
50560 2013-08-13 Andreas Schwab <schwab@suse.de>
50561
50562 [BZ #15749]
50563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50564 of fabs.
50565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50566 LDBL_MAX_EXP >= 16384]: Add tests for it.
50567
50568 2013-08-12 David S. Miller <davem@davemloft.net>
50569
50570 * version.h (RELEASE): Set to "development".
50571 (VERSION): Set to "2.18.90".
50572 * NEWS: Add 2.19 section.
50573
50574 2013-08-03 David S. Miller <davem@davemloft.net>
50575
50576 * po/ko.po: Update Korean translation from translation project.
50577
50578 2013-08-01 David S. Miller <davem@davemloft.net>
50579
50580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
50581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50582 Bilka.
50583
50584 2013-07-30 David S. Miller <davem@davemloft.net>
50585
50586 * po/fr.po: Update French translation from translation project.
50587
50588 2013-07-28 David S. Miller <davem@davemloft.net>
50589
50590 * po/cs.po: Update Czech translation from translation project.
50591
50592 * po/sv.po: Update Swedish translation from translation project.
50593
50594 2013-07-27 David S. Miller <davem@davemloft.net>
50595
50596 * po/eo.po: Update Esperanto translation from translation project.
50597
50598 * po/vi.po: Update Vietnamese translation from translation project.
50599
50600 * po/de.po: Update German translation from translation project.
50601
50602 2013-07-26 David S. Miller <davem@davemloft.net>
50603
50604 * po/bg.po: Update Bulgarian translation from translation project.
50605
50606 * po/nl.po: Update Dutch translation from translation project.
50607 * po/pl.po: Update Polish translation from translation project.
50608 * po/ru.po: Update Russian translation from translation project.
50609
50610 2013-07-24 David S. Miller <davem@davemloft.net>
50611
50612 * po/libc.pot: Update.
50613
50614 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50615
50616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50617 variable page size.
50618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50621
50622 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50623
50624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50625
50626 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50627 Andreas Schwab <schwab@suse.de>
50628 Roland McGrath <roland@hack.frob.com>
50629 Joseph Myers <joseph@codesourcery.com>
50630 Carlos O'Donell <carlos@redhat.com>
50631
50632 [BZ #15755]
50633 * config.h.in: Define HAVE_PT_CHOWN.
50634 * config.make.in (build-pt-chown): New variable.
50635 * configure.in (--enable-pt_chown): New configure option.
50636 * configure: Regenerate.
50637 * login/Makefile: Include Makeconfig. Build pt_chown only if
50638 build-pt-chown is enabled.
50639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50640 pt_chown to fix pty ownership.
50641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50642 CLOSE_ALL_FDS.
50643 * manual/install.texi (Configuring and compiling): Mention
50644 --enable-pt_chown. Add @findex for grantpt.
50645 * INSTALL: Regenerate.
50646
50647 2013-07-20 David S. Miller <davem@davemloft.net>
50648
50649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50650 difference between 32-bit and 64-bit.
50651
50652 2013-07-15 Carlos O'Donell <carlos@redhat.com>
50653
50654 [BZ #15711]
50655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50656 Avoid system header dependency with -ffreestanding.
50657 ($(objpfx)bits/syscall%d): Likewise.
50658
50659 2013-07-13 David S. Miller <davem@davemloft.net>
50660
50661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50662 underflows from atanl/atan2l due to bug 15319.
50663 (casinh_test_data): Likewise.
50664
50665 2013-07-07 David S. Miller <davem@davemloft.net>
50666
50667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50668
50669 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
50670
50671 * sysdeps/i386/fpu/libm-test-ulps: Update.
50672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50673
50674 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50675
50676 * configure.in (--enable-lock-elision): Fix message text.
50677 * INSTALL: Regenerate.
50678 * configure: Regenerate.
50679
50680 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50681
50682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50683
50684 2013-07-03 Andreas Jaeger <aj@suse.de>
50685
50686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50687 define.
50688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50689 (ptrace_peeksiginfo_args): Add.
50690 (__ptrace_peeksiginfo_flags): Add.
50691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50694
50695 2013-07-03 Allan McRae <allan@archlinux.org>
50696
50697 * sysdeps/i386/fpu/libm-test-ulps: Update.
50698
50699 2013-07-02 David S. Miller <davem@davemloft.net>
50700
50701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50702
50703 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
50704
50705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50706
50707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
50708
50709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50711
50712 2013-07-02 Andi Kleen <ak@linux.intel.com>
50713
50714 * config.h.in (ENABLE_LOCK_ELISION): Add.
50715 * configure.in (--enable-lock-elision): Add option.
50716 * manual/install.texi: Document --enable lock elision.
50717 * configure: Regenerate
50718 * INSTALL: Regenerate.
50719
50720 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
50721
50722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50723 SSE4.2 strcasecmp for libc.a.
50724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50725
50726 2013-07-02 Joseph Myers <joseph@codesourcery.com>
50727
50728 [BZ #13304]
50729 * soft-fp/op-common.h (_FP_FMA): New macro.
50730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
50732 (_FP_MUL_MEAT_1_imm): ... here.
50733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
50734 (_FP_MUL_MEAT_1_wide): ... here.
50735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
50736 (_FP_MUL_MEAT_1_hard): ... here.
50737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
50739 (_FP_MUL_MEAT_2_wide): ... here.
50740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
50741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
50742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
50743 (_FP_MUL_MEAT_2_gmp): ... here.
50744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
50746 (_FP_MUL_MEAT_4_wide): ... here.
50747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
50748 (_FP_MUL_MEAT_4_gmp): ... here.
50749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50750 (_FP_WFRACBITS_DW_S): Likewise.
50751 (_FP_WFRACXBITS_DW_S): Likewise.
50752 (_FP_HIGHBIT_DW_S): Likewise.
50753 (FP_FMA_S): Likewise.
50754 (_FP_FRAC_HIGH_DW_S): Likewise.
50755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50756 (_FP_WFRACBITS_DW_D): Likewise.
50757 (_FP_WFRACXBITS_DW_D): Likewise.
50758 (_FP_HIGHBIT_DW_D): Likewise.
50759 (FP_FMA_D): Likewise.
50760 (_FP_FRAC_HIGH_DW_D): Likewise.
50761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50762 (_FP_WFRACBITS_DW_E): Likewise.
50763 (_FP_WFRACXBITS_DW_E): Likewise.
50764 (_FP_HIGHBIT_DW_E): Likewise.
50765 (FP_FMA_E): Likewise.
50766 (_FP_FRAC_HIGH_DW_E): Likewise.
50767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50768 (_FP_WFRACBITS_DW_Q): Likewise.
50769 (_FP_WFRACXBITS_DW_Q): Likewise.
50770 (_FP_HIGHBIT_DW_Q): Likewise.
50771 (FP_FMA_Q): Likewise.
50772 (_FP_FRAC_HIGH_DW_Q): Likewise.
50773 * soft-fp/fmasf4.c: New file.
50774 * soft-fp/fmadf4.c: Likewise.
50775 * soft-fp/fmatf4.c: Likewise.
50776
50777 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50778
50779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50781 Silvermont.
50782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50783 macro.
50784 (index_Slow_SSE4_2): Likewise.
50785 (index_Prefer_PMINUB_for_stringop): Likewise.
50786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50787 bit_Slow_SSE4_2 is set.
50788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50790
50791 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50792
50793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50794 rtld_global._dl_hwcap2.
50795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50796 POWER8.
50797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50798 POWER8 feature descriptions defined in _dl_hwcap2.
50799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50800 string handling for POWER8 feature bits.
50801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50803 _dl_powerpc_cap_flags.
50804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50805 * sysdeps/powerpc/rtld-global-offsets.sym
50806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50807 _dl_hwcap2 in the rtld_global_ro structure.
50808
50809 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50810
50811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50812 hardware capabilities in support of AT_HWCAP2.
50813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50815 GLRO(dl_hwcap2).
50816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
50817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
50818 explicitly the unknown a_type display mechanism is used.
50819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50821 struct member.
50822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50823 to macro prototype for AT_HWCAP2 support.
50824 * sysdeps/i386/dl-procinfo.h: Likewise.
50825 * sysdeps/s390/dl-procinfo.h: Likewise.
50826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
50828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
50829 return -1 for unknown a_type display fallback.
50830 * sysdeps/sparc/dl-procinfo.h: Likewise.
50831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50833
50834 2013-06-28 Joseph Myers <joseph@codesourcery.com>
50835
50836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50838
50839 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
50840
50841 [BZ #12492]
50842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50843 mprotect making __stack_prot writable.
50844
50845 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
50846 Joseph Myers <joseph@codesourcery.com>
50847
50848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50849 as being properly aligned.
50850
50851 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
50852
50853 * dlfcn/modstatic5.c: New file.
50854 * dlfcn/tststatic5.c: New file.
50855 * dlfcn/Makefile (tests): Add tststatic5.
50856 (tests-static): Likewise.
50857 (modules-names): Add modstatic5.
50858 (tststatic5-ENV): New variable.
50859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50860
50861 [BZ #15022]
50862 * elf/dl-support.c (_dl_main_map): New variable.
50863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50864 (_dl_nns, _dl_load_adds): Set to 1.
50865 (_dl_initial_searchlist): Refer to _dl_main_map.
50866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50868 call to _dl_get_origin.
50869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50870 around call_map.
50871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50872 * dlfcn/modstatic3.c: New file.
50873 * dlfcn/tststatic3.c: New file.
50874 * dlfcn/tststatic4.c: New file.
50875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50876 (tests-static): Likewise.
50877 (modules-names): Add modstatic3.
50878 (tststatic3-ENV, tststatic4-ENV): New variables.
50879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50881
50882 2013-06-26 Joseph Myers <joseph@codesourcery.com>
50883
50884 * configure.in (CC): Require GCC version 4.4 or later.
50885 * configure: Regenerated.
50886 * manual/install.texi (Tools for Compilation): Update GCC version
50887 requirement.
50888 * INSTALL: Regenerated.
50889
50890 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50891
50892 [BZ #15674]
50893 * string/test-memcmp.c (check2): New.
50894 (main): Call check2.
50895
50896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50897
50898 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
50899
50900 [BZ #15022]
50901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50902 over to...
50903 (dl_open_worker) [!SHARED]: ... here.
50904
50905 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50906
50907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50908
50909 2013-06-25 Richard Henderson <rth@redhat.com>
50910
50911 * locale/programs/locarchive.c: Include <libc-internal.h>
50912
50913 2013-06-25 Joseph Myers <joseph@codesourcery.com>
50914
50915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
50916 trailing whitespace removed.
50917
50918 2013-06-24 Mike Frysinger <vapier@gentoo.org>
50919
50920 [BZ #10283]
50921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50922 * locale/programs/locarchive.c: Include libc-mmap.h.
50923 (prepare_address_space): Take two new outputs (the mmap base and len).
50924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
50925 values.
50926 (create_archive): Declare new mmap base and len values for
50927 prepare_address_space, and store the result in ah.
50928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
50930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50931 Declare new mmap base and len values for
50932 prepare_address_space, and store the result in new_ah.
50933 (open_archive): Declare new mmap base and len values for
50934 prepare_address_space, and store the result in ah.
50935 (close_archive): If ah->mmap_base is not NULL, use that and
50936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50937 * sysdeps/generic/libc-mmap.h: New file.
50938
50939 2013-06-24 Mike Frysinger <vapier@gentoo.org>
50940
50941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50942 (ALIGN_UP): Likewise.
50943 (PTR_ALIGN_DOWN): Likewise.
50944 (PTR_ALIGN_UP): Likewise.
50945
50946 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50947
50948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50949 entry mapped to PPC_PLATFORM_POWER8.
50950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50951 POWER8.
50952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50953 (_dl_string_platform): Add case for exporting platform position for
50954 POWER8.
50955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50956 search path to sysdeps/powerpc/powerpc32/power8 directory.
50957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50958 search path to sysdeps/powerpc/powerpc64/power8 directory.
50959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50960 power7 directories.
50961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50962 power7 directories.
50963
50964 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
50965
50966 * INSTALL: Regenerate.
50967
50968 * nscd/connections.c (nscd_init): Fix comment.
50969
50970 2013-06-22 Joseph Myers <joseph@codesourcery.com>
50971
50972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50973
50974 [BZ #15667]
50975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50977
50978 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
50979
50980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50981 DL_DST_REQ_STATIC.
50982 (DL_DST_REQ_STATIC): Remove macro.
50983
50984 2013-06-21 Joseph Myers <joseph@codesourcery.com>
50985
50986 [BZ #7006]
50987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50988 with a shift of 0 bits.
50989
50990 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
50991
50992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50993 $(tststatic-ENV).
50994
50995 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50996
50997 [BZ #15655]
50998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50999
51000 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51001
51002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51004 accepts -fno-tree-loop-distribute-patterns.
51005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51007 recursive call.
51008 * string/memset.c (memset): Likewise.
51009 * string/test-memmove.c (simple_memmove): Disable loop transformation
51010 to library calls.
51011 * string/test-memset.c (simple_memset): Likewise.
51012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
51013 * benchtests/bench-memset.c (simple_memset): Likewise.
51014 * configure: Regenerated.
51015
51016 2013-06-20 Joseph Myers <joseph@codesourcery.com>
51017
51018 * math/test-misc.c (main): Ignore fesetround failure when failures
51019 of subsequent rounding tests would be ignored.
51020
51021 [BZ #15654]
51022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
51023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51024 * math/fegetenv.c (__fegetenv): Return 0.
51025 * math/fegetexcept.c (fegetexcept): Return 0.
51026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51027 FE_TONEAREST.
51028 * math/feholdexcpt.c (feholdexcept): Return 0.
51029 * math/fesetenv.c (__fesetenv): Return 0.
51030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51031 argument FE_TONEAREST.
51032 * math/feupdateenv.c (__feupdateenv): Return 0.
51033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51034
51035 2013-06-18 Roland McGrath <roland@hack.frob.com>
51036
51037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
51038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
51039 ($(objpfx)rtld-%.os rules): Use them.
51040
51041 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51042
51043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51044 fields.
51045
51046 2013-06-17 Roland McGrath <roland@hack.frob.com>
51047
51048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51049 length of target pattern, then descending length of dependency pattern.
51050 * configure.in (AWK): Require gawk 3.1.2 or newer.
51051 * manual/install.texi (Tools for Compilation): Say that we do.
51052 * configure: Regenerated.
51053
51054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51056 * scripts/sysd-rules.awk: ... this new script.
51057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51058 than a glob-style pattern.
51059
51060 2013-06-17 Joseph Myers <joseph@codesourcery.com>
51061
51062 * math/test-misc.c (main): Do not treat incorrectly rounded
51063 conversions as failure unless ROUNDING_TESTS passes.
51064
51065 2013-06-15 Joseph Myers <joseph@codesourcery.com>
51066
51067 [BZ #15631]
51068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51069 restore exception state around main square root computation, then
51070 check for inexactness explicitly.
51071
51072 * math/libm-test.inc (fma_test_data): Add another test.
51073
51074 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51075
51076 * manual/threads.texi (Non-POSIX Extensions): New document
51077 node. Document pthread_getattr_default_np and
51078 pthread_setattr_default_np.
51079
51080 * Versions.def (libpthread): Add GLIBC_2.18.
51081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51083 Likewise.
51084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51085 Likewise.
51086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51087 Likewise.
51088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51089 Likewise.
51090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51091 Likewise.
51092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51093 Likewise.
51094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51095 Likewise.
51096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51097 Likewise.
51098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51099 Likewise.
51100
51101 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51102
51103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51105
51106 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
51107 H.J. Lu <hjl.tools@gmail.com>
51108
51109 [BZ #15627]
51110 * sysdeps/x86_64/rtld-memset.c: Remove file.
51111 * sysdeps/x86_64/rtld-memset.S: New file.
51112
51113 2013-06-14 Joseph Myers <joseph@codesourcery.com>
51114
51115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51116 (test_in_one_mode): Take arguments for whether the rounding mode
51117 is supported for each floating-point type.
51118 (do_test): Pass new arguments to test_in_one_mode using
51119 ROUNDING_TESTS.
51120
51121 2013-06-13 Roland McGrath <roland@hack.frob.com>
51122
51123 * posix/tst-waitid.c (do_test): Distinguish different instances of
51124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
51125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51126 before entering the kernel for waitpid.
51127
51128 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
51129
51130 * NEWS: Fix note on clock function precision. Text by Roland
51131 McGrath.
51132
51133 2013-06-13 Roland McGrath <roland@hack.frob.com>
51134
51135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51136 it into place only when and if the sanity check passes.
51137
51138 2013-06-13 Joseph Myers <joseph@codesourcery.com>
51139
51140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51141 output for whether conversion result is exact. Take argument
51142 indicating whether type is IBM long double.
51143 (round_for_all): Change need_exact field to ibm_ld.
51144 * stdlib/tst-strtod-round.c (struct exactness): New type.
51145 (struct test): Change bool ld_ok field to struct exactness exact.
51146 (TEST): Update all definitions for change to field.
51147 (tests): Regenerate array contents.
51148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
51149 field value. Check for IBM long double here.
51150 (do_test): Update calls to test_in_one_mode.
51151
51152 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
51153
51154 [BZ #12515]
51155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51157
51158 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51159
51160 [BZ #15605]
51161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51162 generated by the compiler on loop optimizations.
51163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51164 general definitions.
51165
51166 2013-06-12 Joseph Myers <joseph@codesourcery.com>
51167
51168 * math/bug-nextafter.c: Include <math-tests.h>.
51169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
51170 the relevant type.
51171 * math/bug-nexttoward.c: Include <math-tests.h>.
51172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
51173 the relevant type.
51174 * math/test-misc.c: Include <math-tests.h>.
51175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
51176 the relevant type.
51177
51178 2013-06-12 Andreas Jaeger <aj@suse.de>
51179
51180 * po/ia.po: Update Interlingua translation from translation
51181 project.
51182
51183 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
51184
51185 * include/fenv.h: Include stdbool.h.
51186 (struct rm_ctx): New structure.
51187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51188 Define macro.
51189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51190 (SET_RESTORE_ROUNDF): Likewise.
51191 (SET_RESTORE_ROUNDL): Likewise.
51192 (SET_RESTORE_ROUND_NOEX): Likewise.
51193 (SET_RESTORE_ROUND_NOEXF): Likewise.
51194 (SET_RESTORE_ROUND_NOEXL): Likewise.
51195 (SET_RESTORE_ROUND_53BIT): Likewise.
51196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51197 (libc_feresetround_noexf_ctx): Likewise.
51198 (libc_feresetround_noexl_ctx): Likewise.
51199 (libc_feholdsetround_53bit_ctx): Likewise.
51200 (libc_feresetround_53bit_ctx): Likewise.
51201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51202 (libc_feholdexcept_setround_sse_ctx): New function.
51203 (libc_fesetenv_sse_ctx): Likewise.
51204 (libc_feupdateenv_sse_ctx): Likewise.
51205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51206 (libc_feholdexcept_setround_387_ctx): Likewise.
51207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51208 (libc_feholdsetround_387_prec_ctx): Likewise.
51209 (libc_feholdsetround_387_ctx): Likewise.
51210 (libc_feholdsetround_387_53bit_ctx): Likewise.
51211 (libc_feholdsetround_sse_ctx): Likewise.
51212 (libc_feresetround_sse_ctx): Likewise.
51213 (libc_feresetround_387_ctx): Likewise.
51214 (libc_feupdateenv_387_ctx): Likewise.
51215 (libc_feholdexcept_setroundf_ctx): Define macro.
51216 (libc_fesetenvf_ctx): Likewise.
51217 (libc_feupdateenvf_ctx): Likewise.
51218 (libc_feholdsetroundf_ctx): Likewise.
51219 (libc_feresetroundf_ctx): Likewise.
51220 (libc_feholdexcept_setround_ctx): Likewise.
51221 (libc_fesetenv_ctx): Likewise.
51222 (libc_feupdateenv_ctx): Likewise.
51223 (libc_feholdsetround_ctx): Likewise.
51224 (libc_feresetround_ctx): Likewise.
51225 (libc_feholdexcept_setroundl_ctx): Likewise.
51226 (libc_feupdateenvl_ctx): Likewise.
51227 (libc_feholdsetroundl_ctx): Likewise.
51228 (libc_feresetroundl_ctx): Likewise.
51229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51230 (libc_feresetround_53bit_ctx): Likewise.
51231
51232 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51233
51234 * locale/iso-639.def: Convert to UTF-8.
51235
51236 2013-06-11 Joseph Myers <joseph@codesourcery.com>
51237
51238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51239 (EXCEPTION_TESTS_double): Likewise.
51240 (EXCEPTION_TESTS_long_double): Likewise.
51241 (EXCEPTION_TESTS): Likewise.
51242 * math/libm-test.inc (test_exceptions): Only test exceptions if
51243 EXCEPTION_TESTS (FLOAT).
51244
51245 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51246
51247 * benchtests/Makefile (string-bench): Add strcpy_chk and
51248 stpcpy_chk.
51249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51250 * benchtests/bench-stpcpy_chk.c: New file.
51251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
51252 * benchtests/bench-strcpy_chk.c: New file.
51253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51254 code.
51255 (do_test): Likewise.
51256
51257 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51258
51259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51262 with tabs where appropriate.
51263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51264 dl-procinfo.h.
51265 [PPC_PLATFORM_PPC440]: Likewise.
51266 [PPC_PLATFORM_PPC464]: Likewise.
51267 [PPC_PLATFORM_PPC476]: Likewise.
51268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
51269 ppc464, and ppc476 platform strings merging from ports/
51270 dl-procinfo.h.
51271
51272 2013-06-11 Andreas Schwab <schwab@suse.de>
51273
51274 [BZ #14991]
51275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51276 (from_ucs4_idx): Regenerate.
51277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51285 from FROM_LOOP and TO_LOOP specific macros.
51286 (BODY): Handle combining characters.
51287 * iconvdata/BIG5HKSCS.irreversible: Update.
51288 * iconvdata/BIG5HKSCS.precomposed: New file.
51289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51290 characters.
51291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51292
51293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51294
51295 * include/sys/time.h: Fix indentation and add copyright header.
51296
51297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51298 (do_test): Likewise.
51299 * string/test-memchr.c (do_one_test): Likewise.
51300 (do_test): Likewise.
51301 * string/test-memcmp.c (do_one_test): Likewise.
51302 (do_test): Likewise.
51303 * string/test-memcpy.c (do_one_test): Likewise.
51304 (do_test): Likewise.
51305 * string/test-memmem.c (do_one_test): Likewise.
51306 (do_test): Likewise.
51307 (do_random_tests): Likewise.
51308 * string/test-memmove.c (do_one_test): Likewise.
51309 (do_test): Likewise.
51310 * string/test-memset.c (do_one_test): Likewise.
51311 (do_test): Likewise.
51312 * string/test-rawmemchr.c (do_one_test): Likewise.
51313 (do_test): Likewise.
51314 * string/test-strcasecmp.c (do_one_test): Likewise.
51315 (do_test): Likewise.
51316 * string/test-strcasestr.c (do_one_test): Likewise.
51317 (do_test): Likewise.
51318 * string/test-strcat.c (do_one_test): Likewise.
51319 (do_test): Likewise.
51320 * string/test-strchr.c (do_one_test): Likewise.
51321 (do_test): Likewise.
51322 * string/test-strcmp.c (do_one_test): Likewise.
51323 (do_test): Likewise.
51324 * string/test-strcpy.c (do_one_test): Likewise.
51325 (do_test): Likewise.
51326 * string/test-string.h: Likewise.
51327 (test_init): Likewise.
51328 * string/test-strlen.c (do_one_test): Likewise.
51329 (do_test): Likewise.
51330 * string/test-strncasecmp.c (do_one_test): Likewise.
51331 (do_test): Likewise.
51332 * string/test-strncat.c (do_one_test): Likewise.
51333 (do_test): Likewise.
51334 * string/test-strncmp.c (do_one_test): Likewise.
51335 (do_test_limit): Likewise.
51336 (do_test): Likewise.
51337 * string/test-strncpy.c (do_one_test): Likewise.
51338 (do_test): Likewise.
51339 * string/test-strnlen.c (do_one_test): Likewise.
51340 (do_test): Likewise.
51341 * string/test-strpbrk.c (do_one_test): Likewise.
51342 (do_test): Likewise.
51343 * string/test-strrchr.c (do_one_test): Likewise.
51344 (do_test): Likewise.
51345 * string/test-strspn.c (do_one_test): Likewise.
51346 (do_test): Likewise.
51347 * string/test-strstr.c (do_one_test): Likewise.
51348 (do_test): Likewise.
51349
51350 * benchtests/Makefile (string-bench): Add string benchmarks.
51351 * benchtests/bench-bcopy-ifunc.c: New file.
51352 * benchtests/bench-bcopy.c: New file.
51353 * benchtests/bench-bzero-ifunc.c: New file.
51354 * benchtests/bench-bzero.c: New file.
51355 * benchtests/bench-memccpy-ifunc.c: New file.
51356 * benchtests/bench-memccpy.c: New file.
51357 * benchtests/bench-memchr-ifunc.c: New file.
51358 * benchtests/bench-memchr.c: New file.
51359 * benchtests/bench-memcmp-ifunc.c: New file.
51360 * benchtests/bench-memcmp.c: New file.
51361 * benchtests/bench-memmem-ifunc.c: New file.
51362 * benchtests/bench-memmem.c: New file.
51363 * benchtests/bench-memmove-ifunc.c: New file.
51364 * benchtests/bench-memmove.c: New file.
51365 * benchtests/bench-mempcpy-ifunc.c: New file.
51366 * benchtests/bench-mempcpy.c: New file.
51367 * benchtests/bench-memset-ifunc.c: New file.
51368 * benchtests/bench-memset.c: New file.
51369 * benchtests/bench-rawmemchr-ifunc.c: New file.
51370 * benchtests/bench-rawmemchr.c: New file.
51371 * benchtests/bench-stpcpy-ifunc.c: New file.
51372 * benchtests/bench-stpcpy.c: New file.
51373 * benchtests/bench-stpncpy-ifunc.c: New file.
51374 * benchtests/bench-stpncpy.c: New file.
51375 * benchtests/bench-strcasecmp-ifunc.c: New file.
51376 * benchtests/bench-strcasecmp.c: New file.
51377 * benchtests/bench-strcasestr-ifunc.c: New file.
51378 * benchtests/bench-strcasestr.c: New file.
51379 * benchtests/bench-strcat-ifunc.c: New file.
51380 * benchtests/bench-strcat.c: New file.
51381 * benchtests/bench-strchr-ifunc.c: New file.
51382 * benchtests/bench-strchr.c: New file.
51383 * benchtests/bench-strchrnul-ifunc.c: New file.
51384 * benchtests/bench-strchrnul.c: New file.
51385 * benchtests/bench-strcmp-ifunc.c: New file.
51386 * benchtests/bench-strcmp.c: New file.
51387 * benchtests/bench-strcpy-ifunc.c: New file.
51388 * benchtests/bench-strcpy.c: New file.
51389 * benchtests/bench-strcspn-ifunc.c: New file.
51390 * benchtests/bench-strcspn.c: New file.
51391 * benchtests/bench-strlen-ifunc.c: New file.
51392 * benchtests/bench-strlen.c: New file.
51393 * benchtests/bench-strncasecmp-ifunc.c: New file.
51394 * benchtests/bench-strncasecmp.c: New file.
51395 * benchtests/bench-strncat-ifunc.c: New file.
51396 * benchtests/bench-strncat.c: New file.
51397 * benchtests/bench-strncmp-ifunc.c: New file.
51398 * benchtests/bench-strncmp.c: New file.
51399 * benchtests/bench-strncpy-ifunc.c: New file.
51400 * benchtests/bench-strncpy.c: New file.
51401 * benchtests/bench-strnlen-ifunc.c: New file.
51402 * benchtests/bench-strnlen.c: New file.
51403 * benchtests/bench-strpbrk-ifunc.c: New file.
51404 * benchtests/bench-strpbrk.c: New file.
51405 * benchtests/bench-strrchr-ifunc.c: New file.
51406 * benchtests/bench-strrchr.c: New file.
51407 * benchtests/bench-strspn-ifunc.c: New file.
51408 * benchtests/bench-strspn.c: New file.
51409 * benchtests/bench-strstr-ifunc.c: New file.
51410 * benchtests/bench-strstr.c: New file.
51411
51412 * benchtests/Makefile: Disable parallel execution of targets.
51413 (string-bench): Add memcpy.
51414 (benchset): New variable to store a list of benchmark sets.
51415 (bench-func): Renamed from bench.
51416 (bench-set): New target.
51417 (bench): Depend on bench-func and bench-set.
51418 * benchtests/README: Add section on benchmark sets.
51419 * benchtests/bench-memcpy-ifunc.c: New file.
51420 * benchtests/bench-memcpy.c: New file.
51421 * benchtests/bench-string.h: New file.
51422
51423 2013-06-11 Andreas Schwab <schwab@suse.de>
51424
51425 [BZ #15577]
51426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51428 values in the triple.
51429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51430 terminator in the group key.
51431
51432 2013-06-11 Andreas Jaeger <aj@suse.de>
51433
51434 * po/zh_TW.po: Update Chinese (traditional) translation from
51435 translation project.
51436
51437 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51438
51439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
51440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
51442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51443 (clock_getcpuclockid): Likewise.
51444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51445 Add weak_alias and libc_hidden_def.
51446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51447 * rt/clock_gettime.c (clock_gettime): Rename to
51448 __clock_gettime. Add weak_alias and libc_hidden_def.
51449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
51452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51454 Likewise.
51455 * rt/clock_settime.c (clock_settime): Rename to
51456 __clock_settime. Add weak_alias and libc_hidden_def.
51457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51458
51459 2013-06-10 Joseph Myers <joseph@codesourcery.com>
51460
51461 * mach/err_boot.sub: Remove trailing whitespace.
51462 * mach/err_ipc.sub: Likewise.
51463 * mach/err_mach.sub: Likewise.
51464
51465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51466 (ROUNDING_TESTS_double): Likewise.
51467 (ROUNDING_TESTS_long_double): Likewise.
51468 (ROUNDING_TESTS): Likewise.
51469 * math/libm-test.inc: Include <math-tests.h>.
51470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
51474
51475 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51476
51477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51478 of assigning.
51479
51480 2013-06-08 Joseph Myers <joseph@codesourcery.com>
51481
51482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
51483 otherwise empty TRANS lines.
51484 * sysdeps/gnu/errlist.c: Regenerated.
51485
51486 * catgets/gencat.c (error_print): Use (void) in function
51487 definition.
51488 * crypt/crypt_util.c (__init_des): Likewise.
51489 * crypt/speeds.c (Stop): Likewise.
51490 (main): Likewise.
51491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51492 * inet/ruserpass.c (token): Likewise.
51493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51494 * intl/localealias.c (extend_alias_table): Likewise.
51495 * intl/plural-exp.c (init_germanic_plural): Likewise.
51496 * libio/fcloseall.c (__fcloseall): Likewise.
51497 * libio/genops.c (_IO_flush_all): Likewise.
51498 (_IO_flush_all_linebuffered): Likewise.
51499 (_IO_cleanup): Likewise.
51500 (_IO_iter_begin): Likewise.
51501 (_IO_iter_end): Likewise.
51502 (_IO_list_lock): Likewise.
51503 (_IO_list_unlock): Likewise.
51504 (_IO_list_resetlock): Likewise.
51505 * libio/getchar.c (getchar): Likewise.
51506 * libio/getchar_u.c (getchar_unlocked): Likewise.
51507 * libio/getwchar.c (getwchar): Likewise.
51508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51510 * login/getpt.c (__getpt): Likewise.
51511 * login/tst-utmp.c (main): Likewise.
51512 * malloc/hooks.c (__malloc_check_init): Likewise.
51513 * malloc/malloc.c (__malloc_stats): Likewise.
51514 * malloc/mtrace.c (tr_break): Likewise.
51515 (mtrace): Likewise.
51516 (muntrace): Likewise.
51517 * misc/fstab.c (endfsent): Likewise.
51518 * misc/getclktck.c (__getclktck): Likewise.
51519 * misc/getdtsz.c (__getdtablesize): Likewise.
51520 * misc/gethostid.c (gethostid): Likewise.
51521 * misc/getpagesize.c (__getpagesize): Likewise.
51522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51523 (__get_nprocs): Likewise.
51524 (__get_phys_pages): Likewise.
51525 (__get_avphys_pages): Likewise.
51526 * misc/getttyent.c (getttyent): Likewise.
51527 (setttyent): Likewise.
51528 (endttyent): Likewise.
51529 * misc/getusershell.c (getusershell): Likewise.
51530 (endusershell): Likewise.
51531 (setusershell): Likewise.
51532 (initshells): Likewise.
51533 * misc/hsearch.c (__hdestroy): Likewise.
51534 * misc/sync.c (sync): Likewise.
51535 * misc/syslog.c (closelog_internal): Likewise.
51536 (closelog): Likewise.
51537 * misc/ttyslot.c (ttyslot): Likewise.
51538 * misc/vhangup.c (vhangup): Likewise.
51539 * posix/fork.c (__fork): Likewise.
51540 * posix/getegid.c (__getegid): Likewise.
51541 * posix/geteuid.c (__geteuid): Likewise.
51542 * posix/getgid.c (__getgid): Likewise.
51543 * posix/getpid.c (__getpid): Likewise.
51544 * posix/getppid.c (__getppid): Likewise.
51545 * posix/getuid.c (__getuid): Likewise.
51546 * posix/pause.c (pause): Likewise.
51547 * posix/setpgrp.c (setpgrp): Likewise.
51548 * posix/setsid.c (__setsid): Likewise.
51549 * posix/test-vfork.c (noop): Likewise.
51550 * resolv/gethnamaddr.c (_endhtent): Likewise.
51551 (_gethtent): Likewise.
51552 (ht_endhostent): Likewise.
51553 (gethostent): Likewise.
51554 (dns_service): Likewise.
51555 * stdlib/drand48.c (drand48): Likewise.
51556 * stdlib/lrand48.c (lrand48): Likewise.
51557 * stdlib/mrand48.c (mrand48): Likewise.
51558 * stdlib/rand.c (rand): Likewise.
51559 * stdlib/random.c (__random): Likewise.
51560 * stdlib/setenv.c (clearenv): Likewise.
51561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51565 (__get_nprocs): Likewise.
51566 (__get_phys_pages): Likewise.
51567 (__get_avphys_pages): Likewise.
51568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
51580 * sysdeps/posix/clock.c (clock): Likewise.
51581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51587 (__get_nprocs_conf): Likewise.
51588 (__get_phys_pages): Likewise.
51589 (__get_avphys_pages): Likewise.
51590 * time/clock.c (clock): Likewise.
51591 * time/tzset.c (__tzname_max): Likewise.
51592
51593 2013-06-07 Joseph Myers <joseph@codesourcery.com>
51594
51595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51596 (__bswap_32): Do not use "register".
51597 * crypt/crypt.c (_ufc_doit_r): Likewise.
51598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51600 * gmon/gmon.c (__monstartup): Likewise.
51601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51602 * hurd/hurdmalloc.c (more_memory): Likewise.
51603 (malloc): Likewise.
51604 (free): Likewise.
51605 (realloc): Likewise.
51606 (malloc_fork_prepare): Likewise.
51607 (malloc_fork_parent): Likewise.
51608 (malloc_fork_child): Likewise.
51609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51610 (_svcauth_des): Likewise.
51611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
51612 * inet/inet_net.c (inet_network): Likewise.
51613 * inet/inet_netof.c (inet_netof): Likewise.
51614 * inet/rcmd.c (__validuser2_sa): Likewise.
51615 * io/fts.c (fts_open): Likewise.
51616 (fts_load): Likewise.
51617 (fts_close): Likewise.
51618 (fts_read): Likewise.
51619 (fts_children): Likewise.
51620 (fts_build): Likewise.
51621 (fts_stat): Likewise.
51622 (fts_sort): Likewise.
51623 (fts_alloc): Likewise.
51624 (fts_lfree): Likewise.
51625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51626 (_IO_file_xsgetn): Likewise.
51627 (_IO_file_xsgetn_mmap): Likewise.
51628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
51629 (_IO_cookie_write): Likewise.
51630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51633 * malloc/obstack.c (_obstack_begin): Likewise.
51634 (_obstack_begin_1): Likewise.
51635 (_obstack_newchunk): Likewise.
51636 (_obstack_allocated_p): Likewise.
51637 (obstack_free): Likewise.
51638 (_obstack_memory_used): Likewise.
51639 * misc/getttyent.c (getttynam): Likewise.
51640 (getttyent): Likewise.
51641 (skip): Likewise.
51642 (value): Likewise.
51643 * misc/getusershell.c (initshells): Likewise.
51644 * misc/syslog.c (__vsyslog_chk): Likewise.
51645 * misc/ttyslot.c (ttyslot): Likewise.
51646 * nis/nis_hash.c (__nis_hash): Likewise.
51647 * posix/fnmatch_loop.c (FCT): Likewise.
51648 * posix/getconf.c (print_all): Likewise.
51649 (main): Likewise.
51650 * posix/getopt.c (exchange): Likewise.
51651 * posix/glob.c (globfree): Likewise.
51652 (prefix_array): Likewise.
51653 (__glob_pattern_type): Likewise.
51654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
51655 (NS_GET32): Likewise.
51656 (NS_PUT16): Likewise.
51657 (NS_PUT32): Likewise.
51658 * resolv/gethnamaddr.c (getanswer): Likewise.
51659 (gethostbyname2): Likewise.
51660 (gethostbyaddr): Likewise.
51661 (_gethtent): Likewise.
51662 (_gethtbyname2): Likewise.
51663 (_gethtbyaddr): Likewise.
51664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
51665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51666 * resolv/res_init.c (__res_vinit): Likewise.
51667 (net_mask): Likewise.
51668 * resolv/res_mkquery.c (outchar): Likewise.
51669 (PRINT): Likewise.
51670 * stdio-common/printf_fp.c (outchar): Likewise.
51671 (PRINT): Likewise.
51672 * stdio-common/printf_fphex.c (outchar): Likewise.
51673 (PRINT): Likewise.
51674 * stdio-common/printf_size.c (outchar): Likewise.
51675 (PRINT): Likewise.
51676 * stdio-common/test_rdwr.c (main): Likewise.
51677 * stdio-common/tfformat.c (matches): Likewise.
51678 * stdio-common/vfprintf.c (outchar): Likewise.
51679 (printf_unknown): Likewise.
51680 (buffered_vfprintf): Likewise.
51681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
51683 (ReadFile): Likewise.
51684 * stdlib/qsort.c (SWAP): Likewise.
51685 (_quicksort): Likewise.
51686 * stdlib/setenv.c (__add_to_environ): Likewise.
51687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51688 * stdlib/strtol_l.c (__strtol_l): Likewise.
51689 * stdlib/tst-strtod.c (main): Likewise.
51690 * stdlib/tst-strtol.c (main): Likewise.
51691 * stdlib/tst-strtoll.c (main): Likewise.
51692 * string/bits/string2.h (__strcmp_cc): Likewise.
51693 (__strcmp_cg): Likewise.
51694 (__strcspn_c1): Likewise.
51695 (__strcspn_c2): Likewise.
51696 (__strcspn_c3): Likewise.
51697 (__strspn_c1): Likewise.
51698 (__strspn_c2): Likewise.
51699 (__strspn_c3): Likewise.
51700 (__strsep_1c): Likewise.
51701 (__strsep_2c): Likewise.
51702 (__strsep_3c): Likewise.
51703 * string/memccpy.c (__memccpy): Likewise.
51704 * string/stpcpy.c (__stpcpy): Likewise.
51705 * string/strcmp.c (strcmp): Likewise.
51706 * string/strrchr.c (strrchr): Likewise.
51707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51708 Likewise.
51709 * sysdeps/mach/hurd/getcwd.c
51710 (_hurd_canonicalize_directory_name_internal): Likewise.
51711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51715 Likewise, in both definitions.
51716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51717 definitions.
51718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51719 64] (__bswap_64): Likewise.
51720 * time/test_time.c (main): Likewise.
51721 * time/tzfile.c (__tzfile_read): Likewise.
51722 (__tzfile_compute): Likewise.
51723 * time/tzset.c (__tzset_parse_tz): Likewise.
51724 (tzset_internal): Likewise.
51725 (compute_change): Likewise.
51726 * wcsmbs/wcscat.c (__wcscat): Likewise.
51727 * wcsmbs/wcschr.c (wcschr): Likewise.
51728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
51730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
51733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
51734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
51735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51736 * wcsmbs/wmemset.c (wmemset): Likewise.
51737
51738 2013-06-06 Joseph Myers <joseph@codesourcery.com>
51739
51740 * scripts/config.guess: Update to version 2013-05-16.
51741 * scripts/config.sub: Update to version 2013-04-24.
51742 * scripts/install-sh: Update to version 2011-11-20.07.
51743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
51745
51746 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
51747
51748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
51749 * elf/sln.c: Likewise.
51750 * hurd/hurd/ioctl.h: Likewise.
51751 * hurd/hurdmalloc.c: Likewise.
51752 * hurd/xattr.c: Likewise.
51753 * include/shlib-compat.h: Likewise.
51754 * inet/ruserpass.c: Likewise.
51755 * libio/iofgets_u.c: Likewise.
51756 * libio/iofgetws_u.c: Likewise.
51757 * locale/programs/ld-identification.c: Likewise.
51758 * locale/programs/ld-time.c: Likewise.
51759 * mach/msg-destroy.c: Likewise.
51760 * nss/nss_files/files-netgrp.c: Likewise.
51761 * resolv/res_data.c: Likewise.
51762 * soft-fp/op-1.h: Likewise.
51763 * soft-fp/op-2.h: Likewise.
51764 * soft-fp/op-4.h: Likewise.
51765 * soft-fp/op-common.h: Likewise.
51766 * stdio-common/printf_fphex.c: Likewise.
51767 * stdlib/strtod_l.c: Likewise.
51768 * sunrpc/rpc/clnt.h: Likewise.
51769 * sysdeps/generic/framestate.c: Likewise.
51770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
51771 * sysdeps/i386/bsd-setjmp.S: Likewise.
51772 * sysdeps/i386/__longjmp.S: Likewise.
51773 * sysdeps/i386/setjmp.S: Likewise.
51774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51792 * sysdeps/ieee754/support.c: Likewise.
51793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51811
51812 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
51813
51814 * posix/transbug.c: Remove executable mode.
51815
51816 2013-06-05 Joseph Myers <joseph@codesourcery.com>
51817
51818 * crypt/speeds.c: Remove trailing whitespace.
51819 * dlfcn/default.c: Likewise.
51820 * elf/ifuncdep2.c: Likewise.
51821 * elf/ifuncmain1.c: Likewise.
51822 * elf/ifuncmain1vis.c: Likewise.
51823 * elf/testobj.h: Likewise.
51824 * elf/tst-stackguard1.c: Likewise.
51825 * gmon/sys/gmon.h: Likewise.
51826 * hurd/hurdmsg.c: Likewise.
51827 * hurd/new-fd.c: Likewise.
51828 * hurd/ports-get.c: Likewise.
51829 * iconvdata/ibm1008_420.c: Likewise.
51830 * inet/tst-getni1.c: Likewise.
51831 * inet/tst-getni2.c: Likewise.
51832 * libio/ioungetc.c: Likewise.
51833 * libio/wfiledoalloc.c: Likewise.
51834 * manual/libm-err-tab.pl: Likewise.
51835 * math/w_dremf.c: Likewise.
51836 * misc/ftruncate.c: Likewise.
51837 * posix/bug-glob2.c: Likewise.
51838 * posix/tst-pcre.c: Likewise.
51839 * posix/wait4.c: Likewise.
51840 * resolv/README: Likewise.
51841 * resolv/res_debug.h: Likewise.
51842 * resolv/tst-inet_ntop.c: Likewise.
51843 * setjmp/bug269-setjmp.c: Likewise.
51844 * soft-fp/extended.h: Likewise.
51845 * soft-fp/op-1.h: Likewise.
51846 * soft-fp/op-2.h: Likewise.
51847 * soft-fp/op-4.h: Likewise.
51848 * soft-fp/op-8.h: Likewise.
51849 * soft-fp/testit.c: Likewise.
51850 * stdio-common/bug16.c: Likewise.
51851 * stdlib/random.c: Likewise.
51852 * sunrpc/rpcsvc/rquota.x: Likewise.
51853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51882 * sysdeps/ieee754/s_lib_version.c: Likewise.
51883 * sysdeps/mach/hurd/check_fds.c: Likewise.
51884 * sysdeps/mach/hurd/getsockname.c: Likewise.
51885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
51887 * sysdeps/powerpc/bits/link.h: Likewise.
51888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
51889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51952 * sysdeps/powerpc/sysdep.h: Likewise.
51953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
51955 * sysdeps/sh/dl-trampoline.S: Likewise.
51956 * sysdeps/sh/memset.S: Likewise.
51957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51958 * sysdeps/sh/strlen.S: Likewise.
51959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51962 * sysdeps/sparc/sparc32/rem.S: Likewise.
51963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
51966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
51967 * sysdeps/sparc/sparc32/urem.S: Likewise.
51968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
51969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51976 * sysdeps/unix/bsd/times.c: Likewise.
51977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52008 * sysdeps/x86_64/strcspn.S: Likewise.
52009
52010 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52011
52012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
52013 generated file. Regenerate properly from gen-translit.pl.
52014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
52015 locale/C-translit.h.
52016
52017 2013-06-05 Andreas Schwab <schwab@suse.de>
52018
52019 [BZ #15100]
52020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52021 week as 6 instead of -1.
52022 * time/tst-strptime.c (day_tests): Add test case.
52023
52024 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
52025
52026 * sysdeps/generic/math_private.h
52027 (libc_feholdexcept_setround_53bit): Replace with
52028 libc_feholdsetround_53bit.
52029 (libc_feupdateenv_53bit): Replace with
52030 libc_feresetround_53bit.
52031 (SET_RESTORE_ROUND_53BIT): Adjust.
52032
52033 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
52034
52035 * string/test-strchrnul.c: Add copyright header.
52036
52037 * posix/tst-getaddrinfo4.c: Increase test timeout.
52038
52039 2013-06-03 Carlos O'Donell <carlos@redhat.com>
52040
52041 [BZ #15536]
52042 * math/libm-test.inc (MAX_EXP): Remove
52043 (MIN_EXP): Define.
52044 (ulp): Use MIN_EXP - MANT_DIG.
52045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52046
52047 2013-05-31 Carlos O'Donell <carlos@redhat.com>
52048
52049 * po/be.po: Revert last change.
52050 * po/zh_CN.po: Likewise.
52051 * po/header.pot: Likewise.
52052
52053 2013-05-31 Joseph Myers <joseph@codesourcery.com>
52054
52055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
52056 link-libc-deps to empty as target-specific variable.
52057 * Makerules (link-libc-args): New variable.
52058 (libc-for-link): Likewise.
52059 (link-libc-deps): Likewise.
52060 (lib%.so): Depend on $(link-libc-deps). Link with
52061 $(link-libc-args).
52062 (build-module): Link with $(link-libc-args).
52063 (build-module-asneeded): Likewise.
52064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
52065 list of objects.
52066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52067 target-specific variable.
52068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52071 libc.
52072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52073 libc and ld.so.
52074 ($(objpfx)libpcprofile.so): Likewise.
52075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52076 libc_nonshared.a.
52077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52080 $(link-libc-deps).
52081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52083 * login/Makefile ($(objpfx)libutil.so): Likewise.
52084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52085 * math/Makefile ($(objpfx)libm.so): Likewise.
52086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
52088 variable instead of depending directly on libc.
52089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52091 $(link-libc-deps).
52092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52093 libc.
52094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52096 ($(objpfx)libanl.so): Likewise.
52097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52098 ld.so.
52099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52100 $(link-libc-deps).
52101 * sysdeps/i386/fpu/Makefile: Remove file.
52102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52103 ($(objpfx)libm.so): Remove dependency on ld.so.
52104
52105 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
52106
52107 [BZ # 15553]
52108 * nis/yp_xdr.c (XDRMAXNAME): Define.
52109 (XDRMAXRECORD): Define.
52110 (xdr_domainname): Use XDRMAXNAME.
52111 (xdr_mapname): Likewise.
52112 (xdr_peername): Likewise.
52113 (xdr_keydat): Use XDRMAXRECORD.
52114 (xdr_valdat): Likewise.
52115
52116 2013-05-30 Jeff Law <law@redhat.com>
52117
52118 [BZ #14256]
52119 * manual/errno.texi (ESTALE): Update to account for more than
52120 just NFS file systems.
52121 * sysdeps/gnu/errlist.c: Regenerated.
52122
52123 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
52124
52125 [BZ #15465]
52126 * elf/Makefile (tests): Add tst-null-argv.
52127 (modules-names): Add tst-null-argv-lib.
52128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52129 (tst-null-argv-ENV): Set environment for tst-null-argv.
52130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52131 (RTLD_PROGNAME): New macro.
52132 * elf/tst-null-argv.c: New test case.
52133 * elf/tst-null-argv-lib.c: Library for test case.
52134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52138 * elf/dl-init.c (call_init): Likewise.
52139 (_dl_init): Likewise.
52140 * elf/dl-load.c (print_search_path): Likewise.
52141 (_dl_map_object): Likewise.
52142 * elf/dl-lookup.c (do_lookup_x): Likewise.
52143 (add_dependency): Likewise.
52144 (_dl_lookup_symbol_x): Likewise.
52145 (_dl_debug_bindings): Likewise.
52146 * elf/dl-open.c (_dl_show_scope): Likewise.
52147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52148 * elf/dl-version.c (match_symbol): Likewise.
52149 (_dl_check_map_versions): Likewise.
52150 * elf/rtld.c (dl_main): Likewise.
52151 (print_unresolved): Use RTLD_PROGNAME.
52152 (print_missing_version): Likewise.
52153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52154 (elf_machine_rela): Likewise.
52155 * sysdeps/powerpc/powerpc32/dl-machine.c
52156 (__process_machine_rela): Likewise.
52157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52158 Likewise.
52159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52160 Likewise.
52161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52162 Likewise.
52163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52165 Likewise.
52166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52167 Likewise.
52168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52169
52170 2013-05-28 Carlos O'Donell <carlos@redhat.com>
52171
52172 * po/be.po: Add descriptive title.
52173 * po/zh_CN.po: Likewise.
52174 * po/header.pot: Likewise.
52175
52176 2013-05-28 Mike Frysinger <vapier@gentoo.org>
52177
52178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
52179 error message.
52180 (enlarge_archive): Likewise.
52181
52182 2013-05-28 Ben North <ben@redfrontdoor.org>
52183
52184 * manual/arith.texi (frexp): It is the magnitude of the return
52185 value which lies in [0.5, 1), not the return value itself.
52186
52187 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52188
52189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52190
52191 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
52192
52193 * stdio-common/bug26.c (main): Correct fscanf template.
52194
52195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52196 declare _dl_skip_args.
52197
52198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52199 Don't declare.
52200
52201 * manual/platform.texi: Add missing @end deftypefun.
52202
52203 2013-05-24 Joseph Myers <joseph@codesourcery.com>
52204
52205 [BZ #15529]
52206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52207 bit of mantissa of 2^16382.
52208 * math/libm-test.inc (hypot_test_data): Add more tests.
52209
52210 * math/libm-test.inc: Add drem and pow10 to list of tested
52211 functions.
52212 (pow10_test): New function.
52213 (drem_test): Likewise.
52214 (drem_test_tonearest): Likewise.
52215 (drem_test_towardzero): Likewise.
52216 (drem_test_downward): Likewise.
52217 (drem_test_upward): Likewise.
52218 (main): Call the new functions.
52219
52220 * math/libm-test.inc (finite_test_data): Remove.
52221 (finite_test): Run tests from isfinite_test_data.
52222 (gamma_test_data): Remove.
52223 (gamma_test): Run tests from lgamma_test_data.
52224 * sysdeps/i386/fpu/libm-test-ulps: Update.
52225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52226
52227 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52228
52229 * manual/platform.texi: Add PowerPC PPR function set documentation.
52230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52231 implementation.
52232
52233 2013-05-24 Carlos O'Donell <carlos@redhat.com>
52234
52235 * math/libm-test.inc (MAX_EXP): Define.
52236 (ULPDIFF): Define.
52237 (ulp): New function.
52238 (check_float_internal): Use ULPDIFF.
52239 (cpow_test): Disable failing test.
52240 (check_ulp): Test ulp() implemetnation.
52241 (main): Call check_ulp before starting tests.
52242
52243 2013-05-24 Joseph Myers <joseph@codesourcery.com>
52244
52245 * math/gen-libm-test.pl (generate_testfile): Do not handle
52246 START_DATA and END_DATA.
52247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52248 END_DATA.
52249 (acos_tonearest_test_data): Likewise.
52250 (acos_towardzero_test_data): Likewise.
52251 (acos_downward_test_data): Likewise.
52252 (acos_upward_test_data): Likewise.
52253 (acosh_test_data): Likewise.
52254 (asin_test_data): Likewise.
52255 (asin_tonearest_test_data): Likewise.
52256 (asin_towardzero_test_data): Likewise.
52257 (asin_downward_test_data): Likewise.
52258 (asin_upward_test_data): Likewise.
52259 (asinh_test_data): Likewise.
52260 (atan_test_data): Likewise.
52261 (atanh_test_data): Likewise.
52262 (atan2_test_data): Likewise.
52263 (cabs_test_data): Likewise.
52264 (cacos_test_data): Likewise.
52265 (cacosh_test_data): Likewise.
52266 (carg_test_data): Likewise.
52267 (casin_test_data): Likewise.
52268 (casinh_test_data): Likewise.
52269 (catan_test_data): Likewise.
52270 (catanh_test_data): Likewise.
52271 (cbrt_test_data): Likewise.
52272 (ccos_test_data): Likewise.
52273 (ccosh_test_data): Likewise.
52274 (ceil_test_data): Likewise.
52275 (cexp_test_data): Likewise.
52276 (cimag_test_data): Likewise.
52277 (clog_test_data): Likewise.
52278 (clog10_test_data): Likewise.
52279 (conj_test_data): Likewise.
52280 (copysign_test_data): Likewise.
52281 (cos_test_data): Likewise.
52282 (cos_tonearest_test_data): Likewise.
52283 (cos_towardzero_test_data): Likewise.
52284 (cos_downward_test_data): Likewise.
52285 (cos_upward_test_data): Likewise.
52286 (cosh_test_data): Likewise.
52287 (cosh_tonearest_test_data): Likewise.
52288 (cosh_towardzero_test_data): Likewise.
52289 (cosh_downward_test_data): Likewise.
52290 (cosh_upward_test_data): Likewise.
52291 (cpow_test_data): Likewise.
52292 (cproj_test_data): Likewise.
52293 (creal_test_data): Likewise.
52294 (csin_test_data): Likewise.
52295 (csinh_test_data): Likewise.
52296 (csqrt_test_data): Likewise.
52297 (ctan_test_data): Likewise.
52298 (ctan_tonearest_test_data): Likewise.
52299 (ctan_towardzero_test_data): Likewise.
52300 (ctan_downward_test_data): Likewise.
52301 (ctan_upward_test_data): Likewise.
52302 (ctanh_test_data): Likewise.
52303 (ctanh_tonearest_test_data): Likewise.
52304 (ctanh_towardzero_test_data): Likewise.
52305 (ctanh_downward_test_data): Likewise.
52306 (ctanh_upward_test_data): Likewise.
52307 (erf_test_data): Likewise.
52308 (erfc_test_data): Likewise.
52309 (exp_test_data): Likewise.
52310 (exp_tonearest_test_data): Likewise.
52311 (exp_towardzero_test_data): Likewise.
52312 (exp_downward_test_data): Likewise.
52313 (exp_upward_test_data): Likewise.
52314 (exp10_test_data): Likewise.
52315 (exp2_test_data): Likewise.
52316 (expm1_test_data): Likewise.
52317 (fabs_test_data): Likewise.
52318 (fdim_test_data): Likewise.
52319 (finite_test_data): Likewise.
52320 (floor_test_data): Likewise.
52321 (fma_test_data): Likewise.
52322 (fma_towardzero_test_data): Likewise.
52323 (fma_downward_test_data): Likewise.
52324 (fma_upward_test_data): Likewise.
52325 (fmax_test_data): Likewise.
52326 (fmin_test_data): Likewise.
52327 (fmod_test_data): Likewise.
52328 (fpclassify_test_data): Likewise.
52329 (frexp_test_data): Likewise.
52330 (gamma_test_data): Likewise.
52331 (hypot_test_data): Likewise.
52332 (ilogb_test_data): Likewise.
52333 (isfinite_test_data): Likewise.
52334 (isgreater_test_data): Likewise.
52335 (isgreaterequal_test_data): Likewise.
52336 (isinf_test_data): Likewise.
52337 (isless_test_data): Likewise.
52338 (islessequal_test_data): Likewise.
52339 (islessgreater_test_data): Likewise.
52340 (isnan_test_data): Likewise.
52341 (isnormal_test_data): Likewise.
52342 (issignaling_test_data): Likewise.
52343 (isunordered_test_data): Likewise.
52344 (j0_test_data): Likewise.
52345 (j1_test_data): Likewise.
52346 (jn_test_data): Likewise.
52347 (ldexp_test_data): Likewise.
52348 (lgamma_test_data): Likewise.
52349 (lrint_test_data): Likewise.
52350 (lrint_tonearest_test_data): Likewise.
52351 (lrint_towardzero_test_data): Likewise.
52352 (lrint_downward_test_data): Likewise.
52353 (lrint_upward_test_data): Likewise.
52354 (llrint_test_data): Likewise.
52355 (llrint_tonearest_test_data): Likewise.
52356 (llrint_towardzero_test_data): Likewise.
52357 (llrint_downward_test_data): Likewise.
52358 (llrint_upward_test_data): Likewise.
52359 (log_test_data): Likewise.
52360 (log10_test_data): Likewise.
52361 (log1p_test_data): Likewise.
52362 (log2_test_data): Likewise.
52363 (logb_test_data): Likewise.
52364 (logb_downward_test_data): Likewise.
52365 (lround_test_data): Likewise.
52366 (llround_test_data): Likewise.
52367 (modf_test_data): Likewise.
52368 (nearbyint_test_data): Likewise.
52369 (nextafter_test_data): Likewise.
52370 (nexttoward_test_data): Likewise.
52371 (pow_test_data): Likewise.
52372 (pow_tonearest_test_data): Likewise.
52373 (pow_towardzero_test_data): Likewise.
52374 (pow_downward_test_data): Likewise.
52375 (pow_upward_test_data): Likewise.
52376 (remainder_test_data): Likewise.
52377 (remainder_tonearest_test_data): Likewise.
52378 (remainder_towardzero_test_data): Likewise.
52379 (remainder_downward_test_data): Likewise.
52380 (remainder_upward_test_data): Likewise.
52381 (remquo_test_data): Likewise.
52382 (rint_test_data): Likewise.
52383 (rint_tonearest_test_data): Likewise.
52384 (rint_towardzero_test_data): Likewise.
52385 (rint_downward_test_data): Likewise.
52386 (rint_upward_test_data): Likewise.
52387 (round_test_data): Likewise.
52388 (scalb_test_data): Likewise.
52389 (scalbn_test_data): Likewise.
52390 (scalbln_test_data): Likewise.
52391 (signbit_test_data): Likewise.
52392 (sin_test_data): Likewise.
52393 (sin_tonearest_test_data): Likewise.
52394 (sin_towardzero_test_data): Likewise.
52395 (sin_downward_test_data): Likewise.
52396 (sin_upward_test_data): Likewise.
52397 (sincos_test_data): Likewise.
52398 (sinh_test_data): Likewise.
52399 (sinh_tonearest_test_data): Likewise.
52400 (sinh_towardzero_test_data): Likewise.
52401 (sinh_downward_test_data): Likewise.
52402 (sinh_upward_test_data): Likewise.
52403 (sqrt_test_data): Likewise.
52404 (tan_test_data): Likewise.
52405 (tan_tonearest_test_data): Likewise.
52406 (tan_towardzero_test_data): Likewise.
52407 (tan_downward_test_data): Likewise.
52408 (tan_upward_test_data): Likewise.
52409 (tanh_test_data): Likewise.
52410 (tgamma_test_data): Likewise.
52411 (trunc_test_data): Likewise.
52412 (y0_test_data): Likewise.
52413 (y1_test_data): Likewise.
52414 (yn_test_data): Likewise.
52415 (significand_test_data): Likewise.
52416
52417 * math/gen-libm-test.pl (@functions): Remove variable.
52418 (generate_testfile): Don't handle START and END lines.
52419 * math/libm-test.inc (START): New macro.
52420 (END): Likewise.
52421 (END_COMPLEX): Likewise.
52422 (acos_test): Use END macro without arguments.
52423 (acos_test_tonearest): Likewise.
52424 (acos_test_towardzero): Likewise.
52425 (acos_test_downward): Likewise.
52426 (acos_test_upward): Likewise.
52427 (acosh_test): Likewise.
52428 (asin_test): Likewise.
52429 (asin_test_tonearest): Likewise.
52430 (asin_test_towardzero): Likewise.
52431 (asin_test_downward): Likewise.
52432 (asin_test_upward): Likewise.
52433 (asinh_test): Likewise.
52434 (atan_test): Likewise.
52435 (atanh_test): Likewise.
52436 (atan2_test): Likewise.
52437 (cabs_test): Likewise.
52438 (cacos_test): Use END_COMPLEX macro without arguments.
52439 (cacosh_test): Likewise.
52440 (carg_test): Use END macro without arguments.
52441 (casin_test): Use END_COMPLEX macro without arguments.
52442 (casinh_test): Likewise.
52443 (catan_test): Likewise.
52444 (catanh_test): Likewise.
52445 (cbrt_test): Use END macro without arguments.
52446 (ccos_test): Use END_COMPLEX macro without arguments.
52447 (ccosh_test): Likewise.
52448 (ceil_test): Use END macro without arguments.
52449 (cexp_test): Use END_COMPLEX macro without arguments.
52450 (cimag_test): Use END macro without arguments.
52451 (clog_test): Use END_COMPLEX macro without arguments.
52452 (clog10_test): Likewise.
52453 (conj_test): Likewise.
52454 (copysign_test): Use END macro without arguments.
52455 (cos_test): Likewise.
52456 (cos_test_tonearest): Likewise.
52457 (cos_test_towardzero): Likewise.
52458 (cos_test_downward): Likewise.
52459 (cos_test_upward): Likewise.
52460 (cosh_test): Likewise.
52461 (cosh_test_tonearest): Likewise.
52462 (cosh_test_towardzero): Likewise.
52463 (cosh_test_downward): Likewise.
52464 (cosh_test_upward): Likewise.
52465 (cpow_test): Use END_COMPLEX macro without arguments.
52466 (cproj_test): Likewise.
52467 (creal_test): Use END macro without arguments.
52468 (csin_test): Use END_COMPLEX macro without arguments.
52469 (csinh_test): Likewise.
52470 (csqrt_test): Likewise.
52471 (ctan_test): Likewise.
52472 (ctan_test_tonearest): Likewise.
52473 (ctan_test_towardzero): Likewise.
52474 (ctan_test_downward): Likewise.
52475 (ctan_test_upward): Likewise.
52476 (ctanh_test): Likewise.
52477 (ctanh_test_tonearest): Likewise.
52478 (ctanh_test_towardzero): Likewise.
52479 (ctanh_test_downward): Likewise.
52480 (ctanh_test_upward): Likewise.
52481 (erf_test): Use END macro without arguments.
52482 (erfc_test): Likewise.
52483 (exp_test): Likewise.
52484 (exp_test_tonearest): Likewise.
52485 (exp_test_towardzero): Likewise.
52486 (exp_test_downward): Likewise.
52487 (exp_test_upward): Likewise.
52488 (exp10_test): Likewise.
52489 (exp2_test): Likewise.
52490 (expm1_test): Likewise.
52491 (fabs_test): Likewise.
52492 (fdim_test): Likewise.
52493 (finite_test): Likewise.
52494 (floor_test): Likewise.
52495 (fma_test): Likewise.
52496 (fma_test_towardzero): Likewise.
52497 (fma_test_downward): Likewise.
52498 (fma_test_upward): Likewise.
52499 (fmax_test): Likewise.
52500 (fmin_test): Likewise.
52501 (fmod_test): Likewise.
52502 (fpclassify_test): Likewise.
52503 (frexp_test): Likewise.
52504 (gamma_test): Likewise.
52505 (hypot_test): Likewise.
52506 (ilogb_test): Likewise.
52507 (isfinite_test): Likewise.
52508 (isgreater_test): Likewise.
52509 (isgreaterequal_test): Likewise.
52510 (isinf_test): Likewise.
52511 (isless_test): Likewise.
52512 (islessequal_test): Likewise.
52513 (islessgreater_test): Likewise.
52514 (isnan_test): Likewise.
52515 (isnormal_test): Likewise.
52516 (issignaling_test): Likewise.
52517 (isunordered_test): Likewise.
52518 (j0_test): Likewise.
52519 (j1_test): Likewise.
52520 (jn_test): Likewise.
52521 (ldexp_test): Likewise.
52522 (lgamma_test): Likewise.
52523 (lrint_test): Likewise.
52524 (lrint_test_tonearest): Likewise.
52525 (lrint_test_towardzero): Likewise.
52526 (lrint_test_downward): Likewise.
52527 (lrint_test_upward): Likewise.
52528 (llrint_test): Likewise.
52529 (llrint_test_tonearest): Likewise.
52530 (llrint_test_towardzero): Likewise.
52531 (llrint_test_downward): Likewise.
52532 (llrint_test_upward): Likewise.
52533 (log_test): Likewise.
52534 (log10_test): Likewise.
52535 (log1p_test): Likewise.
52536 (log2_test): Likewise.
52537 (logb_test): Likewise.
52538 (logb_test_downward): Likewise.
52539 (lround_test): Likewise.
52540 (llround_test): Likewise.
52541 (modf_test): Likewise.
52542 (nearbyint_test): Likewise.
52543 (nextafter_test): Likewise.
52544 (nexttoward_test): Likewise.
52545 (pow_test): Likewise.
52546 (pow_test_tonearest): Likewise.
52547 (pow_test_towardzero): Likewise.
52548 (pow_test_downward): Likewise.
52549 (pow_test_upward): Likewise.
52550 (remainder_test): Likewise.
52551 (remainder_test_tonearest): Likewise.
52552 (remainder_test_towardzero): Likewise.
52553 (remainder_test_downward): Likewise.
52554 (remainder_test_upward): Likewise.
52555 (remquo_test): Likewise.
52556 (rint_test): Likewise.
52557 (rint_test_tonearest): Likewise.
52558 (rint_test_towardzero): Likewise.
52559 (rint_test_downward): Likewise.
52560 (rint_test_upward): Likewise.
52561 (round_test): Likewise.
52562 (scalb_test): Likewise.
52563 (scalbn_test): Likewise.
52564 (scalbln_test): Likewise.
52565 (signbit_test): Likewise.
52566 (sin_test): Likewise.
52567 (sin_test_tonearest): Likewise.
52568 (sin_test_towardzero): Likewise.
52569 (sin_test_downward): Likewise.
52570 (sin_test_upward): Likewise.
52571 (sincos_test): Likewise.
52572 (sinh_test): Likewise.
52573 (sinh_test_tonearest): Likewise.
52574 (sinh_test_towardzero): Likewise.
52575 (sinh_test_downward): Likewise.
52576 (sinh_test_upward): Likewise.
52577 (sqrt_test): Likewise.
52578 (tan_test): Likewise.
52579 (tan_test_tonearest): Likewise.
52580 (tan_test_towardzero): Likewise.
52581 (tan_test_downward): Likewise.
52582 (tan_test_upward): Likewise.
52583 (tanh_test): Likewise.
52584 (tgamma_test): Likewise.
52585 (trunc_test): Likewise.
52586 (y0_test): Likewise.
52587 (y1_test): Likewise.
52588 (yn_test): Likewise.
52589 (significand_test): Likewise.
52590
52591 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
52592
52593 [BZ #15381]
52594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
52595
52596 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
52597
52598 [BZ #14894]
52599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52600 __ppc_mdoio and __ppc_mdoom.
52601 * manual/platform.texi: Document new functions __ppc_yield,
52602 __ppc_mdoio and __ppc_mdoom.
52603
52604 2013-05-22 Carlos O'Donell <carlos@redhat.com>
52605
52606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52607 (main): Mention "tls" pseudo-hwcap is legacy.
52608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52609
52610 2013-05-22 Joseph Myers <joseph@codesourcery.com>
52611
52612 * math/gen-libm-test.pl (parse_args): Output only string of
52613 arguments as text for test name, not full call or descriptions of
52614 tests for extra outputs.
52615 (generate_testfile): Do not pass function name to parse_args.
52616 Generate this_func variable from START.
52617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
52618 field to arg_str.
52619 (struct test_ff_f_data): Likewise.
52620 (test_ff_f_data_nexttoward): Likewise.
52621 (struct test_fi_f_data): Likewise.
52622 (struct test_fl_f_data): Likewise.
52623 (struct test_if_f_data): Likewise.
52624 (struct test_fff_f_data): Likewise.
52625 (struct test_c_f_data): Likewise.
52626 (struct test_f_f1_data): Likewise. Remove field extra_name.
52627 (struct test_fF_f1_data): Likewise.
52628 (struct test_ffI_f1_data): Likewise.
52629 (struct test_c_c_data): Rename test_name field to arg_str.
52630 (struct test_cc_c_data): Likewise.
52631 (struct test_f_i_data): Likewise.
52632 (struct test_ff_i_data): Likewise.
52633 (struct test_f_l_data): Likewise.
52634 (struct test_f_L_data): Likewise.
52635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
52636 and extra2_name.
52637 (COMMON_TEST_SETUP): New macro.
52638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52639 (COMMON_TEST_CLEANUP): Likewise.
52640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
52642 macros.
52643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
52645 macros.
52646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52647 (RUN_TEST_fff_f): Take argument string. Call new setup and
52648 cleanup macros.
52649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
52651 macros.
52652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
52654 macros.
52655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
52657 cleanup macros.
52658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
52660 cleanup macros.
52661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
52663 cleanup macros.
52664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
52666 macros.
52667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
52669 macros.
52670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
52672 macros.
52673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
52675 cleanup macros.
52676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
52678 cleanup macros.
52679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
52681 macros.
52682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
52684 cleanup macros.
52685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
52687 macros.
52688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
52690 macros.
52691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
52693 cleanup macros.
52694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52695
52696 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
52697
52698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52699 to _sifields.sigfault.
52700 (si_addr_lsb): Define new macro.
52701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52704
52705 2013-05-03 Carlos O'Donell <carlos at redhat.com>
52706
52707 [BZ #15441]
52708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52709 returns -1.
52710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52711 null return -1.
52712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52713 loading the domain.
52714
52715 2013-05-22 Joseph Myers <joseph@codesourcery.com>
52716
52717 * math/gen-libm-test.pl (parse_args): Do not include expected
52718 result in test name.
52719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52725
52726 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52727
52728 * benchtests/Makefile: Sort function entries.
52729
52730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52731 tanh, asinh, acosh, atanh.
52732 * benchtests/acos-inputs: New file.
52733 * benchtests/acosh-inputs: New file.
52734 * benchtests/asin-inputs: New file.
52735 * benchtests/asinh-inputs: New file.
52736 * benchtests/atanh-inputs: New file.
52737 * benchtests/cosh-inputs: New file.
52738 * benchtests/log-inputs: New file.
52739 * benchtests/sinh-inputs: New file.
52740 * benchtests/tanh-inputs: New file.
52741
52742 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
52743
52744 [BZ #15339]
52745 * posix/tst-getaddrinfo4.c: New test.
52746 * posix/Makefile (tests): Add it.
52747
52748 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52749
52750 [BZ #15339]
52751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52752 when no services were used.
52753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52755
52756 2013-05-21 Andreas Schwab <schwab@suse.de>
52757
52758 [BZ #15014]
52759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52761 successful.
52762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52763 redundant variable declarations and reallocation of buffer when
52764 parsing as IPv6 address. Always set NSS status when called from
52765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
52766 buffer too small. Correct computation of needed size.
52767 * nss/Makefile (tests): Add test-digits-dots.
52768 * nss/test-digits-dots.c: New test.
52769
52770 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52771
52772 * benchtests/Makefile: Remove instructions for adding
52773 benchmark tests.
52774 * benchtests/README: New file to explain how to execute and
52775 enhance the benchmark tests.
52776
52777 2013-05-21 Andreas Schwab <schwab@suse.de>
52778
52779 [BZ #15493]
52780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
52781 * setjmp/tst-sigsetjmp.c: New test.
52782
52783 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
52784
52785 * sysdeps/x86_64/memset.S (memset): New implementation.
52786 (__bzero): Likewise.
52787 (__memset_tail): New function.
52788
52789 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
52790
52791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52793 __memcpy_sse2_unaligned ifunc selection.
52794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52795 Add memcpy-sse2-unaligned.S.
52796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52797 Add: __memcpy_sse2_unaligned.
52798
52799 2013-05-19 Joseph Myers <joseph@codesourcery.com>
52800
52801 [BZ #15490]
52802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52803 math_force_eval before restoring floating-point envrionment.
52804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52806 Likewise.
52807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52808 <math_private.h>.
52809 (__nearbyintl): Use math_force_eval before restoring
52810 floating-point environment.
52811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52812
52813 * math/gen-libm-test.pl (special_functions): Remove.
52814 (parse_args): Don't handle TEST_extra. Handle functions with no
52815 return value.
52816 * math/libm-test.inc (struct test_sincos_data): Replace with
52817 struct test_fFF_11_data.
52818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52820 (sincos_test_data): Change element type to struct
52821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
52822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52823 RUN_TEST_LOOP_sincos.
52824 * math/README.libm-test: Don't mention special handling of
52825 individual functions.
52826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52832
52833 * math/gen-libm-test.pl (get_variable): Remove function.
52834 (parse_args): Don't show pointer parameters to call in test
52835 names. Use "extra output N" in test names for extra outputs
52836 rather than naming variables.
52837
52838 2013-05-18 Joseph Myers <joseph@codesourcery.com>
52839
52840 [BZ #15488]
52841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52844 double tests.
52845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52846 disable.
52847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52848 check_long_double.
52849
52850 * math/gen-libm-test.pl (@tests): Remove variable.
52851 ($count): Likewise.
52852 (new_test): Remove function.
52853 (show_exceptions): New function.
52854 (special_functions): Use show_exceptions instead of new_test.
52855 (parse_args): Likewise.
52856 (generate_testfile): Pass only function name in generated call to
52857 print_max_error or print_complex_max_error.
52858 (get_ulps): Do not handle complex tests specially.
52859 (output_test): Rename to ...
52860 (get_all_ulps_for_test): ... this. Return a string rather than
52861 printing to a file. Require ulps to be present.
52862 (output_ulps): Generate arrays rather than #defines.
52863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52864 (struct ulp_data): New type.
52865 (BUILD_COMPLEX_ULP): Remove macro.
52866 (compare_ulp_data): New function.
52867 (find_ulps): Likewise.
52868 (find_test_ulps): Likewise.
52869 (find_function_ulps): Likewise.
52870 (find_complex_function_ulps): Likewise.
52871 (print_max_error): Determine allowed ulps using
52872 find_function_ulps.
52873 (print_complex_max_error): Determine allowed ulps using
52874 find_complex_function_ulps.
52875 (check_float_internal): Determine max ulps using find_test_ulps.
52876 (check_float): Do not take max_ulp parameter. Update call to
52877 check_float_internal.
52878 (check_complex): Likewise.
52879 (check_int): Do not take max_ulp parameter.
52880 (check_long): Likewise.
52881 (check_bool): Likewise.
52882 (check_longlong): Likewise.
52883 (struct test_f_f_data): Remove max_ulp field.
52884 (struct test_ff_f_data): Likewise.
52885 (struct test_ff_f_data_nexttoward): Likewise.
52886 (struct test_fi_f_data): Likewise.
52887 (struct test_fl_f_data): Likewise.
52888 (struct test_if_f_data): Likewise.
52889 (struct test_fff_f_data): Likewise.
52890 (struct test_c_f_data): Likewise.
52891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52892 (struct test_fF_f1_data): Likewise.
52893 (struct test_ffI_f1_data): Likewise.
52894 (struct test_c_c_data): Remove max_ulp field.
52895 (struct test_cc_c_data): Likewise.
52896 (struct test_f_i_data): Likewise.
52897 (struct test_ff_i_data): Likewise.
52898 (struct test_f_l_data): Likewise.
52899 (struct test_f_L_data): Likewise.
52900 (struct test_sincos_data): Likewise.
52901 (RUN_TEST_f_f): Do not handle ulps.
52902 (RUN_TEST_LOOP_f_f): Likewise.
52903 (RUN_TEST_2_f): Likewise.
52904 (RUN_TEST_LOOP_2_f): Likewise.
52905 (RUN_TEST_fff_f): Likewise.
52906 (RUN_TEST_LOOP_fff_f): Likewise.
52907 (RUN_TEST_c_f): Likewise.
52908 (RUN_TEST_LOOP_c_f): Likewise.
52909 (RUN_TEST_f_f1): Likewise.
52910 (RUN_TEST_LOOP_f_f1): Likewise.
52911 (RUN_TEST_fF_f1): Likewise.
52912 (RUN_TEST_LOOP_fF_f1): Likewise.
52913 (RUN_TEST_fI_f1): Likewise.
52914 (RUN_TEST_LOOP_fI_f1): Likewise.
52915 (RUN_TEST_ffI_f1): Likewise.
52916 (RUN_TEST_LOOP_ffI_f1): Likewise.
52917 (RUN_TEST_c_c): Likewise.
52918 (RUN_TEST_LOOP_c_c): Likewise.
52919 (RUN_TEST_cc_c): Likewise.
52920 (RUN_TEST_LOOP_cc_c): Likewise.
52921 (RUN_TEST_f_i): Likewise.
52922 (RUN_TEST_LOOP_f_i): Likewise.
52923 (RUN_TEST_f_i_tg): Likewise.
52924 (RUN_TEST_LOOP_f_i_tg): Likewise.
52925 (RUN_TEST_ff_i_tg): Likewise.
52926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
52927 (RUN_TEST_f_b): Likewise.
52928 (RUN_TEST_LOOP_f_b): Likewise.
52929 (RUN_TEST_f_b_tg): Likewise.
52930 (RUN_TEST_LOOP_f_b_tg): Likewise.
52931 (RUN_TEST_f_l): Likewise.
52932 (RUN_TEST_LOOP_f_l): Likewise.
52933 (RUN_TEST_f_L): Likewise.
52934 (RUN_TEST_LOOP_f_L): Likewise.
52935 (RUN_TEST_sincos): Likewise.
52936 (RUN_TEST_LOOP_sincos): Likewise.
52937
52938 2013-05-17 Joseph Myers <joseph@codesourcery.com>
52939
52940 [BZ #15480]
52941 [BZ #15485]
52942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52943 main case of finite arguments, set rounding mode to FE_TONEAREST
52944 and discard exceptions.
52945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52946 exceptions.
52947 (remainder_tonearest_test_data): New variable.
52948 (remainder_test_tonearest): New function.
52949 (remainder_towardzero_test_data): New variable.
52950 (remainder_test_towardzero): New function.
52951 (remainder_downward_test_data): New variable.
52952 (remainder_test_downward): New function.
52953 (remainder_upward_test_data): New variable.
52954 (remainder_test_upward): New function.
52955 (main): Call the new test functions.
52956
52957 * math/libm-test.inc (struct test_f_f1_data): Remove field
52958 extra_init.
52959 (struct test_fF_f1_data): Likewise.
52960 (struct test_ffI_f1_data): Likewise.
52961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
52962 based on value of EXTRA_EXPECTED.
52963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
52965 EXTRA_VAR based on value of EXTRA_EXPECTED.
52966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
52968 EXTRA_VAR based on value of EXTRA_EXPECTED.
52969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
52971 EXTRA_VAR based on value of EXTRA_EXPECTED.
52972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52973 * math/gen-libm-test.pl (parse_args): Don't output initializers
52974 for extra output values.
52975
52976 * math/libm-test.inc (check_int): Expect result to be exactly
52977 equal to expected value and do not handle ulps.
52978 (check_long): Likewise.
52979 (check_longlong): Likewise.
52980
52981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
52982 exceptions.
52983 (cimag_test_data): Likewise.
52984 (conj_test_data): Likewise.
52985 (copysign_test_data): Likewise.
52986 (cproj_test_data): Likewise.
52987 (creal_test_data): Likewise.
52988 (fabs_test_data): Likewise.
52989 (fdim_test_data): Likewise.
52990 (finite_test_data): Likewise.
52991 (floor_test_data): Likewise.
52992 (fmax_test_data): Likewise.
52993 (fmin_test_data): Likewise.
52994 (fmod_test_data): Likewise.
52995 (fpclassify_test_data): Likewise.
52996 (frexp_test_data): Likewise.
52997 (ilogb_test_data): Likewise.
52998 (isfinite_test_data): Likewise.
52999 (isgreater_test_data): Likewise.
53000 (isgreaterequal_test_data): Likewise.
53001 (isinf_test_data): Likewise.
53002 (isless_test_data): Likewise.
53003 (islessequal_test_data): Likewise.
53004 (islessgreater_test_data): Likewise.
53005 (isnan_test_data): Likewise.
53006 (isnormal_test_data): Likewise.
53007 (issignaling_test_data): Likewise.
53008 (isunordered_test_data): Likewise.
53009 (ldexp_test_data): Likewise.
53010 (lrint_test_data): Likewise.
53011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
53012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
53014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53017 test input.
53018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
53019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53022 that test input.
53023 (lrint_downward_test_data): Test for "inexact" exceptions.
53024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53027 test input.
53028 (lrint_upward_test_data): Test for "inexact" exceptions.
53029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53030 test input.
53031 (llrint_test_data): Test for "inexact" exceptions.
53032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
53033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
53034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
53036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53037 (llrint_downward_test_data): Test for "inexact" exceptions.
53038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53039 (llrint_upward_test_data): Test for "inexact" exceptions.
53040 (logb_test_data): Likewise.
53041 (logb_downward_test_data): Likewise.
53042 (nextafter_test_data): Likewise.
53043 (nexttoward_test_data): Likewise.
53044 (remainder_test_data): Likewise.
53045 (remquo_test_data): Likewise.
53046 (scalbn_test_data): Likewise.
53047 (scalbln_test_data): Likewise.
53048 (signbit_test_data): Likewise.
53049 (sqrt_test_data): Likewise.
53050 (significand_test_data): Likewise.
53051
53052 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53053
53054 [BZ #15424]
53055 * benchtests/bench-modf.c (struct args): Mark arg0 as
53056 volatile.
53057 * scripts/bench.pl: Mark members of struct args as volatile.
53058
53059 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53060
53061 [BZ # 15497]
53062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53063 negative infinity on POWER6 or lower.
53064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53065
53066 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
53067
53068 [BZ #15442]
53069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53073 (_FP_SETQNAN): New macro.
53074 (_FP_SETQNAN_SEMIRAW): Likewise.
53075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53078 (FP_EXTEND): Use _FP_FRAC_SNANP.
53079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53081 into account.
53082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53083 New macro.
53084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53085 Likewise.
53086
53087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
53088
53089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53090 with DIVIDE_BY_ZERO_EXCEPTION.
53091 (gamma_test_data): Likewise.
53092 (lgamma_test_data): Likewise.
53093 (log_test_data): Likewise.
53094 (log10_test_data): Likewise.
53095 (log2_test_data): Likewise.
53096 (tgamma_test_data): Likewise.
53097
53098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53099 (acos_test_tonearest): Likewise.
53100 (acos_test_towardzero): Likewise.
53101 (acos_test_downward): Likewise.
53102 (acos_test_upward): Likewise.
53103 (acosh_test): Likewise.
53104 (asin_test): Likewise.
53105 (asin_test_tonearest): Likewise.
53106 (asin_test_towardzero): Likewise.
53107 (asin_test_downward): Likewise.
53108 (asin_test_upward): Likewise.
53109 (asinh_test): Likewise.
53110 (atan_test): Likewise.
53111 (atanh_test): Likewise.
53112 (atan2_test): Likewise.
53113 (cabs_test): Likewise.
53114 (cacos_test): Likewise.
53115 (cacosh_test): Likewise.
53116 (casin_test): Likewise.
53117 (casinh_test): Likewise.
53118 (catan_test): Likewise.
53119 (catanh_test): Likewise.
53120 (cbrt_test): Likewise.
53121 (ccos_test): Likewise.
53122 (ccosh_test): Likewise.
53123 (cexp_test): Likewise.
53124 (clog_test): Likewise.
53125 (clog10_test): Likewise.
53126 (cos_test): Likewise.
53127 (cos_test_tonearest): Likewise.
53128 (cos_test_towardzero): Likewise.
53129 (cos_test_downward): Likewise.
53130 (cos_test_upward): Likewise.
53131 (cosh_test): Likewise.
53132 (cosh_test_tonearest): Likewise.
53133 (cosh_test_towardzero): Likewise.
53134 (cosh_test_downward): Likewise.
53135 (cosh_test_upward): Likewise.
53136 (cpow_test): Likewise.
53137 (csin_test): Likewise.
53138 (csinh_test): Likewise.
53139 (csqrt_test): Likewise.
53140 (ctan_test): Likewise.
53141 (ctan_test_tonearest): Likewise.
53142 (ctan_test_towardzero): Likewise.
53143 (ctan_test_downward): Likewise.
53144 (ctan_test_upward): Likewise.
53145 (ctanh_test): Likewise.
53146 (ctanh_test_tonearest): Likewise.
53147 (ctanh_test_towardzero): Likewise.
53148 (ctanh_test_downward): Likewise.
53149 (ctanh_test_upward): Likewise.
53150 (erf_test): Likewise.
53151 (erfc_test): Likewise.
53152 (exp_test): Likewise.
53153 (exp_test_tonearest): Likewise.
53154 (exp_test_towardzero): Likewise.
53155 (exp_test_downward): Likewise.
53156 (exp_test_upward): Likewise.
53157 (exp10_test): Likewise.
53158 (exp2_test): Likewise.
53159 (expm1_test): Likewise.
53160 (fmod_test): Likewise.
53161 (gamma_test): Likewise.
53162 (hypot_test): Likewise.
53163 (j0_test): Likewise.
53164 (j1_test): Likewise.
53165 (jn_test): Likewise.
53166 (lgamma_test): Likewise.
53167 (log_test): Likewise.
53168 (log10_test): Likewise.
53169 (log1p_test): Likewise.
53170 (log2_test): Likewise.
53171 (logb_test_downward): Likewise.
53172 (pow_test): Likewise.
53173 (pow_test_tonearest): Likewise.
53174 (pow_test_towardzero): Likewise.
53175 (pow_test_downward): Likewise.
53176 (pow_test_upward): Likewise.
53177 (remainder_test): Likewise.
53178 (remquo_test): Likewise.
53179 (sin_test): Likewise.
53180 (sin_test_tonearest): Likewise.
53181 (sin_test_towardzero): Likewise.
53182 (sin_test_downward): Likewise.
53183 (sin_test_upward): Likewise.
53184 (sincos_test): Likewise.
53185 (sinh_test): Likewise.
53186 (sinh_test_tonearest): Likewise.
53187 (sinh_test_towardzero): Likewise.
53188 (sinh_test_downward): Likewise.
53189 (sinh_test_upward): Likewise.
53190 (sqrt_test): Likewise.
53191 (tan_test): Likewise.
53192 (tan_test_tonearest): Likewise.
53193 (tan_test_towardzero): Likewise.
53194 (tan_test_downward): Likewise.
53195 (tan_test_upward): Likewise.
53196 (tanh_test): Likewise.
53197 (tgamma_test): Likewise.
53198 (y0_test): Likewise.
53199 (y1_test): Likewise.
53200 (yn_test): Likewise.
53201
53202 * math/gen-libm-test.pl (adjust_arg): Remove function.
53203 (special_function): Remove argument $in_func. Only handle
53204 generating output for tables of tests, not inside functions.
53205 (parse_args): Likewise.
53206 (generate_testfile): Remove variable $in_func. Update call to
53207 parse_args.
53208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
53210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
53211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
53212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
53213 (MAX_VALUE_INIT): Rename macro to max_value.
53214 (MIN_VALUE_INIT): Rename macro to min_value.
53215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53216 (plus_zero): Remove variable.
53217 (minus_zero): Likewise.
53218 (plus_infty): Likewise.
53219 (minus_infty): Likewise.
53220 (qnan_value): Likewise.
53221 (max_value): Likewise.
53222 (min_value): Likewise.
53223 (min_subnorm_value): Likewise.
53224
53225 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53226
53227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53228 uint64_t or uint32_t usage.
53229 * crypt/sha256-block.c: Likewise.
53230 * crypt/sha256-crypt.c: Likewise.
53231 * crypt/sha256.c: Likewise.
53232 * crypt/sha512-block.c: Likewise.
53233 * crypt/sha512-crypt.c: Likewise.
53234 * crypt/sha512.c: Likewise.
53235 * debug/backtrace-tst.c: Likewise.
53236 * debug/pcprofiledump.c: Likewise.
53237 * elf/cache.c: Likewise.
53238 * elf/dl-cache.c: Likewise.
53239 * elf/dl-misc.c: Likewise.
53240 * elf/dl-profile.c: Likewise.
53241 * elf/dl-support.c: Likewise.
53242 * elf/ldconfig.c: Likewise.
53243 * elf/sprof.c: Likewise.
53244 * iconv/dummy-repertoire.c: Likewise.
53245 * iconv/iconv_charmap.c: Likewise.
53246 * iconv/skeleton.c: Likewise.
53247 * iconvdata/8bit-generic.c: Likewise.
53248 * iconvdata/cp737.h: Likewise.
53249 * iconvdata/cp775.h: Likewise.
53250 * iconvdata/ibm1008.h: Likewise.
53251 * iconvdata/ibm1025.h: Likewise.
53252 * iconvdata/ibm1046.h: Likewise.
53253 * iconvdata/ibm1097.h: Likewise.
53254 * iconvdata/ibm1112.h: Likewise.
53255 * iconvdata/ibm1122.h: Likewise.
53256 * iconvdata/ibm1123.h: Likewise.
53257 * iconvdata/ibm1124.h: Likewise.
53258 * iconvdata/ibm1129.h: Likewise.
53259 * iconvdata/ibm1130.h: Likewise.
53260 * iconvdata/ibm1132.h: Likewise.
53261 * iconvdata/ibm1133.h: Likewise.
53262 * iconvdata/ibm1137.h: Likewise.
53263 * iconvdata/ibm1140.h: Likewise.
53264 * iconvdata/ibm1141.h: Likewise.
53265 * iconvdata/ibm1142.h: Likewise.
53266 * iconvdata/ibm1143.h: Likewise.
53267 * iconvdata/ibm1144.h: Likewise.
53268 * iconvdata/ibm1145.h: Likewise.
53269 * iconvdata/ibm1146.h: Likewise.
53270 * iconvdata/ibm1147.h: Likewise.
53271 * iconvdata/ibm1148.h: Likewise.
53272 * iconvdata/ibm1149.h: Likewise.
53273 * iconvdata/ibm1153.h: Likewise.
53274 * iconvdata/ibm1154.h: Likewise.
53275 * iconvdata/ibm1155.h: Likewise.
53276 * iconvdata/ibm1156.h: Likewise.
53277 * iconvdata/ibm1157.h: Likewise.
53278 * iconvdata/ibm1158.h: Likewise.
53279 * iconvdata/ibm1160.h: Likewise.
53280 * iconvdata/ibm1161.h: Likewise.
53281 * iconvdata/ibm1162.h: Likewise.
53282 * iconvdata/ibm1163.h: Likewise.
53283 * iconvdata/ibm1164.h: Likewise.
53284 * iconvdata/ibm1166.h: Likewise.
53285 * iconvdata/ibm1167.h: Likewise.
53286 * iconvdata/ibm12712.h: Likewise.
53287 * iconvdata/ibm1390.h: Likewise.
53288 * iconvdata/ibm1399.h: Likewise.
53289 * iconvdata/ibm16804.h: Likewise.
53290 * iconvdata/ibm4517.h: Likewise.
53291 * iconvdata/ibm4899.h: Likewise.
53292 * iconvdata/ibm4909.h: Likewise.
53293 * iconvdata/ibm4971.h: Likewise.
53294 * iconvdata/ibm5347.h: Likewise.
53295 * iconvdata/ibm803.h: Likewise.
53296 * iconvdata/ibm856.h: Likewise.
53297 * iconvdata/ibm901.h: Likewise.
53298 * iconvdata/ibm902.h: Likewise.
53299 * iconvdata/ibm9030.h: Likewise.
53300 * iconvdata/ibm9066.h: Likewise.
53301 * iconvdata/ibm921.h: Likewise.
53302 * iconvdata/ibm922.h: Likewise.
53303 * iconvdata/ibm9448.h: Likewise.
53304 * iconvdata/isiri-3342.h: Likewise.
53305 * iconvdata/jis0201.h: Likewise.
53306 * include/link.h: Likewise.
53307 * include/netdb.h: Likewise.
53308 * inet/check_native.c: Likewise.
53309 * inet/check_pf.c: Likewise.
53310 * inet/getipv4sourcefilter.c: Likewise.
53311 * inet/getnameinfo.c: Likewise.
53312 * inet/getsourcefilter.c: Likewise.
53313 * inet/htonl.c: Likewise.
53314 * inet/setipv4sourcefilter.c: Likewise.
53315 * inet/setsourcefilter.c: Likewise.
53316 * inet/test-inet6_opt.c: Likewise.
53317 * inet/tst-network.c: Likewise.
53318 * locale/C-collate.c: Likewise.
53319 * locale/C-ctype.c: Likewise.
53320 * locale/C-time.c: Likewise.
53321 * locale/C-translit.h: Likewise.
53322 * locale/loadarchive.c: Likewise.
53323 * locale/programs/3level.h: Likewise.
53324 * locale/programs/charmap.c: Likewise.
53325 * locale/programs/charmap.h: Likewise.
53326 * locale/programs/ld-address.c: Likewise.
53327 * locale/programs/ld-collate.c: Likewise.
53328 * locale/programs/ld-ctype.c: Likewise.
53329 * locale/programs/ld-identification.c: Likewise.
53330 * locale/programs/ld-measurement.c: Likewise.
53331 * locale/programs/ld-messages.c: Likewise.
53332 * locale/programs/ld-monetary.c: Likewise.
53333 * locale/programs/ld-name.c: Likewise.
53334 * locale/programs/ld-numeric.c: Likewise.
53335 * locale/programs/ld-paper.c: Likewise.
53336 * locale/programs/ld-telephone.c: Likewise.
53337 * locale/programs/ld-time.c: Likewise.
53338 * locale/programs/linereader.c: Likewise.
53339 * locale/programs/locale.c: Likewise.
53340 * locale/programs/locarchive.c: Likewise.
53341 * locale/programs/locfile.h: Likewise.
53342 * locale/programs/repertoire.c: Likewise.
53343 * locale/programs/simple-hash.c: Likewise.
53344 * locale/programs/simple-hash.h: Likewise.
53345 * malloc/memusage.c: Likewise.
53346 * malloc/memusagestat.c: Likewise.
53347 * nis/nis_defaults.c: Likewise.
53348 * nis/nis_hash.c: Likewise.
53349 * nis/nis_print.c: Likewise.
53350 * nis/nis_xdr.c: Likewise.
53351 * nscd/connections.c: Likewise.
53352 * nscd/hstcache.c: Likewise.
53353 * nscd/nscd_gethst_r.c: Likewise.
53354 * nscd/nscd_getserv_r.c: Likewise.
53355 * nscd/nscd_helper.c: Likewise.
53356 * nscd/servicescache.c: Likewise.
53357 * nss/makedb.c: Likewise.
53358 * nss/nss_db/db-XXX.c: Likewise.
53359 * nss/nss_db/db-initgroups.c: Likewise.
53360 * nss/nss_db/db-netgrp.c: Likewise.
53361 * nss/nss_files/files-network.c: Likewise.
53362 * nss/nss_files/files-parse.c: Likewise.
53363 * posix/bug-regex5.c: Likewise.
53364 * posix/fnmatch_loop.c: Likewise.
53365 * posix/regcomp.c: Likewise.
53366 * posix/regexec.c: Likewise.
53367 * posix/tst-rfc3484-2.c: Likewise.
53368 * posix/tst-rfc3484-3.c: Likewise.
53369 * posix/tst-rfc3484.c: Likewise.
53370 * resolv/nss_dns/dns-canon.c: Likewise.
53371 * resolv/nss_dns/dns-network.c: Likewise.
53372 * resolv/res_init.c: Likewise.
53373 * resolv/res_mkquery.c: Likewise.
53374 * resolv/tst-aton.c: Likewise.
53375 * stdlib/cxa_atexit.c: Likewise.
53376 * stdlib/cxa_finalize.c: Likewise.
53377 * stdlib/gen-fpioconst.c: Likewise.
53378 * stdlib/strtol_l.c: Likewise.
53379 * string/tst-endian.c: Likewise.
53380 * sunrpc/auth_des.c: Likewise.
53381 * sunrpc/clnt_udp.c: Likewise.
53382 * sunrpc/rtime.c: Likewise.
53383 * sunrpc/svcauth_des.c: Likewise.
53384 * sunrpc/xdr.c: Likewise.
53385 * sunrpc/xdr_intXX_t.c: Likewise.
53386 * sunrpc/xdr_rec.c: Likewise.
53387 * sysdeps/generic/ldconfig.h: Likewise.
53388 * sysdeps/generic/ldsodefs.h: Likewise.
53389 * sysdeps/generic/memusage.h: Likewise.
53390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53400 * sysdeps/posix/getaddrinfo.c: Likewise.
53401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
53406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53416 * sysdeps/x86_64/dl-tls.h: Likewise.
53417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53418 * time/alt_digit.c: Likewise.
53419 * time/era.c: Likewise.
53420 * wcsmbs/tst-c16c32-1.c: Likewise.
53421
53422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
53423
53424 * math/libm-test.inc (struct test_sincos_data): New type.
53425 (RUN_TEST_LOOP_sincos): New macro.
53426 (sincos_test_data): New variable.
53427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53428
53429 2013-05-16 Richard Henderson <rth@redhat.com>
53430
53431 * math/atest-exp2.c (LIMB64): New macro.
53432 (CONSTSZ): New macro.
53433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
53434 (hexdig): Move ...
53435 (print_mpn_fp): ... to function scope.
53436 (read_mpn_hex): Remove.
53437 (get_log2): Remove.
53438 (exp2_mpn): Use mp_log2.
53439 (main): Use mp_exp1.
53440
53441 2013-05-16 Joseph Myers <joseph@codesourcery.com>
53442
53443 * math/libm-test.inc: Remove comment about not testing "inexact"
53444 exceptions.
53445 (INEXACT_EXCEPTION): New macro.
53446 (NO_INEXACT_EXCEPTION): Likewise.
53447 (INVALID_EXCEPTION_OK): Update value.
53448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53449 (OVERFLOW_EXCEPTION_OK): Likewise.
53450 (UNDERFLOW_EXCEPTION_OK): Likewise.
53451 (IGNORE_ZERO_INF_SIGN): Likewise.
53452 (ERRNO_UNCHANGED): Likewise.
53453 (ERRNO_EDOM): Likewise.
53454 (ERRNO_ERANGE): Likewise.
53455 (test_exceptions): Handle testing "inexact" exceptions.
53456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53460 INEXACT_EXCEPTION.
53461 (rint_towardzero_test_data): Likewise.
53462 (rint_downward_test_data): Likewise.
53463 (rint_upward_test_data): Likewise.
53464
53465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53466 with OVERFLOW_EXCEPTION.
53467 (exp10_test_data): Likewise.
53468 (exp2_test_data): Likewise.
53469 (expm1_test_data): Likewise.
53470 (lgamma_test_data): Likewise.
53471 (pow_test_data): Likewise.
53472 (tgamma_test_data): Likewise.
53473 (yn_test_data): Remove duplicate test of overflow.
53474
53475 * math/libm-test.inc (struct test_cc_c_data): New type.
53476 (RUN_TEST_LOOP_cc_c): New macro.
53477 (cpow_test_data): New variable.
53478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53479
53480 * math/libm-test.inc (struct test_f_L_data): New type.
53481 (RUN_TEST_LOOP_f_L): New macro.
53482 (llrint_test_data): New variable.
53483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53484 (llrint_tonearest_test_data): New variable.
53485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53486 (llrint_towardzero_test_data): New variable.
53487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53488 (llrint_downward_test_data): New variable.
53489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53490 (llrint_upward_test_data): New variable.
53491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53492 (llround_test_data): New variable.
53493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53494
53495 2013-05-13 Peter Collingbourne <pcc@google.com>
53496
53497 * math/atest-exp2.c (get_log2): Remove const attribute.
53498
53499 2013-05-15 Joseph Myers <joseph@codesourcery.com>
53500
53501 * math/libm-test.inc (struct test_f_l_data): New type.
53502 (RUN_TEST_LOOP_f_l): New macro.
53503 (lrint_test_data): New variable.
53504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53505 (lrint_tonearest_test_data): New variable.
53506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53507 (lrint_towardzero_test_data): New variable.
53508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53509 (lrint_downward_test_data): New variable.
53510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53511 (lrint_upward_test_data): New variable.
53512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53513 (lround_test_data): New variable.
53514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53515
53516 2013-05-15 Peter Collingbourne <pcc@google.com>
53517
53518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53519 (EXTRACT_WORDS64) Use where appropriate.
53520 (INSERT_WORDS64) Likewise.
53521
53522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53523 constraints with x constraints.
53524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53525
53526 * malloc/obstack.c (_obstack_compat): Add initializer.
53527
53528 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
53529
53530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53531 si_trapno and add si_addr_lsb to _sifields.sigfault.
53532 (si_trapno): Remove macro.
53533 (si_addr_lsb): Define new macro.
53534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53535
53536 2013-05-15 Joseph Myers <joseph@codesourcery.com>
53537
53538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53539 instead of TEST_f_l.
53540 (llrint_test_tonearest): Likewise.
53541 (llrint_test_towardzero): Likewise.
53542 (llrint_test_downward): Likewise.
53543 (llrint_test_upward): Likewise.
53544 (llround_test): Likewise.
53545
53546 * math/libm-test.inc (struct test_f_i_data): Add comment.
53547 (RUN_TEST_LOOP_f_b): New macro.
53548 (RUN_TEST_LOOP_f_b_tg): Likewise.
53549 (finite_test_data): New variable.
53550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53551 (isfinite_test_data): New variable.
53552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53553 (isinf_test_data): New variable.
53554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53555 (isnan_test_data): New variable.
53556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53557 (isnormal_test_data): New variable.
53558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53559 (issignaling_test_data): New variable.
53560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53561 (signbit_test_data): New variable.
53562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53563
53564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53565 with INVALID_EXCEPTION.
53566 (acosh_test_data): Likewise.
53567 (asin_test_data): Likewise.
53568 (atanh_test_data): Likewise.
53569 (fmod_test_data): Likewise.
53570 (log_test_data): Likewise.
53571 (log10_test_data): Likewise.
53572 (log2_test_data): Likewise.
53573 (pow_test_data): Likewise.
53574 (sqrt_test_data): Likewise.
53575 (y0_test_data): Likewise.
53576 (y1_test_data): Likewise.
53577 (yn_test_data): Likewise.
53578
53579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53580 function contents.
53581
53582 * math/libm-test.inc (struct test_ff_i_data): New type.
53583 (RUN_TEST_LOOP_ff_i_tg): New macro.
53584 (isgreater_test_data): New variable.
53585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53586 (isgreaterequal_test_data): New variable.
53587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53588 (isless_test_data): New variable.
53589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53590 (islessequal_test_data): New variable.
53591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53592 (islessgreater_test_data): New variable.
53593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53594 (isunordered_test_data): New variable.
53595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53596
53597 2013-05-14 David S. Miller <davem@davemloft.net>
53598
53599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53600
53601 2013-05-14 Joseph Myers <joseph@codesourcery.com>
53602
53603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53604
53605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
53606 extra_test to int.
53607 (struct test_f_i_data): Change type of max_ulp to int.
53608
53609 * math/libm-test.inc (test_ffI_f1_data): New type.
53610 (RUN_TEST_LOOP_ffI_f1): New macro.
53611 (remquo_test_data): New variable.
53612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53613
53614 * setjmp/tst-setjmp-fp.c: New file.
53615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
53616 (link-libm): New variable.
53617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53618
53619 * math/libm-test.inc (struct test_f_i_data): New type.
53620 (RUN_TEST_LOOP_f_i): New macro.
53621 (RUN_TEST_LOOP_f_i_tg): Likewise.
53622 (fpclassify_test_data): New variable.
53623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53624 (ilogb_test_data): New variable.
53625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53626
53627 * math/libm-test.inc (scalbln_test): Correct function name in END
53628 call.
53629
53630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
53631 (RUN_TEST_LOOP_fI_f1): New macro.
53632 (frexp_test_data): New variable.
53633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53634
53635 * math/libm-test.inc (struct test_fF_f1_data): New type.
53636 (RUN_TEST_LOOP_fF_f1): New macro.
53637 (modf_test_data): New variable.
53638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53639
53640 * math/libm-test.inc (struct test_f_f1_data): New type.
53641 (RUN_TEST_LOOP_f_f1): New macro.
53642 (gamma_test_data): New variable.
53643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53644 (lgamma_test_data): New variable.
53645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53646
53647 2013-05-13 Carlos O'Donell <carlos@redhat.com>
53648
53649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53651 (main): Comment "tls" pseudo-hwcap.
53652
53653 2013-05-13 Joseph Myers <joseph@codesourcery.com>
53654
53655 * math/libm-test.inc (struct test_fl_f_data): New type.
53656 (RUN_TEST_LOOP_fl_f): New variable.
53657 (scalbln_test_data): New variable.
53658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53659
53660 * math/libm-test.inc (struct test_fi_f_data): New type.
53661 (RUN_TEST_LOOP_fi_f): New macro.
53662 (ldexp_test_data): New variable.
53663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53664 (scalbn_test_data): New variable.
53665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53666
53667 * math/libm-test.inc (struct test_c_f_data): New type.
53668 (RUN_TEST_LOOP_c_f): New macro.
53669 (cabs_test_data): New variable.
53670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53671 (carg_test_data): New variable.
53672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53673 (cimag_test_data): New variable.
53674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53675 (creal_test_data): New variable.
53676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53677
53678 * math/libm-test.inc (struct test_if_f_data): New type.
53679 (RUN_TEST_LOOP_if_f): New macro.
53680 (jn_test_data): New variable.
53681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53682 (yn_test_data): New variable.
53683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53684
53685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53686
53687 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53688
53689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53691
53692 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53693
53694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
53695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53696 (bench-deps): Add bench-timing.h.
53697 * benchtests-bench-skeleton.c: Include bench-timing.h.
53698 (main): Use TIMING_* macros instead of clock_gettime.
53699 * benchtests/bench-timing.h: New file.
53700
53701 [BZ #14582]
53702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53703 Renamed from _LIB_VERSION.
53704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53705
53706 2013-05-12 Joseph Myers <joseph@codesourcery.com>
53707
53708 * math/libm-test.inc (struct test_fff_f_data): New type.
53709 (RUN_TEST_LOOP_fff_f): New macro.
53710 (fma_test_data): New variable.
53711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53712 (fma_towardzero_test_data): New variable.
53713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53714 (fma_downward_test_data): New variable.
53715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53716 (fma_upward_test_data): New variable.
53717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53718
53719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53720 (struct test_c_c_data): New type.
53721 (RUN_TEST_LOOP_c_c): New macro.
53722 (cacos_test_data): New variable.
53723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53724 (cacosh_test_data): New variable.
53725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53726 (casin_test_data): New variable.
53727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53728 (casinh_test_data): New variable.
53729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53730 (catan_test_data): New variable.
53731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53732 (catanh_test_data): New variable.
53733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53734 (ccos_test_data): New variable.
53735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53736 (ccosh_test_data): New variable.
53737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53738 (cexp_test_data): New variable.
53739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53740 (clog_test_data): New variable.
53741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53742 (clog10_test_data): New variable.
53743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53744 (conj_test_data): New variable.
53745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53746 (cproj_test_data): New variable.
53747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53748 (csin_test_data): New variable.
53749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53750 (csinh_test_data): New variable.
53751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53752 (csqrt_test_data): New variable.
53753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53754 (ctan_test_data): New variable.
53755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53756 (ctan_tonearest_test_data): New variable.
53757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53758 (ctan_towardzero_test_data): New variable.
53759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53760 (ctan_downward_test_data): New variable.
53761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53762 (ctan_upward_test_data): New variable.
53763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53764 (ctanh_test_data): New variable.
53765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53766 (ctanh_tonearest_test_data): New variable.
53767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53768 (ctanh_towardzero_test_data): New variable.
53769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53770 (ctanh_downward_test_data): New variable.
53771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53772 (ctanh_upward_test_data): New variable.
53773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53775 of BUILD_COMPLEX.
53776
53777 * math/libm-test.inc (struct test_ff_f_data): New type.
53778 (struct test_ff_f_data_nexttoward): Likewise.
53779 (RUN_TEST_LOOP_2_f): New macro.
53780 (RUN_TEST_LOOP_ff_f): Likewise.
53781 (atan2_test_data): New variable.
53782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53783 (copysign_test_data): New variable.
53784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53785 (fdim_test_data): New variable.
53786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53787 (fmax_test_data): New variable.
53788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53789 (fmin_test_data): New variable.
53790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53791 (fmod_test_data): New variable.
53792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53793 (hypot_test_data): New variable.
53794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53795 (nextafter_test_data): New variable.
53796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53797 (nexttoward_test_data): New variable.
53798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53799 (pow_test_data): New variable.
53800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53801 (pow_tonearest_test_data): New variable.
53802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53803 (pow_towardzero_test_data): New variable.
53804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53805 (pow_downward_test_data): New variable.
53806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53807 (pow_upward_test_data): New variable.
53808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53809 (remainder_test_data): New variable.
53810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53811 (scalb_test_data): New variable.
53812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53813 * sysdeps/i386/fpu/libm-test-ulps: Update.
53814
53815 2013-05-11 Joseph Myers <joseph@codesourcery.com>
53816
53817 * math/libm-test.inc (fma_test): Use max_value instead of local
53818 variable fltmax.
53819 (nextafter_test): Likewise.
53820
53821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
53822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53823 (acos_downward_test_data): New variable.
53824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53825 (acos_upward_test_data): New variable.
53826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53827 (acosh_test_data): New variable.
53828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53829 (asin_test_data): New variable.
53830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53831 (asin_tonearest_test_data): New variable.
53832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53833 (asin_towardzero_test_data): New variable.
53834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53835 (asin_downward_test_data): New variable.
53836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53837 (asin_upward_test_data): New variable.
53838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53839 (asinh_test_data): New variable.
53840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53841 (atan_test_data): New variable.
53842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53843 (atanh_test_data): New variable.
53844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53845 (cbrt_test_data): New variable.
53846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53847 (ceil_test_data): New variable.
53848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53849 (cos_test_data): New variable.
53850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53851 (cos_tonearest_test_data): New variable.
53852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53853 (cos_towardzero_test_data): New variable.
53854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53855 (cos_downward_test_data): New variable.
53856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53857 (cos_upward_test_data): New variable.
53858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53859 (cosh_test_data): New variable.
53860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53861 (cosh_tonearest_test_data): New variable.
53862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53863 (cosh_towardzero_test_data): New variable.
53864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53865 (cosh_downward_test_data): New variable.
53866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53867 (cosh_upward_test_data): New variable.
53868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53869 (erf_test_data): New variable.
53870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53871 (erfc_test_data): New variable.
53872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53873 (exp_test_data): New variable.
53874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53875 (exp_tonearest_test_data): New variable.
53876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53877 (exp_towardzero_test_data): New variable.
53878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53879 (exp_downward_test_data): New variable.
53880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53881 (exp_upward_test_data): New variable.
53882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53883 (exp10_test_data): New variable.
53884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53885 (exp2_test_data): New variable.
53886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53887 (expm1_test_data): New variable.
53888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53889 (fabs_test_data): New variable.
53890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53891 (floor_test_data): New variable.
53892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53893 (j0_test_data): New variable.
53894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53895 (j1_test_data): New variable.
53896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53897 (log_test_data): New variable.
53898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
53899 (log10_test_data): New variable.
53900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53901 (log1p_test_data): New variable.
53902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53903 (log2_test_data): New variable.
53904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53905 (logb_test_data): New variable.
53906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53907 (logb_downward_test_data): New variable.
53908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53909 (nearbyint_test_data): New variable.
53910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53911 (rint_test_data): New variable.
53912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53913 (rint_tonearest_test_data): New variable.
53914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53915 (rint_towardzero_test_data): New variable.
53916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53917 (rint_downward_test_data): New variable.
53918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53919 (rint_upward_test_data): New variable.
53920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53921 (round_test_data): New variable.
53922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
53923 (sin_test_data): New variable.
53924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53925 (sin_tonearest_test_data): New variable.
53926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53927 (sin_towardzero_test_data): New variable.
53928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53929 (sin_downward_test_data): New variable.
53930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53931 (sin_upward_test_data): New variable.
53932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53933 (sinh_test_data): New variable.
53934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53935 (sinh_tonearest_test_data): New variable.
53936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53937 (sinh_towardzero_test_data): New variable.
53938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53939 (sinh_downward_test_data): New variable.
53940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53941 (sinh_upward_test_data): New variable.
53942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53943 (sqrt_test_data): New variable.
53944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53945 (tan_test_data): New variable.
53946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53947 (tan_tonearest_test_data): New variable.
53948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53949 (tan_towardzero_test_data): New variable.
53950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53951 (tan_downward_test_data): New variable.
53952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53953 (tan_upward_test_data): New variable.
53954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53955 (tanh_test_data): New variable.
53956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53957 (tgamma_test_data): New variable.
53958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53959 (trunc_test_data): New variable.
53960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53961 (y0_test_data): New variable.
53962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53963 (y1_test_data): New variable.
53964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53965 (significand_test_data): New variable.
53966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53967
53968 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
53969
53970 [BZ #12387]
53971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53972
53973 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
53974
53975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53976
53977 2013-05-10 Andreas Jaeger <aj@suse.de>
53978
53979 [BZ #15448]
53980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53982
53983 2013-05-10 Joseph Myers <joseph@codesourcery.com>
53984
53985 * math/gen-libm-test.pl (adjust_arg): New function.
53986 (special_functions): Handle generating output in both functions
53987 and arrays.
53988 (parse_args): Likewise.
53989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
53990 $in_func argument to parse_args.
53991 * math/libm-test.inc (struct test_f_f_data): New type.
53992 (IF_ROUND_INIT_): New macro.
53993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
53997 (ROUND_RESTORE_): Likewise.
53998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
54000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54001 (ROUND_RESTORE_FE_UPWARD): Likewise.
54002 (RUN_TEST_LOOP_f_f): New macro.
54003 (acos_test_data): New variable.
54004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54005 (acos_tonearest_test_data): New variable.
54006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54007
54008 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54009
54010 * benchtests/bench-skeleton.c (startup): Fix coding style.
54011
54012 2013-05-10 Joseph Myers <joseph@codesourcery.com>
54013
54014 [BZ #6809]
54015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54016 negative infinity argument.
54017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54018 negative infinity argument.
54019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54020 negative infinity argument.
54021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
54022 domain errors.
54023
54024 2013-05-10 Florian Weimer <fweimer@redhat.com>
54025
54026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54028 * iconv/iconv_prog.c (main): Likewise.
54029 * locale/programs/charmap-dir.c (charmap_readdir)
54030 (fopen_uncompressed): Likewise.
54031 * locale/programs/locfile.c (siblings_uncached)
54032 (write_locale_data): Use lstat64 instead of lstat.
54033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54034 stat.
54035
54036 2013-05-10 Andreas Jaeger <aj@suse.de>
54037
54038 [BZ #15395]
54039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54040 localization.
54041 Include <locale.h>.
54042
54043 2013-05-09 Carlos O'Donell <carlos@redhat.com>
54044
54045 * elf/dl-close.c (_dl_close_worker): Add comments.
54046
54047 2013-05-09 Joseph Myers <joseph@codesourcery.com>
54048
54049 [BZ #15359]
54050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54051 high part of pi/2.
54052 (__ieee754_rem_pio2l): Update comments.
54053
54054 [BZ #15429]
54055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54056 high part of pi/2.
54057 (__ieee754_rem_pio2l): Update comments.
54058
54059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54061
54062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54063 M_PI_4l.
54064
54065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54066 (M_PI_34_LOG10El): Likewise.
54067 (M_PI2_LOG10El): Likewise.
54068 (M_PI4_LOG10El): Likewise.
54069 (M_PI_LOG10El): Likewise.
54070
54071 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54072
54073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54074
54075 2013-05-08 Joseph Myers <joseph@codesourcery.com>
54076
54077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54078 (MINUS_ZERO_INIT): Likewise.
54079 (PLUS_INFTY_INIT): Likewise.
54080 (MINUS_INFTY_INIT): Likewise.
54081 (QNAN_VALUE_INIT): Likewise.
54082 (MAX_VALUE_INIT): Likewise.
54083 (MIN_VALUE_INIT): Likewise.
54084 (MIN_SUBNORM_VALUE_INIT): Likewise.
54085 (plus_zero): Initialize with PLUS_ZERO_INIT.
54086 (minus_zero): Initialize with MINUS_ZERO_INIT.
54087 (plus_infty): Initialize with PLUS_INFTY_INIT.
54088 (minus_infty): Initialize with MINUS_INFTY_INIT.
54089 (qnan_value): Initialize with QNAN_VALUE_INIT.
54090 (max_value): Initialize with MAX_VALUE_INIT.
54091 (min_value): Initialize with MIN_VALUE_INIT.
54092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54093
54094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
54095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
54096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
54098
54099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
54100 (RUN_TEST_2_f): Likewise.
54101 (RUN_TEST_ff_f): Likewise.
54102 (RUN_TEST_fi_f): Likewise.
54103 (RUN_TEST_fl_f): Likewise.
54104 (RUN_TEST_fff_f): Likewise.
54105 (RUN_TEST_c_f): Likewise.
54106 (RUN_TEST_f_f1): Likewise.
54107 (RUN_TEST_fF_f1): Likewise.
54108 (RUN_TEST_fI_f1): Likewise.
54109 (RUN_TEST_ffI_f1): Likewise.
54110 (RUN_TEST_c_c): Likewise.
54111 (RUN_TEST_cc_c): Likewise.
54112 (RUN_TEST_f_i): Likewise.
54113 (RUN_TEST_f_i_tg): Likewise.
54114 (RUN_TEST_ff_i_tg): Likewise.
54115 (RUN_TEST_f_b): Likewise.
54116 (RUN_TEST_f_b_tg): Likewise.
54117 (RUN_TEST_f_l): Likewise.
54118 (RUN_TEST_f_L): Likewise.
54119 (RUN_TEST_sincos): Likewise.
54120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
54121 whether to show exceptions. Do not include ");\n" in return
54122 value.
54123 (special_functions): Output call to RUN_TEST_sincos instead of
54124 check_float calls. Update calls to new_test.
54125 (parse_args): Output call to single RUN_TEST_* macro instead of
54126 check_* calls and other assignments. Update calls to new_test.
54127
54128 [BZ #2546]
54129 [BZ #2560]
54130 [BZ #5159]
54131 [BZ #15426]
54132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54133 input to result for tgamma overflow.
54134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54135 (gamma_coeff): New variable.
54136 (NCOEFF): New macro.
54137 (gamma_positive): New function.
54138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54139 underflow here. Use gamma_positive instead of exp (lgamma) for
54140 other arguments.
54141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54142 (gamma_coeff): New variable.
54143 (NCOEFF): New macro.
54144 (gammaf_positive): New function.
54145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54146 underflow here. Use gamma_positive instead of exp (lgamma) for
54147 other arguments.
54148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54149 (gamma_coeff): New variable.
54150 (NCOEFF): New macro.
54151 (gammal_positive): New function.
54152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54153 underflow here. Use gamma_positive instead of exp (lgamma) for
54154 other arguments.
54155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54156 (gamma_coeff): New variable.
54157 (NCOEFF): New macro.
54158 (gammal_positive): New function.
54159 (__ieee754_gammal_r): Handle positive infinity, overflow and
54160 underflow here. Handle NaN the same as positive infinity. Remove
54161 check x < 0xffffffff for negative integers. Use gamma_positive
54162 instead of exp (lgamma) for other arguments.
54163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54164 (gamma_coeff): New variable.
54165 (NCOEFF): New macro.
54166 (gammal_positive): New function.
54167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54173 * sysdeps/generic/math_private.h (__gamma_productf): New
54174 prototype.
54175 (__gamma_product): Likewise.
54176 (__gamma_productl): Likewise.
54177 * math/Makefile (libm-calls): Add gamma_product.
54178 * math/libm-test.inc (tgamma_test): Add more tests.
54179 * sysdeps/i386/fpu/libm-test-ulps: Update.
54180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54181
54182 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
54183
54184 * benchtests/bench-skeleton.c (main): Preheat CPU.
54185
54186 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
54187
54188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54189
54190 2013-05-07 Roland McGrath <roland@hack.frob.com>
54191
54192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54193 and _dl_skip_args_internal.
54194
54195 2013-05-07 Carlos O'Donell <carlos@redhat.com>
54196
54197 * manual/message.texi (Message Translation): Talk about users.
54198 Message to key mapping impacts design.
54199
54200 2013-05-06 Roland McGrath <roland@hack.frob.com>
54201
54202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54203
54204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54205
54206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54207 * sysdeps/wordsize-64/glob64.c: ... here.
54208
54209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54211 New macros.
54212
54213 * debug/getlogin_r_chk.c: Moved to ...
54214 * login/getlogin_r_chk.c: ... here.
54215 * debug/Makefile (routines): Move getlogin_r_chk to ...
54216 * login/Makefile (routines): ... here.
54217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54218 * login/Versions (libc: GLIBC_2.4): ... here.
54219
54220 * io/poll.c (__poll): Renamed from poll.
54221 Add libc_hidden_def.
54222 (poll): Define as weak alias.
54223
54224 * debug/ptsname_r_chk.c: Moved to ...
54225 * login/ptsname_r_chk.c: ... here.
54226 * debug/Makefile (routines): Move ptsname_r_chk to ...
54227 * login/Makefile (routines): ... here.
54228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54229 * login/Versions (libc: GLIBC_2.4): ... here.
54230
54231 * posix/getlogin.c: Moved to ...
54232 * login/getlogin.c: ... here.
54233 * posix/getlogin_r.c: Moved to ...
54234 * login/getlogin_r.c: ... here.
54235 * posix/getlogin_r.c: Moved to ...
54236 * login/getlogin_r.c: ... here.
54237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54238 * login/Makefile (routines): ... here.
54239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54240 * login/Versions (libc: GLIBC_2.0): ... here.
54241
54242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54243 (setrlimit): Define as weak alias.
54244
54245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54246 Call __ names for open, ftruncate, and close.
54247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54248 (truncate): Define as weak alias.
54249
54250 2013-05-06 Joseph Myers <joseph@codesourcery.com>
54251
54252 * math/gen-libm-test.pl (parse_args): Initialize x before each
54253 test of frexp, modf and remquo.
54254
54255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54256 test signgam value.
54257
54258 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54259
54260 [BZ #15418]
54261 [BZ #15419]
54262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54263 internal tests.
54264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54265
54266 2013-05-06 Roland McGrath <roland@hack.frob.com>
54267
54268 * elf/dl-writev.h: New file.
54269 * elf/dl-misc.c: Include it.
54270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54272
54273 2013-05-04 Joseph Myers <joseph@codesourcery.com>
54274
54275 * math/libm-test.inc (noXFails): Remove variable.
54276 (noXPasses): Likewise.
54277 (BUILD_COMPLEX_INT): Remove macro.
54278 (print_screen): Remove xfail argument.
54279 (print_screen_max_error): Likewise.
54280 (update_stats): Likewise.
54281 (print_max_error): Likewise. Update calls to other affected
54282 functions.
54283 (print_complex_max_error): Likewise.
54284 (test_single_exception): Update calls to print_screen.
54285 (test_single_errno): Likewise.
54286 (check_float_internal): Remove xfail argument. Update calls to
54287 other affected functions.
54288 (check_float): Likewise.
54289 (check_complex): Likewise.
54290 (check_int): Likewise.
54291 (check_long): Likewise.
54292 (check_bool): Likewise.
54293 (check_longlong): Likewise.
54294 (main): Don't print noXFails and noXPasses.
54295 * math/gen-libm-test.pl (top level): Don't mention expected
54296 failure handling in comment.
54297 (new_test): Don't handle expected failures.
54298 (parse_args): Don't mention expected failure handling in comment.
54299 (generate_testfile): Don't handle expected failures.
54300 (parse_ulps): Likewise.
54301 (print_ulps_file): Likewise.
54302 (get_failure): Remove function.
54303 (output_test): Don't handle expected failures.
54304 * make/README.libm-test: Don't mention expected failure handling.
54305
54306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
54307 (minus_zero): Likewise.
54308 (plus_infty): Likewise.
54309 (minus_infty): Likewise.
54310 (qnan_value): Likewise.
54311 (max_value): Likewise.
54312 (min_value): Likewise.
54313 (min_subnorm_value): Likewise.
54314 (initialize): Do not initialize those variables dynamically.
54315
54316 2013-05-03 Roland McGrath <roland@hack.frob.com>
54317
54318 * io/open.c (__open_2): Moved to ...
54319 * io/open_2.c: ... this new file.
54320 * io/open64.c (__open64_2): Moved to ...
54321 * io/open64_2.c: ... this new file.
54322 * io/openat.c (__openat_2): Moved to ...
54323 * io/openat_2.c: ... this new file.
54324 * io/openat64.c (__openat64_2): Moved to ...
54325 * io/openat64_2.c: ... this new file.
54326 * io/Makefile (routines): Add them.
54327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
54329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54333 (__openat64): Add hidden_ver.
54334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54336
54337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54338 Separately conditionalize setting of GLRO(dl_sysinfo) so
54339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
54341
54342 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54343
54344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54346 definition.
54347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
54349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
54350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54352
54353 2013-05-03 Joseph Myers <joseph@codesourcery.com>
54354
54355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54356 test signgam value.
54357
54358 * math/libm-test.inc (hypot_test): Do not use
54359 IGNORE_ZERO_INF_SIGN.
54360
54361 2013-05-03 Andreas Jaeger <aj@suse.de>
54362
54363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54364 Linux 3.9.
54365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54366 (PF_MAX): Adjust for VSOCK change.
54367
54368 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54369
54370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54371
54372 2013-05-02 Carlos O'Donell <carlos@redhat.com>
54373
54374 [BZ #15264]
54375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54378
54379 2013-05-02 David S. Miller <davem@davemloft.net>
54380
54381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54382
54383 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
54384
54385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54386
54387 2013-05-01 Roland McGrath <roland@hack.frob.com>
54388
54389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54390
54391 2013-05-01 Richard Smith <richard@metafoo.co.uk>
54392
54393 [BZ #14952]
54394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54396 Use __attribute__ ((__gnu_inline__)).
54397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54398 Don't use __attribute__ ((__gnu_inline__)).
54399
54400 2013-05-01 Joseph Myers <joseph@codesourcery.com>
54401
54402 [BZ #15423]
54403 * math/s_catan.c (__catan): Handle small real or imaginary part of
54404 input specially to avoid spurious underflow.
54405 * math/s_catanf.c (__catanf): Likewise.
54406 * math/s_catanh.c (__catanh): Likewise.
54407 * math/s_catanhf.c (__catanhf): Likewise.
54408 * math/s_catanhl.c (__catanhl): Likewise.
54409 * math/s_catanl.c (__catanl): Likewise.
54410 * math/libm-test.inc (catan_test): Add more tests.
54411 (catanh_test): Likewise.
54412 * sysdeps/i386/fpu/libm-test-ulps: Update.
54413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54414
54415 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54416
54417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54418
54419 2013-04-30 Joseph Myers <joseph@codesourcery.com>
54420
54421 [BZ #15416]
54422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54423 accurately for denominator in atan2.
54424 * math/s_catanf.c (__catanf): Likewise.
54425 * math/s_catanh.c (__catanh): Likewise.
54426 * math/s_catanhf.c (__catanhf): Likewise.
54427 * math/s_catanhl.c (__catanhl): Likewise.
54428 * math/s_catanl.c (__catanl): Likewise.
54429 * math/libm-test.inc (catan_test): Add more tests.
54430 (catanh_test): Likewise.
54431 * sysdeps/i386/fpu/libm-test-ulps: Update.
54432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54433
54434 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54435
54436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54437
54438 * benchtests/Makefile (bench): Remove slow benchmarks.
54439 * benchtests/atan-inputs: Add slow benchmark inputs.
54440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54441 (BENCH_FUNC): Accept variant offset.
54442 (VARIANT): Define.
54443 * benchtests/bench-skeleton.c (main): Run benchmark for each
54444 variant.
54445 * benchtests/cos-inputs: Add slow benchmark inputs.
54446 * benchtests/exp-inputs: Likewise.
54447 * benchtests/pow-inputs: Likewise.
54448 * benchtests/sin-inputs: Likewise.
54449 * benchtests/slowatan-inputs: Remove.
54450 * benchtests/slowatan.c: Remove.
54451 * benchtests/slowcos-inputs: Remove.
54452 * benchtests/slowcos.c: Remove.
54453 * benchtests/slowexp-inputs: Remove.
54454 * benchtests/slowexp.c: Remove.
54455 * benchtests/slowpow-inputs: Remove.
54456 * benchtests/slowpow.c: Remove.
54457 * benchtests/slowsin-inputs: Remove.
54458 * benchtests/slowsin.c: Remove.
54459 * benchtests/slowtan-inputs: Remove.
54460 * benchtests/slowtan.c: Remove.
54461 * benchtests/tan-inputs: Add slow benchmark inputs.
54462 * scripts/bench.pl: Parse comments and directives.
54463
54464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
54465 in CPPFLAGS.
54466 ($(objpfx)bench-%.c): Remove *-ITER.
54467 * benchtests/bench-modf.c: Remove definition of ITER.
54468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54469 (main): Loop for DURATION seconds instead of fixed number of
54470 iterations.
54471 * scripts/bench.pl: Don't expect iterations in parameters.
54472
54473 2013-04-29 Roland McGrath <roland@hack.frob.com>
54474
54475 * io/fchdir.c (__fchdir): Renamed from fchdir.
54476 (fchdir): Define as weak alias.
54477
54478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
54479
54480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54481 (ERRNO_EDOM): Likewise.
54482 (ERRNO_ERANGE): Likewise.
54483 (noErrnoTests): New variable.
54484 (init_max_error): Set errno to 0.
54485 (test_single_errno): New function.
54486 (test_errno): Likewise.
54487 (check_float_internal): Call test_errno. Set errno to 0.
54488 (check_complex): Refer to errno tests in comment.
54489 (check_int): Call test_errno. Set errno to 0.
54490 (check_long): Likewise.
54491 (check_bool): Likewise.
54492 (check_longlong): Likewise.
54493 (cos_test): Use ERRNO_* flags for errno tests instead of
54494 check_int.
54495 (expm1_test): Likewise.
54496 (fmod_test): Likewise.
54497 (ilogb_test): Likewise.
54498 (lgamma_test): Likewise.
54499 (pow_test): Likewise.
54500 (remainder_test): Likewise.
54501 (sin_test): Likewise.
54502 (tan_test): Likewise.
54503 (yn_test): Likewise.
54504 (initialize): Set errno to 0.
54505 (main): Print number of errno tests.
54506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54507
54508 2013-04-29 Andreas Jaeger <aj@suse.de>
54509
54510 [BZ #15084]
54511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54512 and RES_USEVC.
54513
54514 [BZ #15085]
54515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54517 unimplemented.
54518
54519 [BZ #15380]
54520 * stdlib/random.c (__initstate): Return NULL if
54521 __initstate fails.
54522
54523 [BZ #15086]
54524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54526 RES_SNGLKUPREOP.
54527
54528 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54529
54530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54531
54532 2013-04-29 Joseph Myers <joseph@codesourcery.com>
54533
54534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54535 of individual tests.
54536 (casin_test): Likewise.
54537 (casinh_test): Likewise.
54538
54539 2013-04-27 Joseph Myers <joseph@codesourcery.com>
54540
54541 [BZ #15409]
54542 * math/s_catan.c (__catan): Handle arguments with large real or
54543 imaginary part separately without squaring.
54544 * math/s_catanf.c (__catanf): Likewise.
54545 * math/s_catanh.c (__catanh): Likewise.
54546 * math/s_catanhf.c (__catanhf): Likewise.
54547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54548 and redefine.
54549 (__catanhl): Handle arguments with large real or imaginary part
54550 separately without squaring.
54551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54552 and redefine.
54553 (__catanl): Handle arguments with large real or imaginary part
54554 separately without squaring.
54555 * math/libm-test.inc (catan_test): Add more tests.
54556 (catanh_test): Likewise.
54557 * sysdeps/i386/fpu/libm-test-ulps: Update.
54558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54559
54560 2013-04-27 Andreas Jaeger <aj@suse.de>
54561
54562 [BZ #15007]
54563 * stdlib/stdlib.h: Update guards for qecvt.
54564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54565 <stdlib.h>.
54566
54567 2013-04-27 Allan McRae <allan@archlinux.org>
54568
54569 * sysdeps/i386/fpu/libm-test-ulps: Update.
54570
54571 2013-04-26 Joseph Myers <joseph@codesourcery.com>
54572
54573 [BZ #15406]
54574 * math/s_catan.c: Include <float.h>.
54575 (__catan): Ensure underflow exception occurs for underflowed
54576 result.
54577 * math/s_catanf.c: Include <float.h>.
54578 (__catanf): Ensure underflow exception occurs for underflowed
54579 result.
54580 * math/s_catanh.c: Include <float.h>.
54581 (__catanh): Ensure underflow exception occurs for underflowed
54582 result.
54583 * math/s_catanhf.c: Include <float.h>.
54584 (__catanhf): Ensure underflow exception occurs for underflowed
54585 result.
54586 * math/s_catanhl.c: Include <float.h>.
54587 (__catanhl): Ensure underflow exception occurs for underflowed
54588 result.
54589 * math/s_catanl.c: Include <float.h>.
54590 (__catanl): Ensure underflow exception occurs for underflowed
54591 result.
54592 * math/libm-test.inc (catan_test): Add more tests.
54593 (catanh_test): Likewise.
54594
54595 [BZ #15405]
54596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54597 underflowed result.
54598 * math/s_ccoshf.c (__ccoshf): Likewise.
54599 * math/s_ccoshl.c (__ccoshl): Likewise.
54600 * math/s_csin.c (__csin): Likewise.
54601 * math/s_csinf.c (__csinf): Likewise.
54602 * math/s_csinh.c (__csinh): Likewise.
54603 * math/s_csinhf.c (__csinhf): Likewise.
54604 * math/s_csinhl.c (__csinhl): Likewise.
54605 * math/s_csinl.c (__csinl): Likewise.
54606 * math/libm-test.inc (ccos_test): Add more tests.
54607 (ccosh_test): Likewise.
54608 (csin_test): Likewise.
54609 (csinh_test): Likewise.
54610
54611 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54612
54613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54618 powerpc/power5+/fpu folders.
54619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54620
54621
54622 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
54623
54624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54625
54626 2013-04-25 Joseph Myers <joseph@codesourcery.com>
54627
54628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54629 additions to variable.
54630 [$(config-machine) = x86_64] (modules-names): Likewise.
54631 ($(objpfx)tst-audit3): Remove dependency.
54632 ($(objpfx)tst-audit3.out): Likewise.
54633 ($(objpfx)tst-audit4): Likewise.
54634 ($(objpfx)tst-audit4.out): Likewise.
54635 ($(objpfx)tst-audit5): Likewise.
54636 ($(objpfx)tst-audit5.out): Likewise.
54637 ($(objpfx)tst-audit6): Likewise.
54638 ($(objpfx)tst-audit6.out): Likewise.
54639 ($(objpfx)tst-audit7): Likewise.
54640 ($(objpfx)tst-audit7.out): Likewise.
54641 (tst-audit3-ENV): Remove variable.
54642 (tst-audit4-ENV): Likewise.
54643 (tst-audit5-ENV): Likewise.
54644 (tst-audit6-ENV): Likewise.
54645 (tst-audit7-ENV): Likewise.
54646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54648 addition to variable.
54649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54655 tst-audit3, tst-audit4 and tst-audit5.
54656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54657 tst-audit6 and tst-audit7.
54658 [$(subdir) = elf] (modules-names): Add audit modules for those
54659 tests.
54660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
54671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54676 Likewise.
54677 [$(subdir) = elf && $(config-cflags-avx) = yes]
54678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54679 [$(subdir) = elf && $(config-cflags-avx) = yes]
54680 (CFLAGS-tst-auditmod4a.c): Likewise.
54681 [$(subdir) = elf && $(config-cflags-avx) = yes]
54682 (CFLAGS-tst-auditmod4b.c): Likewise.
54683 [$(subdir) = elf && $(config-cflags-avx) = yes]
54684 (CFLAGS-tst-auditmod6b.c): Likewise.
54685 [$(subdir) = elf && $(config-cflags-avx) = yes]
54686 (CFLAGS-tst-auditmod6c.c): Likewise.
54687 [$(subdir) = elf && $(config-cflags-avx) = yes]
54688 (CFLAGS-tst-auditmod7b.c): Likewise.
54689 * elf/tst-audit3.c: Move to ...
54690 * sysdeps/x86_64/tst-audit3.c: ... here.
54691 * elf/tst-audit4.c: Move to ...
54692 * sysdeps/x86_64/tst-audit4.c: ... here.
54693 * elf/tst-audit5.c: Move to ...
54694 * sysdeps/x86_64/tst-audit5.c: ... here.
54695 * elf/tst-audit6.c: Move to ...
54696 * sysdeps/x86_64/tst-audit6.c: ... here.
54697 * elf/tst-audit7.c: Move to ...
54698 * sysdeps/x86_64/tst-audit7.c: ... here.
54699 * elf/tst-auditmod3a.c: Move to ...
54700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54701 * elf/tst-auditmod3b.c: Move to ...
54702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54703 * elf/tst-auditmod4a.c: Move to ...
54704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54705 * elf/tst-auditmod4b.c: Move to ...
54706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54707 * elf/tst-auditmod5a.c: Move to ...
54708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54709 * elf/tst-auditmod5b.c: Move to ...
54710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54711 * elf/tst-auditmod6a.c: Move to ...
54712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54713 * elf/tst-auditmod6b.c: Move to ...
54714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54715 * elf/tst-auditmod6c.c: Move to ...
54716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54717 * elf/tst-auditmod7a.c: Move to ...
54718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54719 * elf/tst-auditmod7b.c: Move to ...
54720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54721
54722 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
54723
54724 [BZ #15366]
54725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54726 define unconditionally.
54727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54728 define unconditionally.
54729 (INT8_C, INT16_C, etc.): Likewise.
54730
54731 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
54732
54733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54734 __ehdr_start with hidden visibility.
54735
54736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54737
54738 2013-04-24 Carlos O'Donell <carlos@redhat.com>
54739
54740 * math/libm-test.inc (cos_test): Use accurate hex constants.
54741 (sincost_test): Likewise.
54742
54743 2013-04-24 Joseph Myers <joseph@codesourcery.com>
54744
54745 * math/libm-test.inc (catan_test): Add more tests.
54746 (catanh_test): Likewise.
54747
54748 * math/s_catanf.c (__catanf): Use suffixed floating-point
54749 constants.
54750 * math/s_catanhf.c (__catanhf): Likewise.
54751 * math/s_catanhl.c (__catanhl): Likewise.
54752 * math/s_catanl.c (__catanl): Likewise.
54753
54754 [BZ #15394]
54755 * math/s_catan.c (__catan): Calculate imaginary part of result
54756 with log1p not log unless computing log of number close to 0.
54757 * math/s_catanf.c (__catanf): Likewise.
54758 * math/s_catanl.c (__catanl): Likewise.
54759 * math/s_catanh.c (__catanh): Calculate real part of result with
54760 log1p not log unless computing log of number close to 0.
54761 * math/s_catanhf.c (__catanhf): Likewise.
54762 * math/s_catanhl.c (__catanhl): Likewise.
54763 * math/libm-test.inc (catan_test): Add more tests.
54764 (catanh_test): Likewise.
54765 * sysdeps/i386/fpu/libm-test-ulps: Update.
54766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54767
54768 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54769
54770 * benchtests/Makefile: Mention files in which fast and slow
54771 paths of math functions are implemented.
54772
54773 2013-04-23 Roland McGrath <roland@hack.frob.com>
54774
54775 * sysdeps/posix/timespec_get.c: New file.
54776
54777 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54778
54779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54780 POWER.
54781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54782 for POWER.
54783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54784 powerpc/power5/fpu folders.
54785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54786 * benchtests/Makefile: Add modf testcase.
54787 * benchtests/bench-modf.c: New file: Benchmark test for mo
54788
54789 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
54790
54791 [BZ #14888]
54792 * time/Makefile (tests): Add tst-strptime-whitespace.
54793 * time/strptime_l.c (get_number): Use ISSPACE.
54794 (__strptime_internal): Likewise.
54795 * time/tst-strptime-whitespace.c: New test case.
54796
54797 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
54798
54799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54800 member.
54801 (_nss_files_init): Set it here.
54802
54803 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
54804
54805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54807 unsigned.
54808
54809 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
54810
54811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54812
54813 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54814
54815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54816 size just once.
54817
54818 2013-04-21 David S. Miller <davem@davemloft.net>
54819
54820 * po/ru.po: Update Russion translation from translation project.
54821
54822 2013-04-17 Adam Conrad <adconrad@0c3.net>
54823
54824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54825 and setfsgid.
54826
54827 2013-04-17 Carlos O'Donell <carlos@redhat.com>
54828
54829 * configure.in: Remove i386 configure warning. Remove i386 case.
54830 * configure: Regenerate.
54831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54832 Add example to error message.
54833 * sysdeps/i386/configure: Regenerate.
54834
54835 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54836
54837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
54838 slowtan.
54839 * benchtests/cos-inputs: New file.
54840 * benchtests/slowcos-inputs: New file.
54841 * benchtests/slowcos.c: New file.
54842 * benchtests/slowtan-inputs: New file.
54843 * benchtests/slowtan.c: New file.
54844 * benchtests/tan-inputs: New file.
54845
54846 2013-04-16 Roland McGrath <roland@hack.frob.com>
54847
54848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54849 considered kosher.
54850
54851 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54852
54853 * benchtests/Makefile: Include cppflags-iterator.mk to add
54854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54855
54856 * Makefile.in (bench-clean): New target.
54857 * benchtests/Makefile (bench-clean): Likewise.
54858
54859 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
54860
54861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54862
54863 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
54864
54865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
54866
54867 2013-04-15 Andreas Schwab <schwab@suse.de>
54868
54869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
54870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54871 * nscd/pwdcache.c (cache_addpw): Likewise.
54872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
54873 more than recsize.
54874
54875 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54876
54877 * benchtests/Makefile (bench): Write all output to
54878 bench-out.tmp together.
54879
54880 2013-04-15 Andreas Schwab <schwab@suse.de>
54881
54882 * nscd/nscd.c (main): Don't fork again after closing files.
54883
54884 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54885
54886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54887
54888 * benchtests/Rules (bench-deps): Collect dependencies into a
54889 single variable. Add Makefile to dependencies.
54890 ($(objpfx)bench-%.c): Depend on bench-deps.
54891
54892 2013-04-12 Roland McGrath <roland@hack.frob.com>
54893 Xavier Roche <roche+kml2@exalead.com>
54894
54895 [BZ #15361]
54896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54897 just that it's a file descriptor.
54898 * manual/llio.texi (Synchronizing AIO Operations): Update description
54899 for EBADF error from aio_fsync.
54900
54901 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54902
54903 * Rules (bench): Move target definition...
54904 * benchtests/Makefile: ... here.
54905
54906 2013-04-11 Carlos O'Donell <carlos@redhat.com>
54907
54908 * math/libm-test.inc (cos_test): Fix PI/2 test.
54909 (sincos_test): Likewise.
54910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54912
54913 2013-04-11 Andreas Schwab <schwab@suse.de>
54914
54915 [BZ #13988]
54916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54917 accept exponent character only when digits were seen.
54918 * stdio-common/Makefile (tests): Add bug26.
54919 * stdio-common/bug26.c: New file.
54920
54921 [BZ #14293]
54922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54923 non-freeable.
54924
54925 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54926
54927 * Makeconfig (rtld-prefix): Define built linker prefix.
54928 * Rules (run-bench): Use it.
54929 * math/Makefile (run-regen-ulps): Likewise.
54930
54931 * Rules (bench): Remove eval.
54932
54933 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54934 Roland McGrath <roland@hack.frob.com>
54935 Ondrej Bilka <neleai@seznam.cz>
54936
54937 [BZ #15346]
54938 * time/getdate.c: Include ctype.h and alloca.h.
54939 (__getdate_r): Trim leading and trailing spaces of input.
54940 * time/tst-getdate.c (tests): Add tests with leading and
54941 trailing spaces.
54942
54943 2013-04-08 Roland McGrath <roland@hack.frob.com>
54944
54945 [BZ #14280]
54946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54947 when computing value.
54948
54949 2013-04-06 Carlos O'Donell <carlos@redhat.com>
54950
54951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
54952 Use testrun.sh to run libm tests.
54953
54954 [BZ #15309]
54955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
54956
54957 2013-04-06 Marko Myllynen <myllynen@redhat.com>
54958
54959 [BZ #15264]
54960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54961
54962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
54963
54964 * Makefile.in (regen-ulps): New target.
54965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54967 [ifneq (no,$(PERL)] (regen-ulps): New target.
54968 [ifeq (no,$(PERL)] (regen-ulps): New target.
54969 * math/libm-test.inc (ulps_file_name): Define.
54970 (output_dir): New variable.
54971 (options): Add "output-dir" option.
54972 (parse_opt): Handle 'o' case.
54973 (main): If output_dir is non-NULL use it as a prefix
54974 otherwise use "".
54975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54976
54977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
54978
54979 [BZ #10060, #10062]
54980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54982 fail configure if __sync_val_compare_and_swap is not inlined.
54983 * sysdeps/i386/configure: Regenerate.
54984 * configure.in: Build for i686 when configured for i386.
54985 * configure: Regenerate.
54986 * README: Remove i386 reference.
54987
54988 2013-04-06 Carlos O'Donell <carlos@redhat.com>
54989
54990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54992
54993 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
54994
54995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54996 (lmsnanval): New variables.
54997 (F): Add conversion tests.
54998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55000
55001 * stdio-common/tstdiomisc.c (F): Properly collect individual
55002 tests' results.
55003
55004 [BZ #14686, #15336]
55005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55007 Instead, use input NaN values or generate a qNaN by arithmetic
55008 operation. Also fix bugs to comply with the standard.
55009 * math/libm-test.inc (remainder_test): Add more tests.
55010
55011 [BZ #15335, #15342]
55012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55014 input NaN values or generate a qNaN by arithmetic operation.
55015
55016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55017 unreachable code.
55018
55019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55020 definitions.
55021
55022 2013-04-03 Joseph Myers <joseph@codesourcery.com>
55023
55024 [BZ #14478]
55025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55026 underflowed result.
55027 * math/s_cexpf.c (__cexpf): Likewise.
55028 * math/s_cexpl.c (__cexpl): Likewise.
55029 * math/libm-test.inc (cexp_test): Add more tests.
55030
55031 2013-04-03 Andreas Schwab <schwab@suse.de>
55032
55033 [BZ #15330]
55034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55035 order arrays from heap if bigger than alloca cutoff.
55036
55037 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
55038
55039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55040 (SNAN_TESTS_double): Refer to GCC PR56831.
55041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55042 GCC PR56828.
55043
55044 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55045
55046 * Rules (bench): Move bench.out after the run is complete.
55047
55048 * Rules (bench): Echo currently running benchmark.
55049
55050 * benchtests/Makefile (bench): Add atan and slowatan.
55051 * benchtests/atan-inputs: New file.
55052 * benchtests/slowatan-inputs: New file.
55053 * benchtests/slowatan.c: New file.
55054
55055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55057 its value.
55058
55059 [BZ #15305]
55060 * sysdeps/unix/sysv/linux/kernel-features.h
55061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55062 __ASSUME_XFS_RESTRICTED_CHOWN.
55063 * sysdeps/unix/sysv/linux/pathconf.c
55064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55065 Save and restore errno.
55066
55067 2013-04-02 Joseph Myers <joseph@codesourcery.com>
55068
55069 [BZ #15327]
55070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55071 arguments using __kernel_casinh.
55072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55073 arguments using __kernel_casinhf.
55074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55075 arguments using __kernel_casinhl.
55076 * math/libm-test.inc (cacosh_test): Add more tests.
55077 * sysdeps/i386/fpu/libm-test-ulps: Update.
55078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55079
55080 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
55081
55082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55084
55085 * bench/Makefile (bench): Add sin and slowsin.
55086 * benchtests/sin-inputs: New file.
55087 * benchtests/slowsin-inputs: New file.
55088 * benchtests/slowsin.c: New file.
55089
55090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55091 (bench): Add slowexp and slowpow.
55092 (exp-ITER): Increase iterations.
55093 (pow-ITER): Likewise.
55094 * benchtests/exp-inputs: Change input.
55095 * benchtests/pow-inputs: Likewise.
55096 * benchtests/slowexp-inputs: New file.
55097 * benchtests/slowexp.c: New file.
55098 * benchtests/slowpow-inputs: New file.
55099 * benchtests/slowpow.c: New file.
55100
55101 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55102
55103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55104 instructions.
55105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55108 * benchtests/Makefile: Add rint benchtest.
55109 * benchtests/rint-inputs: Input for rint benchtest.
55110
55111 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
55112
55113 * Versions.def (libm): Add GLIBC_2.18.
55114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55115 hidden libm prototypes.
55116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55117 * math/Makefile (libm-calls): Add s_issignaling.
55118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
55120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55121 declaration.
55122 * math/math.h [__USE_GNU] (issignaling): New macro.
55123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55129 * manual/arith.texi (issignaling): New section.
55130 * manual/libm-err-tab.pl (@all_functions): Update comment.
55131 * math/gen-libm-test.pl (parse_args): Apply special handling for
55132 issignaling.
55133 * math/libm-test.inc (print_float, issignaling_test): New
55134 functions.
55135 (check_float_internal): Add issignaling checks.
55136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55137 default definition.
55138 * sysdeps/powerpc/math-tests.h: New file.
55139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55140 tests.
55141 * math/test-snan.c (TEST_FUNC): Likewise.
55142
55143 2013-03-30 David S. Miller <davem@davemloft.net>
55144
55145 * po/de.po: Update from translation team.
55146
55147 2013-03-30 Joseph Myers <joseph@codesourcery.com>
55148
55149 [BZ #10357]
55150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
55151 imaginary part less than 1.0 and real part less than 0.5
55152 specially.
55153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
55154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
55155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55156 (cacos_test): Add more tests.
55157 (casin_test): Likewise.
55158 (casinh_test): Likewise.
55159 * sysdeps/i386/fpu/libm-test-ulps: Update.
55160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55161
55162 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55163
55164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55165 ONE with its value.
55166
55167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55168 (__pow_mp): Replace ONE and MONE with their values.
55169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55175
55176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55177
55178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55179 (__pow_mp): Replace ZERO and MZERO with their values.
55180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55186 (__sqr): Likewise.
55187
55188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55189
55190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55191
55192 2013-03-28 Roland McGrath <roland@hack.frob.com>
55193
55194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
55195 Declare with __attribute__ ((weak)).
55196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
55197 Call __call_tls_dtors only if it's not NULL.
55198
55199 2013-03-28 Roland McGrath <roland@hack.frob.com>
55200
55201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
55203 magic __ehdr_start linker symbol if it's defined.
55204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55205 them up here if it was already done.
55206
55207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
55208 (_dl_aux_init): Use const in cast when setting it.
55209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55212
55213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55214 Declare them here.
55215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55216 * csu/libc-tls.c: Nor here.
55217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55218
55219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55220 (__libc_message): Never call vsyslog.
55221
55222 2013-03-28 Alan Modra <amodra@gmail.com>
55223
55224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55225 Define as empty.
55226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55227 Likewise.
55228
55229 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55230
55231 [BZ #15214]
55232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55233 underflow.
55234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55235
55236 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55237
55238 [BZ #15304]
55239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55240 Don't add gid passed as argument.
55241
55242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55243
55244 2013-03-27 Joseph Myers <joseph@codesourcery.com>
55245
55246 [BZ #15307]
55247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
55248 imaginary part between 1.0 and 1.5 and real part less than 0.5
55249 specially.
55250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
55251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
55252 * math/libm-test.inc (cacos_test): Add more tests.
55253 (casin_test): Likewise.
55254 (casinh_test): Likewise.
55255 * sysdeps/i386/fpu/libm-test-ulps: Update.
55256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55257
55258 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55259
55260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55261 constants.
55262 (norm): Likewise.
55263 (denorm): Likewise.
55264 (__dbl_mp): Likewise.
55265 (add_magnitudes): Likewise.
55266 (sub_magnitudes): Likewise.
55267 (__add): Likewise.
55268 (__sub): Likewise.
55269 (__mul): Likewise.
55270 (__sqr): Likewise.
55271 (__inv): Likewise.
55272 (__dvd): Likewise.
55273
55274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55275 commented code.
55276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55277 (__dubcos): Likewise.
55278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55279 (__ieee754_acos): Likewise.
55280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55282 (__exp1): Likewise.
55283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55285 (log1): Likewise.
55286 (my_log2): Likewise.
55287 (checkint): Likewise.
55288 * sysdeps/ieee754/dbl-64/e_remainder.c
55289 (__ieee754_remainder): Likewise.
55290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55292 (bsloww): Likewise.
55293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55294
55295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55297 MANTISSA_STORE_T to store computations on mantissa. Use
55298 macros for rounding and division.
55299 (denorm): Likewise.
55300 (__dbl_mp): Likewise.
55301 (add_magnitudes): Likewise.
55302 (sub_magnitudes): Likewise.
55303 (__mul): Likewise.
55304 (__sqr): Likewise.
55305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
55306 powers of two in terms of TWOPOW macro.
55307 (mp_no): Make type of mantissa as MANTISSA_T.
55308 [!RADIXI]: Define RADIXI.
55309 [!TWO52]: Define TWO52.
55310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55311
55312 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55313
55314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55315 llroundl symbol when building for PPC32.
55316
55317 2013-03-24 Mark H Weaver <mhw@netris.org>
55318
55319 * manual/arith.texi (Normalization Functions): Fix prototypes for
55320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55321
55322 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55323
55324 [BZ #13889]
55325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55326 high value to check if expl overflow.
55327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55328 to check for underflow and overflow.
55329 * math/libm-test.inc: Add exp test.
55330
55331 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
55332
55333 [BZ #11120]
55334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55335 with NOT_IN_libc.
55336
55337 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55338
55339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55340 symbol.
55341
55342 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
55343
55344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
55345 wrap blocks consisting of several statements.
55346
55347 * sysdeps/generic/math-tests.h: New file.
55348 * sysdeps/i386/fpu/math-tests.h: Likewise.
55349 * math/test-snan.c: Include it.
55350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55351
55352 2013-03-21 Joseph Myers <joseph@codesourcery.com>
55353
55354 [BZ #15285]
55355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55356 (__ieee754_j0l): Do not improve calculations using cos of twice
55357 input for inputs above LDBL_MAX / 2.0L.
55358 (__ieee754_y0l): Likewise.
55359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55360 (__ieee754_j1l): Do not improve calculations using cos of twice
55361 input for inputs above LDBL_MAX / 2.0L.
55362 (__ieee754_y1l): Likewise.
55363 * math/libm-test.inc (j0_test): Add another test.
55364 (j1_test): Likewise.
55365 (y0_test): Likewise.
55366 (y1_test): Likewise.
55367 * sysdeps/i386/fpu/libm-test-ulps: Update.
55368
55369 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55370
55371 * Rules ($(objpfx)bench-%.c): Include code from a C source
55372 file.
55373
55374 2013-03-21 Joseph Myers <joseph@codesourcery.com>
55375
55376 [BZ #15287]
55377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
55378 imaginary part 1.0 and real part less than 0.5 specially.
55379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
55380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
55381 * math/libm-test.inc (cacos_test): Add more tests.
55382 (casin_test): Likewise.
55383 (casinh_test): Likewise.
55384 * sysdeps/i386/fpu/libm-test-ulps: Update.
55385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55386
55387 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55388
55389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55391
55392 2013-03-20 Joseph Myers <joseph@codesourcery.com>
55393
55394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55395 * config.make.in (config-cflags-sse4): Remove variable.
55396 (config-cflags-avx): Likewise.
55397 (config-cflags-sse2avx): Likewise.
55398 (config-cflags-novzeroupper): Likewise.
55399 (config-asflags-i686): Likewise.
55400 (have-mfma4): Likewise.
55401 (have-as-vis3): Likewise.
55402 (MIG): Likewise.
55403 * configure.in (MIG): Do not AC_SUBST.
55404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55405 (libc_cv_cc_sse4): Do not AC_SUBST.
55406 (libc_cv_cc_avx): Likewise.
55407 (libc_cv_cc_sse2avx): Likewise.
55408 (libc_cv_cc_novzeroupper): Likewise.
55409 (libc_cv_cc_fma4): Likewise.
55410 (libc_cv_as_i686): Likewise.
55411 (libc_cv_sparc_as_vis3): Likewise.
55412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55413 LIBC_CONFIG_VAR.
55414 (config-asflags-i686): Likewise.
55415 (config-cflags-avx): Likewise.
55416 (config-cflags-sse2avx): Likewise.
55417 (have-mfma4): Likewise.
55418 (config-cflags-novzeroupper): Likewise.
55419 * sysdeps/mach/configure.in (MIG): Likewise.
55420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55422 LIBC_CONFIG_VAR.
55423 (config-cflags-avx): Likewise.
55424 (config-cflags-sse2avx): Likewise.
55425 (have-mfma4): Likewise.
55426 (config-cflags-novzeroupper): Likewise.
55427 * configure: Regenerated.
55428 * sysdeps/i386/configure: Likewise.
55429 * sysdeps/mach/configure: Likewise.
55430 * sysdeps/sparc/configure: Likewise.
55431 * sysdeps/x86_64/configure: Likewise.
55432
55433 2013-03-20 Roland McGrath <roland@hack.frob.com>
55434
55435 [BZ #14812]
55436 * locale/programs/localedef.c (options): Put N_ translation marker
55437 on argument names, not just descriptions.
55438
55439 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55440
55441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55442
55443 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
55444
55445 [BZ #14176]
55446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55447
55448 2013-03-19 Roland McGrath <roland@hack.frob.com>
55449
55450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55453 [!BEFORE_ABORT] (before_abort): New function.
55454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55456 (writev_for_fatal): New function.
55457 (WRITEV_FOR_FATAL): New macro; call that.
55458 (backtrace_and_maps): New function.
55459 (BEFORE_ABORT): New macro; call that.
55460 (struct str_list): Type removed.
55461 (__libc_message, __libc_fatal): Functions removed.
55462 Include <sysdeps/posix/libc_fatal.c> instead.
55463
55464 2013-03-19 Joseph Myers <joseph@codesourcery.com>
55465
55466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55467 constants.
55468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55469 double constants.
55470
55471 2013-03-19 Andreas Schwab <schwab@suse.de>
55472
55473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55474 * sysdeps/gnu/configure: Regenerate.
55475
55476 * configure.in: Substitute libc_cv_rtlddir.
55477 * configure: Regenerate.
55478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
55480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55481 * elf/Makefile (install-others, CFLAGS-interp.c)
55482 (ldso_install, common-ldd-rewrite): Likewise.
55483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55484 $(inst_slibdir)/$(rtld-installed-name).
55485 * scripts/rellns-sh: Add -p option.
55486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
55487 for source.
55488
55489 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55490
55491 * manual/nptl.texi: Renamed to ...
55492 * manual/threads.texi: ... this.
55493 * manual/Makefile (chapters): Update.
55494
55495 2013-03-18 Roland McGrath <roland@hack.frob.com>
55496
55497 [BZ #14812]
55498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55499 on argument names, not just descriptions.
55500 * malloc/memusagestat.c (options): Likewise.
55501 * nss/getent.c (options): Likewise.
55502
55503 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
55504
55505 [BZ #14812]
55506 * iconv/iconv_prog.c (options): Put N_ translation marker
55507 on argument names, not just descriptions.
55508 * iconv/iconvconfig.c (options): Likewise.
55509
55510 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
55511
55512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55513 implementation which is faster on all x86_64 architectures.
55514 Tested on AMD, Intel Nehalem, SNB, IVB.
55515 * sysdeps/x86_64/strnlen.S: Likewise.
55516
55517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55518 Remove all multiarch strlen and strnlen versions.
55519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55520 Remove strlen and strnlen related parts.
55521
55522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55523 Inline strlen part.
55524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55525
55526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
55527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55532
55533 2013-03-17 Carlos O'Donell <carlos@redhat.com>
55534
55535 * manual/memory.texi (Malloc Tunable Parameters):
55536 Sort parameters alphabetically. Add comments for missing entries.
55537
55538 2013-03-17 David S. Miller <davem@davemloft.net>
55539
55540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55541
55542 2013-03-16 Joseph Myers <joseph@codesourcery.com>
55543
55544 [BZ #15283]
55545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55546 for arguments at most half maximum finite value.
55547 * math/libm-test.inc (j0_test): Add more tests.
55548 (j1_test): Likewise.
55549 (y0_test): Likewise.
55550 (y1_test): Likewise.
55551 * sysdeps/i386/fpu/libm-test-ulps: Update.
55552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55553
55554 [BZ #14155]
55555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55556 1 / x and functions P and Q for arguments above 0x1p256L.
55557 (__ieee754_y0l): Likewise.
55558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55559 (__ieee754_y1l): Likewise.
55560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55561 (j1_test): Likewise.
55562 (y0_test): Likewise.
55563 (y1_test): Likewise.
55564
55565 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
55566
55567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55568 variable.
55569
55570 2013-03-15 Roland McGrath <roland@hack.frob.com>
55571
55572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55574 zero since it's initialized to EXEC_PAGESIZE.
55575
55576 * sysdeps/unix/sysv/linux/ldsodefs.h
55577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55578 * sysdeps/generic/ldsodefs.h: ... here.
55579
55580 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
55581
55582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55583
55584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55585 math/test-snan.c.
55586 * math/test-snan.c: Renamed from
55587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
55588 * math/Makefile (tests): Add test-snan.
55589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55590 test-powerpc-snan.
55591
55592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
55594 functions.
55595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
55596 __builtin_nan family of functions.
55597 * math/libm-test.inc (initialize): Initialize qnan_value with
55598 __builtin_nan family of functions.
55599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55600 Remove variables.
55601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55602 Remove functions.
55603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
55604 storage class. Initialize qNaN_var and sNaN_var with
55605 __builtin_nan and __builtin_nans families of functions,
55606 respectively.
55607
55608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
55609 (sqrt_test): Remove duplicate test with qNaN input.
55610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55611 (round_test, signbit_test, significand_test): Note missing +/-Inf
55612 as well as qNaN tests.
55613
55614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55615 qNaN_var. Fix a few strings, too.
55616 * math/libm-test.inc (nan_value): Rename to qnan_value.
55617 * math/gen-libm-test.pl (%beautify): Adjust to that.
55618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55619 * math/test-misc.c (main): Likewise.
55620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55621 to __qnan_bytes, and __qnan_union, respectively.
55622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55623 Likewise.
55624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55625 and lqnanval, respectively.
55626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55630
55631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
55633 doubles.
55634
55635 * math/test-misc.c (main): Fix copy'n'pastos.
55636 * misc/tst-efgcvt.c (special): Likewise.
55637
55638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55639 Remove declarations.
55640
55641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
55642
55643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55647
55648 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55649
55650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55651 macro to return vdso values correctly in IFUNC implementations.
55652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55653 Optimization by using IFUNC.
55654
55655 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
55656 Richard Henderson <rth@redhat.com>
55657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55658
55659 * Makefile.in (bench): New target.
55660 * NEWS: Mention the benchmark framework.
55661 * Rules (bench): Likewise.
55662 (binaries-bench): Generate binaries for functions to
55663 benchmark.
55664 * benchtests/Makefile: New makefile for benchmark tests.
55665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
55666 programs.
55667 * benchtests/exp-inputs: New input file for EXP function.
55668 * benchtests/pow-inputs: New input file for POW function.
55669 * scripts/bench.pl: New script to generate source files for
55670 benchmark programs.
55671
55672 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
55673
55674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55676 computations on mantissa. Use macros for rounding and
55677 division.
55678 (denorm): Likewise.
55679 (__dbl_mp): Likewise.
55680 (add_magnitudes): Likewise.
55681 (sub_magnitudes): Likewise.
55682 (__mul): Likewise.
55683 (__sqr): Likewise.
55684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
55685 powers of two in terms of TWOPOW macro.
55686 (mp_no): Make type of mantissa as MANTISSA_T.
55687 [!RADIXI]: Define RADIXI.
55688 [!TWO52]: Define TWO52.
55689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55690
55691 * manual/nptl.texi (cindex): Modify threads to pthreads.
55692
55693 2013-03-15 Joseph Myers <joseph@codesourcery.com>
55694
55695 * sysdeps/x86_64/preconfigure: Regenerated.
55696
55697 2013-03-14 Joseph Myers <joseph@codesourcery.com>
55698
55699 [BZ #14155]
55700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55701 0x1p28 and above.
55702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55704 0x1p28 and above.
55705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55706 * math/libm-test.inc (j0_test): Do not allow one spurious
55707 underflow exception.
55708 (y1_test): Likewise.
55709
55710 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
55711
55712 * manual/Makefile (chapters): Add nptl.
55713 * manual/debug.texi (Debugging Support): Add link to Threads
55714 chapter.
55715 * manual/nptl.texi: New file.
55716
55717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55718
55719 2013-03-14 Petr Baudis <pasky@ucw.cz>
55720
55721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55722 for non-NULL pointer before the memory validity test. Pointed
55723 out by Holger Brunck <holger.brunck@keymile.com>.
55724
55725 2013-03-13 Andreas Schwab <schwab@suse.de>
55726
55727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55728 instead of .os.
55729
55730 2013-03-13 Joseph Myers <joseph@codesourcery.com>
55731
55732 * timezone/zic.c: Update from tzcode 2013b.
55733
55734 2013-03-12 Carlos O'Donell <carlos@redhat.com>
55735
55736 * manual/install.texi (Configuring and compiling):
55737 Mention i686 and i586.
55738 * INSTALL: Regenerate.
55739
55740 2013-03-12 Roland McGrath <roland@hack.frob.com>
55741
55742 * sysdeps/init_array/elf-init.c: New file.
55743 * csu/elf-init.c
55744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55746
55747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55748 __gmon_start__ as global, but as static with a .preinit_array pointer.
55749 * sysdeps/init_array/gmon-start.c: New file. Use that.
55750 * sysdeps/init_array/crti.S: New file, empty except for comments.
55751 * sysdeps/init_array/crtn.S: Likewise.
55752
55753 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
55754
55755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55756 definining bcopy.
55757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55758 Remove Prefer_SSE_for_memop.
55759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
55760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55761 HAS_PREFER_SSE_FOR_MEMOP.
55762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55763 memset-x86-64.
55764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55765 Remove bzero, memset ifunc support.
55766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
55769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55770
55771 2013-03-11 Andreas Schwab <schwab@suse.de>
55772
55773 [BZ #15234]
55774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55775 by SHLIB_COMPAT.
55776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55777 (GLIBC_2.16): Remove pthread_atfork.
55778
55779 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
55780
55781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55782 (ptestcases.h): Likewise.
55783
55784 2013-03-08 Roland McGrath <roland@hack.frob.com>
55785
55786 * Makeconfig ($(common-objpfx)config.status): Depend on
55787 sysdeps/*/preconfigure{,.in} too.
55788
55789 2013-03-08 Joseph Myers <joseph@codesourcery.com>
55790
55791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55792 (__free_hook): Use void * instead of __malloc_ptr_t.
55793 (__malloc_hook): Likewise.
55794 (__realloc_hook): Likewise.
55795 (__memalign_hook): Likewise.
55796 (__after_morecore_hook): Likewise.
55797 * malloc/arena.c (save_malloc_hook): Likewise.
55798 (save_free_hook): Likewise.
55799 * malloc/hooks.c (malloc_hook_ini): Likewise.
55800 (realloc_hook_ini): Likewise.
55801 (memalign_hook_ini): Likewise.
55802 * malloc/malloc.c (malloc_hook_ini): Likewise.
55803 (realloc_hook_ini): Likewise.
55804 (memalign_hook_ini): Likewise.
55805 (__free_hook): Likewise.
55806 (__malloc_hook): Likewise.
55807 (__realloc_hook): Likewise.
55808 (__memalign_hook): Likewise.
55809 (__libc_malloc): Likewise.
55810 (__libc_free): Likewise.
55811 (__libc_realloc): Likewise.
55812 (__libc_memalign): Likewise.
55813 (__libc_valloc): Likewise.
55814 (__libc_pvalloc): Likewise.
55815 (__libc_calloc): Likewise.
55816 (__posix_memalign): Likewise.
55817 * malloc/morecore.c (__sbrk): Likewise.
55818 (__default_morecore): Likewise.
55819
55820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55821
55822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55824 __malloc_ptrdiff_t.
55825
55826 * malloc/malloc.h (__malloc_size_t): Remove macro.
55827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55828 __malloc_size_t.
55829 (old_memalign_hook): Likewise.
55830 (old_realloc_hook): Likewise.
55831 (struct hdr): Likewise.
55832 (flood): Likewise.
55833 (mallochook): Likewise.
55834 (memalignhook): Likewise.
55835 (reallochook): Likewise.
55836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55837 (tr_old_realloc_hook): Likewise.
55838 (tr_old_memalign_hook): Likewise.
55839 (tr_mallochook): Likewise.
55840 (tr_reallochook): Likewise.
55841 (tr_memalignhook): Likewise.
55842
55843 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55844
55845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55846 default_ldbl_pack and using as default implementation.
55847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55848 implementation.
55849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55850 redundant definition.
55851 (ldbl_insert_mantissa): Likewise.
55852 (ldbl_canonicalize): Likewise.
55853 (ldbl_nearbyint): Likewise.
55854 (ldbl_pack): Rename to ldbl_pack_ppc.
55855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
55856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55858
55859 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
55860
55861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55869
55870 2013-03-07 Andreas Jaeger <aj@suse.de>
55871
55872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55873 bits/mman-linux.h.
55874
55875 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
55876
55877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55878 Include mpa.h and declare __MPEXP.
55879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55886
55887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55888 (__slowpow): Use long double EXPL and LOGL functions to
55889 compute POW.
55890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55896
55897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55898 intermediate variable to calculate exponent.
55899 (__sqr): Likewise.
55900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55901 Likewise.
55902 (__sqr): Likewise.
55903
55904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55905 [!NO__SQR]: Define __sqr.
55906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55907 and NO__SQR. Remove all code except __mul and __sqr. Include
55908 sysdeps/ieee754/dbl-64/mpa.c.
55909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55910
55911 [BZ #12723]
55912 * posix/Makefile (tests): Add tst-pathconf.
55913 * posix/tst-pathconf.c: New test case.
55914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55915 _PC_PIPE_BUF.
55916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55917
55918 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
55919
55920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55921
55922 2013-03-06 Andreas Jaeger <aj@suse.de>
55923
55924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55925 definition via __MAP_ANONYMOUS.
55926
55927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55928 it's not part of Linux headers.
55929
55930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55931 (MAP_HUGE_MASK): Define.
55932
55933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55934 Define.
55935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55937 Define.
55938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55940 Define.
55941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55943 Define.
55944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55945
55946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55952
55953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55954 Handle f2fs.
55955
55956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55957 Handle f2fs and efivarfs.
55958
55959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55960 f2fs.
55961
55962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55963 (EFIVARFS_MAGIC): Add.
55964 (F2FS_LINK_MAX): Add.
55965
55966 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55967
55968 * stdio-common/vfprintf.c: Replace __builtin_expect with
55969 __glibc_unlikely.
55970
55971 2013-03-06 Joseph Myers <joseph@codesourcery.com>
55972
55973 [BZ #13550]
55974 * sysdeps/generic/bp-sym.h: Remove file.
55975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55977 <bp-sym.h> and <bp-asm.h>.
55978 (__longjmp): Don't use BP_SYM.
55979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55980 and <bp-asm.h>.
55981 (memcpy): Don't use BP_SYM.
55982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55983 <bp-sym.h> and <bp-asm.h>.
55984 (memcpy): Don't use BP_SYM.
55985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55986 <bp-asm.h>.
55987 (memcpy): Don't use BP_SYM.
55988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55989 <bp-asm.h>.
55990 (memset): Don't use BP_SYM.
55991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55993 (__bzero): Don't use BP_SYM.
55994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55997 <bp-sym.h> and <bp-asm.h>.
55998 (memcmp): Don't use BP_SYM. Remove comment about bounded
55999 pointers.
56000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56001 <bp-sym.h> and <bp-asm.h>.
56002 (memcpy): Don't use BP_SYM.
56003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56004 <bp-sym.h> and <bp-asm.h>.
56005 (memset): Don't use BP_SYM.
56006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56008 (__bzero): Don't use BP_SYM.
56009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56012 <bp-sym.h> and <bp-asm.h>.
56013 (strncmp): Don't use BP_SYM. Remove comment about bounded
56014 pointers.
56015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56016 <bp-sym.h> and <bp-asm.h>.
56017 (memcpy): Don't use BP_SYM.
56018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56019 <bp-sym.h> and <bp-asm.h>.
56020 (memset): Don't use BP_SYM.
56021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56023 (__bzero): Don't use BP_SYM.
56024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56027 <bp-sym.h> and <bp-asm.h>.
56028 (__memchr): Don't use BP_SYM.
56029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56030 <bp-sym.h> and <bp-asm.h>.
56031 (memcmp): Don't use BP_SYM. Remove comment about bounded
56032 pointers.
56033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56034 <bp-sym.h> and <bp-asm.h>.
56035 (memcpy): Don't use BP_SYM.
56036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56037 <bp-sym.h> and <bp-asm.h>.
56038 (__mempcpy): Don't use BP_SYM.
56039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56040 <bp-sym.h> and <bp-asm.h>.
56041 (__memrchr): Don't use BP_SYM.
56042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56043 <bp-sym.h> and <bp-asm.h>.
56044 (memset): Don't use BP_SYM.
56045 (__bzero): Likewise.
56046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56047 <bp-sym.h> and <bp-asm.h>.
56048 (__rawmemchr): Don't use BP_SYM.
56049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56050 <bp-sym.h> and <bp-asm.h>.
56051 (__STRCMP): Don't use BP_SYM.
56052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56053 <bp-sym.h> and <bp-asm.h>.
56054 (strchr): Don't use BP_SYM.
56055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56056 <bp-sym.h> and <bp-asm.h>.
56057 (__strchrnul): Don't use BP_SYM.
56058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56059 <bp-sym.h> and <bp-asm.h>.
56060 (strlen): Don't use BP_SYM.
56061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56062 <bp-sym.h> and <bp-asm.h>.
56063 (strncmp): Don't use BP_SYM. Remove comment about bounded
56064 pointers.
56065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56066 <bp-sym.h> and <bp-asm.h>.
56067 (__strnlen): Don't use BP_SYM.
56068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56069 <bp-sym.h> and <bp-asm.h>.
56070 (__GI__setjmp): Don't use BP_SYM.
56071 (_setjmp): Likewise.
56072 (__sigsetjmp): Likewise.
56073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56074 (L(start_addresses)): Don't use BP_SYM.
56075 (_start): Likewise.
56076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56077 <bp-asm.h>.
56078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56083 <bp-asm.h>.
56084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
56086 about bounded pointers.
56087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56090 <bp-asm.h>.
56091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
56092 about bounded pointers. Remove GKM FIXME comments.
56093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56095 <bp-asm.h>.
56096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
56098 Remove GKM FIXME comments.
56099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56102 <bp-asm.h>.
56103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
56104 about bounded pointers. Remove GKM FIXME comment.
56105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56106 and <bp-asm.h>.
56107 (strncmp): Don't use BP_SYM. Remove comment about bounded
56108 pointers.
56109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56110 <bp-sym.h> and <bp-asm.h>.
56111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56113 <bp-sym.h> and <bp-asm.h>.
56114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
56115 comment.
56116
56117 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56118
56119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56120 call free(NULL).
56121
56122 2013-03-05 David S. Miller <davem@davemloft.net>
56123
56124 * po/es.po: Update from translation team.
56125
56126 2013-03-05 Andreas Jaeger <aj@suse.de>
56127
56128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56129 <bits/mman-linux.h>.
56130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56131 is fine.
56132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56133 <bits/mman-linux.h> to end of file.
56134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56135 is fine.
56136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56137 <bits/mman-linux.h> to end of file.
56138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56139 is fine.
56140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56141 <bits/mman-linux.h> to end of file.
56142
56143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56144 (MCL_CURRENT, MCL_FUTURE): Define here.
56145
56146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56147
56148 [BZ #15232]
56149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56150 attribute_hidden.
56151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56152
56153 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56154
56155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56156 fourth parameter needed for rt_sigprocmask syscall.
56157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56163
56164 2013-03-04 Joseph Myers <joseph@codesourcery.com>
56165
56166 [BZ #13550]
56167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56168 comment about bounded pointers.
56169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56171
56172 2013-03-04 Andreas Jaeger <aj@suse.de>
56173
56174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56175 common definitions.
56176
56177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56183
56184 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56185
56186 [BZ #15055]
56187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56188 __ieee754_sqrl instead of __sqrl.
56189
56190 2013-03-01 Joseph Myers <joseph@codesourcery.com>
56191
56192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56193 * sysdeps/powerpc/fpu_control.h: ... here.
56194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
56196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56197 * sysdeps/powerpc/bits/mathinline.h: ... here.
56198
56199 2013-03-01 Roland McGrath <roland@hack.frob.com>
56200
56201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
56202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56203 to just [NEED_DL_SYSINFO_DSO].
56204 * elf/dl-support.c: Likewise.
56205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56206 * elf/rtld.c (dl_main): Likewise.
56207 * elf/setup-vdso.h (setup_vdso): Likewise.
56208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56209 * sysdeps/unix/sysv/linux/dl-sysdep.c
56210 (_dl_discover_osversion): Likewise.
56211
56212 2013-03-01 Carlos O'Donell <carlos@redhat.com>
56213
56214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56216
56217 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
56218
56219 * NEWS: Mention libm performance improvements and non-x86 PI
56220 futex support.
56221
56222 * csu/libc-start.c (__pthread_initialize_minimal): Change
56223 function arguments.
56224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56225
56226 2013-02-28 Joseph Myers <joseph@codesourcery.com>
56227
56228 [BZ #13550]
56229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56231 <bp-sym.h> and <bp-asm.h>.
56232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56234 and <bp-asm.h>.
56235 (memcpy): Don't use BP_SYM.
56236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56237 <bp-asm.h>.
56238 (__mpn_add_n): Don't use BP_SYM.
56239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56241 and <bp-asm.h>.
56242 (__mpn_addmul_1): Don't use BP_SYM.
56243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56245 <bp-sym.h>.
56246 (_setjmp): Don't use BP_SYM.
56247 (__novmx_setjmp): Likewise.
56248 (__GI__setjmp): Likewise.
56249 (__vmx_setjmp): Likewise.
56250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56251 <bp-sym.h>.
56252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56253 (__bzero): Don't use BP_SYM.
56254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56257 <bp-sym.h> and <bp-asm.h>.
56258 (memcpy): Don't use BP_SYM.
56259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56260 <bp-sym.h> and <bp-asm.h>.
56261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56263 <bp-sym.h> and <bp-asm.h>.
56264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56266 <bp-asm.h>.
56267 (__mpn_lshift): Don't use BP_SYM.
56268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56270 <bp-asm.h>.
56271 (memset): Don't use BP_SYM.
56272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56275 <bp-asm.h>.
56276 (__mpn_mul_1): Don't use BP_SYM.
56277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56279 <bp-sym.h> and <bp-asm.h>.
56280 (memcmp): Don't use BP_SYM.
56281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56282 <bp-sym.h> and <bp-asm.h>.
56283 (memcpy): Don't use BP_SYM.
56284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56285 <bp-sym.h> and <bp-asm.h>.
56286 (memset): Don't use BP_SYM.
56287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56288 <bp-sym.h> and <bp-asm.h>.
56289 (strncmp): Don't use BP_SYM.
56290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56291 <bp-sym.h> and <bp-asm.h>.
56292 (memcpy): Don't use BP_SYM.
56293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56294 <bp-sym.h> and <bp-asm.h>.
56295 (memset): Don't use BP_SYM.
56296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56297 <bp-sym.h> and <bp-asm.h>.
56298 (__memchr): Don't use BP_SYM.
56299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56300 <bp-sym.h> and <bp-asm.h>.
56301 (memcmp): Don't use BP_SYM.
56302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56303 <bp-sym.h> and <bp-asm.h>.
56304 (memcpy): Don't use BP_SYM.
56305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56306 <bp-sym.h> and <bp-asm.h>.
56307 (__mempcpy): Don't use BP_SYM.
56308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56309 <bp-sym.h> and <bp-asm.h>.
56310 (__memrchr): Don't use BP_SYM.
56311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56312 <bp-sym.h> and <bp-asm.h>.
56313 (memset): Don't use BP_SYM.
56314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56315 <bp-sym.h> and <bp-asm.h>.
56316 (__rawmemchr): Don't use BP_SYM.
56317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56318 <bp-sym.h> and <bp-asm.h>.
56319 (__STRCMP): Don't use BP_SYM.
56320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56321 <bp-sym.h> and <bp-asm.h>.
56322 (strchr): Don't use BP_SYM.
56323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56324 <bp-sym.h> and <bp-asm.h>.
56325 (__strchrnul): Don't use BP_SYM.
56326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56327 <bp-sym.h> and <bp-asm.h>.
56328 (strlen): Don't use BP_SYM.
56329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56330 <bp-sym.h> and <bp-asm.h>.
56331 (strncmp): Don't use BP_SYM.
56332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56333 <bp-sym.h> and <bp-asm.h>.
56334 (__strnlen): Don't use BP_SYM.
56335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56336 <bp-asm.h>.
56337 (__mpn_rshift): Don't use BP_SYM.
56338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56340 <bp-sym.h> and <bp-asm.h>.
56341 (__sigsetjmp): Don't use BP_SYM.
56342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56343 (L(start_addresses)): Don't use BP_SYM.
56344 (_start): Likewise.
56345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56346 <bp-asm.h>.
56347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56351 <bp-asm.h>.
56352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56356 <bp-asm.h>.
56357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
56358 comments.
56359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56361 <bp-asm.h>.
56362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
56363 FIXME comments.
56364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56367 <bp-asm.h>.
56368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
56369 comment.
56370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56371 and <bp-asm.h>.
56372 (strncmp): Don't use BP_SYM,
56373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56374 <bp-asm.h>.
56375 (__mpn_sub_n): Don't use BP_SYM.
56376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56378 and <bp-asm.h>.
56379 (__mpn_submul_1): Don't use BP_SYM.
56380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56382 <bp-sym.h> and <bp-asm.h>.
56383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56385 <bp-sym.h> and <bp-asm.h>.
56386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
56387 comment.
56388
56389 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56390
56391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56392 Use ZK to minimize writes to Z.
56393 (sub_magnitudes): Simplify code a bit.
56394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56395 Use ZK to minimize writes to Z.
56396 (sub_magnitudes): Simplify code a bit.
56397
56398 2013-02-27 Roland McGrath <roland@hack.frob.com>
56399
56400 * csu/gmon-start.c: Add special exception to license text.
56401
56402 2013-02-27 Richard Henderson <rth@redhat.com>
56403
56404 * scripts/config.guess: Update from config.git.
56405 * scripts/config.sub: Likewise.
56406
56407 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56408
56409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56410
56411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56412
56413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56414
56415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56416
56417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56418
56419 2013-02-26 Roland McGrath <roland@hack.frob.com>
56420
56421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56422 [$(build-shared = yes].
56423
56424 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56425
56426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56427 (__mul): Reduce iterations for calculating mantissa.
56428
56429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56430 MPTWO.
56431 (__mpranred): Likewise.
56432
56433 [BZ #15160]
56434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
56435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56436
56437 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
56438
56439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56440 Define __attribute__.
56441
56442 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56443
56444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56445 unused.
56446 * posix/regex_internal.h (__attribute): Remove.
56447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56448 (re_string_context_at): Likewise.
56449 (bitset_not): Use __attribute__ and mark function as possibly
56450 unused.
56451 (bitset_merge): Likewise.
56452 (bitset_mask): Likewise.
56453 (re_string_char_size_at): Likewise.
56454 (re_string_wchar_at): Likewise.
56455 (re_string_elem_size_at): Likewise.
56456
56457 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
56458
56459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56460 code.
56461 (cc32): Likewise.
56462
56463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56464 (__acr): Likewise.
56465 (__cpy): Likewise.
56466 (norm): Likewise.
56467 (denorm): Likewise.
56468 (__dbl_mp): Likewise.
56469 (add_magnitudes): Likewise.
56470 (sub_magnitudes): Likewise.
56471 (__mul): Likewise.
56472 (__inv): Likewise.
56473
56474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56475 style.
56476
56477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56478 style.
56479
56480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56481 code.
56482
56483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56484 up changes with default code.
56485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56486 Likewise.
56487
56488 2013-02-24 Allan McRae <allan@archlinux.org>
56489
56490 * manual/socket.texi (The Internet Namespace): Order menu items
56491 to match that in the file.
56492
56493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56494 node listing of the info page menu.
56495
56496 2013-02-21 Joseph Myers <joseph@codesourcery.com>
56497
56498 [BZ #13550]
56499 * sysdeps/i386/bp-asm.h: Remove file.
56500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56501 (PARMS): Do not use macros from bp-asm.h.
56502 (S1): Likewise.
56503 (S2): Likewise.
56504 (SIZE): Likewise.
56505 (__mpn_add_n): Do not use BP_SYM
56506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56507 "bp-asm.h".
56508 (PARMS): Do not use macros from bp-asm.h.
56509 (S1): Likewise.
56510 (SIZE): Likewise.
56511 (__mpn_addmul_1): Do not use BP_SYM
56512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56513 "bp-asm.h".
56514 (PARMS): Do not use macros from bp-asm.h.
56515 (SIGMSK): Likewise.
56516 (_setjmp): Likewise. Do not use BP_SYM.
56517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56518 "bp-asm.h".
56519 (PARMS): Do not use macros from bp-asm.h.
56520 (SIGMSK): Likewise.
56521 (setjmp): Likewise. Do not use BP_SYM.
56522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56523 "bp-asm.h".
56524 (PARMS): Do not use macros from bp-asm.h.
56525 (__frexp): Do not use BP_SYM.
56526 (frexp): Likewise.
56527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56528 "bp-asm.h".
56529 (PARMS): Do not use macros from bp-asm.h.
56530 (__frexpf): Do not use BP_SYM.
56531 (frexpf): Likewise.
56532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56533 "bp-asm.h".
56534 (PARMS): Do not use macros from bp-asm.h.
56535 (__frexpl): Do not use BP_SYM.
56536 (frexpl): Likewise.
56537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56538 "bp-asm.h".
56539 (PARMS): Do not use macros from bp-asm.h.
56540 (__remquo): Do not use BP_SYM.
56541 (remquo): Likewise.
56542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56543 "bp-asm.h".
56544 (PARMS): Do not use macros from bp-asm.h.
56545 (__remquof): Do not use BP_SYM.
56546 (remquof): Likewise.
56547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56548 "bp-asm.h".
56549 (PARMS): Do not use macros from bp-asm.h.
56550 (__remquol): Do not use BP_SYM.
56551 (remquol): Likewise.
56552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56553 "bp-asm.h".
56554 (PARMS): Do not use macros from bp-asm.h.
56555 (DEST): Likewise.
56556 (SRC): Likewise.
56557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
56558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56559 "bp-asm.h".
56560 (PARMS): Do not use macros from bp-asm.h.
56561 (strlen): Do not use BP_SYM.
56562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56563 "bp-asm.h".
56564 (PARMS): Do not use macros from bp-asm.h.
56565 (S1): Likewise.
56566 (S2): Likewise.
56567 (SIZE): Likewise.
56568 (__mpn_add_n): Do not use BP_SYM.
56569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56570 "bp-asm.h".
56571 (PARMS): Do not use macros from bp-asm.h.
56572 (S1): Likewise.
56573 (SIZE): Likewise.
56574 (__mpn_addmul_1): Do not use BP_SYM.
56575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56576 weak_alias.
56577 (bzero): Likewise.
56578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56579 "bp-asm.h".
56580 (PARMS): Do not use macros from bp-asm.h.
56581 (S): Likewise.
56582 (SIZE): Likewise.
56583 (__mpn_lshift): Do not use BP_SYM.
56584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56585 "bp-asm.h".
56586 (PARMS): Do not use macros from bp-asm.h.
56587 (DEST): Likewise.
56588 (SRC): Likewise.
56589 (LEN): Likewise.
56590 (memcpy): Likewise. Do not use BP_SYM.
56591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56592 libc_hidden_def and weak_alias.
56593 (mempcpy): Do not use BP_SYM in weak_alias.
56594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56595 "bp-asm.h".
56596 (PARMS): Do not use macros from bp-asm.h.
56597 (DEST): Likewise.
56598 (LEN): Likewise.
56599 [!BZERO_P] (CHR): Likewise.
56600 (memset): Likewise. Do not use BP_SYM.
56601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56602 "bp-asm.h".
56603 (PARMS): Do not use macros from bp-asm.h.
56604 (S1): Likewise.
56605 (SIZE): Likewise.
56606 (__mpn_mul_1): Do not use BP_SYM.
56607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56608 "bp-asm.h".
56609 (PARMS): Do not use macros from bp-asm.h.
56610 (S): Likewise.
56611 (SIZE): Likewise.
56612 (__mpn_rshift): Do not use BP_SYM.
56613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56614 "bp-asm.h".
56615 (PARMS): Do not use macros from bp-asm.h.
56616 (STR): Likewise.
56617 (CHR): Likewise.
56618 (strchr): Likewise. Do not use BP_SYM.
56619 (index): Do not use BP_SYM in weak_alias.
56620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56621 "bp-asm.h".
56622 (PARMS): Do not use macros from bp-asm.h.
56623 (DEST): Likewise.
56624 (SRC): Likewise.
56625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
56626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56627 "bp-asm.h".
56628 (PARMS): Do not use macros from bp-asm.h.
56629 (strlen): Do not use BP_SYM.
56630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56631 "bp-asm.h".
56632 (PARMS): Do not use macros from bp-asm.h.
56633 (S1): Likewise.
56634 (S2): Likewise.
56635 (SIZE): Likewise.
56636 (__mpn_sub_n): Do not use BP_SYM.
56637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56638 "bp-asm.h".
56639 (PARMS): Do not use macros from bp-asm.h.
56640 (S1): Likewise.
56641 (SIZE): Likewise.
56642 (__mpn_submul_1): Do not use BP_SYM.
56643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56644 "bp-asm.h".
56645 (PARMS): Do not use macros from bp-asm.h.
56646 (S1): Likewise.
56647 (S2): Likewise.
56648 (SIZE): Likewise.
56649 (__mpn_add_n): Do not use BP_SYM.
56650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56651 weak_alias.
56652 (bzero): Likewise.
56653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56654 "bp-asm.h".
56655 (PARMS): Do not use macros from bp-asm.h.
56656 (BLK2): Likewise.
56657 (LEN): Likewise.
56658 (memcmp): Do not use BP_SYM.
56659 (bcmp): Do not use BP_SYM in weak_alias.
56660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56661 "bp-asm.h".
56662 (PARMS): Do not use macros from bp-asm.h.
56663 (DEST): Likewise.
56664 (SRC): Likewise.
56665 (LEN): Likewise.
56666 (memcpy): Likewise. Do not use BP_SYM.
56667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56668 "bp-asm.h".
56669 (PARMS): Do not use macros from bp-asm.h.
56670 (DEST): Likewise.
56671 (SRC): Likewise.
56672 (LEN): Likewise.
56673 (memmove): Likewise. Do not use BP_SYM.
56674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56675 "bp-asm.h".
56676 (PARMS): Do not use macros from bp-asm.h.
56677 (DEST): Likewise.
56678 (SRC): Likewise.
56679 (LEN): Likewise.
56680 (__mempcpy): Likewise. Do not use BP_SYM.
56681 (mempcpy): Do not use BP_SYM in weak_alias.
56682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56683 "bp-asm.h".
56684 (PARMS): Do not use macros from bp-asm.h.
56685 (DEST): Likewise.
56686 (LEN): Likewise.
56687 [!BZERO_P] (CHR): Likewise.
56688 (memset): Likewise. Do not use BP_SYM.
56689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56690 "bp-asm.h".
56691 (PARMS): Do not use macros from bp-asm.h.
56692 (STR2): Likewise.
56693 (strcmp): Do not use BP_SYM.
56694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56695 "bp-asm.h".
56696 (PARMS): Do not use macros from bp-asm.h.
56697 (STR): Likewise.
56698 (DELIM): Likewise.
56699 [USE_AS_STRTOK_R] (SAVE): Likewise.
56700 (FUNCTION): Likewise. Do not use BP_SYM.
56701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56702 aliases.
56703 (strtok_r): Likewise.
56704 (__GI___strtok_r): Likewise.
56705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56706 (PARMS): Do not use macros from bp-asm.h.
56707 (S): Likewise.
56708 (SIZE): Likewise.
56709 (__mpn_lshift): Do not use BP_SYM.
56710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56711 (PARMS): Do not use macros from bp-asm.h.
56712 (STR): Likewise.
56713 (CHR): Likewise.
56714 (__memchr): Do not use BP_SYM.
56715 (memchr): Do not use BP_SYM in weak_alias.
56716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56717 (PARMS): Do not use macros from bp-asm.h.
56718 (BLK2): Likewise.
56719 (LEN): Likewise.
56720 (memcmp): Do not use BP_SYM.
56721 (bcmp): Do not use BP_SYM in weak_alias.
56722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56723 (PARMS): Do not use macros from bp-asm.h.
56724 (S1): Likewise.
56725 (SIZE): Likewise.
56726 (__mpn_mul_1): Do not use BP_SYM.
56727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56728 "bp-asm.h".
56729 (PARMS): Do not use macros from bp-asm.h.
56730 (STR): Likewise.
56731 (CHR): Likewise.
56732 (__rawmemchr): Do not use BP_SYM.
56733 (rawmemchr): Do not use BP_SYM in weak_alias.
56734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56735 (PARMS): Do not use macros from bp-asm.h.
56736 (S): Likewise.
56737 (SIZE): Likewise.
56738 (__mpn_rshift): Do not use BP_SYM.
56739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56740 (PARMS): Do not use macros from bp-asm.h.
56741 (SIGMSK): Likewise.
56742 (__sigsetjmp): Likewise. Do not use BP_SYM.
56743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
56744 (_start): Do not use BP_SYM.
56745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56746 (PARMS): Do not use macros from bp-asm.h.
56747 (DEST): Likewise.
56748 (SRC): Likewise.
56749 (__stpcpy): Likewise. Do not use BP_SYM.
56750 (stpcpy): Do not use BP_SYM in weak_alias.
56751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56752 "bp-asm.h".
56753 (PARMS): Do not use macros from bp-asm.h.
56754 (DEST): Likewise.
56755 (SRC): Likewise.
56756 (LEN): Likewise.
56757 (__stpncpy): Likewise. Do not use BP_SYM.
56758 (stpncpy): Do not use BP_SYM in weak_alias.
56759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56760 (PARMS): Do not use macros from bp-asm.h.
56761 (STR): Likewise.
56762 (CHR): Likewise.
56763 (strchr): Likewise. Do not use BP_SYM.
56764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56765 "bp-asm.h".
56766 (PARMS): Do not use macros from bp-asm.h.
56767 (STR): Likewise.
56768 (CHR): Likewise.
56769 (__strchrnul): Likewise. Do not use BP_SYM.
56770 (strchrnul): Do not use BP_SYM in weak_alias.
56771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56772 "bp-asm.h".
56773 (PARMS): Do not use macros from bp-asm.h.
56774 (STOP): Likewise.
56775 (strcspn): Do not use BP_SYM.
56776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56777 "bp-asm.h".
56778 (PARMS): Do not use macros from bp-asm.h.
56779 (STR): Likewise.
56780 (STOP): Likewise.
56781 (strpbrk): Likewise. Do not use BP_SYM.
56782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56783 "bp-asm.h".
56784 (PARMS): Do not use macros from bp-asm.h.
56785 (STR): Likewise.
56786 (CHR): Likewise.
56787 (strrchr): Likewise. Do not use BP_SYM.
56788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56789 (PARMS): Do not use macros from bp-asm.h.
56790 (SKIP): Likewise.
56791 (strspn): Do not use BP_SYM.
56792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56793 (PARMS): Do not use macros from bp-asm.h.
56794 (STR): Likewise.
56795 (DELIM): Likewise.
56796 (SAVE): Likewise.
56797 (FUNCTION): Likewise. Do not use BP_SYM.
56798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56799 aliases.
56800 (strtok_r): Likewise.
56801 (__GI___strtok_r): Likewise.
56802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56803 (PARMS): Do not use macros from bp-asm.h.
56804 (S1): Likewise.
56805 (S2): Likewise.
56806 (SIZE): Likewise.
56807 (__mpn_sub_n): Do not use BP_SYM.
56808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56809 "bp-asm.h".
56810 (PARMS): Do not use macros from bp-asm.h.
56811 (S1): Likewise.
56812 (SIZE): Likewise.
56813 (__mpn_submul_1): Do not use BP_SYM.
56814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56815 <bp-sym.h>.
56816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56817 and <bp-asm.h>.
56818 (PARMS): Do not use macros from bp-asm.h.
56819 (FLAGS): Likewise.
56820 (PTID): Likewise.
56821 (TLS): Likewise.
56822 (CTID): Likewise.
56823 (__clone): Do not use BP_SYM.
56824 (clone): Do not use BP_SYM in weak_alias.
56825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56826 and <bp-asm.h>.
56827 (PARMS): Do not use macros from bp-asm.h.
56828 (LEN): Likewise.
56829 (__mmap64): Do not use BP_SYM.
56830 (mmap64): Do not use BP_SYM in weak_alias.
56831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56832 <bp-sym.h> and <bp-asm.h>.
56833 (PARMS): Do not use macros from bp-asm.h.
56834 (__posix_fadvise64_l64): Do not use BP_SYM.
56835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
56836 (PARMS): Do not use macros from bp-asm.h.
56837 (NSOPS): Likewise.
56838 (semtimedop): Do not use BP_SYM.
56839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56840 and <bp-asm.h>.
56841
56842 2013-02-21 Allan McRae <allan@archlinux.org>
56843
56844 * manual/message.texi (Charset conversion in gettext):
56845 Move @end statement to beginning of line.
56846
56847 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56848
56849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56850 static.
56851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56852 Likewise.
56853
56854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56855 (denorm): Likewise.
56856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56858
56859 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56860
56861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56862 tail-call to the resolved function if pltexit isn't needed.
56863
56864 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56865
56866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56867 or Y being zero as being unlikely.
56868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56869 Likewise.
56870
56871 2013-02-20 Carlos O'Donell <carlos@redhat.com>
56872
56873 * manual/nss.texi (System Databases and Name Service Switch):
56874 Remove frobnicate @pxref.
56875
56876 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
56877
56878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
56880
56881 2013-02-20 Petr Machata <pmachata@redhat.com>
56882
56883 * elf/elf.h (R_ARM_TARGET1): New macro.
56884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56918 (R_ARM_THM_GOT_BREL12): Likewise.
56919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56928
56929 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
56930
56931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56932 __attribute_used__ to __attribute__ ((unused)).
56933
56934 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56935
56936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56937 powerpc mpa.c.
56938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56939 comment formatting.
56940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56941
56942 2013-02-19 Joseph Myers <joseph@codesourcery.com>
56943
56944 [BZ #13550]
56945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56946 Remove macro.
56947 (ENTER): Remove both macro definitions.
56948 (LEAVE): Likewise.
56949 (CHECK_BOUNDS_LOW): Likewise.
56950 (CHECK_BOUNDS_HIGH): Likewise.
56951 (CHECK_BOUNDS_BOTH): Likewise.
56952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56953 (RETURN_BOUNDED_POINTER): Likewise.
56954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
56955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56956 (POP_ERRNO_LOCATION_RETURN): Likewise.
56957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56960 macros.
56961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56975 removed macros.
56976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56978 macros.
56979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56981 * sysdeps/i386/i586/memset.S (memset): Likewise.
56982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56985 macros.
56986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56988 Change uses of L(2) to L(out).
56989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56994 removed macros.
56995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56997 macros.
56998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57000 (RETURN): Do not use macro LEAVE.
57001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57004 * sysdeps/i386/i686/memset.S (memset): Likewise.
57005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57009 Likewise.
57010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
57012 L(1_2) and L(1_3) into L(1).
57013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57022 macros.
57023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
57032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
57034 * sysdeps/i386/strspn.S (strspn): Likewise.
57035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57036 conditional code.
57037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
57041 L(1_3) into L(1_1).
57042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57045 macros.
57046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57047
57048 2013-02-19 Jakub Jelinek <jakub@redhat.com>
57049
57050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57051 macro.
57052
57053 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57054
57055 * math/atest-exp.c (exp_mpn): Remove ROUND.
57056 * math/atest-exp2.c (exp_mpn): Likewise.
57057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57058
57059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57060 * stdlib/tst-tls-atexit-lib.c: Likewise.
57061 * stdlib/tst-tls-atexit.c: Likewise.
57062
57063 2013-02-18 Mike Frysinger <vapier@gentoo.org>
57064
57065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57066 and __attribute_alloc_size__.
57067
57068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
57069
57070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
57071 __attribute_alloc_size__.
57072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57074
57075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
57076
57077 * include/programs/xmalloc.h: New file.
57078 * catgets/gencat.c: Include it.
57079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57080 * elf/pldd.c: Likewise.
57081 * iconv/iconv_charmap.c: Likewise.
57082 * iconv/iconvconfig.c: Likewise.
57083 * iconv/strtab.c: Likewise.
57084 * locale/programs/locale.c: Likewise.
57085 * locale/programs/localedef.h: Likewise.
57086 * locale/programs/simple-hash.c: Likewise.
57087 * nscd/nscd.h: Likewise.
57088 * nss/makedb.c: Likewise.
57089 * sysdeps/generic/ldconfig.h: Likewise.
57090
57091 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57092
57093 * Versions.def: Add GLIBC_2.18.
57094 * include/link.h (struct link_map): New member l_tls_dtor_count.
57095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57096 (__call_tls_dtors): Likewise.
57097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57098 __cxa_thread_atexit_impl.
57099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57100 Likewise.
57101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57102 Likewise.
57103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57104 Likewise.
57105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57106 Likewise.
57107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57109 Likewise.
57110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57111 Likewise.
57112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57114 Likewise.
57115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57116 (tests): Add test case tst-tls-atexit.
57117 (modules-names): Add shared library for tst-tls-atexit.
57118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57119 (GLIBC_PRIVATE): Add __call_tls_dtors.
57120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57121 for libstdc++.
57122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57123 * stdlib/tst-tls-atexit.c: New test case.
57124 * stdlib/tst-tls-atexit-lib.c: New test case.
57125
57126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57127
57128 * elf/Versions (ld): Add _dl_find_dso_for_object.
57129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
57131 (dl_open_worker): Use _dl_find_dso_for_object.
57132 * elf/dl-sym.c (do_sym): Likewise.
57133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57134
57135 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57136
57137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57138 Syntactic changes only.
57139 (_dl_runtime_profile): Do a tail-call to the resolved function.
57140
57141 2013-02-17 Joseph Myers <joseph@codesourcery.com>
57142
57143 [BZ #13550]
57144 * sysdeps/x86_64/bp-asm.h: Remove file.
57145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57146 <bp-sym.h> and <bp-asm.h>.
57147 (__clone): Do not use BP_SYM.
57148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57149 <bp-sym.h> and <bp-asm.h>.
57150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57152 "bp-asm.h".
57153 (_setjmp): Do not use BP_SYM.
57154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57155 "bp-asm.h".
57156 (setjmp): Do not use BP_SYM.
57157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57158 libc_hidden_def.
57159 (mempcpy): Do not use BP_SYM in weak_alias.
57160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57161 "bp-asm.h".
57162 (strchr): Do not use BP_SYM.
57163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57164 "bp-asm.h".
57165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57167 (_start): Do not use BP_SYM.
57168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57169 "bp-asm.h".
57170 (strcat): Do not use BP_SYM.
57171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57172 "bp-asm.h".
57173 (STRCMP): Do not use BP_SYM.
57174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57175 "bp-asm.h".
57176 (STRCPY): Do not use BP_SYM.
57177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57178 "bp-asm.h".
57179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57180 "bp-asm.h".
57181 (FUNCTION): Do not use BP_SYM.
57182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57183 weak_alias.
57184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57185
57186 2013-02-17 Andreas Jaeger <aj@suse.de>
57187
57188 * time/Versions: Sort entries.
57189 * string/Versions: Likewise.
57190 * resolv/Versions: Likewise.
57191 * posix/Versions: Likewise.
57192 * iconv/Versions: Likewise.
57193 * elf/Versions: Likewise.
57194 * wcsmbs/Versions: Likewise.
57195
57196 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57197
57198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57199 loop termination condition.
57200
57201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57202 variable to calculate EZ.
57203 (__sqr): Likewise.
57204
57205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57206 the lower precision input.
57207
57208 2013-02-15 Joseph Myers <joseph@codesourcery.com>
57209
57210 [BZ #13550]
57211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57213 (run-via-rtld-prefix): Do not handle %-bp tests.
57214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57215 (all-object-suffixes): Remove .ob.
57216 (bppfx): Remove variable.
57217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57220 [$(build-bounded) = yes] (libtype.ob): Likewise.
57221 * Makerules (elide-routines.ob): Remove variable.
57222 (do-tests-clean): Do not handle *-bp.out.
57223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
57224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57226 (tests): Do not include $(tests-bp.out).
57227 (xtests): Do not include $(xtests-bp.out).
57228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57229 [$(build-bounded) = yes] ($(addprefix
57230 $(objpfx),$(binaries-bounded))): Remove rule.
57231 ($(objpfx)%-bp.out): Remove rule.
57232 * config.make.in (build-bounded): Remove variable.
57233 * crypt/Makefile [$(build-bounded) = yes]
57234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57236 append to variable.
57237 [$(build-bounded) = yes] (install-lib): Likewise.
57238 [$(build-bounded) = yes] (generated): Likewise.
57239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57240 Remove rule.
57241 * intl/Makefile [$(build-bounded) = yes]
57242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57243 * math/Makefile [$(build-bounded) = yes]
57244 ($(tests:%=$(objpfx)%-bp): Likewise.
57245 * misc/Makefile [$(build-bounded) = yes]
57246 ($(objpfx)tst-tsearch-bp): Likewise.
57247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
57248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57249 Remove dependency.
57250 * string/Makefile (o-objects.ob): Remove variable.
57251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57252 (CFLAGS-.ob): Remove variable.
57253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57255 both definitions of variable.
57256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57257 (ASFLAGS-.ob): Remove variable.
57258
57259 2013-02-14 Joseph Myers <joseph@codesourcery.com>
57260
57261 [BZ #13550]
57262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57263 Remove __BOUNDED_POINTERS__ from condition.
57264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57265 * string/bits/string2.h [!__NO_STRING_INLINES &&
57266 !__BOUNDED_POINTERS__]: Likewise.
57267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57268 Likewise.
57269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57270 Remove conditional code.
57271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57274 condition.
57275
57276 [BZ #13550]
57277 * csu/libc-start.c: Do not include <bp-sym.h>.
57278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57279 * elf/dl-open.c: Do not include <bp-sym.h>.
57280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57281 * math/fegetenv.c: Do not include <bp-sym.h>.
57282 (fegetenv): Do not use BP_SYM in versioned symbols.
57283 * nptl/sysdeps/pthread/bits/libc-lockP.h
57284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57285 <bp-sym.h>.
57286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57289 (__pthread_mutex_destroy): Likewise.
57290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57291 (__pthread_mutex_lock): Likewise.
57292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57293 (__pthread_mutex_trylock): Likewise.
57294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57295 (__pthread_mutex_unlock): Likewise.
57296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57297 (__pthread_mutexattr_init): Likewise.
57298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57299 (__pthread_mutexattr_destroy): Likewise.
57300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57301 (__pthread_mutexattr_settype): Likewise.
57302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57303 (__pthread_rwlock_init): Likewise.
57304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57305 (__pthread_rwlock_destroy): Likewise.
57306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57307 (__pthread_rwlock_rdlock): Likewise.
57308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57309 (__pthread_rwlock_tryrdlock): Likewise.
57310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57311 (__pthread_rwlock_wrlock): Likewise.
57312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57313 (__pthread_rwlock_trywrlock): Likewise.
57314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57315 (__pthread_rwlock_unlock): Likewise.
57316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57317 (__pthread_key_create): Likewise.
57318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57319 (__pthread_setspecific): Likewise.
57320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57321 (__pthread_getspecific): Likewise.
57322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57323 Likewise.
57324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57325 (_pthread_cleanup_push_defer): Likewise.
57326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57327 (_pthread_cleanup_pop_restore): Likewise.
57328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57329 (pthread_setcancelstate): Likewise.
57330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57331 <bp-sym.h>.
57332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57333 (memchr): Do not use BP_SYM in weak_alias.
57334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57335 (fegetenv): Do not use BP_SYM in versioned symbols.
57336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57337 (fesetenv): Do not use BP_SYM in versioned symbols.
57338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57339 (feupdateenv): Do not use BP_SYM in versioned symbols.
57340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57344 (open64): Do not use BP_SYM in weak_alias.
57345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57346 (fegetenv): Do not use BP_SYM in versioned symbols.
57347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57348 (fesetenv): Do not use BP_SYM in versioned symbols.
57349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57350 (feupdateenv): Do not use BP_SYM in versioned symbols.
57351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
57355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57358 <bp-sym.h>.
57359 (__libc_start_main): Do not use BP_SYM.
57360
57361 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
57362
57363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57364 redundant return line.
57365 (norm): Likewise.
57366 (denorm): Likewise.
57367 (dbl_mp): Likewise.
57368 (sub_magnitudes): Likewise.
57369 (__add): Likewise.
57370 (__sub): Likewise.
57371 (__mul): Likewise.
57372 (__inv): Likewise.
57373 (__dvd): Likewise.
57374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57375 (norm): Likewise.
57376 (denorm): Likewise.
57377 (dbl_mp): Likewise.
57378 (sub_magnitudes): Likewise.
57379 (__add): Likewise.
57380 (__sub): Likewise.
57381 (__mul): Likewise.
57382 (__inv): Likewise.
57383 (__dvd): Likewise.
57384
57385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57386 instead of __mul.
57387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57389 (cc32): Likewise.
57390
57391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57394 of __mul for squares.
57395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57396 function
57397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57398 Likewise.
57399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57401
57402 2013-02-13 Joseph Myers <joseph@codesourcery.com>
57403
57404 [BZ #13550]
57405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57406 code.
57407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57408 prototype or function definition. Rename ubp_* variables and
57409 parameters. Remove argv definitions conditional on
57410 [__BOUNDED_POINTERS__].
57411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
57412 * elf/dl-runtime.c (_dl_fixup): Likewise.
57413 * include/set-hooks.h (RUN_HOOK): Likewise.
57414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57415 definition.
57416 * string/strcpy.c (strcpy): Do not use __unbounded.
57417 * sysdeps/generic/frame.h (struct layout): Likewise.
57418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57423 (__backtrace): Likewise.
57424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57425 use __ptrvalue.
57426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57429 Likewise.
57430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57435 Do not use __unbounded.
57436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57437 Rename __unboundedrlimits parameter to rlimits in prototype.
57438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57439 Do not use __unbounded.
57440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57441 not use __ptrvalue.
57442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57446 __ptrvalue or __unbounded.
57447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57449 use __unbounded.
57450 (__new_msgctl): Do not use __ptrvalue.
57451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57452 __unbounded.
57453 (__libc_msgrcv): Do not use __ptrvalue.
57454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57455 startup_info): Do not use __unbounded.
57456 (__libc_start_main): Likewise. Rename ubp_* variables and
57457 parameters. Remove argv definitions conditional on
57458 [__BOUNDED_POINTERS__].
57459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57460 __ptrvalue.
57461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57462 use __unbounded.
57463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57464 or __ptrvalue.
57465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57466 use __unbounded.
57467 (__new_shmctl): Do not use __ptrvalue.
57468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57470 Likewise.
57471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57473 (__libc_sigaction): Likewise.
57474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57476 Likewise.
57477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57478
57479 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
57480
57481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57482
57483 * string/mempcpy.c: Implement by calling memcpy.
57484
57485 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57486
57487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57488
57489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57490 evaluation.
57491
57492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57493 values in the mantissa.
57494
57495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57496 minimize writes to Z.
57497 (sub_magnitudes): Simplify code a bit.
57498
57499 2013-02-12 Roland McGrath <roland@hack.frob.com>
57500
57501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57502 from the message. The linker prefixes all warnings with that already.
57503
57504 2013-02-12 Andreas Schwab <schwab@suse.de>
57505
57506 [BZ #15078]
57507 * posix/regexec.c (extend_buffers): Add parameter min_len.
57508 (check_matching): Pass minimum needed length.
57509 (clean_state_log_if_needed): Likewise.
57510 (get_subexp): Likewise.
57511 * posix/Makefile (tests): Add bug-regex34.
57512 (bug-regex34-ENV): Define.
57513 * posix/bug-regex34.c: New file.
57514
57515 [BZ #11561]
57516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
57517 elements compare against the byte sequence of it, not its name.
57518 * posix/Makefile (tests): Add bug-regex35.
57519 (bug-regex35-ENV): Define.
57520 * posix/bug-regex35.c: New file.
57521
57522 2013-02-11 Tom de Vries <tom@codesourcery.com>
57523
57524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
57525 comment.
57526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57528 (CHECK_EOL): Add undef.
57529
57530 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
57531
57532 * bits/stdlib-bsearch.h: New file.
57533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57534 * stdlib/stdlib.h: Likewise.
57535
57536 2013-02-11 Roland McGrath <roland@hack.frob.com>
57537
57538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57540 declaration.
57541 * manual/search.texi (Array Search Function): Add missing const in
57542 lfind prototype.
57543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57544 declaration to use rlim_t.
57545 (Basic Scheduling Functions): Remove erroneous const from
57546 sched_getparam prototype. Remove erroneous * from
57547 sched_get_priority_max and sched_get_priority_min prototypes.
57548 (Resource Usage): Fix summary @comment on vtimes to refer to
57549 sys/vtimes.h rather than vtimes.h.
57550 Add missing *s in vtimes prototype.
57551 (Limits on Resources): Fix ulimit prototype to return long int.
57552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57553 prototypes to use long int rather than double.
57554 (BSD Random): Fix initstate and setstate to use char *, not void *.
57555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57556 prototype to make second argument 'struct aiocb64 *const[]'.
57557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57558 (Status of AIO Operations): Remove erroneous const in aio_return and
57559 aio_return64 prototypes.
57560 (Synchronizing I/O): Fix sync prototype to return void.
57561 * manual/startup.texi (Suboptions): Remove an erroneous const in
57562 getsubopt prototype.
57563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57565 use size_t rather than int.
57566 (Scanning All Users): Likewise for getpwent_r.
57567 (Setting Groups): Add missing const to setgroups prototype.
57568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
57570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57571 'const void *' rather than 'const char *'.
57572 (Host Address Functions): Likewise for inet_ntop.
57573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57575 ssize_t for return value.
57576 (Sending Data): Likewise for send, sendto, sendmsg.
57577 (Socket Option Functions): Add a missing const in setsockopt prototype.
57578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57579 use wchar_t for the argument.
57580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57582 take no arguments.
57583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57584 double/float/long double for second argument.
57585 Fix return types of significand, significandf, significandl.
57586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
57587 argument in fchmod prototype.
57588 (File Owner): Use uid_t and gid_t in fchown prototype.
57589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
57590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
57591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57592 use 'const struct dirent **' as argument types to CMP function pointer
57593 argument.
57594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57595 (File Times): Fix summary magic @comment for struct utimbuf and utime
57596 to refer to utime.h, not time.h.
57597 * manual/string.texi (Argz Functions): Add missing const in
57598 argz_extract and argz_next prototypes.
57599 (Finding Tokens in a String): Likewise for basename.
57600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
57601 (Copying and Concatenation): Fix typo in wmemmove prototype.
57602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57603 (Signal Stack): Remove erroneous const in sigstack prototype.
57604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57605 prototype.
57606 (Simple Calendar Time): Likewise for stime.
57607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57608 prototype.
57609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57610 say sys/sysctl.h instead.
57611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57612 and vsyslog prototypes.
57613
57614 2013-02-11 Tom de Vries <tom@codesourcery.com>
57615
57616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57617 Remove.
57618
57619 2013-02-11 Roland McGrath <roland@hack.frob.com>
57620
57621 * misc/sys/mman.h: Fix typo in mremap comment.
57622
57623 2013-02-08 Roland McGrath <roland@hack.frob.com>
57624
57625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57626 the '\0' terminator.
57627
57628 2013-02-08 Joseph Myers <joseph@codesourcery.com>
57629
57630 [BZ #13550]
57631 * debug/segfault.c: Don't include <bp-checks.h>.
57632 * sysdeps/generic/bp-checks.h: Remove file.
57633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57634 (__GETDENTS): Don't use CHECK_N.
57635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57637 (__getgroups): Don't use CHECK_N.
57638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57639 (setgroups): Don't use CHECK_N.
57640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57642 (__libc_msgrcv): Don't use CHECK_N.
57643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57644 (__libc_msgsnd): Don't use CHECK_N.
57645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57646 <bp-checks.h>.
57647 (__libc_pread): Don't use CHECK_N.
57648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57649 include <bp-checks.h>.
57650 (__libc_pread64): Don't use CHECK_N.
57651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57652 include <bp-checks.h>.
57653 (__libc_pwrite): Don't use CHECK_N.
57654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57655 include <bp-checks.h>.
57656 (__libc_pwrite64): Don't use CHECK_N.
57657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57658 <bp-checks.h>.
57659 (__libc_pread): Don't use CHECK_N.
57660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57661 include <bp-checks.h>.
57662 (__libc_pread64): Don't use CHECK_N.
57663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57664 include <bp-checks.h>.
57665 (__libc_pwrite): Don't use CHECK_N.
57666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57667 include <bp-checks.h>.
57668 (__libc_pwrite64): Don't use CHECK_N.
57669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57670 (do_pread): Don't use CHECK_N.
57671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57672 (do_pread64): Don't use CHECK_N.
57673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57674 (do_pwrite): Don't use CHECK_N.
57675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57676 (do_pwrite64): Don't use CHECK_N.
57677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57678 (__libc_readv): Don't use CHECK_N.
57679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57680 (semop): Don't use CHECK_N.
57681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57682 <bp-checks.h>.
57683 (semtimedop): Don't use CHECK_N.
57684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57685 (__libc_pread): Don't use CHECK_N.
57686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57687 <bp-checks.h>.
57688 (__libc_pread64): Don't use CHECK_N.
57689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57690 <bp-checks.h>.
57691 (__libc_pwrite): Don't use CHECK_N.
57692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57693 <bp-checks.h>.
57694 (__libc_pwrite64): Don't use CHECK_N.
57695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57696 <bp-checks.h>.
57697 (__libc_msgrcv): Don't use CHECK_N.
57698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
57700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57701 (__libc_writev): Don't use CHECK_N.
57702
57703 2013-02-08 Roland McGrath <roland@hack.frob.com>
57704
57705 * string/strcpy.c: Removed unused variable.
57706
57707 * Makeconfig (+sysdep-includes): Define with := rather than =.
57708 Use an existing include/ subdir of each sysdeps dir before it.
57709
57710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
57711
57712 * nscd/connection.c (register_traced_file): Comment function.
57713 [HAVE_INOTIFY] (union __inev): Define.
57714 [HAVE_INOTIFY] (inotify_check_files): New function.
57715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
57716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57717 clear_db_cache.
57718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57719
57720 2013-02-08 Carlos O'Donell <carlos@redhat.com>
57721
57722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57723 loaded if not already and that a failure is permanent.
57724
57725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
57726
57727 [BZ #15006]
57728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57730
57731 2013-02-08 Joseph Myers <joseph@codesourcery.com>
57732
57733 [BZ #13550]
57734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57735 (CHECK_1_NULL_OK): Likewise.
57736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57737 (__fxstat): Do not use CHECK_1.
57738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57739 <bp-checks.h>.
57740 (___fxstat64): Do not use CHECK_1.
57741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57742 <bp-checks.h>.
57743 (__fxstatat): Do not use CHECK_1.
57744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57745 <bp-checks.h>.
57746 (__fxstatat64): Do not use CHECK_1.
57747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57748 <bp-checks.h>.
57749 (__fxstat): Do not use CHECK_1.
57750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57751 <bp-checks.h>.
57752 (__fxstatat): Do not use CHECK_1.
57753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57754 <bp-checks.h>.
57755 (__getresgid): Do not use CHECK_1.
57756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57757 <bp-checks.h>.
57758 (__getresuid): Do not use CHECK_1.
57759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57760 <bp-checks.h>.
57761 (__lxstat): Do not use CHECK_1.
57762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57763 <bp-checks.h>.
57764 (__old_msgctl): Do not use CHECK_1.
57765 (__new_msgctl): Likewise.
57766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57767 <bp-checks.h>.
57768 (__new_setrlimit): Do not use CHECK_1.
57769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57770 <bp-checks.h>.
57771 (__old_shmctl): Do not use CHECK_1.
57772 (__new_shmctl): Likewise.
57773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57774 <bp-checks.h>.
57775 (__xstat): Do not use CHECK_1.
57776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57777 (__lxstat): Do not use CHECK_1.
57778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57779 <bp-checks.h>.
57780 (___lxstat64): Do not use CHECK_1.
57781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57782 (__old_msgctl): Do not use CHECK_1.
57783 (__new_msgctl): Likewise.
57784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57785 <bp-checks.h>.
57786 (__gettimeofday): Do not use CHECK_1.
57787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57790 <bp-checks.h>.
57791 (__gettimeofday): Do not use CHECK_1.
57792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
57794 (__new_shmctl): Do not use CHECK_1.
57795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57796 <bp-checks.h>.
57797 (do_sigtimedwait): Do not use CHECK_1.
57798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57799 <bp-checks.h>.
57800 (do_sigwaitinfo): Do not use CHECK_1.
57801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57802 <bp-checks.h>.
57803 (msgctl): Do not use CHECK_1.
57804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57805 <bp-checks.h>.
57806 (shmctl): Do not use CHECK_1.
57807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57808 (ustat): Do not use CHECK_1.
57809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57810 <bp-checks.h>.
57811 (__fxstat): Do not use CHECK_1.
57812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57813 <bp-checks.h>.
57814 (__fxstatat): Do not use CHECK_1.
57815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57816 <bp-checks.h>.
57817 (__lxstat): Do not use CHECK_1.
57818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57819 <bp-checks.h>.
57820 (__xstat): Do not use CHECK_1.
57821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57822 (__xstat): Do not use CHECK_1.
57823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57824 (___xstat64): Do not use CHECK_1.
57825
57826 [BZ #13550]
57827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57828 definitions.
57829 (CHECK_BOUNDS_HIGH): Likewise.
57830 * string/strcpy.c: Do not include <bp-checks.h>.
57831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57832
57833 2013-02-07 Roland McGrath <roland@hack.frob.com>
57834
57835 * nscd/nscd-client.h (__nscd_drop_map_ref):
57836 Add __attribute__ ((unused)).
57837 * nis/nss-nisplus.h (niserr2nss): Likewise.
57838
57839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57841
57842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
57843 Remove inline keyword.
57844 * include/rounding-mode.h (round_away): Likewise.
57845 * libio/wfileops.c (adjust_wide_data): Likewise.
57846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57847 (__m128i_strloadu_tolower): Likewise.
57848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57849 (__m128i_strloadu_tolower): Likewise.
57850 * time/mktime.c (ydhms_diff): Likewise.
57851 * locale/elem-hash.h (elem_hash): Likewise.
57852 * locale/setlocale.c (setdata): Likewise.
57853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
57854 (re_string_wchar_at): Likewise.
57855 (bitset_not, bitset_merge, bitset_mask): Likewise.
57856 [!(__GNUC__ > 3)] (inline): Remove macro.
57857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57861 * string/memcmp.c (memcmp_bytes): Likewise.
57862 * locale/programs/locarchive.c (compute_hashval): Likewise.
57863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57866 * nss/getent.c (print_rpc, print_protocols): Likewise.
57867 (print_passwd, print_group, print_aliases): Likewise.
57868 * nis/nss-nisplus.h (niserr2nss): Likewise.
57869 * nscd/connections.c (restart_p): Likewise.
57870 Change return type to bool.
57871
57872 2013-02-05 Roland McGrath <roland@hack.frob.com>
57873
57874 * Makeconfig (all-Depend-files): Add existing
57875 $(sorted-subdirs:=/Depend) files.
57876 (all-subdirs): Remove nss.
57877 * sysdeps/unix/inet/Subdirs: Add it here instead.
57878 * hesiod/Depend: New file.
57879
57880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57881 instead of calling alloca.
57882
57883 * io/lseek.c (__lseek): Rename to __libc_lseek.
57884 Define __lseek as an alias.
57885
57886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57887
57888 2013-02-04 Carlos O'Donell <carlos@redhat.com>
57889
57890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57891 else clause and remove check for non-standard endianness.
57892
57893 2013-02-04 David S. Miller <davem@davemloft.net>
57894
57895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57896
57897 2013-02-04 Joseph Myers <joseph@codesourcery.com>
57898
57899 [BZ #13550]
57900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57901 (__ubp_memchr): Remove prototype.
57902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57907 Remove alias.
57908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57909 (__ubp_memchr): Likewise.
57910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57911 (__ubp_memchr): Likewise.
57912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57916 CHECK_STRING.
57917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57919 (__getcwd): Do not use CHECK_STRING.
57920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57921 <bp-checks.h>.
57922 (__real_chown): Do not use CHECK_STRING.
57923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57924 <bp-checks.h>.
57925 (fchownat): Do not use CHECK_STRING.
57926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57927 CHECK_STRING.
57928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57929 <bp-checks.h>.
57930 (__lchown): Do not use CHECK_STRING.
57931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57936 include <bp-checks.h>.
57937 (truncate64): Do not use CHECK_STRING.
57938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57939 <bp-checks.h>.
57940 (__real_chown): Do not use CHECK_STRING.
57941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57942 <bp-checks.h>.
57943 (__lchown): Do not use CHECK_STRING.
57944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57945 <bp-checks.h>.
57946 (__chown): Do not use CHECK_STRING.
57947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57948 <bp-checks.h>.
57949 (truncate64): Do not use CHECK_STRING.
57950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57951 Likewise.
57952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57953 (__xmknod): Do not use CHECK_STRING.
57954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57955 <bp-checks.h>.
57956 (__xmknodat): Do not use CHECK_STRING.
57957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57959
57960 2013-02-04 Andreas Schwab <schwab@suse.de>
57961
57962 [BZ #14142]
57963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57964 * include/netdb.h: Likewise for h_errno.
57965 * elf/tst-stackguard1.c: Include <tls.h>.
57966
57967 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
57968
57969 * elf/link.h (struct link_map): Extend the l_addr comment.
57970 * include/link.h (struct link_map): Likewise.
57971
57972 2013-02-01 Joseph Myers <joseph@codesourcery.com>
57973
57974 [BZ #13550]
57975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57976 (BOUNDED_1): Remove macro.
57977 * debug/backtrace.c: Don't include <bp-checks.h>.
57978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57979 (__backtrace): Likewise.
57980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57981 <bp-checks.h>.
57982 (__backtrace): Don't use BOUNDED_1.
57983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57984 <bp-checks.h>.
57985 (__backtrace): Don't use BOUNDED_1.
57986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57987 (__backtrace): Don't use BOUNDED_1.
57988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57989 (shmat): Don't use BOUNDED_N.
57990
57991 2013-01-31 Joseph Myers <joseph@codesourcery.com>
57992
57993 [BZ #13550]
57994 * sysdeps/generic/bp-start.h: Remove file.
57995 * csu/libc-start.c: Don't include <bp-start.h>.
57996 (LIBC_START_MAIN): Set up __environ directly instead of using
57997 INIT_ARGV_and_ENVIRON.
57998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57999 <bp-start.h>.
58000
58001 [BZ #13550]
58002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58003 definitions.
58004 (CHECK_FCNTL): Likewise.
58005 (CHECK_N_PAGES): Likewise.
58006
58007 [BZ #13550]
58008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58009 definitions.
58010 (CHECK_SIGSET_NULL_OK): Likewise.
58011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58012 <bp-checks.h>.
58013 (sigpending): Don't use CHECK_SIGSET.
58014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58015 <bp-checks.h>.
58016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58018 <bp-checks.h>.
58019 (do_sigsuspend): Don't use CHECK_SIGSET.
58020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58021 use CHECK_SIGSET.
58022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58023 (do_sigwait): Don't use CHECK_SIGSET.
58024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58025 use CHECK_SIGSET.
58026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58027 include <bp-checks.h>.
58028 (sigpending): Don't use CHECK_SIGSET.
58029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58030 include <bp-checks.h>.
58031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58033 <bp-checks.h>.
58034 (sigpending): Don't use CHECK_SIGSET.
58035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58036 <bp-checks.h>.
58037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58038
58039 [BZ #13550]
58040 * sysdeps/generic/bp-semctl.h: Remove file.
58041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58042 <bp-checks.h> and <bp-semctl.h>.
58043 (__old_semctl): Don't use CHECK_SEMCTL.
58044 (__new_semctl): Likewise.
58045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58046 and <bp-semctl.h>.
58047 (__old_semctl): Don't use CHECK_SEMCTL.
58048 (__new_semctl): Likewise.
58049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58050 <bp-checks.h> and <bp-semctl.h>.
58051 (__old_semctl): Don't use CHECK_SEMCTL.
58052 (__new_semctl): Likewise.
58053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58054 <bp-checks.h> and <bp-semctl.h>.
58055 (semctl): Don't use CHECK_SEMCTL.
58056
58057 [BZ #13550]
58058 * Makerules (elide-bp-thunks): Remove variable.
58059 (elide-routines.oS): Don't use $(elide-bp-thunks).
58060 (elide-routines.os): Likewise.
58061 (elide-routines.o): Likewise.
58062 (elide-routines.op): Likewise.
58063 (elide-routines.og): Likewise.
58064 (objects): Don't use $(bp-thunks).
58065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58066 include.
58067 (common-generated): Do not add s-proto-bp.d.
58068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58069 (int): Likewise.
58070 (typ): Likewise.
58071 Do not generate makefile rules for bounded-pointer thunks.
58072 * sysdeps/generic/bp-thunks.h: Remove file.
58073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58074 * sysdeps/unix/s-proto-bp.S: Likewise.
58075
58076 [BZ #15062]
58077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58078 parts of result separately when argument is not close to line from
58079 -i to i and one part of argument is small.
58080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58082 * math/libm-test.inc (cacos_test): Add more tests.
58083 (casin_test): Likewise.
58084 (casinh_test): Likewise.
58085 * sysdeps/i386/fpu/libm-test-ulps: Update.
58086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58087
58088 2013-01-31 David S. Miller <davem@davemloft.net>
58089
58090 * po/de.po: Update from translation team.
58091
58092 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
58093
58094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
58095
58096 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
58097
58098 * configure.in (_AC_PROG_CC_C89): New definition.
58099 * configure: Regenerate.
58100
58101 * configure.in (AC_PROG_CPP): New definition.
58102 * configure: Regenerate.
58103
58104 2013-01-23 Joseph Myers <joseph@codesourcery.com>
58105
58106 * debug/tst-backtrace.h: New file.
58107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
58108 (ret): Remove variable.
58109 (x): Likewise.
58110 (FAIL): Remove macro.
58111 (NO_INLINE): Likewise.
58112 (fn1): Use match function instead of strstr.
58113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
58114 (ret): Remove variable.
58115 (x): Likewise.
58116 (FAIL): Remove macro.
58117 (NO_INLINE): Likewise.
58118 (fn): Use match function instead of strstr.
58119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
58120 (ret): Remove variable.
58121 (x): Likewise.
58122 (FAIL): Remove macro.
58123 (NO_INLINE): Likewise.
58124 (handle_signal): Use match function instead of strstr.
58125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
58126 (ret): Remove variable.
58127 (x): Likewise.
58128 (FAIL): Remove macro.
58129 (NO_INLINE): Likewise.
58130 (handle_signal): Use match function instead of strstr.
58131
58132 2013-01-23 Roland McGrath <roland@hack.frob.com>
58133
58134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58135
58136 2013-01-23 David S. Miller <davem@davemloft.net>
58137
58138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58140 argument of CAS if possible.
58141 * sysdeps/sparc/sparc64/bits/atomic.h
58142 (__arch_compare_and_exchange_val_32_acq): Likewise.
58143 (__arch_compare_and_exchange_val_64_acq): Likewise.
58144
58145 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
58146
58147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58148 * sysdeps/posix/ulimit.c: ... this.
58149 Include <limits.h>.
58150 * sysdeps/unix/bsd/ulimit.c: Remove file.
58151
58152 2013-01-23 Adam Conrad <adconrad@0c3.net>
58153
58154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58155 (LDFLAGS-tst-array5): Likewise.
58156
58157 2013-01-23 Joseph Myers <joseph@codesourcery.com>
58158
58159 [BZ #15036]
58160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58164
58165 2013-01-21 David S. Miller <davem@davemloft.net>
58166
58167 * sysdeps/sparc/backtrace.c: New file.
58168 * sysdeps/sparc/sparc32/backtrace.h: New file.
58169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58170 * sysdeps/sparc/sparc64/backtrace.h: New file.
58171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
58172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58173 -funwind-tables.
58174
58175 2013-01-21 Andreas Schwab <schwab@suse.de>
58176
58177 [BZ #15020]
58178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58179 closed its stdout.
58180
58181 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
58182
58183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58184 "mpa2.h".
58185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58186
58187 2013-01-18 Joseph Myers <joseph@codesourcery.com>
58188 Mark Mitchell <mark@codesourcery.com>
58189 Tom de Vries <tom@codesourcery.com>
58190 Paul Pluzhnikov <ppluzhnikov@google.com>
58191
58192 * debug/tst-backtrace2.c: New file.
58193 * debug/tst-backtrace3.c: Likewise.
58194 * debug/tst-backtrace4.c: Likewise.
58195 * debug/tst-backtrace5.c: Likewise.
58196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58197 (CFLAGS-tst-backtrace3.c): Likewise.
58198 (CFLAGS-tst-backtrace4.c): Likewise.
58199 (CFLAGS-tst-backtrace5.c): Likewise.
58200 (LDFLAGS-tst-backtrace2): Likewise.
58201 (LDFLAGS-tst-backtrace3): Likewise.
58202 (LDFLAGS-tst-backtrace4): Likewise.
58203 (LDFLAGS-tst-backtrace5): Likewise.
58204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
58205 tst-backtrace4 and tst-backtrace5.
58206
58207 2013-01-18 Anton Blanchard <anton@samba.org>
58208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
58209
58210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58216 "+r" and remove output regs list as redundant. Add explicit inline
58217 asm to specify register of return val to work around compiler codegen
58218 bug. Remove (int) cast on return value. Add return type parameter to
58219 use in macro so that this macro does not truncate return value for
58220 64-bit values.
58221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58222 pass to INTERNAL_VSYSCALL_NCS.
58223 (INLINE_VSYSCALL): Add 'long int' as return type to
58224 INTERNAL_VSYSCALL_NCS macro invocation.
58225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
58226 INTERNAL_VSYSCALL_NCS macro invocation.
58227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58228
58229 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
58230
58231 [BZ #14496]
58232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58233 Fix application of SIMD FP exception mask.
58234
58235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58236 mp_no from a power of two.
58237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58238 __mpexp_twomm1. Use __pow_mp.
58239
58240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58241 multiplication.
58242
58243 2013-01-17 David S. Miller <davem@davemloft.net>
58244
58245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58246
58247 2013-01-17 Joseph Myers <joseph@codesourcery.com>
58248
58249 [BZ #15023]
58250 * include/complex.h: Condition contents on [!_COMPLEX_H].
58251 (__kernel_casinhf): New prototype.
58252 (__kernel_casinh): Likewise.
58253 (__kernel_casinhl): Likewise.
58254 * math/Makefile (libm_calls): Add k_casinh.
58255 * math/k_casinh.c: New file.
58256 * math/k_casinhf.c: Likewise.
58257 * math/k_casinhl.c: Likewise.
58258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58259 finite nonzero arguments.
58260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58261 finite nonzero arguments.
58262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58263 finite nonzero arguments.
58264 * math/s_casinh.c: Do not include <float.h>.
58265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58266 * math/s_casinhf.c: Do not include <float.h>.
58267 (__casinhf): Move code for finite nonzero arguments to
58268 k_casinhf.c.
58269 * math/s_casinhl.c: Do not include <float.h>.
58270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58271 redefine.
58272 (__casinhl): Move code for finite nonzero arguments to
58273 k_casinhl.c.
58274 * math/libm-test.inc (cacos_test): Add more tests.
58275 * sysdeps/i386/fpu/libm-test-ulps: Update.
58276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58277
58278 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
58279
58280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58282 [!HAVE_MREMAP]: Remove [defined linux] case.
58283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
58284
58285 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58286
58287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58288
58289 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
58290
58291 * elf/elf.h (R_386_SIZE32): New relocation.
58292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58293 R_386_SIZE32.
58294 (elf_machine_rela): Likewise.
58295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
58297
58298 2013-01-17 Joseph Myers <joseph@codesourcery.com>
58299
58300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58301 (FP_FAST_FMA): Do not define.
58302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58306 !_SOFT_FLOAT]: Likewise.
58307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58309 value.
58310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58316 file.
58317
58318 2013-01-16 Andreas Schwab <schwab@suse.de>
58319
58320 [BZ #14327]
58321 * include/stdlib.h (__mktemp): Add declaration.
58322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58324
58325 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58326
58327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58328 definitions.
58329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58332 definitions here.
58333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58335 definitions.
58336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58337 and ONE.
58338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58341 definitions.
58342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58344 definitions.
58345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58346
58347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58348
58349 2013-01-15 David S. Miller <davem@davemloft.net>
58350
58351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58352 trunc{,f} to libm-sysdep_routes.
58353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58355 file.
58356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58358 file.
58359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58360 file.
58361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58369
58370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58371 nearbyint{,f} to libm-sysdep_routes.
58372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58374 New file.
58375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58376 file.
58377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58378 New file.
58379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58380 file.
58381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58384 file.
58385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58387 file.
58388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58391
58392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58393 libc_feholdexcept and libc_fesetenv.
58394
58395 2013-01-15 Mike Frysinger <vapier@gentoo.org>
58396
58397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58398
58399 2013-01-14 David S. Miller <davem@davemloft.net>
58400
58401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58402 (SPARC_ASM_VIS2_IFUNC): Likewise.
58403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58405 use of 'siam' instruction.
58406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58407 Likewise.
58408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58409 Likewise.
58410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58411 Likewise.
58412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58417 file.
58418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58419 file.
58420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58421 file.
58422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58423 file.
58424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58429 new VIS2 routines.
58430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58433 Likewise.
58434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58439 routines to libm-sysdep_routines.
58440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58441
58442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58443 fdim/fdimf to libm-sysdep_routines.
58444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58445 file.
58446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58448 file.
58449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58456
58457 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58458
58459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58460 to optimize copies.
58461
58462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58465
58466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58467 local variable MPTWO.
58468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58469 Likewise.
58470
58471 2013-01-13 Mike Frysinger <vapier@gentoo.org>
58472
58473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58474 GLOB_NOESCAPE.
58475
58476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
58477
58478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58479
58480 2013-01-13 Mike Frysinger <vapier@gentoo.org>
58481
58482 * manual/pattern.texi (glob_t): Document gl_flags.
58483 (glob64_t): Likewise.
58484
58485 2013-01-11 David S. Miller <davem@davemloft.net>
58486
58487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
58490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58500
58501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58502 sparc V9 rather than using V8 code.
58503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58505
58506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58507 Move to...
58508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58509 Here.
58510
58511 2013-01-11 Roland McGrath <roland@hack.frob.com>
58512
58513 [BZ #14941]
58514 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58515 not in the main loop.
58516 * configure: Regenerated.
58517
58518 2013-01-11 Joseph Myers <joseph@codesourcery.com>
58519
58520 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58521 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58522 to just #else.
58523 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
58524 [!__GLIBC_HAVE_LONG_LONG] case.
58525 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58526 condition to just #else.
58527 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58528 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58529 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58530 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58531 unconditional.
58532 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58533 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58534 #elif condition to just #else.
58535 * sysdeps/unix/sysv/linux/sys/sysmacros.h
58536 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58537 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58538 #elif condition to just #else.
58539
58540 2013-01-11 Steve Ellcey <sellcey@mips.com>
58541
58542 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58543 (EF_MIPS_ARCH_64): Fix value.
58544 (EF_MIPS_ARCH_32R2): New.
58545 (EF_MIPS_ARCH_64R2): New.
58546
58547 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
58548
58549 * Makeconfig (+link-pie-before-libc): New.
58550 (+link-pie-after-libc): Likewise.
58551 (+link-pie-tests): Likewise.
58552 (+link-pie): Rewritten.
58553 (link-before-libc): Remove $(config-LDFLAGS).
58554 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58555 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58556 (config-LDFLAGS): Renamed to ...
58557 (rtld-LDFLAGS): This.
58558 (rtld-tests-LDFLAGS): New macro.
58559 (link-libc-rpath-link): Likewise.
58560 (link-libc-tests-rpath-link): Likewise.
58561 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58562 (link-libc): Prepand $(link-libc-rpath-link).
58563 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58564 (test-program-prefix): New macro.
58565 (test-via-rtld-prefix): Likewise.
58566 (test-program-cmd): Likewise.
58567 (host-test-program-cmd): Likewise.
58568 * Makefile ($(common-objpfx)testrun.sh): Replace
58569 $(run-program-prefix) with $(test-program-prefix).
58570 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58571 $(rtld-LDFLAGS).
58572 ($(common-objpfx)shlib.lds): Likewise.
58573 (build-module-helper): Likewise.
58574 ($(common-objpfx)format.lds): Likewise.
58575 * Rules (binaries-pie-tests): New.
58576 (binaries-pie-notests): Likewise.
58577 (binaries-pie): Rewritten.
58578 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58579 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58580 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58581 (make-test-out): Replace $(host-built-program-cmd) with
58582 $(host-test-program-cmd).
58583 * config.make.in (build-hardcoded-path-in-tests): New variable.
58584 * configure.in (--enable-hardcoded-path-in-tests): New configure
58585 option.
58586 (hardcoded_path_in_tests): New AC_SUBST.
58587 * configure: Regenerated.
58588 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58589 $(built-program-cmd) with $(test-program-cmd).
58590 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58591 (test_program_cmd): This.
58592 * elf/Makefile ($(objpfx)order.out): Run test with
58593 $(test-program-prefix).
58594 ($(objpfx)order2.out): Likewise.
58595 ($(objpfx)tst-initorder.out): Likewise.
58596 ($(objpfx)tst-initorder2.out): Likewise.
58597 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58598 $(test-program-cmd).
58599 ($(objpfx)tst-array1-static.out): Likewise.
58600 ($(objpfx)tst-array2.out): Likewise.
58601 ($(objpfx)tst-array3.out): Likewise.
58602 ($(objpfx)tst-array4.out): Likewise.
58603 ($(objpfx)tst-array5.out): Likewise.
58604 ($(objpfx)tst-array5-static.out): Likewise.
58605 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58606 $(test-program-cmd).
58607 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58608 $(run-program-prefix) with $(test-program-prefix).
58609 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58610 (test_program_prefix): This.
58611 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58612 $(run-program-prefix) with $(test-program-prefix).
58613 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58614 (test_program_prefix): This.
58615 * iconvdata/tst-tables.sh: Likewise.
58616 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58617 $(run-program-prefix) with $(test-program-prefix).
58618 ($(objpfx)tst-translit.out): Likewise.
58619 ($(objpfx)tst-gettext2.out): Likewise.
58620 ($(objpfx)tst-gettext4.out): Likewise.
58621 ($(objpfx)tst-gettext6.out): Likewise.
58622 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58623 (test_program_prefix): This.
58624 * intl/tst-gettext2.sh: Likewise.
58625 * intl/tst-gettext4.sh Likewise.
58626 * intl/tst-gettext6.sh: Likewise.
58627 * intl/tst-translit.sh: Likewise.
58628 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58629 with $(test-program-cmd).
58630 * libio/Makefile ($(objpfx)test-freopen.out): Replace
58631 $(run-program-prefix) with $(test-program-prefix).
58632 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58633 (test_program_prefix): This.
58634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58635 $(run-program-prefix) with $(test-program-prefix).
58636 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58637 (test_program_prefix): This.
58638 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58639 * posix/Makefile ($(objpfx)globtest.out): Replace
58640 $(run-via-rtld-prefix) and $(test-wrapper) with
58641 $(test-program-prefix) and $(test-via-rtld-prefix).
58642 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58643 $(test-program-prefix).
58644 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58645 $(host-test-program-cmd).
58646 (tst-spawn-ARGS): Likewise.
58647 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58648 $(test-program-prefix).
58649 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58650 (test_via_rtld_prefix): This.
58651 (test_wrapper): Renamed to ...
58652 (test_program_prefix): This.
58653 (run_program_prefix): Replaced by test_program_prefix.
58654 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58655 (test_program_prefix): This.
58656 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58657 with $(host-test-program-cmd).
58658 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58659 $(run-program-prefix) with $(test-program-prefix).
58660 ($(objpfx)tst-printf.out): Likewise.
58661 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58662 $(test-program-cmd).
58663 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58664 (test_program_prefix): This.
58665 * stdio-common/tst-unbputc.sh: Likewise.
58666 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58667 $(run-program-prefix) with $(test-program-prefix).
58668 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58669 (test_program_prefix): This.
58670 * string/Makefile ($(objpfx)tst-svc.out): Replace
58671 $(built-program-cmd) with $(test-program-cmd).
58672
58673 2013-01-11 Andreas Jaeger <aj@suse.de>
58674
58675 [BZ #15003]
58676 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58677 value. Sync with Linux 3.7.
58678
58679 2013-01-10 David S. Miller <davem@davemloft.net>
58680
58681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58684
58685 2013-01-10 Roland McGrath <roland@hack.frob.com>
58686
58687 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58688 never set.
58689 * configure: Regenerated.
58690
58691 2013-01-10 David S. Miller <davem@davemloft.net>
58692
58693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58694 sparc V9 rather than using V8 code.
58695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58697
58698 2013-01-10 Roland McGrath <roland@hack.frob.com>
58699
58700 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58701 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58702 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58703 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58704 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58705 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58706 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58707 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58708 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58709 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58710 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58711 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58712 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58713 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58714 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58715 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58716 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58717 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58718 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58719 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58720 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58721 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58722 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58723 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58724 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58725 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58726 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58727
58728 2013-01-10 David S. Miller <davem@davemloft.net>
58729
58730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58731
58732 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
58733
58734 * posix/Makefile (tests-static): New variable.
58735 (tests): Add $(tests-static).
58736 (tst-exec-static-ARGS): New variable.
58737 (tst-spawn-static-ARGS): Likewise.
58738 * posix/tst-exec-static.c: New file.
58739 * posix/tst-spawn-static.c: Likewise.
58740 * posix/tst-exec.c: Support run directly.
58741 * posix/tst-spawn.c: Likewise.
58742
58743 2013-01-10 Joseph Myers <joseph@codesourcery.com>
58744
58745 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58746 long.
58747 * math/bits/mathcalls.h (llrint): Likewise.
58748 (llround): Likewise.
58749 * stdlib/stdlib.h (struct drand48_data): Likewise.
58750 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58751 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58752 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58753 Likewise.
58754 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58755 Likewise.
58756 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58757 (elf_greg_t): Likewise.
58758 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58759 (__jmp_buf): Likewise.
58760 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58761 definitions.
58762 (llrint): Likewise, for all definitions.
58763 (llrintl): Likewise.
58764
58765 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58766 Remove [__GNUC__] condition.
58767 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58768 condition to just [__USE_ISOC99].
58769 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58770
58771 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
58772
58773 [BZ #14200]
58774 * sysdeps/unix/sysv/linux/x86/bits/environments.h
58775 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58776 defined.
58777 (_POSIX_V6_ILP32_OFF32): Likewise.
58778 (_XBS5_ILP32_OFF32): Likewise.
58779 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58780 (__ILP32_OFFBIG_LDFLAGS): Likewise.
58781
58782 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58783
58784 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58785
58786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58787 doubles __mpexp_twomm1. Adjust usage.
58788 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58789 Remove.
58790
58791 2013-01-10 Andreas Schwab <schwab@suse.de>
58792
58793 [BZ #14964]
58794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58795 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58796
58797 2013-01-09 David S. Miller <davem@davemloft.net>
58798
58799 [BZ #15003]
58800 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58801 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58802 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58803 (TCP_FASTOPEN): Define.
58804 (tcp_repair_opt): New structure.
58805 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58806 enum values.
58807 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58808 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58809 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58810 (tcp_cookie_transactions): New structure.
58811
58812 2013-01-09 Anton Blanchard <anton@samba.org>
58813
58814 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58815 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58816 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58817 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58818
58819 2013-01-09 Joseph Myers <joseph@codesourcery.com>
58820
58821 * include/features.h (__USE_ANSI): Remove.
58822
58823 2013-01-09 Roland McGrath <roland@hack.frob.com>
58824
58825 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58826
58827 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58828
58829 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
58830
58831 * sysdeps/s390/fpu/libm-test-ulps: Update.
58832
58833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58834
58835 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58836 (__acr): Likewise.
58837 (__cpy): Likewise.
58838 (norm): Likewise.
58839 (denorm): Likewise.
58840 (__mp_dbl): Likewise.
58841 (__dbl_mp): Likewise.
58842 (add_magnitudes): Likewise.
58843 (sub_magnitudes): Likewise.
58844 (__add): Likewise.
58845 (__sub): Likewise.
58846 (__mul): Likewise.
58847 (__inv): Likewise.
58848 (__dvd): Likewise.
58849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58850 (__acr): Likewise.
58851 (__cpy): Likewise.
58852 (norm): Likewise.
58853 (denorm): Likewise.
58854 (__mp_dbl): Likewise.
58855 (__dbl_mp): Likewise.
58856 (add_magnitudes): Likewise.
58857 (sub_magnitudes): Likewise.
58858 (__add): Likewise.
58859 (__sub): Likewise.
58860 (__mul): Likewise.
58861 (__inv): Likewise.
58862 (__dvd): Likewise.
58863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58864 (__acr): Likewise.
58865 (__cpy): Likewise.
58866 (norm): Likewise.
58867 (denorm): Likewise.
58868 (__mp_dbl): Likewise.
58869 (__dbl_mp): Likewise.
58870 (add_magnitudes): Likewise.
58871 (sub_magnitudes): Likewise.
58872 (__add): Likewise.
58873 (__sub): Likewise.
58874 (__mul): Likewise.
58875 (__inv): Likewise.
58876 (__dvd): Likewise.
58877
58878 2013-01-08 Joseph Myers <joseph@codesourcery.com>
58879
58880 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58881 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58882 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58883 2 && __USE_EXTERN_INLINES]: Likewise.
58884
58885 2013-01-08 Andreas Jaeger <aj@suse.de>
58886
58887 [BZ# 14985]
58888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58889 Remove.
58890 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58891 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58892
58893 2013-01-07 Anton Blanchard <anton@samba.org>
58894
58895 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58896 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58897 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58898 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58901 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58902 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58915 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58916 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58918 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58919 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58920 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58921 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58922 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58925 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58928 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58929 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58930 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58933 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58935 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58938
58939 2013-01-07 Joseph Myers <joseph@codesourcery.com>
58940
58941 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58942 (__MALLOC_PMT): Likewise.
58943 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58944 [__GNUC__], only on [_LIBC].
58945 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58946 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58947 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58948 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58949 forward declaration.
58950 (realloc_hook_ini): Likewise.
58951 (memalign_hook_ini): Likewise.
58952 (__libc_memalign): Do not use __MALLOC_PMT in variable
58953 declaration.
58954 (__libc_valloc): Likewise.
58955 (__libc_pvalloc): Likewise.
58956 (__libc_calloc): Likewise.
58957 (__posix_memalign): Likewise.
58958
58959 [BZ #14996]
58960 * math/s_casinh.c: Include <float.h>.
58961 (__casinh): Do not do computation with squaring and square root
58962 for large arguments.
58963 * math/s_casinhf.c: Include <float.h>.
58964 (__casinhf): Do not do computation with squaring and square root
58965 for large arguments.
58966 * math/s_casinhl.c: Include <float.h>.
58967 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58968 (__casinhl): Do not do computation with squaring and square root
58969 for large arguments.
58970 * math/libm-test.inc (casin_test): Add more tests.
58971 (casinh_test): Likewise.
58972 * sysdeps/i386/fpu/libm-test-ulps: Update.
58973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58974
58975 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
58976
58977 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58978 (__x86_64_raw_data_cache_size): Likewise.
58979 (__x86_64_data_cache_size_half): Likewise.
58980 (__x86_64_raw_data_cache_size_half): Likewise.
58981 (__x86_64_shared_cache_size): Likewise.
58982 (__x86_64_raw_shared_cache_size): Likewise.
58983 (__x86_64_shared_cache_size_half): Likewise.
58984 (__x86_64_raw_shared_cache_size_half): Likewise.
58985 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58986 to ...
58987 (__x86_data_cache_size): This.
58988 (__x86_64_raw_data_cache_size): Renamed to ...
58989 (__x86_raw_data_cache_size): This.
58990 (__x86_64_data_cache_size_half): Renamed to ...
58991 (__x86_data_cache_size_half): This.
58992 (__x86_64_raw_data_cache_size_half): Renamed to ...
58993 (__x86_raw_data_cache_size_half): This.
58994 (__x86_64_shared_cache_size): Renamed to ...
58995 (__x86_shared_cache_size): This.
58996 (__x86_64_raw_shared_cache_size): Renamed to ...
58997 (__x86_raw_shared_cache_size): This.
58998 (__x86_64_shared_cache_size_half): Renamed to ...
58999 (__x86_shared_cache_size_half): This.
59000 (__x86_64_raw_shared_cache_size_half): Renamed to ...
59001 (__x86_raw_shared_cache_size_half): This.
59002 * sysdeps/x86_64/memcpy.S: Updated.
59003 * sysdeps/x86_64/memset.S: Likewise.
59004 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59007
59008 2013-01-04 David S. Miller <davem@davemloft.net>
59009
59010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59011
59012 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
59013
59014 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59015 1 to avoid redefinition warning.
59016 (__USE_GNU): Don't define.
59017 (init_signaling_nan): Protoize.
59018
59019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59020
59021 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
59022
59023 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59025 (__cpymn): Likewise.
59026 (norm): Remove commented code.
59027 (denorm): Likewise.
59028 (__mp_dbl): Likewise.
59029 (__inv): Likewise.
59030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59031 (__cpymn): Likewise.
59032 (norm): Remove commented code.
59033 (denorm): Likewise.
59034 (__mp_dbl): Likewise.
59035 (__inv): Likewise.
59036
59037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59038 mp_no value for 1.0 and 2.0.
59039 (norm): Use RADIXI instead of radixi.d.
59040 (denorm): Likewise.
59041 (__mul): Use 0.0 instead of zero.d.
59042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59043 mp_no value for 1.0 and 2.0.
59044 (norm): Use RADIXI instead of radixi.d.
59045 (denorm): Likewise.
59046 (__mul): Use 0.0 instead of zero.d.
59047
59048 2013-01-04 Joseph Myers <joseph@codesourcery.com>
59049
59050 [BZ #14994]
59051 * math/s_casinh.c (__casinh): Reduce finite argument to first
59052 quadrant then set signs of results at the end.
59053 * math/s_casinhf.c (__casinhf): Likewise.
59054 * math/s_casinhl.c (__casinhl): Likewise.
59055 * math/libm-test.inc (casin_test): Add more tests.
59056 (casinh_test): Likewise.
59057 * sysdeps/i386/fpu/libm-test-ulps: Update.
59058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59059
59060 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
59061
59062 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59063
59064 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59065
59066 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59067 declarations.
59068 (denorm): Likewise.
59069 (__mp_dbl): Likewise.
59070 (__inv): Likewise.
59071
59072 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59073 and adjust the header comment.
59074
59075 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59076 variable name from declaration.
59077
59078 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
59079
59080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59081 Initialize COMMON_CPUID_INDEX_7 element.
59082 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59083 (CPUID_RTM): Likewise.
59084 (HAS_RTM): Likewise.
59085 (COMMON_CPUID_INDEX_7): New enum.
59086
59087 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
59088
59089 [BZ #14981]
59090 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59091 size is zero, record memory as freed.
59092
59093 2013-01-03 Andreas Jaeger <aj@suse.de>
59094
59095 * po/ia.po: Add new Interlingua translation.
59096
59097 2012-01-03 Allan McRae <allan@archlinux.org>
59098
59099 * locale/programs/localedef.c: Fix description of '--posix' flag.
59100
59101 2013-01-02 Joseph Myers <joseph@codesourcery.com>
59102
59103 * NEWS: Update dates in second copyright notice.
59104 * README: Update copyright dates in example.
59105 * manual/libc.texinfo: Update copyright dates.
59106 * scripts/test-installation.pl: Update copyright date in --version
59107 output.
59108
59109 * hurd/ctty-input.c: Fix copyright notice formatting.
59110 * hurd/ctty-output.c: Likewise.
59111 * hurd/dtable.c: Likewise.
59112 * hurd/hurd-raise.c: Likewise.
59113 * hurd/hurdprio.c: Likewise.
59114 * hurd/msgportdemux.c: Likewise.
59115 * misc/sys/file.h: Likewise.
59116 * misc/sys/ioctl.h: Likewise.
59117 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59118 * sysdeps/mach/hurd/chdir.c: Likewise.
59119 * sysdeps/mach/hurd/fchdir.c: Likewise.
59120 * sysdeps/mach/hurd/rename.c: Likewise.
59121 * sysdeps/mach/hurd/rmdir.c: Likewise.
59122 * sysdeps/mach/hurd/seekdir.c: Likewise.
59123 * sysdeps/mach/hurd/setsid.c: Likewise.
59124 * sysdeps/posix/wait3.c: Likewise.
59125
59126 * All files with FSF copyright notices: Update copyright dates
59127 using scripts/update-copyrights.
59128 * intl/plural.c: Regenerated.
59129 * locale/programs/charmap-kw.h: Likewise.
59130 * locale/programs/locfile-kw.h: Likewise.
59131
59132 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
59133
59134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59135 four values.
59136
59137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59138 calculation loop and add branch prediction.
59139
59140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59141 check access beyond bounds of m1np.
59142
59143 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59144 MPTWO.
59145 (__inv): Remove local variable MPTWO to use the global
59146 constant.
59147 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59149 variable MPTWO.
59150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59151 MP3HALFS static const.
59152
59153 2013-01-01 David S. Miller <davem@davemloft.net>
59154
59155 * po/ca.po: Update from translation team.
59156
59157 2013-01-01 Joseph Myers <joseph@codesourcery.com>
59158
59159 * scripts/update-copyrights: New file.
59160 * Makeconfig: Reformat copyright notice.
59161 * ctype/ctype.h: Likewise.
59162 * debug/swprintf_chk.c: Likewise.
59163 * elf/dl-cache.c: Likewise.
59164 * elf/dl-debug.c: Likewise.
59165 * elf/dl-object.c: Likewise.
59166 * grp/initgroups.c: Likewise.
59167 * hurd/Makefile: Likewise.
59168 * hurd/hurd/signal.h: Likewise.
59169 * hurd/hurdfault.c: Likewise.
59170 * hurd/hurdioctl.c: Likewise.
59171 * hurd/hurdlookup.c: Likewise.
59172 * hurd/intr-msg.c: Likewise.
59173 * iconv/gconv_open.c: Likewise.
59174 * libio/swprintf.c: Likewise.
59175 * locale/lc-ctype.c: Likewise.
59176 * locale/nl_langinfo.c: Likewise.
59177 * mach/Machrules: Likewise.
59178 * mach/Makefile: Likewise.
59179 * malloc/obstack.h: Likewise.
59180 * manual/Makefile: Likewise.
59181 * manual/tsort.awk: Likewise.
59182 * misc/bits/stab.def: Likewise.
59183 * nis/nis_print_group_entry.c: Likewise.
59184 * nis/nis_table.c: Likewise.
59185 * nis/nss_compat/compat-pwd.c: Likewise.
59186 * nis/nss_compat/compat-spwd.c: Likewise.
59187 * po/Makefile: Likewise.
59188 * posix/fnmatch.c: Likewise.
59189 * posix/regex.h: Likewise.
59190 * resolv/Makefile: Likewise.
59191 * resolv/nss_dns/dns-network.c: Likewise.
59192 * resolv/res_hconf.c: Likewise.
59193 * scripts/gen-sorted.awk: Likewise.
59194 * soft-fp/soft-fp.h: Likewise.
59195 * stdio-common/printf.h: Likewise.
59196 * stdlib/monetary.h: Likewise.
59197 * stdlib/random.c: Likewise.
59198 * stdlib/random_r.c: Likewise.
59199 * sysdeps/generic/Makefile: Likewise.
59200 * sysdeps/gnu/Makefile: Likewise.
59201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59215 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59224 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59225 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59229 * sysdeps/mach/hurd/errnos.awk: Likewise.
59230 * sysdeps/mach/hurd/fork.c: Likewise.
59231 * sysdeps/mach/hurd/getcwd.c: Likewise.
59232 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59233 * sysdeps/mach/hurd/mmap.c: Likewise.
59234 * sysdeps/mach/hurd/utimes.c: Likewise.
59235 * sysdeps/mach/hurd/xmknod.c: Likewise.
59236 * sysdeps/posix/profil.c: Likewise.
59237 * sysdeps/posix/readdir_r.c: Likewise.
59238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59239 * sysdeps/powerpc/bits/setjmp.h: Likewise.
59240 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59241 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59243 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59245 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59249 * sysdeps/pthread/lio_listio.c: Likewise.
59250 * sysdeps/sparc/dl-procinfo.h: Likewise.
59251 * sysdeps/unix/i386/sysdep.S: Likewise.
59252 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59253 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59254 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59255 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59257 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59258 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59259 * sysdeps/unix/sysv/linux/speed.c: Likewise.
59260 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59261 * sysdeps/wordsize-32/divdi3.c: Likewise.
59262 * time/sys/time.h: Likewise.
59263 * wcsmbs/Makefile: Likewise.
59264
59265 2013-01-01 David S. Miller <davem@davemloft.net>
59266
59267 * po/fr.po: Update from translation team.
59268
59269 * catgets/gencat.c: Update copyright year.
59270 * csu/version.c: Likewise.
59271 * debug/catchsegv.sh: Likewise.
59272 * debug/pcprofiledump.c: Likewise.
59273 * debug/xtrace.sh: Likewise.
59274 * elf/ldconfig.c: Likewise.
59275 * elf/ldd.bash.in: Likewise.
59276 * elf/pldd.c: Likewise.
59277 * elf/sotruss.ksh: Likewise.
59278 * elf/sprof.c: Likewise.
59279 * iconv/iconv_prog.c: Likewise.
59280 * iconv/iconvconfig.c: Likewise.
59281 * locale/programs/locale.c: Likewise.
59282 * locale/programs/localedef.c: Likewise.
59283 * login/programs/pt_chown.c: Likewise.
59284 * malloc/memusage.sh: Likewise.
59285 * malloc/memusagestat.c: Likewise.
59286 * malloc/mtrace.pl: Likewise.
59287 * nscd/nscd.c: Likewise.
59288 * nss/getent.c: Likewise.
59289 * nss/makedb.c: Likewise.
59290 * posix/getconf.c: Likewise.
59291
59292 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
59293
59294 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59295 numbers.
59296
59297 2012-12-30 Mike Frysinger <vapier@gentoo.org>
59298
59299 * math/bits/mathcalls.h (modf): Use __nonnull.
59300
59301 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59302
59303 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59304 (split): Use macro CN instead of the bare value.
59305 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59306 could be used.
59307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59308 instead of the bare value.
59309 (power1): Likewise.
59310
59311 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59312
59313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59314 __ATAN_TWOM.
59315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59316
59317 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59318 their values.
59319 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59321 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59322 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59323
59324 2012-12-28 Andreas Jaeger <aj@suse.de>
59325
59326 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
59327 values are from Linux 3.7.
59328
59329 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59330 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
59331
59332 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59333
59334 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59335 TRUE case.
59336
59337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59338 (norm): Likewise.
59339 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59340 variables with preprocessor constants.
59341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59343 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59344
59345 2012-12-27 Bruno Haible <bruno@clisp.org>
59346
59347 [BZ #14317]
59348 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59349 only if needed.
59350
59351 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59352
59353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59354 and use variable directly.
59355 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59356
59357 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59358 MPONE.
59359 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59361 variable MPONE.
59362 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59364 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59365 include directive. Remove local variable MPONE.
59366 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59369
59370 2012-12-25 David S. Miller <davem@davemloft.net>
59371
59372 * version.h (RELEASE): Set to "development".
59373 (VERSION): Set to "2.17.90".
59374 * NEWS: Add 2.18 section.
59375
59376 2012-12-21 David S. Miller <davem@davemloft.net>
59377
59378 * po/hr.po: Update from translation team.
59379
59380 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59381
59382 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59383
59384 2012-12-19 Steve Ellcey <sellcey@mips.com>
59385
59386 * NEWS: Mention new memcpy for MIPS.
59387
59388 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59389
59390 * manual/contrib.texi (Contributors): Spelling correction.
59391
59392 2012-12-15 David S. Miller <davem@davemloft.net>
59393
59394 * po/ru.po: Update from translation team.
59395
59396 2012-12-13 David S. Miller <davem@davemloft.net>
59397
59398 * NEWS: Mention IFUNC testsuite enhancements.
59399
59400 * po/pl.po: Update from translation team.
59401 * po/bg.po: Likewise.
59402
59403 * manual/contrib.texi (Contributors): Update entries for Hongjiu
59404 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
59405
59406 2012-12-11 David S. Miller <davem@davemloft.net>
59407
59408 * po/sv.po: Update from translation team.
59409
59410 * po/vi.po: Update from translation team.
59411
59412 * po/cs.po: Update from translation team.
59413
59414 * po/de.po: Update from translation team.
59415 * po/eo.po: Likewise.
59416 * po/nl.po: Likewise.
59417
59418 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59419
59420 [BZ #14246]
59421 * manual/argp.texi (Argp Helper Functions): Move node to follow
59422 Argp Parsing State.
59423
59424 [BZ #14872]
59425 * manual/conf.texi (Limits on File System Capacity): Mention if
59426 terminating null is included in the max size.
59427
59428 2012-12-10 Andreas Jaeger <aj@suse.de>
59429
59430 * po/cs.po: Update from translation team.
59431
59432 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59433
59434 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59435 void pointer and cast to uintptr_t.
59436 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59437 path.
59438 * sysdeps/s390/s390-64/memcpy.S: Likewise.
59439 * sysdeps/s390/s390-64/memset.S: Likewise.
59440
59441 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
59442
59443 [BZ #14833]
59444 * menual/message.texi (Message Translation): Fix typos.
59445 (Helper programs for gettext): Likewise.
59446
59447 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
59448
59449 [BZ #14898]
59450 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59451 Change to -1.
59452
59453 2012-12-07 David S. Miller <davem@davemloft.net>
59454
59455 * po/libc.pot: Update.
59456
59457 2012-12-07 Richard Henderson <rth@redhat.com>
59458
59459 [BZ #10114]
59460 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59461 normal/normal case to before the switch.
59462 (_FP_DIV): Likewise.
59463
59464 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
59465 Mike Frysinger <vapier@gentoo.org>
59466
59467 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59468 check for __NR_fadvise64_64.
59469
59470 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
59471
59472 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59473 0, not just to plain "0" as a statement.
59474 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59475 with cw.
59476
59477 2012-12-06 Joseph Myers <joseph@codesourcery.com>
59478
59479 * NEWS: Use sourceware.org in Bugzilla URL.
59480
59481 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
59482
59483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59484 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59485
59486 * stdio-common/tst-put-error.c (do_test): Add newline to the
59487 padded test to ensure flush.
59488
59489 2012-12-05 Jeff Law <law@redhat.com>
59490
59491 * sunrpc/etc.rpc (fedfs_admin): Add entry.
59492
59493 2012-12-05 Joseph Myers <joseph@codesourcery.com>
59494
59495 * README: Don't refer to ports add-on as distributed separately.
59496 Mention AArch64 in list of systems supported in the ports add-on.
59497
59498 * LICENSES: Add more non-FSF copyright and license notices.
59499
59500 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59501 ((unused)).
59502
59503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59504
59505 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59506 10000 as width of padded output.
59507
59508 2012-12-04 Joseph Myers <joseph@codesourcery.com>
59509
59510 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59511
59512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59513 variable LX with __attribute__ ((unused)).
59514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59515 Likewise.
59516 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59519 with __attribute__ ((unused)).
59520
59521 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
59522
59523 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59524
59525 2012-12-04 Joseph Myers <joseph@codesourcery.com>
59526
59527 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59528 (CFLAGS-nldbl-acos.c): New variable.
59529 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59530 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59531 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59532 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59533 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59534 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59535 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59536 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59537 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59538 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59539 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59540 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59541 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59542 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59543 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59544 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59545 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59546 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59547 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59548 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59549 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59550 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59551 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59552 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59553 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59554 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59555 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59556 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59557 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59558 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59559 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59560 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59561 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59562 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59563 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59564 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59565 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59566 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59567 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59568 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59569 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59570 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59571 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59572 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59573 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59574 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59575 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59576 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59577 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59578 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59579 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59580 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59581 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59582 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59583 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59584 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59585 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59586 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59587 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59588 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59589 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59590 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59591 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59592 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59593 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59594 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59595 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59596 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59597 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59598 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59599 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59600 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59601 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59602 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59603 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59604 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59605 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59606 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59607 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59608 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59609 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59610 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59611 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59612 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59613 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59614 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59615 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59616 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59617 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59618 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59619 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59620 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59621 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59622 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59623 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59624 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59625 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59626
59627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59628 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59629
59630 [BZ #14914]
59631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59632 whole low double instead of just low 47 bits when splitting values
59633 into two parts.
59634
59635 2012-12-03 Allan McRae <allan@archlinux.org>
59636
59637 * manual/stdio.texi (Predefined Printf Handlers): Remove
59638 @hsep and @vsep usage.
59639
59640 2012-12-03 Mike Frysinger <vapier@gentoo.org>
59641
59642 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59643 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59644
59645 2012-12-03 Jeff Law <law@redhat.com>
59646
59647 * time/sys/time.h (settimeofday): Do not mark TV argument
59648 as __nonnull.
59649
59650 2012-12-01 Mike Frysinger <vapier@gentoo.org>
59651
59652 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59653 when currently writing and seek to current position when not.
59654 * libio/Makefile (tests): Remove bug-fclose1.
59655 * libio/bug-fclose1.c: Delete.
59656
59657 2012-12-01 Joseph Myers <joseph@codesourcery.com>
59658
59659 * manual/arith.texi (feenableexcept): Fix typo.
59660 (fedisableexcept): Likewise.
59661
59662 2012-11-30 Roland McGrath <roland@hack.frob.com>
59663
59664 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59665 second, differently-typed declaration, rather than a cast.
59666
59667 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
59668
59669 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59670 * include/rpc/svc.h: ... here.
59671
59672 2012-11-30 Aurelien Jarno <aurel32@debian.org>
59673
59674 [BZ #13013]
59675 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59676 depending n and resplen2 to catch cases where answer
59677 equals answerp2.
59678
59679 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
59680
59681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59682 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59683
59684 2012-11-29 Mike Frysinger <vapier@gentoo.org>
59685
59686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59687
59688 2012-11-29 Roland McGrath <roland@hack.frob.com>
59689
59690 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59691
59692 2012-11-28 Jeff Law <law@redhat.com>
59693
59694 [BZ #13761]
59695 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59696 dataset_temporary. Track alloca usage into alloca_used.
59697 If dataset is large allocate and release it via malloc/free.
59698
59699 2012-06-04 Florian Weimer <fweimer@redhat.com>
59700
59701 [BZ #14197]
59702 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59703
59704 2012-11-28 David S. Miller <davem@davemloft.net>
59705
59706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59707
59708 2012-11-28 Joseph Myers <joseph@codesourcery.com>
59709
59710 [BZ #14803]
59711 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59712 of pi/2 rounded to nearest to 64 bits.
59713 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59714 nearest to 64 bits.
59715 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59716 bits.
59717
59718 2012-11-28 Jeff Law <law@redhat.com>
59719 Martin Osvald <mosvald@redhat.com>
59720
59721 [BZ #14889]
59722 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59723 * sunrpc/svc.c: Include time.h.
59724 (__svc_accept_failed): New function.
59725 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59726 any reason other than EINTR, call __svc_accept_failed.
59727 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59728 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59729
59730 2012-11-28 Andreas Schwab <schwab@suse.de>
59731
59732 * scripts/abilist.awk: Also handle indirect functions in .opd
59733 section.
59734
59735 2012-11-28 Joseph Myers <joseph@codesourcery.com>
59736
59737 [BZ #13881]
59738 * sysdeps/x86/fpu/powl_helper.c: New file.
59739 * sysdeps/x86/fpu/Makefile: Likewise.
59740 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59741 (p3): New object.
59742 (__ieee754_powl): Use __powl_helper for finite arguments except
59743 integer exponents below 8.
59744 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59745 (p3): New object.
59746 (__ieee754_powl): Use __powl_helper for finite arguments except
59747 integer exponents below 8.
59748 * math/libm-test.inc (pow_test): Add more tests and enable some
59749 previously disabled tests.
59750 * sysdeps/i386/fpu/libm-test-ulps: Update.
59751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59752
59753 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59754 Carlos O'Donell <carlos_odonell@mentor.com>
59755
59756 * nss/makedb.c (is_prime): Assert that input is odd and greater
59757 than 4. Note that fact in a comment too.
59758 (next_prime): Add 4 to input.
59759
59760 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59761
59762 [BZ #11741]
59763 * libio/Makefile (tests): Add test case tst-fwrite-error.
59764 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59765 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59766 * libio/tst-fwrite-error.c: New test case.
59767
59768 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
59769
59770 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59771 before casting to void *.
59772 * include/libc-internal.h (__pointer_type): New macro.
59773 (__integer_if_pointer_type_sub): Likewise.
59774 (__integer_if_pointer_type): Likewise.
59775 (cast_to_integer): Likewise.
59776 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59777 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59778 before casting to atomic64_t.
59779 (atomic_exchange_acq): Likewise.
59780 (__arch_exchange_and_add_body): Likewise.
59781 (__arch_add_body): Likewise.
59782 (atomic_add_negative): Likewise.
59783 (atomic_add_zero): Likewise.
59784
59785 2012-11-26 Joseph Myers <joseph@codesourcery.com>
59786
59787 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59788 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59789 (add_fdes): Likewise.
59790 (linear_search_fdes): Likewise.
59791 (binary_search_unencoded_fdes): Likewise.
59792
59793 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
59794
59795 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59796
59797 2012-11-24 Adam Conrad <adconrad@0c3.net>
59798
59799 * configure.in: Autodetect C++ header directories.
59800 * configure: Regenerated.
59801
59802 2012-11-23 Mike Frysinger <vapier@gentoo.org>
59803
59804 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59805
59806 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
59807
59808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59809
59810 2012-11-22 Joseph Myers <joseph@codesourcery.com>
59811
59812 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59813 LDBL_MANT_DIG == 106]: Disable some tests.
59814 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59815 Likewise.
59816 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59817 Likewise.
59818
59819 [BZ #14871]
59820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59821 input for small inputs. Return +/- pi/2 for large inputs.
59822 * math/libm-test.inc (atan_test): Add more tests.
59823
59824 * sysdeps/generic/unwind-dw2-fde-glibc.c
59825 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59826 __attribute__ ((unused)).
59827
59828 [BZ #14645]
59829 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59830 x * y if x and y are nonzero and z is zero.
59831
59832 [BZ #14811]
59833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59834 nonzero exponents with absolute value below 0x1p-117 to +/-
59835 0x1p-117.
59836
59837 [BZ #14869]
59838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59839 up arguments below 2**-450, not just those below 2**-500.
59840 * math/libm-test.inc (hypot_test): Add another test.
59841
59842 [BZ #14868]
59843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59844 Return a+b for ratio over 2**120, not 2**60.
59845 * math/libm-test.inc (hypot_test): Add another test.
59846
59847 * math/libm-test.inc (clog_test): Use
59848 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59849 (clog10_test): Likewise.
59850
59851 [BZ #6778]
59852 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59853
59854 2012-11-22 Andreas Schwab <schwab@suse.de>
59855
59856 * sysdeps/i386/fpu/libm-test-ulps: Update.
59857
59858 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
59859
59860 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59861 printf output with newline.
59862
59863 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
59864
59865 [BZ #14865]
59866 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59867 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59868 -z nodlopen, -z initfirst and -z execstack support.
59869 * configure: Regenerated.
59870
59871 * elf/elf.h (DF_1_NODIRECT): New macro.
59872 (DF_1_IGNMULDEF): Likewise.
59873 (DF_1_NOKSYMS): Likewise.
59874 (DF_1_NOHDR): Likewise.
59875 (DF_1_EDITED): Likewise.
59876 (DF_1_NORELOC): Likewise.
59877 (DF_1_SYMINTPOSE): Likewise.
59878 (DF_1_GLOBAUDIT): Likewise.
59879 (DF_1_SINGLETON): Likewise.
59880 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59881 DT_1_SUPPORTED_MASK bits.
59882 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59883
59884 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
59885
59886 * sysdeps/unix/make-syscalls.sh: Document prefixes.
59887
59888 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
59889
59890 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59891 macro.
59892
59893 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59894 (sendmmsg): Move declarations...
59895 * socket/sys/socket.h: ... here.
59896 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59897 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59898 include it from...
59899 * socket/recvmmsg.c: ... this new file.
59900 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59901 (sendmmsg): Rename to __sendmmsg, create weak alias and make
59902 definition of __sendmmsg hidden.
59903 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59904 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59905 Move ENOSYS stub into and include it from...
59906 * socket/sendmmsg.c: ... this new file.
59907 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59908 (sysdep_routines): Move recvmmsg and sendmmsg...
59909 * socket/Makefile (routines): ... here.
59910 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59911 (GLIBC_PRIVATE): Add __sendmmsg.
59912 * include/sys/socket.h (__sendmmsg): Add declarations.
59913 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59914 sendmmsg.
59915
59916 2012-11-20 Joseph Myers <joseph@codesourcery.com>
59917
59918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59919 variable I1 with __attribute__ ((unused)).
59920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59921
59922 2012-11-19 Joseph Myers <joseph@codesourcery.com>
59923
59924 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59925 DUMMY variables with __attribute__ ((unused)).
59926
59927 * bits/byteswap.h: Include <bits/types.h>.
59928 (__bswap_64): Use __uint64_t instead of unsigned long long int.
59929
59930 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
59931
59932 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59933 string_t. Do not manually set errno.
59934 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59935 length with __strnlen. Make sure to both set errno and return it on
59936 failure.
59937
59938 2012-11-19 David S. Miller <davem@davemloft.net>
59939
59940 With help from Joseph Myers.
59941 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59942 very large arguments properly.
59943 * math/libm-test.inc (atan_test): New tests.
59944 (atan2_test): New tests.
59945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59947
59948 2012-11-19 Joseph Myers <joseph@codesourcery.com>
59949
59950 [BZ #14856]
59951 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59952 Define to 3.
59953
59954 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59955 [POSIX] (EADDRNOTAVAIL): Likewise.
59956 [POSIX] (EAFNOSUPPORT): Likewise.
59957 [POSIX] (EALREADY): Likewise.
59958 [POSIX] (ECONNABORTED): Likewise.
59959 [POSIX] (ECONNREFUSED): Likewise.
59960 [POSIX] (ECONNRESET): Likewise.
59961 [POSIX] (EDESTADDRREQ): Likewise.
59962 [POSIX] (EDQUOT): Likewise.
59963 [POSIX] (EHOSTUNREACH): Likewise.
59964 [POSIX] (EIDRM): Likewise.
59965 [POSIX] (EISCONN): Likewise.
59966 [POSIX] (ELOOP): Likewise.
59967 [POSIX] (EMULTIHOP): Likewise.
59968 [POSIX] (ENETDOWN): Likewise.
59969 [POSIX] (ENETUNREACH): Likewise.
59970 [POSIX] (ENOBUFS): Likewise.
59971 [POSIX] (ENODATA): Likewise.
59972 [POSIX] (ENOLINK): Likewise.
59973 [POSIX] (ENOMSG): Likewise.
59974 [POSIX] (ENOPROTOOPT): Likewise.
59975 [POSIX] (ENOSR): Likewise.
59976 [POSIX] (ENOSTR): Likewise.
59977 [POSIX] (ENOTCONN): Likewise.
59978 [POSIX] (ENOTSOCK): Likewise.
59979 [POSIX] (EOPNOTSUPP): Likewise.
59980 [POSIX] (EOVERFLOW): Likewise.
59981 [POSIX] (EPROTO): Likewise.
59982 [POSIX] (EPROTONOSUPPORT): Likewise.
59983 [POSIX] (EPROTOTYPE): Likewise.
59984 [POSIX] (ESTALE): Likewise.
59985 [POSIX] (ETIME): Likewise.
59986 [POSIX] (ETXTBSY): Likewise.
59987 [POSIX] (EWOULDBLOCK): Likewise.
59988 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59989 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59990 [POSIX] (SEEK_CUR): Likewise.
59991 [POSIX] (SEEK_END): Likewise.
59992 [POSIX || UNIX98] (mode_t): Do not require.
59993 [POSIX] (off_t): Likewise.
59994 [POSIX] (pid_t): Likewise.
59995 [POSIX] (sys/stat.h): Do not allow header.
59996 [POSIX] (unistd.h): Likewise.
59997 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59998 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59999 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60000 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60001 require.
60002 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60003 sigevent): Specify elements.
60004 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60005 entry.
60006 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60007 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60008
60009 * conform/data/cpio.h-data [POSIX]: Disable whole file.
60010 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60011 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60012 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60013 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60014 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60015 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60016 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60017 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60018 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60019 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60020 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60021 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60023 Likewise.
60024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60025 Likewise.
60026 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60027 Likewise.
60028 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60029 Likewise.
60030 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60034 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60035 Specify lower bound on value.
60036 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60037 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60038 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60039 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60040 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60042 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60043 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60044 value.
60045 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60046 as optional.
60047 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60048 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60049 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60050 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60051 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60052 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60057 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60058 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60059 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60060 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60061 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60062 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60063 entry.
60064 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60065 optional.
60066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60068 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60069 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60070 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60072 Likewise.
60073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60075 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60076 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60077 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
60078 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60080 as optional.
60081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60084 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60085 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60086 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60087 specify as optional.
60088 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60089 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60091 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60092 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60093 [XPG3] (NL_LANGMAX): Likewise.
60094 [POSIX || XPG3] (NL_MSGMAX): Likewise.
60095 [POSIX || XPG3] (NL_NMAX): Likewise.
60096 [POSIX || XPG3] (NL_SETMAX): Likewise.
60097 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60098 [XPG3] (NZERO): Likewise.
60099 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60100 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60101 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60102 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60103 (REG_ERANGE): Expect.
60104 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60105 optional-constant.
60106 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60107 Use (void) in prototype.
60108 [POSIX] (*_t): Allow.
60109 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60110 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60111 (WRDE_BADVAL): Expect.
60112
60113 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60114 expect.
60115 [XPG3 || XPG4] (O_RSYNC): Likewise.
60116 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60117 Likewise.
60118 [XPG3 || XPG4] (pthread_sigmask): Likewise.
60119 [XPG3 || XPG4] (sigqueue): Likewise.
60120 [XPG3 || XPG4] (sigtimedwait): Likewise.
60121 [XPG3 || XPG4] (sigwaitinfo): Likewise.
60122 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60123 [XPG3 || XPG4] (vsnprintf): Likewise.
60124 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60125 Likewise.
60126 [XPG3 || XPG4] (blksize_t): Likewise.
60127 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60128 Likewise.
60129 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60130 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60131 [XPG3 || XPG4] (struct itimerspec): Likewise.
60132 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60133 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60134 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60135 [XPG3 || XPG4] (clockid_t): Likewise.
60136 [XPG3 || XPG4] (timer_t): Likewise.
60137 [XPG3 || XPG4] (clock_getres): Likewise.
60138 [XPG3 || XPG4] (clock_gettime): Likewise.
60139 [XPG3 || XPG4] (clock_settime): Likewise.
60140 [XPG3 || XPG4] (nanosleep): Likewise.
60141 [XPG3 || XPG4] (timer_create): Likewise.
60142 [XPG3 || XPG4] (timer_delete): Likewise.
60143 [XPG3 || XPG4] (timer_gettime): Likewise.
60144 [XPG3 || XPG4] (timer_getoverrun): Likewise.
60145 [XPG3 || XPG4] (timer_settime): Likewise.
60146 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60147 [XPG3 || XPG4] (getlogin_r): Likewise.
60148 [XPG3 || XPG4] (pread): Likewise.
60149 [XPG3 || XPG4] (pthread_atfork): Likewise.
60150 [XPG3 || XPG4] (pwrite): Likewise.
60151
60152 [BZ #14835]
60153 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60154 <bits/siginfo.h>.
60155
60156 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
60157
60158 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60159 finalizing MALLSTREAM.
60160
60161 * sysdeps/mach/hurd/syncfs.c: New file.
60162
60163 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60164
60165 [BZ #14719]
60166 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60167 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60168 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60169 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60170 (_nss_dns_gethostbyname4_r): Likewise.
60171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60172 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60173
60174 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
60175
60176 [BZ #13763]
60177 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60178
60179 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
60180
60181 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60182 * elf/cache.c (print_entry): Print ",AArch64" for
60183 FLAG_AARCH64_LIB64
60184
60185 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60186 * elf/cache.c (print_entry): Print ",hard-float" for
60187 FLAG_ARM_LIBHF.
60188
60189 2012-11-18 David S. Miller <davem@davemloft.net>
60190
60191 With help from Joseph Myers.
60192 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60193 cutoff to 2**-13.
60194 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60195 cutoff to 2**-25.
60196 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60197 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60198 small.
60199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60200 * math/libm-test.inc (y0_test): New tests.
60201 (y1_test): New tests.
60202 * sysdeps/i386/fpu/libm-test-ulps: Update.
60203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60205
60206 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
60207
60208 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60209 64-bit targets.
60210 * configure: Regenerated.
60211
60212 2012-11-17 David S. Miller <davem@davemloft.net>
60213
60214 [BZ #14811]
60215 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60216 nonzero exponents with absolute value below 0x1p-128 to +/-
60217 0x1p-128.
60218
60219 2012-11-17 Joseph Myers <joseph@codesourcery.com>
60220
60221 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60222
60223 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60224
60225 * posix/getconf-speclist.c: New file.
60226 * posix/posix-envs.def: Likewise.
60227 * posix/confstr.c (START_ENV_GROUP): New macro.
60228 (END_ENV_GROUP): Likewise.
60229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60230 (KNOWN_PRESENT_ENV_STRING): Likewise.
60231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60232 (UNKNOWN_ENVIRONMENT): Likewise.
60233 (confstr): Include posix-envs.def instead of handling
60234 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60235 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60236 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60237 (END_ENV_GROUP): Likewise.
60238 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60239 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60240 (UNKNOWN_ENVIRONMENT): Likewise.
60241 (__sysconf): Include posix-envs.def instead of handling associated
60242 cases directly here.
60243 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60244 preprocessing getconf-speclist.c rather than running getconf or
60245 generating empty file.
60246
60247 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
60248
60249 * scripts/check-local-headers.sh: Ignore 'mach' headers.
60250
60251 2012-11-16 Andrej Lajovic <natrij@gmail.com>
60252
60253 [BZ #14672]
60254 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60255
60256 2012-11-16 David S. Miller <davem@davemloft.net>
60257
60258 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60259 smaller than LDBL_EPSILON/2.0L, just return xm1.
60260
60261 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
60262
60263 * elf/tst-array1.c (init): Set constructor priority to 1000.
60264 (fini): Set destructor priority to 1000.
60265 * elf/tst-array2dep.c: Likewise.
60266
60267 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60268
60269 [BZ #11741]
60270 * libio/fileops.c (_IO_new_file_write): Correctly return error.
60271 (_IO_new_file_xsputn): Also return EOF if none of the input
60272 data was written when overflow failed.
60273 * libio/iopadn.c (_IO_padn): Likewise.
60274 * libio/iowpadn.c (_IO_wpadn): Likewise.
60275 * stdio-common/tst-put-error.c: Add copyright notice.
60276 (do_test): Add case for printing padded string.
60277 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60278 _IO_padn returned error.
60279 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60280 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60281 return EOF.
60282
60283 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60284
60285 * libio/libioP.h: Add comment note that the references to C++
60286 bits are now obsolete.
60287
60288 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60289
60290 * math/libm-test.inc (check_complex): Use asprintf.
60291
60292 2012-11-14 Joseph Myers <joseph@codesourcery.com>
60293
60294 * debug/pcprofiledump.c (print_version): Update copyright year.
60295 * malloc/memusagestat.c (print_version): Likewise.
60296
60297 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
60298
60299 [BZ #14831]
60300 * elf/Makefile (tests): Add tst-audit8.
60301 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60302 ($(objpfx)tst-audit8.out): New target.
60303 (tst-audit8-ENV): New variable.
60304 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60305 audit if l_reloc_result is NULL.
60306 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60307 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60308 * elf/tst-audit8.c: New file.
60309
60310 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60311
60312 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60313 * misc/Makefile (CFLAGS-select.c): Define.
60314 * posix/Makefile (CFLAGS-pause.c): Define.
60315
60316 2012-11-13 David S. Miller <davem@davemloft.net>
60317
60318 * crypt/Makefile: Move test targets after toplevel Rules
60319 inclusion. Grab any necessary sysdep routines when linking.
60320 * crypt/md5.c (md5_process_block): Remove define, we will always
60321 name it __md5_process_block.
60322 (md5_finish_ctx): Update md5_process_block call.
60323 (md5_stream): Likewise.
60324 (md5_process_bytes): Likewise.
60325 (md5_process_block): Rename to __md5_process_block and move to ...
60326 * crypt/md5-block.c: ... here.
60327 * crypt/sha256.c (sha256_process_block): Move to ...
60328 * crypt/sha256-block.c: ... here.
60329 * crypt/sha512.c (sha512_process_block): Move to ...
60330 * crypt/sha512-block.c: ... here.
60331 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60332 path.
60333 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60334 * sysdeps/sparc/sparc64/multiarch/Makefile
60335 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60336 crypt subdir.
60337 (localedef-aux): Add md5 crypto assembler when in locale subdir.
60338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60339 multiarch changes.
60340 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60341 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60342 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60343 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60344 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60345 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60349 file.
60350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60352 file.
60353 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60354
60355 2012-11-13 Joseph Myers <joseph@codesourcery.com>
60356
60357 * timezone/tzselect.ksh: Update from tzcode git revision
60358 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60359 * timezone/zdump.c: Likewise.
60360 * timezone/zic.c: Likewise.
60361 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60362 in TZVERSION setting, not $(PKGVERSION).
60363 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
60364 REPORT_BUGS_TO settings.
60365
60366 [BZ #14838]
60367 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60368 macro.
60369
60370 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60371
60372 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60373 detection to immediately after _FP_ROUND().
60374 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60375 bits are 0.
60376
60377 2012-11-11 David S. Miller <davem@davemloft.net>
60378
60379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60380 inttypes.h
60381 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60382 __close rather than their public counterparts.
60383
60384 2012-11-10 Joseph Myers <joseph@codesourcery.com>
60385
60386 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60387 file.
60388 [UNIX98] (sem_timedwait): Do not expect.
60389 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60390 [XPG4 || UNIX98] (sockatmark): Do not expect.
60391 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60392 (clock_getcpuclockid): Do not expect.
60393 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60394 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60395 Do not expect.
60396 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60397 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60398 [UNIX98] (vwscanf): Likewise.
60399 [UNIX98] (vswscanf): Likewise.
60400
60401 2012-11-09 Joseph Myers <joseph@codesourcery.com>
60402
60403 * timezone/version.h: Remove file.
60404 * timezone/README: Do not refer to version.h.
60405 * timezone/Makefile ($(objpfx)zic.o): New dependency on
60406 $(objpfx)version.h.
60407 ($(objpfx)zdump.o): Likewise.
60408 ($(objpfx)version.h): New target.
60409
60410 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60411 2012i.
60412 * timezone/README: Don't mention modification to tzselect.ksh.
60413 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60414 work on unmodified tzselect.ksh. Substitute version numbers in
60415 tzselect.ksh.
60416
60417 * Makefile (format-me): Remove.
60418 (INSTALL): Adjust indentation. Use commands directly instead of
60419 using $(format-me).
60420
60421 * aclocal.m4 (ACX_PKGVERSION): New macro.
60422 (ACX_BUGURL): Likewise.
60423 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60424 (PKGVERSION): New AC_DEFINE_UNQUOTED.
60425 (REPORT_BUGS_TO): Likewise.
60426 * configure: Regenerated.
60427 * config.h.in (PKGVERSION): New macro.
60428 (REPORT_BUGS_TO): Likewise.
60429 * config.make.in (PKGVERSION): New variable.
60430 (PKGVERSION_TEXI): Likewise.
60431 (REPORT_BUGS_TO): Likewise.
60432 (REPORT_BUGS_TEXI): Likewise.
60433 * Makefile (format-me): Use -I$(common-objpfx)manual.
60434 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60435 ($(common-objpfx)manual/%): New target.
60436 (manual/%): Remove target.
60437 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60438 (print_version): Use PKGVERSION.
60439 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60440 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60441 and REPORT_BUGS_TO.
60442 ($(objpfx)xtrace): Likewise.
60443 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60444 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60445 (print_version): Use PKGVERSION.
60446 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60447 (do_version): Use PKGVERSION.
60448 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60449 REPORT_BUGS_TO.
60450 (common-ldd-rewrite): Likewise.
60451 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60452 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60453 (print_version): Use PKGVERSION.
60454 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60455 * elf/pldd.c (argp_program_bug_address): Remove variable.
60456 (more_help): New function.
60457 (argp): Use more_help.
60458 (print_version): Use PKGVERSION.
60459 * elf/sln.c (main): Use PKGVERSION.
60460 (usage): Use REPORT_BUGS_TO.
60461 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60462 (top level): Use PKGVERSION.
60463 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60464 (print_version): Use PKGVERSION.
60465 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60466 (print_version): Use PKGVERSION.
60467 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60468 (print_version): Use PKGVERSION.
60469 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60470 (print_version): Use PKGVERSION.
60471 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60472 (print_version): Use PKGVERSION.
60473 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60474 (print_version): Use PKGVERSION.
60475 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60476 and BUGURL.
60477 ($(objpfx)memusage): Likewise.
60478 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60479 (do_version): Use PKGVERSION.
60480 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60481 (print_version): Use PKGVERSION.
60482 * malloc/mtrace.pl ($PACKAGE): Remove variable.
60483 ($PKGVERSION): New variable.
60484 ($REPORT_BUGS_TO): Likewise.
60485 (usage): Use $REPORT_BUGS_TO.
60486 (top level): Use $PKGVERSION.
60487 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60488 ($(objpfx)pkgvers.texi): New rule.
60489 ($(objpfx)stamp-pkgvers): Likewise.
60490 * manual/install.texi: Include pkgvers.texi.
60491 (--with-pkgversion): Document new configure option.
60492 (--with-bugurl): Likewise.
60493 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60494 than necessarily for this particular distribution. Use
60495 REPORT_BUGS_TO for where to report bugs.
60496 * INSTALL: Regenerated.
60497 * manual/libc.texinfo: Include pkgvers.texi.
60498 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60499 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60500 (print_version): Use PKGVERSION.
60501 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60502 (print_version): Use PKGVERSION.
60503 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60504 (print_version): Use PKGVERSION.
60505 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60506 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60507 macro.
60508 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60509 (print_version): Use PKGVERSION.
60510 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60511 (print_version): Use PKGVERSION.
60512 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60513 and PKGVERSION.
60514
60515 * timezone/checktab.awk: Update from tzcode 2012i.
60516 * timezone/ialloc.c: Likewise.
60517 * timezone/private.h: Likewise.
60518 * timezone/scheck.c: Likewise.
60519 * timezone/tzfile.h: Likewise.
60520 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60521 (TZVERSION): Hardcode tzcode version number.
60522 * timezone/zdump.c: Update from tzcode 2012i.
60523 * timezone/zic.c: Likewise.
60524 * timezone/version.h: New file.
60525 * timezone/README: Describe version.h. Update upstream location.
60526
60527 [BZ #14824]
60528 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60529 (mktemp): Enable declaration.
60530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60534 Likewise.
60535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60536 Likewise.
60537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60538 Likewise.
60539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60540 Likewise.
60541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60542 Likewise.
60543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60544 Likewise.
60545
60546 [BZ #14821]
60547 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60548 offset in buffer as u_int32_t not u_long. Consistently use memcpy
60549 for copies of such integer values.
60550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60552
60553 2012-11-09 Andreas Jaeger <aj@suse.de>
60554
60555 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60556 definitions and declarations that are provided by
60557 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60558
60559 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60560
60561 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60562 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60563 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60564 definition.
60565
60566 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60567
60568 * elf/elf.h: Update comment before AArch64 relocations.
60569
60570 2012-11-07 David S. Miller <davem@davemloft.net>
60571
60572 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60574 (__start_context): Declare.
60575 (__makecontext_ret): Delete.
60576 (__makecontext): Hook up __start_context instead of
60577 __makecontext_ret.
60578 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60579 (sysdep_routines): Add __start_context when in stdlib.
60580
60581 2012-11-07 Joseph Myers <joseph@codesourcery.com>
60582
60583 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60584 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60585 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
60586 hardcoded "nm".
60587 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
60588 (READELF): New variable. Use it instead of hardcoded "readelf".
60589
60590 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
60591
60592 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60593 * sysdeps/x86/Makefile: Here.
60594 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60595 * sysdeps/x86/tst-xmmymm.sh: This.
60596
60597 2012-11-07 Joseph Myers <joseph@codesourcery.com>
60598
60599 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60600 expectations.
60601 [UNIX98] (pthread_barrier_t): Do not expect.
60602 [UNIX98] (pthread_barrierattr_t): Likewise.
60603 [UNIX98] (pthread_spinlock_t): Likewise.
60604 [UNIX98] (pthread_barrier_destroy): Likewise.
60605 [UNIX98] (pthread_barrier_init): Likewise.
60606 [UNIX98] (pthread_barrier_wait): Likewise.
60607 [UNIX98] (pthread_barrierattr_destroy): Likewise.
60608 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60609 [UNIX98] (pthread_barrierattr_init): Likewise.
60610 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60611 [UNIX98] (pthread_getcpuclockid): Likewise.
60612 [UNIX98] (pthread_mutex_timedlock): Likewise.
60613 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60614 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60615 [UNIX98] (pthread_sigmask): Likewise.
60616 [UNIX98] (pthread_spin_destroy): Likewise.
60617 [UNIX98] (pthread_spin_init): Likewise.
60618 [UNIX98] (pthread_spin_lock): Likewise.
60619 [UNIX98] (pthread_spin_trylock): Likewise.
60620 [UNIX98] (pthread_spin_unlock): Likewise.
60621 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60622 Do not expect.
60623 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60624 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60625 [XPG3 || XPG4] (pthread_cond_t): Likewise.
60626 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60627 [XPG3 || XPG4] (pthread_key_t): Likewise.
60628 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60629 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60630 [XPG3 || XPG4] (pthread_once_t): Likewise.
60631 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60632 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60633 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60634 [XPG3 || XPG4] (pthread_t): Likewise.
60635
60636 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60637 not expect.
60638 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60639
60640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60641 Change function return type to int.
60642
60643 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60644 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60645 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60646 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60647 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60648 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60649 [!POSIX] (posix_madvise): Likewise.
60650 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60651 && !UNIX98].
60652 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60653 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60654 (mode_t): Likewise.
60655 (posix_mem_offset): Likewise.
60656 (posix_typed_mem_get_info): Likewise.
60657 (posix_typed_mem_open): Likewise.
60658
60659 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60660 Change condition to [XOPEN2K8].
60661
60662 * conform/conformtest.pl: Preprocess allow-header data with -x c
60663 instead of from stdin.
60664 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60665 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60666 [C99-based standards] (cerfc): Likewise.
60667 [C99-based standards] (cexp2): Likewise.
60668 [C99-based standards] (cexpm1): Likewise.
60669 [C99-based standards] (clog10): Likewise.
60670 [C99-based standards] (clog1p): Likewise.
60671 [C99-based standards] (clog2): Likewise.
60672 [C99-based standards] (clgamma): Likewise.
60673 [C99-based standards] (ctgamma): Likewise.
60674 [C99-based standards] (cerff): Likewise.
60675 [C99-based standards] (cerfcf): Likewise.
60676 [C99-based standards] (cexp2f): Likewise.
60677 [C99-based standards] (cexpm1f): Likewise.
60678 [C99-based standards] (clog10f): Likewise.
60679 [C99-based standards] (clog1pf): Likewise.
60680 [C99-based standards] (clog2f): Likewise.
60681 [C99-based standards] (clgammaf): Likewise.
60682 [C99-based standards] (ctgammaf): Likewise.
60683 [C99-based standards] (cerfl): Likewise.
60684 [C99-based standards] (cerfcl): Likewise.
60685 [C99-based standards] (cexp2l): Likewise.
60686 [C99-based standards] (cexpm1l): Likewise.
60687 [C99-based standards] (clog10l): Likewise.
60688 [C99-based standards] (clog1pl): Likewise.
60689 [C99-based standards] (clog2l): Likewise.
60690 [C99-based standards] (clgammal): Likewise.
60691 [C99-based standards] (ctgammal): Likewise.
60692 * conform/data/inttypes.h-data [C99-based standards]: Include
60693 stdint.h-data. Remove all expectations for stdint.h contents.
60694 [C99-based standards] (PRI*): Do not allow.
60695 [C99-based standards] (SCN*): Likewise.
60696 [C99-based standards] (*_t): Likewise.
60697 [C99-based-standards] (PRId8): Expect macro.
60698 [C99-based-standards] (PRIi8): Likewise.
60699 [C99-based-standards] (PRIo8): Likewise.
60700 [C99-based-standards] (PRIu8): Likewise.
60701 [C99-based-standards] (PRIx8): Likewise.
60702 [C99-based-standards] (PRIX8): Likewise.
60703 [C99-based-standards] (SCNd8): Likewise.
60704 [C99-based-standards] (SCNi8): Likewise.
60705 [C99-based-standards] (SCNo8): Likewise.
60706 [C99-based-standards] (SCNu8): Likewise.
60707 [C99-based-standards] (SCNx8): Likewise.
60708 [C99-based-standards] (PRIdLEAST8): Likewise.
60709 [C99-based-standards] (PRIiLEAST8): Likewise.
60710 [C99-based-standards] (PRIoLEAST8): Likewise.
60711 [C99-based-standards] (PRIuLEAST8): Likewise.
60712 [C99-based-standards] (PRIxLEAST8): Likewise.
60713 [C99-based-standards] (PRIXLEAST8): Likewise.
60714 [C99-based-standards] (SCNdLEAST8): Likewise.
60715 [C99-based-standards] (SCNiLEAST8): Likewise.
60716 [C99-based-standards] (SCNoLEAST8): Likewise.
60717 [C99-based-standards] (SCNuLEAST8): Likewise.
60718 [C99-based-standards] (SCNxLEAST8): Likewise.
60719 [C99-based-standards] (PRIdFAST8): Likewise.
60720 [C99-based-standards] (PRIiFAST8): Likewise.
60721 [C99-based-standards] (PRIoFAST8): Likewise.
60722 [C99-based-standards] (PRIuFAST8): Likewise.
60723 [C99-based-standards] (PRIxFAST8): Likewise.
60724 [C99-based-standards] (PRIXFAST8): Likewise.
60725 [C99-based-standards] (SCNdFAST8): Likewise.
60726 [C99-based-standards] (SCNiFAST8): Likewise.
60727 [C99-based-standards] (SCNoFAST8): Likewise.
60728 [C99-based-standards] (SCNuFAST8): Likewise.
60729 [C99-based-standards] (SCNxFAST8): Likewise.
60730 [C99-based-standards] (PRId16): Likewise.
60731 [C99-based-standards] (PRIi16): Likewise.
60732 [C99-based-standards] (PRIo16): Likewise.
60733 [C99-based-standards] (PRIu16): Likewise.
60734 [C99-based-standards] (PRIx16): Likewise.
60735 [C99-based-standards] (PRIX16): Likewise.
60736 [C99-based-standards] (SCNd16): Likewise.
60737 [C99-based-standards] (SCNi16): Likewise.
60738 [C99-based-standards] (SCNo16): Likewise.
60739 [C99-based-standards] (SCNu16): Likewise.
60740 [C99-based-standards] (SCNx16): Likewise.
60741 [C99-based-standards] (PRIdLEAST16): Likewise.
60742 [C99-based-standards] (PRIiLEAST16): Likewise.
60743 [C99-based-standards] (PRIoLEAST16): Likewise.
60744 [C99-based-standards] (PRIuLEAST16): Likewise.
60745 [C99-based-standards] (PRIxLEAST16): Likewise.
60746 [C99-based-standards] (PRIXLEAST16): Likewise.
60747 [C99-based-standards] (SCNdLEAST16): Likewise.
60748 [C99-based-standards] (SCNiLEAST16): Likewise.
60749 [C99-based-standards] (SCNoLEAST16): Likewise.
60750 [C99-based-standards] (SCNuLEAST16): Likewise.
60751 [C99-based-standards] (SCNxLEAST16): Likewise.
60752 [C99-based-standards] (PRIdFAST16): Likewise.
60753 [C99-based-standards] (PRIiFAST16): Likewise.
60754 [C99-based-standards] (PRIoFAST16): Likewise.
60755 [C99-based-standards] (PRIuFAST16): Likewise.
60756 [C99-based-standards] (PRIxFAST16): Likewise.
60757 [C99-based-standards] (PRIXFAST16): Likewise.
60758 [C99-based-standards] (SCNdFAST16): Likewise.
60759 [C99-based-standards] (SCNiFAST16): Likewise.
60760 [C99-based-standards] (SCNoFAST16): Likewise.
60761 [C99-based-standards] (SCNuFAST16): Likewise.
60762 [C99-based-standards] (SCNxFAST16): Likewise.
60763 [C99-based-standards] (PRId32): Likewise.
60764 [C99-based-standards] (PRIi32): Likewise.
60765 [C99-based-standards] (PRIo32): Likewise.
60766 [C99-based-standards] (PRIu32): Likewise.
60767 [C99-based-standards] (PRIx32): Likewise.
60768 [C99-based-standards] (PRIX32): Likewise.
60769 [C99-based-standards] (SCNd32): Likewise.
60770 [C99-based-standards] (SCNi32): Likewise.
60771 [C99-based-standards] (SCNo32): Likewise.
60772 [C99-based-standards] (SCNu32): Likewise.
60773 [C99-based-standards] (SCNx32): Likewise.
60774 [C99-based-standards] (PRIdLEAST32): Likewise.
60775 [C99-based-standards] (PRIiLEAST32): Likewise.
60776 [C99-based-standards] (PRIoLEAST32): Likewise.
60777 [C99-based-standards] (PRIuLEAST32): Likewise.
60778 [C99-based-standards] (PRIxLEAST32): Likewise.
60779 [C99-based-standards] (PRIXLEAST32): Likewise.
60780 [C99-based-standards] (SCNdLEAST32): Likewise.
60781 [C99-based-standards] (SCNiLEAST32): Likewise.
60782 [C99-based-standards] (SCNoLEAST32): Likewise.
60783 [C99-based-standards] (SCNuLEAST32): Likewise.
60784 [C99-based-standards] (SCNxLEAST32): Likewise.
60785 [C99-based-standards] (PRIdFAST32): Likewise.
60786 [C99-based-standards] (PRIiFAST32): Likewise.
60787 [C99-based-standards] (PRIoFAST32): Likewise.
60788 [C99-based-standards] (PRIuFAST32): Likewise.
60789 [C99-based-standards] (PRIxFAST32): Likewise.
60790 [C99-based-standards] (PRIXFAST32): Likewise.
60791 [C99-based-standards] (SCNdFAST32): Likewise.
60792 [C99-based-standards] (SCNiFAST32): Likewise.
60793 [C99-based-standards] (SCNoFAST32): Likewise.
60794 [C99-based-standards] (SCNuFAST32): Likewise.
60795 [C99-based-standards] (SCNxFAST32): Likewise.
60796 [C99-based-standards] (PRId64): Likewise.
60797 [C99-based-standards] (PRIi64): Likewise.
60798 [C99-based-standards] (PRIo64): Likewise.
60799 [C99-based-standards] (PRIu64): Likewise.
60800 [C99-based-standards] (PRIx64): Likewise.
60801 [C99-based-standards] (PRIX64): Likewise.
60802 [C99-based-standards] (SCNd64): Likewise.
60803 [C99-based-standards] (SCNi64): Likewise.
60804 [C99-based-standards] (SCNo64): Likewise.
60805 [C99-based-standards] (SCNu64): Likewise.
60806 [C99-based-standards] (SCNx64): Likewise.
60807 [C99-based-standards] (PRIdLEAST64): Likewise.
60808 [C99-based-standards] (PRIiLEAST64): Likewise.
60809 [C99-based-standards] (PRIoLEAST64): Likewise.
60810 [C99-based-standards] (PRIuLEAST64): Likewise.
60811 [C99-based-standards] (PRIxLEAST64): Likewise.
60812 [C99-based-standards] (PRIXLEAST64): Likewise.
60813 [C99-based-standards] (SCNdLEAST64): Likewise.
60814 [C99-based-standards] (SCNiLEAST64): Likewise.
60815 [C99-based-standards] (SCNoLEAST64): Likewise.
60816 [C99-based-standards] (SCNuLEAST64): Likewise.
60817 [C99-based-standards] (SCNxLEAST64): Likewise.
60818 [C99-based-standards] (PRIdFAST64): Likewise.
60819 [C99-based-standards] (PRIiFAST64): Likewise.
60820 [C99-based-standards] (PRIoFAST64): Likewise.
60821 [C99-based-standards] (PRIuFAST64): Likewise.
60822 [C99-based-standards] (PRIxFAST64): Likewise.
60823 [C99-based-standards] (PRIXFAST64): Likewise.
60824 [C99-based-standards] (SCNdFAST64): Likewise.
60825 [C99-based-standards] (SCNiFAST64): Likewise.
60826 [C99-based-standards] (SCNoFAST64): Likewise.
60827 [C99-based-standards] (SCNuFAST64): Likewise.
60828 [C99-based-standards] (SCNxFAST64): Likewise.
60829 [C99-based-standards] (PRIdMAX): Likewise.
60830 [C99-based-standards] (PRIiMAX): Likewise.
60831 [C99-based-standards] (PRIoMAX): Likewise.
60832 [C99-based-standards] (PRIuMAX): Likewise.
60833 [C99-based-standards] (PRIxMAX): Likewise.
60834 [C99-based-standards] (PRIXMAX): Likewise.
60835 [C99-based-standards] (SCNdMAX): Likewise.
60836 [C99-based-standards] (SCNiMAX): Likewise.
60837 [C99-based-standards] (SCNoMAX): Likewise.
60838 [C99-based-standards] (SCNuMAX): Likewise.
60839 [C99-based-standards] (SCNxMAX): Likewise.
60840 [C99-based-standards] (PRIdPTR): Likewise.
60841 [C99-based-standards] (PRIiPTR): Likewise.
60842 [C99-based-standards] (PRIoPTR): Likewise.
60843 [C99-based-standards] (PRIuPTR): Likewise.
60844 [C99-based-standards] (PRIxPTR): Likewise.
60845 [C99-based-standards] (PRIXPTR): Likewise.
60846 [C99-based-standards] (SCNdPTR): Likewise.
60847 [C99-based-standards] (SCNiPTR): Likewise.
60848 [C99-based-standards] (SCNoPTR): Likewise.
60849 [C99-based-standards] (SCNuPTR): Likewise.
60850 [C99-based-standards] (SCNxPTR): Likewise.
60851 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60852 allow.
60853 * conform/data/stdint.h-data: Update comments to clarify
60854 requirements.
60855 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
60856 type.
60857 [C99-based standards] (INT8_MAX): Likewise.
60858 [C99-based standards] (INT16_MIN): Likewise.
60859 [C99-based standards] (INT16_MAX): Likewise.
60860 [C99-based standards] (INT32_MIN): Likewise.
60861 [C99-based standards] (INT32_MAX): Likewise.
60862 [C99-based standards] (INT64_MIN): Likewise.
60863 [C99-based standards] (INT64_MAX): Likewise.
60864 [C99-based standards] (UINT8_MAX): Likewise.
60865 [C99-based standards] (UINT16_MAX): Likewise.
60866 [C99-based standards] (UINT32_MAX): Likewise.
60867 [C99-based standards] (UINT64_MAX): Likewise.
60868 [C99-based standards] (INT_LEAST8_MIN): Likewise.
60869 [C99-based standards] (INT_LEAST8_MAX): Likewise.
60870 [C99-based standards] (INT_LEAST16_MIN): Likewise.
60871 [C99-based standards] (INT_LEAST16_MAX): Likewise.
60872 [C99-based standards] (INT_LEAST32_MIN): Likewise.
60873 [C99-based standards] (INT_LEAST32_MAX): Likewise.
60874 [C99-based standards] (INT_LEAST64_MIN): Likewise.
60875 [C99-based standards] (INT_LEAST64_MAX): Likewise.
60876 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60877 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60878 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60879 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60880 [C99-based standards] (INT_FAST8_MIN): Likewise.
60881 [C99-based standards] (INT_FAST8_MAX): Likewise.
60882 [C99-based standards] (INT_FAST16_MIN): Likewise.
60883 [C99-based standards] (INT_FAST16_MAX): Likewise.
60884 [C99-based standards] (INT_FAST32_MIN): Likewise.
60885 [C99-based standards] (INT_FAST32_MAX): Likewise.
60886 [C99-based standards] (INT_FAST64_MIN): Likewise.
60887 [C99-based standards] (INT_FAST64_MAX): Likewise.
60888 [C99-based standards] (UINT_FAST8_MAX): Likewise.
60889 [C99-based standards] (UINT_FAST16_MAX): Likewise.
60890 [C99-based standards] (UINT_FAST32_MAX): Likewise.
60891 [C99-based standards] (UINT_FAST64_MAX): Likewise.
60892 [C99-based standards] (INTPTR_MIN): Likewise.
60893 [C99-based standards] (INTPTR_MAX): Likewise.
60894 [C99-based standards] (UINTPTR_MAX): Likewise.
60895 [C99-based standards] (INTMAX_MIN): Likewise.
60896 [C99-based standards] (INTMAX_MAX): Likewise.
60897 [C99-based standards] (UINTMAX_MAX): Likewise.
60898 [C99-based standards] (PTRDIFF_MIN): Likewise.
60899 [C99-based standards] (PTRDIFF_MAX): Likewise.
60900 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60901 [C99-based standards] (SIZE_MAX): Likewise.
60902 [C99-based standards] (WCHAR_MAX): Likewise.
60903 [C99-based standards] (WINT_MAX): Likewise.
60904 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
60905 constraint on value.
60906 [C99-based standards] (WCHAR_MIN): Likewise.
60907 [C99-based standards] (WINT_MIN): Likewise.
60908 [C99-based standards] (*_t): Allow.
60909 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60910 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60911 Include math.h-data and complex.h-data. Remove all expectations
60912 of math.h and complex.h contents.
60913 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60914 at end of line.
60915 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60916 (struct tm): Expect tag.
60917 [C99-based-standards] (wcstof): Expect function.
60918 [C99-based-standards] (wcstold): Likewise.
60919 [C99-based-standards] (wcstoll): Likewise.
60920 [C99-based-standards] (wcstoull): Likewise.
60921 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60922 macro-int-constant. Specify type.
60923 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
60924 constraint on value.
60925 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60926 Specify type.
60927 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60928 Specify value.
60929 [ISO C standards]: Do not allow headers.
60930 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60931 wcs[abcdefghijklmnopqrstuvwxyz]*.
60932 [ISO C standards] (*_t): Do not allow.
60933 * conform/data/wctype.h-data [C99-based standards] (iswblank):
60934 Expect function.
60935 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60936 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60937 Specify type.
60938 [ISO C standards]: Do not allow headers.
60939 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60940 is[abcdefghijklmnopqrstuvwxyz]*.
60941 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60942 to[abcdefghijklmnopqrstuvwxyz]*.
60943 [ISO C standards] (*_t): Do not allow.
60944 * conform/data/stdalign.h-data: New file.
60945 * conform/data/stdbool.h-data: Likewise.
60946 * conform/data/stdnoreturn.h-data: Likewise.
60947
60948 2012-11-07 Roland McGrath <roland@hack.frob.com>
60949
60950 [BZ #14815]
60951 * manual/filesys.texi (Directory Entries): Typo fix.
60952 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60953
60954 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60955
60956 * elf/elf.h (EM_AARCH64): New macro.
60957 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60958 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60959 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60960 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60961 (R_AARCH64_TLSDESC): Likewise.
60962 (NT_ARM_TLS): Likewise.
60963 (NT_ARM_HW_BREAK): Likewise.
60964 (NT_ARM_HW_WATCH): Likewise.
60965
60966 2012-11-07 Joseph Myers <joseph@codesourcery.com>
60967
60968 [BZ #14811]
60969 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60970 (__ieee754_powl): Saturate nonzero exponents with absolute value
60971 below 0x1p-79 to +/- 0x1p-79.
60972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60973 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60974 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60975 nonzero exponents with absolute value below 0x1p-32 to +/-
60976 0x1p-32.
60977 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60978 (__ieee754_powl): Saturate nonzero exponents with absolute value
60979 below 0x1p-79 to +/- 0x1p-79.
60980 * math/libm-test.inc (pow_test): Add more tests.
60981
60982 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60983
60984 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60985 _dl_s390_cap_flags with kernel. Increase string length.
60986 (_dl_s390_platforms): Add z196 and zEC12.
60987
60988 2012-11-07 Joseph Myers <joseph@codesourcery.com>
60989
60990 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60991 Change XOPEN21K to XOPEN2K.
60992
60993 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
60994
60995 * string/memmove.c: Use memcpy when possible.
60996
60997 2012-11-06 Andreas Jaeger <aj@suse.de>
60998
60999 * po/eo.po: Update from translation team.
61000
61001 2012-11-06 Joseph Myers <joseph@codesourcery.com>
61002
61003 [BZ #14793]
61004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61005 exponent and small x and y exponents, scale x or y up. Increase
61006 by 2 the exponent used in scaling up.
61007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61009 * math/libm-test.inc (fma_test): Add more tests.
61010 (fma_test_towardzero): Likewise.
61011 (fma_test_downward): Likewise.
61012 (fma_test_upward): Likewise.
61013
61014 2012-11-05 Joseph Myers <joseph@codesourcery.com>
61015
61016 [BZ #14805]
61017 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61018 fenv_t *.
61019
61020 [BZ #14801]
61021 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61022 namespace for names of struct fields.
61023 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61024 fenv_t fields.
61025 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61026 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61027
61028 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
61029
61030 [BZ #3665]
61031 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61032
61033 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
61034
61035 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61036 PTR_DEMANGLE.
61037
61038 [BZ #5246]
61039 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61040 PTR_DEMANGLE.
61041
61042 2012-11-04 Joseph Myers <joseph@codesourcery.com>
61043
61044 [BZ #14797]
61045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61046 definitely overflow as x * y not x * y + z.
61047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61049 * math/libm-test.inc (fma_test): Add more tests.
61050 (fma_test_towardzero): Likewise.
61051 (fma_test_downward): Likewise.
61052 (fma_test_upward): Likewise.
61053
61054 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
61055
61056 [BZ #157]
61057
61058 * include/stub-tag.h: Remove file.
61059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61060 '#include' of it.
61061 * manual/maint.texi (Porting): Don't reference it.
61062 * Makerules ($(objpfx)stubs): Likewise.
61063 * dirent/closedir.c: Don't include <stub-tag.h>.
61064 * dirent/dirfd.c: Likewise.
61065 * dirent/fdopendir.c: Likewise.
61066 * dirent/getdents.c: Likewise.
61067 * dirent/getdents64.c: Likewise.
61068 * dirent/opendir.c: Likewise.
61069 * dirent/readdir.c: Likewise.
61070 * dirent/readdir64.c: Likewise.
61071 * dirent/readdir64_r.c: Likewise.
61072 * dirent/readdir_r.c: Likewise.
61073 * dirent/rewinddir.c: Likewise.
61074 * dirent/seekdir.c: Likewise.
61075 * dirent/telldir.c: Likewise.
61076 * gmon/profil.c: Likewise.
61077 * grp/setgroups.c: Likewise.
61078 * inet/if_index.c: Likewise.
61079 * io/access.c: Likewise.
61080 * io/chdir.c: Likewise.
61081 * io/chmod.c: Likewise.
61082 * io/chown.c: Likewise.
61083 * io/close.c: Likewise.
61084 * io/dup.c: Likewise.
61085 * io/dup2.c: Likewise.
61086 * io/dup3.c: Likewise.
61087 * io/euidaccess.c: Likewise.
61088 * io/faccessat.c: Likewise.
61089 * io/fchdir.c: Likewise.
61090 * io/fchmod.c: Likewise.
61091 * io/fchmodat.c: Likewise.
61092 * io/fchown.c: Likewise.
61093 * io/fchownat.c: Likewise.
61094 * io/fcntl.c: Likewise.
61095 * io/flock.c: Likewise.
61096 * io/fstatfs.c: Likewise.
61097 * io/fstatfs64.c: Likewise.
61098 * io/fstatvfs.c: Likewise.
61099 * io/fstatvfs64.c: Likewise.
61100 * io/futimens.c: Likewise.
61101 * io/fxstat.c: Likewise.
61102 * io/fxstat64.c: Likewise.
61103 * io/fxstatat.c: Likewise.
61104 * io/fxstatat64.c: Likewise.
61105 * io/getcwd.c: Likewise.
61106 * io/isatty.c: Likewise.
61107 * io/lchmod.c: Likewise.
61108 * io/lchown.c: Likewise.
61109 * io/link.c: Likewise.
61110 * io/linkat.c: Likewise.
61111 * io/lseek.c: Likewise.
61112 * io/lseek64.c: Likewise.
61113 * io/lxstat64.c: Likewise.
61114 * io/mkdir.c: Likewise.
61115 * io/mkdirat.c: Likewise.
61116 * io/mkfifo.c: Likewise.
61117 * io/mkfifoat.c: Likewise.
61118 * io/open.c: Likewise.
61119 * io/open64.c: Likewise.
61120 * io/openat.c: Likewise.
61121 * io/openat64.c: Likewise.
61122 * io/pipe.c: Likewise.
61123 * io/pipe2.c: Likewise.
61124 * io/poll.c: Likewise.
61125 * io/posix_fadvise.c: Likewise.
61126 * io/posix_fadvise64.c: Likewise.
61127 * io/posix_fallocate.c: Likewise.
61128 * io/posix_fallocate64.c: Likewise.
61129 * io/read.c: Likewise.
61130 * io/readlink.c: Likewise.
61131 * io/readlinkat.c: Likewise.
61132 * io/rmdir.c: Likewise.
61133 * io/sendfile.c: Likewise.
61134 * io/sendfile64.c: Likewise.
61135 * io/statfs.c: Likewise.
61136 * io/statfs64.c: Likewise.
61137 * io/statvfs.c: Likewise.
61138 * io/statvfs64.c: Likewise.
61139 * io/symlink.c: Likewise.
61140 * io/symlinkat.c: Likewise.
61141 * io/ttyname.c: Likewise.
61142 * io/ttyname_r.c: Likewise.
61143 * io/umask.c: Likewise.
61144 * io/unlink.c: Likewise.
61145 * io/unlinkat.c: Likewise.
61146 * io/utime.c: Likewise.
61147 * io/utimensat.c: Likewise.
61148 * io/write.c: Likewise.
61149 * io/xmknod.c: Likewise.
61150 * io/xmknodat.c: Likewise.
61151 * io/xstat.c: Likewise.
61152 * io/xstat64.c: Likewise.
61153 * login/getpt.c: Likewise.
61154 * login/grantpt.c: Likewise.
61155 * login/unlockpt.c: Likewise.
61156 * math/e_acoshl.c: Likewise.
61157 * math/e_acosl.c: Likewise.
61158 * math/e_asinl.c: Likewise.
61159 * math/e_atan2l.c: Likewise.
61160 * math/e_atanhl.c: Likewise.
61161 * math/e_coshl.c: Likewise.
61162 * math/e_expl.c: Likewise.
61163 * math/e_fmodl.c: Likewise.
61164 * math/e_gammal_r.c: Likewise.
61165 * math/e_hypotl.c: Likewise.
61166 * math/e_j0l.c: Likewise.
61167 * math/e_j1l.c: Likewise.
61168 * math/e_jnl.c: Likewise.
61169 * math/e_lgammal_r.c: Likewise.
61170 * math/e_log10l.c: Likewise.
61171 * math/e_log2l.c: Likewise.
61172 * math/e_logl.c: Likewise.
61173 * math/e_powl.c: Likewise.
61174 * math/e_rem_pio2l.c: Likewise.
61175 * math/e_sinhl.c: Likewise.
61176 * math/e_sqrtl.c: Likewise.
61177 * math/fclrexcpt.c: Likewise.
61178 * math/fedisblxcpt.c: Likewise.
61179 * math/feenablxcpt.c: Likewise.
61180 * math/fegetenv.c: Likewise.
61181 * math/fegetexcept.c: Likewise.
61182 * math/fegetround.c: Likewise.
61183 * math/feholdexcpt.c: Likewise.
61184 * math/fesetenv.c: Likewise.
61185 * math/fesetround.c: Likewise.
61186 * math/feupdateenv.c: Likewise.
61187 * math/fgetexcptflg.c: Likewise.
61188 * math/fraiseexcpt.c: Likewise.
61189 * math/fsetexcptflg.c: Likewise.
61190 * math/ftestexcept.c: Likewise.
61191 * math/k_cosl.c: Likewise.
61192 * math/k_rem_pio2l.c: Likewise.
61193 * math/k_sinl.c: Likewise.
61194 * math/k_tanl.c: Likewise.
61195 * math/s_asinhl.c: Likewise.
61196 * math/s_atanl.c: Likewise.
61197 * math/s_cbrtl.c: Likewise.
61198 * math/s_erfl.c: Likewise.
61199 * math/s_expm1l.c: Likewise.
61200 * math/s_log1pl.c: Likewise.
61201 * math/s_tanhl.c: Likewise.
61202 * misc/acct.c: Likewise.
61203 * misc/brk.c: Likewise.
61204 * misc/chflags.c: Likewise.
61205 * misc/chroot.c: Likewise.
61206 * misc/fchflags.c: Likewise.
61207 * misc/fgetxattr.c: Likewise.
61208 * misc/flistxattr.c: Likewise.
61209 * misc/fremovexattr.c: Likewise.
61210 * misc/fsetxattr.c: Likewise.
61211 * misc/fsync.c: Likewise.
61212 * misc/ftruncate.c: Likewise.
61213 * misc/futimes.c: Likewise.
61214 * misc/futimesat.c: Likewise.
61215 * misc/getdomain.c: Likewise.
61216 * misc/getdtsz.c: Likewise.
61217 * misc/gethostid.c: Likewise.
61218 * misc/gethostname.c: Likewise.
61219 * misc/getloadavg.c: Likewise.
61220 * misc/getpagesize.c: Likewise.
61221 * misc/getsysstats.c: Likewise.
61222 * misc/getxattr.c: Likewise.
61223 * misc/gtty.c: Likewise.
61224 * misc/ioctl.c: Likewise.
61225 * misc/lgetxattr.c: Likewise.
61226 * misc/listxattr.c: Likewise.
61227 * misc/llistxattr.c: Likewise.
61228 * misc/lremovexattr.c: Likewise.
61229 * misc/lsetxattr.c: Likewise.
61230 * misc/lutimes.c: Likewise.
61231 * misc/madvise.c: Likewise.
61232 * misc/mincore.c: Likewise.
61233 * misc/mlock.c: Likewise.
61234 * misc/mlockall.c: Likewise.
61235 * misc/mmap.c: Likewise.
61236 * misc/mprotect.c: Likewise.
61237 * misc/msync.c: Likewise.
61238 * misc/munlock.c: Likewise.
61239 * misc/munlockall.c: Likewise.
61240 * misc/munmap.c: Likewise.
61241 * misc/preadv.c: Likewise.
61242 * misc/preadv64.c: Likewise.
61243 * misc/ptrace.c: Likewise.
61244 * misc/pwritev.c: Likewise.
61245 * misc/pwritev64.c: Likewise.
61246 * misc/readv.c: Likewise.
61247 * misc/reboot.c: Likewise.
61248 * misc/remap_file_pages.c: Likewise.
61249 * misc/removexattr.c: Likewise.
61250 * misc/revoke.c: Likewise.
61251 * misc/select.c: Likewise.
61252 * misc/setdomain.c: Likewise.
61253 * misc/setegid.c: Likewise.
61254 * misc/seteuid.c: Likewise.
61255 * misc/sethostid.c: Likewise.
61256 * misc/sethostname.c: Likewise.
61257 * misc/setregid.c: Likewise.
61258 * misc/setreuid.c: Likewise.
61259 * misc/setxattr.c: Likewise.
61260 * misc/sstk.c: Likewise.
61261 * misc/stty.c: Likewise.
61262 * misc/swapoff.c: Likewise.
61263 * misc/swapon.c: Likewise.
61264 * misc/sync.c: Likewise.
61265 * misc/syncfs.c: Likewise.
61266 * misc/syscall.c: Likewise.
61267 * misc/truncate.c: Likewise.
61268 * misc/ualarm.c: Likewise.
61269 * misc/usleep.c: Likewise.
61270 * misc/ustat.c: Likewise.
61271 * misc/utimes.c: Likewise.
61272 * misc/vhangup.c: Likewise.
61273 * misc/writev.c: Likewise.
61274 * posix/_exit.c: Likewise.
61275 * posix/alarm.c: Likewise.
61276 * posix/execve.c: Likewise.
61277 * posix/fexecve.c: Likewise.
61278 * posix/fork.c: Likewise.
61279 * posix/fpathconf.c: Likewise.
61280 * posix/getaddrinfo.c: Likewise.
61281 * posix/getegid.c: Likewise.
61282 * posix/geteuid.c: Likewise.
61283 * posix/getgid.c: Likewise.
61284 * posix/getgroups.c: Likewise.
61285 * posix/getlogin.c: Likewise.
61286 * posix/getlogin_r.c: Likewise.
61287 * posix/getpgid.c: Likewise.
61288 * posix/getpid.c: Likewise.
61289 * posix/getppid.c: Likewise.
61290 * posix/getresgid.c: Likewise.
61291 * posix/getresuid.c: Likewise.
61292 * posix/getsid.c: Likewise.
61293 * posix/getuid.c: Likewise.
61294 * posix/glob64.c: Likewise.
61295 * posix/nanosleep.c: Likewise.
61296 * posix/pathconf.c: Likewise.
61297 * posix/pause.c: Likewise.
61298 * posix/posix_madvise.c: Likewise.
61299 * posix/pread.c: Likewise.
61300 * posix/pread64.c: Likewise.
61301 * posix/pwrite.c: Likewise.
61302 * posix/pwrite64.c: Likewise.
61303 * posix/sched_getaffinity.c: Likewise.
61304 * posix/sched_getp.c: Likewise.
61305 * posix/sched_gets.c: Likewise.
61306 * posix/sched_primax.c: Likewise.
61307 * posix/sched_primin.c: Likewise.
61308 * posix/sched_rr_gi.c: Likewise.
61309 * posix/sched_setaffinity.c: Likewise.
61310 * posix/sched_setp.c: Likewise.
61311 * posix/sched_sets.c: Likewise.
61312 * posix/sched_yield.c: Likewise.
61313 * posix/setgid.c: Likewise.
61314 * posix/setlogin.c: Likewise.
61315 * posix/setpgid.c: Likewise.
61316 * posix/setresgid.c: Likewise.
61317 * posix/setresuid.c: Likewise.
61318 * posix/setsid.c: Likewise.
61319 * posix/setuid.c: Likewise.
61320 * posix/sleep.c: Likewise.
61321 * posix/spawni.c: Likewise.
61322 * posix/sysconf.c: Likewise.
61323 * posix/times.c: Likewise.
61324 * posix/wait.c: Likewise.
61325 * posix/wait3.c: Likewise.
61326 * posix/wait4.c: Likewise.
61327 * posix/waitpid.c: Likewise.
61328 * resolv/gai_sigqueue.c: Likewise.
61329 * resource/getpriority.c: Likewise.
61330 * resource/getrlimit.c: Likewise.
61331 * resource/getrusage.c: Likewise.
61332 * resource/nice.c: Likewise.
61333 * resource/setpriority.c: Likewise.
61334 * resource/setrlimit.c: Likewise.
61335 * resource/ulimit.c: Likewise.
61336 * rt/aio_cancel.c: Likewise.
61337 * rt/aio_fsync.c: Likewise.
61338 * rt/aio_read.c: Likewise.
61339 * rt/aio_sigqueue.c: Likewise.
61340 * rt/aio_suspend.c: Likewise.
61341 * rt/aio_write.c: Likewise.
61342 * rt/clock_getres.c: Likewise.
61343 * rt/clock_gettime.c: Likewise.
61344 * rt/clock_nanosleep.c: Likewise.
61345 * rt/clock_settime.c: Likewise.
61346 * rt/lio_listio.c: Likewise.
61347 * rt/mq_close.c: Likewise.
61348 * rt/mq_getattr.c: Likewise.
61349 * rt/mq_notify.c: Likewise.
61350 * rt/mq_open.c: Likewise.
61351 * rt/mq_receive.c: Likewise.
61352 * rt/mq_send.c: Likewise.
61353 * rt/mq_setattr.c: Likewise.
61354 * rt/mq_timedreceive.c: Likewise.
61355 * rt/mq_timedsend.c: Likewise.
61356 * rt/mq_unlink.c: Likewise.
61357 * rt/shm_open.c: Likewise.
61358 * rt/shm_unlink.c: Likewise.
61359 * rt/timer_create.c: Likewise.
61360 * rt/timer_delete.c: Likewise.
61361 * rt/timer_getoverr.c: Likewise.
61362 * rt/timer_gettime.c: Likewise.
61363 * rt/timer_settime.c: Likewise.
61364 * setjmp/__longjmp.c: Likewise.
61365 * setjmp/setjmp.c: Likewise.
61366 * signal/kill.c: Likewise.
61367 * signal/killpg.c: Likewise.
61368 * signal/raise.c: Likewise.
61369 * signal/sigaction.c: Likewise.
61370 * signal/sigaltstack.c: Likewise.
61371 * signal/sigblock.c: Likewise.
61372 * signal/sigignore.c: Likewise.
61373 * signal/sigintr.c: Likewise.
61374 * signal/signal.c: Likewise.
61375 * signal/sigpause.c: Likewise.
61376 * signal/sigpending.c: Likewise.
61377 * signal/sigqueue.c: Likewise.
61378 * signal/sigreturn.c: Likewise.
61379 * signal/sigset.c: Likewise.
61380 * signal/sigsetmask.c: Likewise.
61381 * signal/sigstack.c: Likewise.
61382 * signal/sigsuspend.c: Likewise.
61383 * signal/sigtimedwait.c: Likewise.
61384 * signal/sigvec.c: Likewise.
61385 * signal/sigwait.c: Likewise.
61386 * signal/sigwaitinfo.c: Likewise.
61387 * signal/sysv_signal.c: Likewise.
61388 * socket/accept.c: Likewise.
61389 * socket/accept4.c: Likewise.
61390 * socket/bind.c: Likewise.
61391 * socket/connect.c: Likewise.
61392 * socket/getpeername.c: Likewise.
61393 * socket/getsockname.c: Likewise.
61394 * socket/getsockopt.c: Likewise.
61395 * socket/isfdtype.c: Likewise.
61396 * socket/listen.c: Likewise.
61397 * socket/recv.c: Likewise.
61398 * socket/recvfrom.c: Likewise.
61399 * socket/recvmsg.c: Likewise.
61400 * socket/send.c: Likewise.
61401 * socket/sendmsg.c: Likewise.
61402 * socket/sendto.c: Likewise.
61403 * socket/setsockopt.c: Likewise.
61404 * socket/shutdown.c: Likewise.
61405 * socket/sockatmark.c: Likewise.
61406 * socket/socket.c: Likewise.
61407 * socket/socketpair.c: Likewise.
61408 * stdio-common/ctermid.c: Likewise.
61409 * stdio-common/cuserid.c: Likewise.
61410 * stdio-common/remove.c: Likewise.
61411 * stdio-common/rename.c: Likewise.
61412 * stdio-common/renameat.c: Likewise.
61413 * stdio-common/tempname.c: Likewise.
61414 * stdlib/getcontext.c: Likewise.
61415 * stdlib/makecontext.c: Likewise.
61416 * stdlib/setcontext.c: Likewise.
61417 * stdlib/swapcontext.c: Likewise.
61418 * stdlib/system.c: Likewise.
61419 * streams/fattach.c: Likewise.
61420 * streams/fdetach.c: Likewise.
61421 * streams/getmsg.c: Likewise.
61422 * streams/getpmsg.c: Likewise.
61423 * streams/putmsg.c: Likewise.
61424 * streams/putpmsg.c: Likewise.
61425 * sysdeps/unix/bsd/getpt.c: Likewise.
61426 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61427 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61428 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61430 Likewise.
61431 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61432 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61433 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61434 * sysvipc/msgctl.c: Likewise.
61435 * sysvipc/msgget.c: Likewise.
61436 * sysvipc/msgrcv.c: Likewise.
61437 * sysvipc/msgsnd.c: Likewise.
61438 * sysvipc/semctl.c: Likewise.
61439 * sysvipc/semget.c: Likewise.
61440 * sysvipc/semop.c: Likewise.
61441 * sysvipc/semtimedop.c: Likewise.
61442 * sysvipc/shmat.c: Likewise.
61443 * sysvipc/shmctl.c: Likewise.
61444 * sysvipc/shmdt.c: Likewise.
61445 * sysvipc/shmget.c: Likewise.
61446 * termios/tcdrain.c: Likewise.
61447 * termios/tcflow.c: Likewise.
61448 * termios/tcflush.c: Likewise.
61449 * termios/tcgetattr.c: Likewise.
61450 * termios/tcgetpgrp.c: Likewise.
61451 * termios/tcsendbrk.c: Likewise.
61452 * termios/tcsetattr.c: Likewise.
61453 * termios/tcsetpgrp.c: Likewise.
61454 * time/adjtime.c: Likewise.
61455 * time/clock.c: Likewise.
61456 * time/getitimer.c: Likewise.
61457 * time/gettimeofday.c: Likewise.
61458 * time/setitimer.c: Likewise.
61459 * time/settimeofday.c: Likewise.
61460 * time/stime.c: Likewise.
61461 * time/time.c: Likewise.
61462
61463 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
61464
61465 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61466 /usr/old/bin.
61467
61468 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61469 instead of spaces.
61470 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61471
61472 2012-11-03 Joseph Myers <joseph@codesourcery.com>
61473
61474 [BZ #14796]
61475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61476 FE_TONEAREST before applying Dekker multiplication and Knuth
61477 addition. Clear inexact exceptions and check for exact zero
61478 results afterwards.
61479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61480 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61482 * math/libm-test.inc (fma_test): Add more tests.
61483 (fma_test_towardzero): Likewise.
61484 (fma_test_downward): Likewise.
61485 (fma_test_upward): Likewise.
61486 * sysdeps/generic/math_private.h (default_libc_fesetround): New
61487 function.
61488 (libc_fesetround): New macro.
61489 (libc_fesetroundf): Likewise.
61490 (libc_fesetroundl): Likewise.
61491 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61492 function.
61493 (libc_fesetround_387): Likewise.
61494 (libc_fesetroundf): New macro.
61495 (libc_fesetround): Likewise.
61496 (libc_fesetroundl): Likewise.
61497 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61498 function.
61499 (libc_fesetroundf): New macro.
61500 (libc_fesetround): Likewise.
61501 (libc_fesetroundl): Likewise.
61502 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61503 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61504 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61505 libm_hidden_ver.
61506 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61507 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61508 libm_hidden_def.
61509 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61510 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61511 libm_hidden_ver.
61512 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61513 libm_hidden_def.
61514
61515 [BZ #3439]
61516 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61517 integer constant usable in #if and use that to give value to enum
61518 constant.
61519 (FE_DIVBYZERO): Likewise.
61520 (FE_UNDERFLOW): Likewise.
61521 (FE_OVERFLOW): Likewise.
61522 (FE_INVALID): Likewise.
61523 (FE_INVALID_SNAN): Likewise.
61524 (FE_INVALID_ISI): Likewise.
61525 (FE_INVALID_IDI): Likewise.
61526 (FE_INVALID_ZDZ): Likewise.
61527 (FE_INVALID_IMZ): Likewise.
61528 (FE_INVALID_COMPARE): Likewise.
61529 (FE_INVALID_SOFTWARE): Likewise.
61530 (FE_INVALID_SQRT): Likewise.
61531 (FE_INVALID_INTEGER_CONVERSION): Likewise.
61532 (FE_TONEAREST): Likewise.
61533 (FE_TOWARDZERO): Likewise.
61534 (FE_UPWARD): Likewise.
61535 (FE_DOWNWARD): Likewise.
61536 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61537 (FE_DIVBYZERO): Likewise.
61538 (FE_OVERFLOW): Likewise.
61539 (FE_UNDERFLOW): Likewise.
61540 (FE_INEXACT): Likewise.
61541 (FE_TONEAREST): Likewise.
61542 (FE_DOWNWARD): Likewise.
61543 (FE_UPWARD): Likewise.
61544 (FE_TOWARDZERO): Likewise.
61545 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61546 (FE_UNDERFLOW): Likewise.
61547 (FE_OVERFLOW): Likewise.
61548 (FE_DIVBYZERO): Likewise.
61549 (FE_INVALID): Likewise.
61550 (FE_TONEAREST): Likewise.
61551 (FE_TOWARDZERO): Likewise.
61552 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61553 (FE_OVERFLOW): Likewise.
61554 (FE_UNDERFLOW): Likewise.
61555 (FE_DIVBYZERO): Likewise.
61556 (FE_INEXACT): Likewise.
61557 (FE_TONEAREST): Likewise.
61558 (FE_TOWARDZERO): Likewise.
61559 (FE_UPWARD): Likewise.
61560 (FE_DOWNWARD): Likewise.
61561 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61562 (FE_DIVBYZERO): Likewise.
61563 (FE_OVERFLOW): Likewise.
61564 (FE_UNDERFLOW): Likewise.
61565 (FE_INEXACT): Likewise.
61566 (FE_TONEAREST): Likewise.
61567 (FE_DOWNWARD): Likewise.
61568 (FE_UPWARD): Likewise.
61569 (FE_TOWARDZERO): Likewise.
61570
61571 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
61572
61573 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61574
61575 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
61576
61577 * scripts/cross-test-ssh.sh (command): Use newlines to separate
61578 commands. Quote $PWD.
61579 (blacklist_exports): Don't use remove_newlines. Replace "declare
61580 -x" by "export".
61581 (remove_newlines): Remove.
61582
61583 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
61584
61585 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61586 * stdlib/stdlib.h (atof): Moved to ...
61587 * include/bits/stdlib-float.h: Here. New file.
61588 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61589 * stdlib/bits/stdlib-float.h: New file.
61590 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61591 -mno-sse -mno-mmx.
61592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61593 <xmmintrin.h>.
61594
61595 2012-11-02 Joseph Myers <joseph@codesourcery.com>
61596
61597 * conform/conformtest.pl (@headers): Add fenv.h.
61598 * conform/data/fenv.h-data: New file.
61599 * include/fenv.h [_ISOMAC]: Disable all contents of file except
61600 include of <math/fenv.h>.
61601
61602 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61603 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61604 && !UNIX98]. Enables tests for XOPEN2K8.
61605 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61606 POSIX2008]: Likewise.
61607
61608 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61609 (struct rusage): Do not expect type or its members.
61610
61611 [BZ #3439]
61612 * math/math.h (FP_NAN): Define macro to integer constant usable in
61613 #if and use that to give value to enum constant.
61614 (FP_INFINITE): Likewise.
61615 (FP_ZERO): Likewise.
61616 (FP_SUBNORMAL): Likewise.
61617 (FP_NORMAL): Likewise.
61618
61619 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
61620
61621 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61622 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61623 arguments.
61624
61625 2012-11-02 Roland McGrath <roland@hack.frob.com>
61626
61627 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61628 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61629 autoconf-time if not.
61630 * configure.in: Remove AC_PREREQ.
61631
61632 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61633
61634 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61635 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61636 of the internal implementation.
61637
61638 2012-11-02 Joseph Myers <joseph@codesourcery.com>
61639
61640 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61641 except include of <misc/sys/syslog.h>.
61642
61643 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
61644
61645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61646 function returns with a NULL context exit with zero.
61647
61648 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61649
61650 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61651
61652 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
61653
61654 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61655 (run_program_cmd): This.
61656 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61657 (tst_langinfo): New variable. Use it.
61658
61659 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
61660
61661 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61662 floating point opcodes.
61663
61664 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
61665
61666 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61667 variable.
61668
61669 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61670
61671 * sysdeps/mach/hurd/powerpc: Remove directory.
61672 * sysdeps/mach/powerpc: Likewise.
61673
61674 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
61675
61676 * scripts/check-local-headers.sh: Ignore c++ headers.
61677
61678 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
61679
61680 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61681 __libc_cleanup_region_start argument.
61682
61683 2012-11-01 Joseph Myers <joseph@codesourcery.com>
61684
61685 [BZ #14784]
61686 [BZ #14785]
61687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61688 x * y using scaling, not as x * y + z.
61689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61691 * math/libm-test.inc (fma_test): Add more tests.
61692 (fma_test_towardzero): Likewise.
61693 (fma_test_downward): Likewise.
61694 (fma_test_upward): Likewise.
61695
61696 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
61697
61698 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61699
61700 2012-10-31 Joseph Myers <joseph@codesourcery.com>
61701
61702 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61703 New variable.
61704
61705 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
61706
61707 * rt/tst-shm.c (worker): Correct checking for mmap failure.
61708
61709 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
61710
61711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61712 Fix sort order.
61713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61714 Likewise.
61715
61716 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61717
61718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61719 Fix the order of the list for glibc 2.17.
61720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61721 Likewise.
61722
61723 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
61724
61725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61726
61727 2012-10-31 Joseph Myers <joseph@codesourcery.com>
61728
61729 [BZ #14610]
61730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61731 for low part of x being zero before using __atanl (y).
61732 * math/libm-test.inc (atan2_test): Add another test.
61733
61734 * manual/install.texi (Configuring and compiling): Document
61735 general use of test-wrapper and test-wrapper-env.
61736 * INSTALL: Regenerated.
61737
61738 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61739 (__fma): Do not extract and scale down low bits on after-rounding
61740 systems when result rounded to normal precision would have normal
61741 exponent.
61742 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61743 (__fmal): Do not extract and scale down low bits on after-rounding
61744 systems when result rounded to normal precision would have normal
61745 exponent.
61746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61747 (__fmal): Do not extract and scale down low bits on after-rounding
61748 systems when result rounded to normal precision would have normal
61749 exponent.
61750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61751 macro.
61752 (fma_test): Add more tests.
61753 (fma_test_towardzero): Likewise.
61754 (fma_test_downward): Likewise.
61755 (fma_test_upward): Likewise.
61756
61757 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
61758
61759 * sysdeps/i386/tininess.h: Renamed to ...
61760 * sysdeps/x86/tininess.h: This.
61761 * sysdeps/x86_64/tininess.h: Removed.
61762
61763 2012-10-30 Joseph Myers <joseph@codesourcery.com>
61764
61765 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61766 input. Use $(build-program-cmd).
61767 ($(objpfx)tst-array1-static.out): Likewise.
61768 ($(objpfx)tst-array2.out): Likewise.
61769 ($(objpfx)tst-array3.out): Likewise.
61770 ($(objpfx)tst-array4.out): Likewise.
61771 ($(objpfx)tst-array5.out): Likewise.
61772 ($(objpfx)tst-array5-static.out): Likewise.
61773
61774 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
61775
61776 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61777 if defined.
61778
61779 * nss/nsswitch.h (nss_interface_function): Provide new
61780 macro for use with NSS functions.
61781 * grp/initgroups.c: Use new macro.
61782 * nss/getXXbyYY.c: Likewise.
61783 * nss/getXXbyYY_r.c: Likewise.
61784 * nss/getXXent.c: Likewise.
61785 * nss/getXXent_r.c: Likewise.
61786 * sysdeps/posix/getaddrinfo.c: Likewise.
61787
61788 2012-10-30 Andreas Jaeger <aj@suse.de>
61789
61790 * po/ru.po: Update Russion translation from translation project.
61791
61792 2012-10-30 Joseph Myers <joseph@codesourcery.com>
61793
61794 [BZ #14152]
61795 [BZ #14783]
61796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61797 result and shift together with sticky bit instead of replicating
61798 round-to-nearest rounding.
61799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61801 * math/libm-test.inc (fma_test): Add more tests. Do not permit
61802 missing underflow exceptions.
61803 (fma_test_towardzero): Add more tests.
61804 (fma_test_downward): Likewise.
61805 (fma_test_upward): Likewise.
61806
61807 [BZ #14047]
61808 * sysdeps/generic/tininess.h: New file.
61809 * sysdeps/i386/tininess.h: Likewise.
61810 * sysdeps/sh/tininess.h: Likewise.
61811 * sysdeps/x86_64/tininess.h: Likewise.
61812 * stdlib/tst-strtod-underflow.c: Likewise.
61813 * stdlib/tst-tininess.c: Likewise.
61814 * stdlib/strtod_l.c: Include <tininess.h>.
61815 (round_and_return): Do not set errno for exact underflow cases.
61816 Force an underflow exception when setting errno for underflow.
61817 Determine underflow based on rounding to normal precision if
61818 TININESS_AFTER_ROUNDING.
61819 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61820 ERANGE for exact underflow cases.
61821 * stdlib/Makefile (tests): Add tst-tininess and
61822 tst-strtod-underflow.
61823 ($(objpfx)tst-tininess): Use $(link-libm).
61824 ($(objpfx)tst-strtod-underflow): Likewise.
61825
61826 2012-10-30 Andreas Jaeger <aj@suse.de>
61827
61828 [BZ#14767]
61829 * elf/Makefile (tests): Remove conditional for have-initfini-array
61830 since this is now always required and the variable does not exist
61831 anymore.
61832 (tests-static): Likewise.
61833 (modules-names): Likewise.
61834
61835 * po/eo.po: Add Esperanto translation from translation project.
61836
61837 * elf/tst-array1.c (fini_array): Make writeable so that it can be
61838 merged with constructor/destructor.
61839 (init_array): Likewise.
61840 * elf/tst-array2dep.c (fini_array): Likewise.
61841 (init_array): Likewise.
61842
61843 2012-10-29 Mike Frysinger <vapier@gentoo.org>
61844
61845 * manual/message.texi: Delete @cartouche tags.
61846
61847 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
61848
61849 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61850 EOPNOTSUPP.
61851 * sysdeps/mach/hurd/fsync.c: Likewise.
61852
61853 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61854 [_POSIX_REALTIME_SIGNALS]: Change condition to
61855 [_POSIX_REALTIME_SIGNALS > 0].
61856
61857 2012-10-27 Andreas Jaeger <aj@suse.de>
61858
61859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61860 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61862 [__WORDSIZE != 64]: Likewise.
61863
61864 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
61865
61866 * iconvdata/tst-table.sh: Remove ${SHELL}.
61867 * iconvdata/tst-tables.sh: Likewise.
61868
61869 2012-10-25 David S. Miller <davem@davemloft.net>
61870
61871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61872 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61873 of strtoull.
61874
61875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61876 ifunc-impl-list.c
61877 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61878 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61879 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61880 file.
61881
61882 2012-10-25 Roland McGrath <roland@hack.frob.com>
61883
61884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61885 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61886 __getdirentries.
61887
61888 2012-10-25 Joseph Myers <joseph@codesourcery.com>
61889 Jim Blandy <jimb@codesourcery.com>
61890
61891 * scripts/cross-test-ssh.sh: New file.
61892 * manual/install.texi (Configuring and compiling): Document use of
61893 cross-test-ssh.sh.
61894 * INSTALL: Regenerated.
61895
61896 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
61897
61898 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61899 EOPNOTSUPP.
61900
61901 2012-10-25 Joseph Myers <joseph@codesourcery.com>
61902
61903 * Makeconfig (run-program-prefix): Fix comment.
61904
61905 2012-10-24 Joseph Myers <joseph@codesourcery.com>
61906 Jim Blandy <jimb@codesourcery.com>
61907
61908 * Makeconfig (test-wrapper): New variable,
61909 (test-wrapper-env): Likewise.
61910 [$(cross-compiling) = yes && $(test-wrapper) != ""]
61911 (run-built-tests): Define to yes.
61912 (run-program-prefix): Use $(test-wrapper).
61913 (built-program-cmd): Likewise.
61914 * Rules (make-test-out): Use $(test-wrapper-env) and
61915 $(host-built-program-cmd).
61916 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61917 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61918 tst-pathopt.sh.
61919 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61920 $(test-wrapper-env) to tst-rtld-load-self.sh.
61921 ($(objpfx)order2.out): Use $(test-wrapper).
61922 ($(objpfx)tst-initorder.out): Likewise.
61923 ($(objpfx)tst-initorder2.out): Likewise.
61924 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61925 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61926 (test_wrapper_env): New variable. Use it to run ld.so.
61927 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61928 Use it to run ld.so.
61929 (test_wrapper_env): Likewise.
61930 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61931 $(test-wrapper) to run-iconv-test.sh.
61932 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61933 (ICONV): Use $test_wrapper.
61934 * posix/Makefile ($(objpfx)globtest.out): Pass
61935 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61936 globtest.sh, not $(run-program-prefix).
61937 * posix/globtest.sh (run_via_rtld_prefix): New variable.
61938 (test_wrapper): Likewise.
61939 (test_wrapper_env): Likewise. Use it to run globtest with HOME
61940 set together with run_via_rtld_prefix.
61941 (run_program_prefix): Define in terms of test_wrapper and
61942 run_via_rtld_prefix.
61943
61944 2012-10-24 Roland McGrath <roland@hack.frob.com>
61945
61946 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61947 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61948 Targets removed.
61949
61950 [BZ #14743]
61951 * include/time.h: Remove librt_hidden_proto (clock_gettime).
61952 Declare __clock_getres, __clock_gettime, __clock_settime,
61953 __clock_nanosleep, and __clock_getcpuclockid.
61954 * rt/clock_gettime.c: Define __clock_gettime as an alias.
61955 Remove librt_hidden_def (clock_gettime).
61956 * sysdeps/unix/clock_gettime.c: Likewise.
61957 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61959 * rt/clock_getres.c: Define __clock_getres as an alias.
61960 * sysdeps/posix/clock_getres.c: Likewise.
61961 * rt/clock_settime.c: Define __clock_settime as an alias.
61962 * sysdeps/unix/clock_settime.c: Likewise.
61963 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61964 * sysdeps/unix/clock_nanosleep.c: Likewise.
61965 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61966 * rt/clock-compat.c: New file.
61967 * rt/Makefile (librt-routines): Add clock-compat and move
61968 $(clock-routines) to ...
61969 (routines): ... here, new variable.
61970 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61971 Don't add get_clockfreq here.
61972 * rt/Versions (libc: GLIBC_2.17): New version set.
61973 Add clock_* symbols here.
61974 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
61975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61976 (GLIBC_2.17): Add clock_* symbols.
61977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61981 Likewise.
61982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61983 Likewise.
61984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61988 * NEWS: Mention the move.
61989
61990 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61991 Use __open, __read, __close rather than their public counterparts.
61992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61993 (__get_clockfreq_via_cpuinfo): Likewise.
61994 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61995 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61996
61997 * config.h.in (HAVE_IFUNC): New #undef.
61998 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61999 was successful.
62000 * configure: Regenerated.
62001
62002 2012-10-24 Mike Frysinger <vapier@gentoo.org>
62003
62004 * configure.in: Move READELF check to start of file.
62005 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62006 libc_cv_asm_gnu_indirect_function in the process.
62007 * configure: Regenerated.
62008
62009 2012-10-24 Mike Frysinger <vapier@gentoo.org>
62010
62011 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62012 send the output to /dev/null.
62013 (libc_cv_cc_with_libunwind): Likewise.
62014 (libc_cv_as_noexecstack): Likewise.
62015 * configure: Regenerate.
62016
62017 2012-10-24 Joseph Myers <joseph@codesourcery.com>
62018
62019 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62020
62021 * posix/globtest.sh (TMPDIR): Do not set.
62022 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62023 (testout): Likewise.
62024
62025 2012-10-24 Andreas Jaeger <aj@suse.de>
62026
62027 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62028 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62029 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62030 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62031 posix_fadvise64, posix_fallocate64.
62032
62033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62034 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62035 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62036 Likewise.
62037 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62038 Likewise.
62039 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62040
62041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62042 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62043 <bits/fcntl-linux.h>.
62044 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62045
62046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62047 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62048 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62049 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62050 [__WORDSIZE != 64]: Likewise.
62051
62052 2012-10-23 Joseph Myers <joseph@codesourcery.com>
62053
62054 * Makeconfig (run-built-tests): New variable.
62055 * Rules [$(cross-compiling) = yes]: Change condition to
62056 [$(run-built-tests) = no].
62057 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62058 to [$(run-built-tests) = yes].
62059 * elf/Makefile [$(cross-compiling) = no]: Likewise.
62060 * grp/Makefile [$(cross-compiling) = no]: Likewise.
62061 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62062 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62063 * intl/Makefile [$(cross-compiling) = no]: Likewise.
62064 * io/Makefile [$(cross-compiling) = no]: Likewise.
62065 * libio/Makefile [$(cross-compiling) = no]: Likewise.
62066 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62067 * misc/Makefile [$(cross-compiling) = no]: Likewise.
62068 * posix/Makefile [$(cross-compiling) = no]: Likewise.
62069 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62070 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62071 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62072 * string/Makefile [$(cross-compiling) = no]: Likewise.
62073
62074 * posix/Makefile ($(objpfx)globtest.out): Pass
62075 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62076 $(rtld-installed-name).
62077 * posix/globtest.sh (elf_objpfx): Remove variable.
62078 (rtld_installed_name): Likewise.
62079 (library_path): Likewise.
62080 (run_program_prefix): New variable. Use for running globtest
62081 binary.
62082
62083 2012-10-23 Jim Blandy <jimb@codesourcery.com>
62084 Joseph Myers <joseph@codesourcery.com>
62085
62086 * Makeconfig (host-built-program-cmd): New variable.
62087 * elf/Makefile (tst-stackguard1-ARGS): Use
62088 $(host-built-program-cmd).
62089 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62090 (tst-spawn-ARGS): Likewise.
62091 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62092
62093 2012-10-23 Joseph Myers <joseph@codesourcery.com>
62094 Jim Blandy <jimb@codesourcery.com>
62095
62096 * Makeconfig (run-via-rtld-prefix): New variable.
62097 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62098 (built-program-cmd): Likewise.
62099
62100 2012-10-22 Andreas Jaeger <aj@suse.de>
62101
62102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62103 __O_RSYNC if it exists, otherwise to O_SYNC.
62104
62105 2012-10-22 Jim Blandy <jimb@codesourcery.com>
62106 Joseph Myers <joseph@codesourcery.com>
62107
62108 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62109 /dev/null.
62110 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62111 from /dev/null
62112 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62113 /dev/null.
62114
62115 2012-10-22 Andreas Jaeger <aj@suse.de>
62116
62117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62118 Define always.
62119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62120
62121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62122 bits/fcntl-linux.h.
62123
62124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62125 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62126
62127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62128 to __O_LARGEFILE.
62129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62130 to __O_LARGEFILE.
62131
62132 2012-10-21 Jim Blandy <jimb@codesourcery.com>
62133 Joseph Myers <joseph@codesourcery.com>
62134
62135 * config.make.in (NM): New variable.
62136
62137 2012-10-21 Andreas Jaeger <aj@suse.de>
62138
62139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62140 definitions and declarations that are provided by
62141 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62142
62143 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
62144
62145 [BZ #14683]
62146 * elf/Makefile (tests-static): Add tst-leaks1-static.
62147 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62148 ($(objpfx)tst-leaks1-static): New rule.
62149 ($(objpfx)tst-leaks1-static-mem): Likewise.
62150 (tst-leaks1-static-ENV): New macro.
62151 * elf/dl-open.c (dl_open_worker): Check the main application
62152 only if SHARED is defined.
62153 * elf/tst-leaks1-static.c: New file.
62154
62155 2012-10-20 Andreas Jaeger <aj@suse.de>
62156
62157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62158 generic values for Linux.
62159 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62160 and declarations that are provided by <bits/fcntl-linux.h> and
62161 include <bits/fcntl-linux.h>.
62162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62164
62165 2012-10-20 Roland McGrath <roland@hack.frob.com>
62166
62167 * io/fcntl.h: Move include of <bits/types.h> to the top and
62168 include it unconditionally.
62169
62170 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
62171
62172 * wcsmbs/Makefile (tests-ifunc): New variable.
62173 (tests): Add $(tests-ifunc).
62174 * wcsmbs/test-wcschr-ifunc.c: New file.
62175 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62176 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62177 * wcsmbs/test-wcslen-ifunc.c: Likewise.
62178 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62179 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62180
62181 * string/Makefile (tests-ifunc): New variable.
62182 (tests): Add $(tests-ifunc).
62183 * string/test-memccpy.c (TEST_NAME): New macro.
62184 * string/test-memchr.c (TEST_NAME): Likewise.
62185 * string/test-memcmp.c (TEST_NAME): Likewise.
62186 * string/test-memcpy.c (TEST_NAME): Likewise.
62187 * string/test-memmem.c (TEST_NAME): Likewise.
62188 * string/test-memmove.c (TEST_NAME): Likewise.
62189 * string/test-memset.c (TEST_NAME): Likewise.
62190 * string/test-rawmemchr.c (TEST_NAME): Likewise.
62191 * string/test-stpcpy.c (TEST_NAME): Likewise.
62192 * string/test-stpncpy.c (TEST_NAME): Likewise.
62193 * string/test-strcasecmp.c (TEST_NAME): Likewise.
62194 * string/test-strcasestr.c (TEST_NAME): Likewise.
62195 * string/test-strcat.c (TEST_NAME): Likewise.
62196 * string/test-strchr.c (TEST_NAME): Likewise.
62197 * string/test-strcmp.c(TEST_NAME): Likewise.
62198 * string/test-strcpy.c (TEST_NAME): Likewise.
62199 * string/test-strcspn.c (TEST_NAME): Likewise.
62200 * string/test-strlen.c (TEST_NAME): Likewise.
62201 * string/test-strncasecmp.c (TEST_NAME): Likewise.
62202 * string/test-strncmp.c (TEST_NAME): Likewise.
62203 * string/test-strncpy.c (TEST_NAME): Likewise.
62204 * string/test-strnlen.c (TEST_NAME): Likewise.
62205 * string/test-strpbrk.c (TEST_NAME): Likewise.
62206 * string/test-strrchr.c (TEST_NAME): Likewise.
62207 * string/test-strspn.c (TEST_NAME): Likewise.
62208 * string/test-strstr.c (TEST_NAME): Likewise.
62209 * string/test-bcopy-ifunc.c: New file.
62210 * string/test-bzero-ifunc.c: Likewise.
62211 * string/test-memccpy-ifunc.c: Likewise.
62212 * string/test-memchr-ifunc.c: Likewise.
62213 * string/test-memcmp-ifunc.c: Likewise.
62214 * string/test-memcpy-ifunc.c: Likewise.
62215 * string/test-memmem-ifunc.c: Likewise.
62216 * string/test-memmove-ifunc.c: Likewise.
62217 * string/test-mempcpy-ifunc.c: Likewise.
62218 * string/test-memset-ifunc.c: Likewise.
62219 * string/test-rawmemchr-ifunc.c: Likewise.
62220 * string/test-stpcpy-ifunc.c: Likewise.
62221 * string/test-stpncpy-ifunc.c: Likewise.
62222 * string/test-strcasecmp-ifunc.c: Likewise.
62223 * string/test-strcasestr-ifunc.c: Likewise.
62224 * string/test-strcat-ifunc.c: Likewise.
62225 * string/test-strchr-ifunc.c: Likewise.
62226 * string/test-strchrnul-ifunc.c: Likewise.
62227 * string/test-strcmp-ifunc.c: Likewise.
62228 * string/test-strcpy-ifunc.c: Likewise.
62229 * string/test-strcspn-ifunc.c: Likewise.
62230 * string/test-strlen-ifunc.c: Likewise.
62231 * string/test-strncasecmp-ifunc.c: Likewise.
62232 * string/test-strncat-ifunc.c: Likewise.
62233 * string/test-strncmp-ifunc.c: Likewise.
62234 * string/test-strncpy-ifunc.c: Likewise.
62235 * string/test-strnlen-ifunc.c: Likewise.
62236 * string/test-strpbrk-ifunc.c: Likewise.
62237 * string/test-strrchr-ifunc.c: Likewise.
62238 * string/test-strspn-ifunc.c: Likewise.
62239 * string/test-strstr-ifunc.c: Likewise.
62240
62241 * debug/Makefile (tests-ifunc): New variable.
62242 (tests): Add $(tests-ifunc).
62243 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62244 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62245 * debug/test-stpcpy_chk-ifunc.c: New file.
62246 * debug/test-strcpy_chk-ifunc.c: Likewise.
62247
62248 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
62249
62250 [BZ #13601]
62251 * elf/dl-load.c (open_verify): Retry read if the entire ELF
62252 header is not read in.
62253
62254 2012-10-19 Joseph Myers <joseph@codesourcery.com>
62255
62256 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
62257 script to $(SHELL) as $<. Pass $(common-objpfx) to script
62258 directly. Pass built executable to script as
62259 $(built-program-cmd).
62260 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
62261 $testprogram without using LD_LIBRARY_PATH and $ldso.
62262
62263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62264 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62265 $(rtld-installed-name).
62266 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62267 (rtld_installed_name): Likewise.
62268 (library_path): Likewise.
62269 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
62270 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62271 $(run-program-prefix) to tst-tables.sh.
62272 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
62273 it to run tst-table-from and tst-table-to.
62274 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62275 Pass it to tst-table.sh.
62276 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62277 $(run-program-prefix) to tst-gettext.sh.
62278 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62279 tst-translit.sh.
62280 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62281 tst-gettext2.sh.
62282 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
62283 to run tst-gettext.
62284 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
62285 to run tst-gettext2.
62286 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
62287 to run tst-translit.
62288 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62289 $(run-program-prefix) to tst-mtrace.sh.
62290 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
62291 to run tst-mtrace.
62292 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62293 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62294 $(rtld-installed-name).
62295 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62296 (rtld_installed_name): Likewise.
62297 (run_program_prefix): New variable. Use it to run wordexp-test.
62298
62299 * Makeconfig (ARCH): Remove all definitions.
62300 (machine): Likewise.
62301 [ARCH]: Remove conditional code.
62302 [!objdir]: Give error.
62303 [!objdir] (objpfx): Remove.
62304 [!objdir] (common-objpfx): Likewise.
62305 [!objdir] (common-objdir): Likewise.
62306 * configure.in (config_makefile): Remove. Hardcode Makefile in
62307 AC_CONFIG_FILES call.
62308 * configure: Regenerated.
62309
62310 [BZ #13888]
62311 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62312 or TMPDIR.
62313 (testout): Likewise.
62314
62315 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62316 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62317 $(rtld-installed-name).
62318 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62319 (rtld_installed_name): Likwise.
62320 (runit): Remove function.
62321 (run_getconf): New variable, Use it for running getconf binary.
62322
62323 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
62324
62325 [BZ #14716]
62326 * string/test-memmem.c (check_result): New function.
62327 (do_one_test): Use it.
62328 (check1): New function.
62329 (test_main): Use it.
62330
62331 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
62332
62333 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62334
62335 2012-10-18 Joseph Myers <joseph@codesourcery.com>
62336
62337 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62338 (_G_LSEEK64): Likewise.
62339 (_G_MMAP64): Likewise.
62340 (_G_FSTAT64): Likewise.
62341 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62342 (_G_LSEEK64): Likewise.
62343 (_G_MMAP64): Likewise.
62344 (_G_FSTAT64): Likewise.
62345 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62346 unconditional. Call __mmap64 directly.
62347 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62348 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
62349 __lseek64 directly.
62350 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62351 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
62352 __mmap64 directly.
62353 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62354 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
62355 __lseek64 directly.
62356 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62357 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
62358 __lseek64 directly.
62359 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62360 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
62361 __lseek64 directly.
62362 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62363 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
62364 __fxstat64 directly.
62365 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62366 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62367 unconditional.
62368 (freopen64) [!_G_OPEN64]: Remove conditional code.
62369 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62370 unconditional.
62371 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62372 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62373 unconditional.
62374 (ftello64) [!_G_LSEEK64]: Remove conditional code.
62375 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62376 unconditional.
62377 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62378 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62379 unconditional.
62380 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62381 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62382 unconditional.
62383 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62384 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62385 unconditional.
62386 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62387 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62388 unconditional.
62389 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62390
62391 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62392
62393 [BZ #12140]
62394 * manual/memory.texi (Malloc Tunable Parameters): Add note
62395 about free list pointers overwriting some perturb bytes.
62396 Wording suggested by Roland McGrath.
62397
62398 2012-10-17 Joseph Myers <joseph@codesourcery.com>
62399
62400 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62401 (lgamma_test): Likewise.
62402 (tgamma_test): Likewise.
62403
62404 2012-10-16 Florian Weimer <fweimer@redhat.com>
62405
62406 [BZ #14700]
62407 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62408 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62409
62410 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
62411
62412 * NEWS: Mention BZ #14716.
62413 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62414 when removing AVAILABLE1_USES_J macro.
62415
62416 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
62417
62418 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62419 (__bswap_64): __uint64_t for unsigned 64-bit int.
62420
62421 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
62422
62423 * include/string.h (memmem): Declare libc hidden alias.
62424 * string/memmem.c (memmem): Define libc hidden alias.
62425 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62426 __read, __close instead of open, read, close.
62427
62428 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
62429
62430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62431 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62432 global and hidden.
62433 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62434 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62435 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62436 Likewise.
62437 (__rawmemchr_sse2): Likewise.
62438 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62439 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62440 (__strchr_sse2): Likewise.
62441 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62442 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62443 (__strcasecmp_sse2): Likewise.
62444 (__strncasecmp_sse2): Likewise.
62445 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62446 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62447 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62448 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62449 (__strrchr_sse2): Likewise.
62450 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62451 ifunc-impl-list.c.
62452 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62453 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62454 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62455 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62456 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
62459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62460 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62461 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62462 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62464 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62465 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62466 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62467 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62468 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62469 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62470 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62471 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62472 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62473 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62474 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62475 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62476 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62478 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62479 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62480 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62481 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62482
62483 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62484 global and hidden.
62485 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62486 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62487 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62488 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62489 Likewise.
62490 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62491 Likewise.
62492 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62493 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62494 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62495 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62496 ifunc-impl-list.c.
62497 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62498 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62510 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62511 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62513 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62514 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62515 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62516 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62517 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62522 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62523 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62524 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62525 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62527 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62528 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62529 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62530 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62531 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62532 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62533 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62534 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62535 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62536 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62537 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62538
62539 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62540 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62541 * include/ifunc-impl-list.h: New file.
62542 * misc/ifunc-impl-list.c: Likewise.
62543 * misc/Makefile (routines): Add ifunc-impl-list.
62544 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62545 * string/test-string.h: Include <ifunc-impl-list.h>.
62546 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62547 TEST_NAME]: New variables.
62548 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62549 are defined.
62550 (test_init): Call __libc_ifunc_impl_list to initialize
62551 func_list if TEST_IFUNC and TEST_NAME are defined.
62552
62553 * string/Makefile (strop-tests): Add bcopy and bzero.
62554 * string/test-bcopy.c: New file.
62555 * string/test-bzero.c: Likewise.
62556 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62557 defined.
62558 * string/test-memset.c: Support bzero test if TEST_BZERO is
62559 defined.
62560 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62561 __libc_memmove.
62562 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62563 __libc_memset.
62564 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62565 of memset.
62566
62567 2012-10-10 Joseph Myers <joseph@codesourcery.com>
62568
62569 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62570 * configure: Regenerated.
62571
62572 * Makeconfig (+link-static-before-libc): Don't include
62573 $(link-static-libc).
62574
62575 * libio/libio.h (_IO_pos_t): Remove.
62576
62577 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
62578
62579 * NEWS: Add note about FIPS mode. Wording suggested by Roland
62580 McGrath.
62581
62582 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
62583
62584 * crypt/crypt-entry.c: Include fips-private.h.
62585 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62586 * crypt/md5c-test.c (main): Tolerate disabled MD5.
62587 * sysdeps/unix/sysv/linux/fips-private.h: New file.
62588 * sysdeps/generic/fips-private.h: New file, dummy fallback.
62589
62590 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
62591
62592 * crypt/crypt-private.h: Include stdbool.h.
62593 (_ufc_setup_salt_r): Return bool.
62594 * crypt/crypt-entry.c: Include errno.h.
62595 (__crypt_r): Return NULL with EINVAL for bad salt.
62596 * crypt/crypt_util.c (bad_for_salt): New.
62597 (_ufc_setup_salt_r): Check that salt is long enough and within
62598 the specified alphabet.
62599 * crypt/badsalttest.c: New file.
62600 * crypt/Makefile (tests): Add it.
62601 ($(objpfx)badsalttest): New.
62602
62603 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
62604
62605 * NEWS: Add entry for BZ #14602.
62606
62607 2012-10-09 Joseph Myers <joseph@codesourcery.com>
62608
62609 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62610 type-generic.
62611 * math/libm-test.inc: Update comment listing what functions and
62612 macros are tested.
62613 (isgreater_test): New function.
62614 (isgreaterequal_test): Likewise.
62615 (isless_test): Likewise.
62616 (islessequal_test): Likewise.
62617 (islessgreater_test): Likewise.
62618 (isunordered_test): Likewise.
62619 (main): Call the new functions.
62620
62621 2012-10-09 Roland McGrath <roland@hack.frob.com>
62622
62623 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62624 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62625 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62626 * sysdeps/i386/configure: Regenerated.
62627 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62628 * sysdeps/mach/configure: Regenerated.
62629 * sysdeps/mach/hurd/configure: Regenerated.
62630 * sysdeps/powerpc/configure: Regenerated.
62631 * sysdeps/powerpc/powerpc32/configure: Regenerated.
62632 * sysdeps/powerpc/powerpc64/configure: Regenerated.
62633 * sysdeps/s390/s390-32/configure: Regenerated.
62634 * sysdeps/s390/s390-64/configure: Regenerated.
62635 * sysdeps/sh/configure: Regenerated.
62636 * sysdeps/sparc/configure: Regenerated.
62637 * sysdeps/unix/sysv/linux/configure: Regenerated.
62638 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62639 * sysdeps/x86_64/configure: Regenerated.
62640
62641 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62642 defined. Don't check if MAP is NULL.
62643
62644 2012-10-09 Joseph Myers <joseph@codesourcery.com>
62645
62646 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62647 (_G_stat64): Likewise.
62648 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62649 (_G_stat64): Likewise.
62650 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62651 instead of struct _G_stat64.
62652 * libio/fileops.c (mmap_remap_check): Likewise.
62653 (decide_maybe_mmap): Likewise.
62654 (_IO_new_file_seekoff): Likewise.
62655 (_IO_file_stat): Likewise.
62656 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62657 _G_off64_t.
62658 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62659 instead of struct _G_stat64.
62660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62661
62662 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
62663
62664 [BZ #14602]
62665 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62666 Replace with ...
62667 (CHECK_EOL): New macro.
62668 (two_way_short_needle): Check beginning of haystack for EOL. Use
62669 CHECK_EOL.
62670 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62671 Replace with CHECK_EOL.
62672 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62673 Replace with CHECK_EOL.
62674
62675 2012-10-08 Joseph Myers <joseph@codesourcery.com>
62676
62677 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62678 type-generic.
62679 * math/libm-test.inc: Update comment listing what functions and
62680 macros are tested.
62681 (finite_test): New function.
62682 (isinf_test): Likewise.
62683 (isnan_test): Likewise.
62684 (fpclassify_test): Test subnormal input.
62685 (isfinite_test): Likewise.
62686 (isnormal_test): Likewise.
62687 (main): Call the new functions.
62688
62689 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
62690
62691 [BZ #14660]
62692 * Makerules (%.dynsym): Force C locale when running
62693 $(OBJDUMP) --dynamic-syms.
62694
62695 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
62696
62697 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62698 <stdint.h>.
62699
62700 2012-10-06 David S. Miller <davem@davemloft.net>
62701
62702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62703 upper 32-bits of the length value in %o2 since we use branch-on-register
62704 tests which consider the entire 64-bit register.
62705
62706 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
62707
62708 * string/test-strstr.c (check2): Add a test for page boundary.
62709
62710 2012-10-05 David S. Miller <davem@davemloft.net>
62711
62712 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62713 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62714 file.
62715 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62716 sysdep_routines.
62717 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62718 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62719 and bzero when HWCAP_SPARC_CRYPTO is present.
62720
62721 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
62722
62723 [BZ #14602]
62724 * string/test-strstr.c (check2): New function.
62725 (test_main): Call check2.
62726
62727 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62728 and bug-strchr1.
62729 * string/bug-strcasestr1.c (do_test): Moved to ...
62730 * string/test-strcasestr.c (check1): Here. New function.
62731 (do_one_test): Break out result checking code into ...
62732 (check_result): This. New function.
62733 (do_one_test): Call check_result.
62734 (test_main): Call check1.
62735 * string/bug-strchr1.c (do_test): Moved to ...
62736 * string/test-strchr.c (check1): Here. New function.
62737 (do_one_test): Break out result checking code into ...
62738 (check_result): This. New function.
62739 (do_one_test): Call check_result.
62740 (test_main): Call check1.
62741 * string/bug-strstr1.c (main): Moved to ...
62742 * string/test-strstr.c (check1): Here. New function.
62743 (do_one_test): Break out result checking code into ...
62744 (check_result): This. New function.
62745 (do_one_test): Call check_result.
62746 (test_main): Call check1.
62747 * string/bug-strcasestr1.c: Removed.
62748 * string/bug-strchr1.c: Likewise.
62749 * string/bug-strstr1.c: Likewise.
62750
62751 * elf/Makefile (dl-routines): Add hwcaps.
62752 * elf/dl-support.c (_dl_important_hwcaps): Removed.
62753 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62754 (_dl_important_hwcaps): Moved to ...
62755 * elf/dl-hwcaps.c: Here. New file.
62756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62757
62758 [BZ #14557]
62759 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62760 if IS_IN_rtld isn't defined.
62761
62762 * elf/dl-support.c (_dl_sysinfo_map): New.
62763 Include "get-dynamic-info.h" and "setup-vdso.h".
62764 (_dl_non_dynamic_init): Call setup_vdso.
62765 * elf/dynamic-link.h: Don't include <assert.h>.
62766 (elf_get_dynamic_info): Moved to ...
62767 * elf/get-dynamic-info.h: Here. New file.
62768 * elf/dynamic-link.h: Include "get-dynamic-info.h".
62769 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62770 * elf/setup-vdso.h: Here. New file.
62771 * elf/rtld.c: Include "setup-vdso.h".
62772 (dl_main): Call setup_vdso.
62773
62774 2012-10-05 Joseph Myers <joseph@codesourcery.com>
62775
62776 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62777 creal in comment listing functions tested. List finite, isinf,
62778 isnan, isless, islessequal, isgreater, isgreaterequal,
62779 islessgreater, isunordered, lgamma_r and pow10 as functions and
62780 macros not tested. Mention which functions not tested are aliases
62781 for other functions. Fix typo. Note that signs of NaNs are not
62782 tested.
62783
62784 * scripts/config.guess: Update from config.git.
62785 * scripts/config.sub: Likewise.
62786
62787 2012-10-04 Roland McGrath <roland@hack.frob.com>
62788
62789 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62790 * misc/madvise.c (madvise): Renamed to __madvise.
62791 Make madvise a weak alias.
62792 * include/sys/mman.h: Declare __madvise.
62793 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62794 * sysdeps/unix/syscalls.list
62795 (madvise): Make __madvise the strong name, and madvise a weak alias.
62796 * sysdeps/unix/sysv/linux/syscalls.list
62797 (madvise, mmap): Remove redundant entries.
62798 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62799 * malloc/malloc.c (mtrim): Likewise.
62800 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62801
62802 2012-10-03 Roland McGrath <roland@hack.frob.com>
62803
62804 * sysdeps/mach/hurd/dl-cache.c: File removed.
62805 * config.h.in (USE_LDCONFIG): New #undef.
62806 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62807 * configure: Regenerated.
62808 * elf/Makefile (dl-routines): Add dl-cache only under
62809 [$(use-ldconfig) = yes].
62810 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62811 cache on [USE_LDCONFIG].
62812 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62813 [USE_LDCONFIG].
62814 * elf/rtld.c (dl_main): Likewise.
62815
62816 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
62817
62818 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62819 _SC_LEVEL4_CACHE_LINESIZE.
62820
62821 2012-10-03 Roland McGrath <roland@hack.frob.com>
62822
62823 * sysdeps/unix/bsd/confstr.h: File removed.
62824
62825 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
62826
62827 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62828 sys/sdt-config.h.
62829
62830 2012-10-02 Roland McGrath <roland@hack.frob.com>
62831
62832 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62833 Make 'mapoff' field ElfW(Off) rather than off_t.
62834
62835 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
62836
62837 * nscd/Makefile: Remove nscd-cflags and all its users.
62838 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62839 (CFLAGS-nonlib): Add compiler flags for nscd modules.
62840
62841 [BZ #10631]
62842 * malloc.c (malloc_printerr): Clarify error message.
62843
62844 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
62845
62846 [BZ #14648]
62847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62848 Set bit_FMA_Usable if FMA is supported.
62849 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62850 macro.
62851 (bit_FMA4_Usable): Updated.
62852 (index_FMA_Usable): New macro.
62853 (CPUID_FMA): Likewise.
62854 (HAS_FMA): Defined with bit_FMA_Usable.
62855
62856 2012-10-01 Roland McGrath <roland@hack.frob.com>
62857
62858 * bits/types.h (__swblk_t): Type removed.
62859 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62860 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62862 (__SWBLK_T_TYPE): Likewise.
62863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62864 (__SWBLK_T_TYPE): Likewise.
62865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62866 (__SWBLK_T_TYPE): Likewise.
62867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62868 (__SWBLK_T_TYPE): Likewise.
62869
62870 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
62871 Honza Horak <hhorak@redhat.com>
62872
62873 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62874 (xdr_mapname): Use YPMAXMAP as maxsize.
62875 (xdr_peername): Use YPMAXPEER as maxsize.
62876 (xdr_keydat): Use YPAXRECORD as maxsize.
62877 (xdr_valdat): Use YPMAXRECORD as maxsize.
62878
62879 2012-10-01 Roland McGrath <roland@hack.frob.com>
62880
62881 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62882
62883 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62884 * csu/init-first.c: ... here.
62885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62886 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62887 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62888 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62889 * sysdeps/i386/init-first.c: File removed.
62890 * sysdeps/sh/init-first.c: File removed.
62891
62892 2012-10-01 Joseph Myers <joseph@codesourcery.com>
62893
62894 [BZ #14645]
62895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62896 if x * y might underflow to zero and z is zero.
62897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62899 * math/libm-test.inc (min_subnorm_value): New variable.
62900 (fma_test): Add more tests.
62901 (fma_test_towardzero): Likewise.
62902 (fma_test_downward): Likewise.
62903 (fma_test_upward): Likewise.
62904 (initialize): Set min_subnorm_value.
62905
62906 2012-09-29 Joseph Myers <joseph@codesourcery.com>
62907
62908 [BZ #14638]
62909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62910 0 + 0.
62911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62912 mode for addition resulting in exact zero.
62913 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62915 exact 0 + 0.
62916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62918 * math/libm-test.inc (fma_test): Add more tests.
62919 (fma_test_towardzero): New function.
62920 (fma_test_downward): Likewise.
62921 (fma_test_upward): Likewise.
62922 (main): Call the new functions.
62923
62924 2012-09-28 David S. Miller <davem@davemloft.net>
62925
62926 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62927
62928 2012-09-28 Roland McGrath <roland@hack.frob.com>
62929
62930 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62931 instead of SIGALRM.
62932
62933 * sysdeps/gnu/_G_config.h: Moved to ...
62934 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62935 * sysdeps/mach/hurd/_G_config.h: Moved to ...
62936 * sysdeps/generic/_G_config.h: ... here.
62937
62938 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
62939
62940 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62941
62942 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62943 Conditionalize target on [libnss_test1.so-version].
62944
62945 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62946
62947 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62948 (elfobjdir): Move out of conditionals.
62949
62950 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62951 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62952 (__nss_lookup_function): Conditionalize label remove_from_tree on
62953 [!DO_STATIC_NSS || SHARED], matching its only use.
62954
62955 2012-09-28 David S. Miller <davem@davemloft.net>
62956
62957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62959 file.
62960 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62961 sysdep_routines.
62962 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62964 when HWCAP_SPARC_CRYPTO is present.
62965
62966 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
62967
62968 * io/tst-mknodat.c: Create a FIFO instead of a socket.
62969
62970 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
62971
62972 [BZ #6530]
62973 * stdio-common/vfprintf.c (process_string_arg): Revert
62974 2000-07-22 change.
62975
62976 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
62977
62978 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62979 for testcase.
62980 * stdio-common/tst-sprintf.c: Include <locale.h>
62981 (main): Test sprintf's handling of incomplete multibyte
62982 characters.
62983
62984 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
62985
62986 * elf/dl-runtime.c (VERSYMIDX): Removed.
62987 * elf/dl-version.c (VERSYMIDX): Likewise.
62988 * elf/do-rel.h (VERSYMIDX): Likewise.
62989 (VALIDX): Likewise.
62990 * elf/dynamic-link.h (VERSYMIDX): Likewise.
62991 * elf/rtld.c (VALIDX): Likewise.
62992 (ADDRIDX): Likewise.
62993 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62994 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62995 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62996 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62997 (VALIDX): Likewise.
62998 (ADDRIDX): Likewise.
62999
63000 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
63001
63002 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63003
63004 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
63005
63006 [BZ #11438]
63007 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63008 to global scope.
63009 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63010 addresses are in the same scope as 192.0.2/24.
63011 * posix/gai.conf: Document new scope table defaults.
63012
63013 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63014
63015 [BZ #5298]
63016 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63017 for ftell. Compute offsets from write pointers instead.
63018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63019
63020 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63021
63022 [BZ #14543]
63023 * libio/Makefile (tests): New test case tst-fseek.
63024 * libio/tst-fseek.c: New test case to verify that fseek/ftell
63025 combination works in wide mode.
63026 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63027 state when the external buffer state changes.
63028
63029 2012-09-27 David S. Miller <davem@davemloft.net>
63030
63031 [BZ #14376]
63032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63033 pass reloc->r_addend in as the 'high' argument to
63034 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63035
63036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63037
63038 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
63039
63040 * rt/tst-aio2.c: Include <pthread.h>.
63041 * rt/tst-aio3.c: Likewise.
63042
63043 2012-09-27 Steve Ellcey <sellcey@mips.com>
63044
63045 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63046
63047 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
63048
63049 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63050 contents on [SHARED].
63051
63052 2012-09-26 Marek Polacek <polacek@redhat.com>
63053
63054 [BZ #14530]
63055 [BZ #13741]
63056 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63057 for C++ and GCC <4.3 as well as for non GCC compilers.
63058
63059 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
63060
63061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63062
63063 2012-09-25 Roland McGrath <roland@hack.frob.com>
63064
63065 * Makefile.in (all, install): Declare with .PHONY.
63066 Reported by Michael Hope <michael.hope@linaro.org>.
63067
63068 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63069
63070 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63071 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63072 system header.
63073 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63074 Likewise.
63075 (sydep_routines): Add the new and the internal functions.
63076 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63077 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63079 (GLIBC_2.17): Add the new function.
63080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63081 (GLIBC_2.17): Likewise.
63082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63083 (GLIBC_2.17): Likewise.
63084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63085 (GLIBC_2.17): Likewise.
63086 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63087
63088 2012-09-25 Alan Modra <amodra@gmail.com>
63089
63090 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63091 Add release barrier before setting once_control to say
63092 initialisation is done. Add hints on lwarx. Use macro in
63093 place of isync.
63094 (clear_once_control): Add release barrier.
63095
63096 2012-09-25 Joseph Myers <joseph@codesourcery.com>
63097
63098 [BZ #13629]
63099 * math/s_clog.c (__clog): Handle more values close to |z| = 1
63100 specially.
63101 * math/s_clog10.c (__clog10): Likewise.
63102 * math/s_clog10f.c (__clog10f): Likewise.
63103 * math/s_clog10l.c (__clog10l): Likewise.
63104 * math/s_clogf.c (__clogf): Likewise.
63105 * math/s_clogl.c (__clogl): Likewise.
63106 * math/Makefile (libm-calls): Add x2y2m1.
63107 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63108 (__x2y2m1): Likewise.
63109 (__x2y2m1l): Likewise.
63110 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63111 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63112 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63113 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63114 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63115 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63116 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63117 * sysdeps/i386/fpu/libm-test-ulps: Update.
63118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63119
63120 [BZ #14621]
63121 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63122 int as type of variable DEPTH.
63123 (glob): Use size_t instead of int as type of variables NEWCOUNT
63124 and OLD_PATHC.
63125
63126 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63127
63128 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63129 Add s_sincosf-sse2.
63130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63132 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63133 macros for using routine as __sincosf_ia32.
63134 Use macro for function declaration and weak_alias.
63135 * sysdeps/i386/fpu/libm-test-ulps: Update.
63136
63137 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63139
63140 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63141 subnormal argument.
63142 * math/s_cexpf.c (__cexpf): Likewise.
63143 * math/s_csinf.c (__csinf): Likewise.
63144 * math/s_csinhf.c (__csinhf): Likewise.
63145 * math/s_ctanf.c (__ctanf): Likewise.
63146 * math/s_ctanhf.c (__ctanhf): Likewise.
63147 * math/s_ccosh.c (__ccoshf): Likewise.
63148 * math/s_cexp.c (__cexpl): Likewise.
63149 * math/s_csin.c (__csin): Likewise.
63150 * math/s_csinh.c (__csinh): Likewise.
63151 * math/s_ctan.c (__ctan): Likewise.
63152 * math/s_ctanh.c (ctanh): Likewise.
63153 * math/s_ccoshl.c (__ccoshl): Likewise.
63154 * math/s_cexpl.c (__cexpl): Likewise.
63155 * math/s_csinl.c (__csinl): Likewise.
63156 * math/s_csinhl.c (__csinhl): Likewise.
63157 * math/s_ctanl.c (__ctanl): Likewise.
63158 * math/s_ctanhl.c (__ctanhl): Likewise.
63159
63160 2012-09-25 Joseph Myers <joseph@codesourcery.com>
63161
63162 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63163 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63164 (_IO_off_t): Define to __off_t, not _G_off_t.
63165 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63166 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63167 (_IO_wint_t): Define to wint_t, not _G_wint_t.
63168 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63169 type of __dummy and __dummy2 fields.
63170 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63171 (_G_ssize_t): Likewise.
63172 (_G_off_t): Likewise.
63173 (_G_pid_t): Likewise.
63174 (_G_uid_t): Likewise.
63175 (_G_wchar_t): Likewise.
63176 (_G_wint_t): Likewise.
63177 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63178 (_G_ssize_t): Likewise.
63179 (_G_off_t): Likewise.
63180 (_G_pid_t): Likewise.
63181 (_G_uid_t): Likewise.
63182 (_G_wchar_t): Likewise.
63183 (_G_wint_t): Likewise.
63184 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63185 (_G_ssize_t): Likewise.
63186 (_G_off_t): Likewise.
63187 (_G_pid_t): Likewise.
63188 (_G_uid_t): Likewise.
63189 (_G_wchar_t): Likewise.
63190 (_G_wint_t): Likewise.
63191
63192 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
63193
63194 * malloc/arena.c: Include malloc-sysdep.h.
63195 (shrink_heap): Use check_may_shrink_heap to decide if madvise
63196 is sufficient to shrink the heap or an unmap is needed.
63197 * sysdeps/generic/malloc-sysdep.h: New file. Define
63198 new function check_may_shrink_heap.
63199 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
63200 new function check_may_shrink_heap.
63201
63202 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
63203
63204 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63205 comments.
63206
63207 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
63208
63209 * catgets/test-gencat.sh: Add "set -e".
63210 * elf/tst-pathopt.sh: Likewise.
63211 * grp/tst_fgetgrent.sh: Likewise.
63212 * iconvdata/run-iconv-test.sh: Likewise.
63213 * intl/tst-gettext.sh: Likewise.
63214 * intl/tst-gettext2.sh: Likewise.
63215 * intl/tst-gettext4.sh: Likewise.
63216 * intl/tst-gettext6.sh: Likewise.
63217 * intl/tst-translit.sh: Likewise.
63218 * io/ftwtest-sh: Likewise.
63219 * libio/test-freopen.sh: Likewise.
63220 * malloc/tst-mtrace.sh: Likewise.
63221 * posix/globtest.sh: Likewise.
63222 * posix/tst-getconf.sh: Likewise.
63223 * posix/wordexp-tst.sh: Likewise.
63224 * stdio-common/tst-printf.sh: Likewise.
63225 * stdio-common/tst-unbputc.sh: Likewise.
63226 * stdlib/tst-fmtmsg.sh: Likewise.
63227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63228 * catgets/Makefile: Do not specify -e option when running
63229 testsuite shell scripts.
63230 * elf/Makefile: Likewise.
63231 * grp/Makefile: Likewise.
63232 * iconvdata/Makefile: Likewise.
63233 * intl/Makefile: Likewise.
63234 * io/Makefile: Likewise.
63235 * libio/Makefile: Likewise.
63236 * malloc/Makefile: Likewise.
63237 * posix/Makefile: Likewise.
63238 * stdio-common/Makefile: Likewise.
63239 * stdlib/Makefile: Likewise.
63240 * sysdeps/x86_64/Makefile: Likewise.
63241
63242 * io/ftwtest-sh: Add copyright header.
63243 * posix/globtest.sh: Likewise.
63244 * posix/tst-getconf.sh: Likewise.
63245 * posix/wordexp-tst.sh: Likewise.
63246 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63247
63248 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
63249
63250 [BZ #13679]
63251 * Makeconfig (+link): Defined as $(+link-static) if
63252 $(build-shared) isn't yes.
63253 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63254 isn't yes.
63255 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63256
63257 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63258
63259 [BZ #14562]
63260 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63261 new chunk size with MALLOC_ALIGN_MASK.
63262
63263 2012-09-24 Joseph Myers <joseph@codesourcery.com>
63264
63265 [BZ #5044]
63266 * stdio-common/printf_fphex.c: Include <stdbool.h> and
63267 <rounding-mode.h>.
63268 (__printf_fphex): Determine rounding using get_rounding_mode and
63269 round_away.
63270 * stdio-common/tst-printf-round.c (struct hex_test): New
63271 structure.
63272 (hex_tests): New variable.
63273 (test_hex_in_one_mode): New function.
63274 (do_test): Also run tests for hex float output.
63275
63276 2012-09-21 Joseph Myers <joseph@codesourcery.com>
63277
63278 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63279 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63280 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63281 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63282 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63283 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63284 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63286
63287 2012-09-20 Joseph Myers <joseph@codesourcery.com>
63288
63289 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63290 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63291 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63292 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63293
63294 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
63295
63296 [BZ #14579]
63297 * elf/rtld.c (dl_main): Limit the check for self loading to normal
63298 mode only.
63299 * elf/tst-rtld-load-self.sh: New test.
63300 * elf/Makefile: Run it.
63301
63302 2012-09-18 Joseph Myers <joseph@codesourcery.com>
63303
63304 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63305 (tst-writev-ENV): Remove.
63306 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63307
63308 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
63309
63310 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63311
63312 2012-09-17 Joseph Myers <joseph@codesourcery.com>
63313
63314 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63315 unconditional.
63316 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63317 Likewise.
63318 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63319 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63321 Likewise.
63322
63323 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
63324
63325 [BZ #14587]
63326 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63327 * config.make.in (have-cpp-asm-debuginfo): Removed.
63328 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63329 * configure: Regenerated.
63330
63331 2012-09-14 Joseph Myers <joseph@codesourcery.com>
63332
63333 [BZ #5044]
63334 * stdio-common/printf_fp.c: Include <stdbool.h> and
63335 <rounding-mode.h>.
63336 (___printf_fp): Determine rounding using get_rounding_mode and
63337 round_away.
63338 * stdio-common/tst-printf-round.c: New file.
63339 * stdio-common/Makefile (tests): Add tst-printf-round.
63340 (link-libm): New variable.
63341 ($(objpfx)tst-printf-round): Depend in $(link-libm).
63342
63343 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
63344
63345 [BZ #14576]
63346 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63347 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63348 Likewise.
63349 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63350 Likewise.
63351
63352 2012-09-13 Joseph Myers <joseph@codesourcery.com>
63353
63354 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63355 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63356 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63357 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63358
63359 2012-09-12 Joseph Myers <joseph@codesourcery.com>
63360
63361 [BZ #14518]
63362 * include/rounding-mode.h: New file.
63363 * sysdeps/generic/get-rounding-mode.h: Likewise.
63364 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63365 * stdlib/strtod_l.c: Include <rounding-mode.h>.
63366 (MAX_VALUE): New macro.
63367 (MIN_VALUE): Likewise.
63368 (overflow_value): New function.
63369 (underflow_value): Likewise.
63370 (round_and_return): Use overflow_value and underflow_value to
63371 determine return values in overflow and underflow cases. Use
63372 round_away to determine rounding depending on rounding mode.
63373 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63374 determine return values in overflow and underflow cases.
63375 * stdlib/tst-strtod-round.c: Include <fenv.h>.
63376 (struct test_results): New structure.
63377 (struct test): Use struct test_results to store expected results
63378 for all rounding modes.
63379 (TEST): Include expected results for all rounding modes.
63380 (test_in_one_mode): New function.
63381 (do_test): Use test_in_one_mode to compute and check results.
63382 Check results for all rounding modes.
63383 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63384 $(link-libm).
63385
63386 2012-12-09 Allan McRae <allan@archlinux.org>
63387
63388 * sysdeps/i386/fpu/libm-test-ulps: Update
63389
63390 2012-09-11 Joseph Myers <joseph@codesourcery.com>
63391
63392 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63393 (_G_int32_t): Likewise.
63394 (_G_uint16_t): Likewise.
63395 (_G_uint32_t): Likewise.
63396 (_G_HAVE_BOOL): Likewise.
63397 (_G_HAVE_ATEXIT): Likewise.
63398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63399 (_G_HAVE_IO_FILE_OPEN): Likewise.
63400 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63401 (_G_int32_t): Likewise.
63402 (_G_uint16_t): Likewise.
63403 (_G_uint32_t): Likewise.
63404 (_G_HAVE_BOOL): Likewise.
63405 (_G_HAVE_ATEXIT): Likewise.
63406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63407 (_G_HAVE_IO_FILE_OPEN): Likewise.
63408 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63409 (_G_int32_t): Likewise.
63410 (_G_uint16_t): Likewise.
63411 (_G_uint32_t): Likewise.
63412 (_G_HAVE_BOOL): Likewise.
63413 (_G_HAVE_ATEXIT): Likewise.
63414 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63415 (_G_HAVE_IO_FILE_OPEN): Likewise.
63416
63417 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
63418
63419 * csu/libc-tls.c: Update copyright years.
63420
63421 2012-09-10 Joseph Myers <joseph@codesourcery.com>
63422
63423 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63424 [!_G_USING_THUNKS]: Remove conditional code.
63425 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63426 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63427
63428 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63429 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63430 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63431 (_G_VTABLE_LABEL_PREFIX): Likewise.
63432 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63433 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63434 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63435 (_G_VTABLE_LABEL_PREFIX): Likewise.
63436 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63437 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63438 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63439 (_G_VTABLE_LABEL_PREFIX): Likewise.
63440 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63441
63442 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
63443
63444 * libio/Makefile: Include ../Makeconfig before tests.
63445 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63446 only if $(build-shared) is yes.
63447
63448 * iconv/gconv_db.c: Update copyright years.
63449
63450 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63451
63452 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63453 unwind info if defined PIC. Fix special cases description.
63454 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63455
63456 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63457 DP_HI_MASK entry.
63458 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63459
63460 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
63461
63462 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63463
63464 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63465 is NULL.
63466
63467 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63468 (LDLIBS-tst-chk4): This.
63469 (LDFLAGS-tst-chk5): Renamed to ...
63470 (LDLIBS-tst-chk5): This.
63471 (LDFLAGS-tst-chk6): Renamed to ...
63472 (LDLIBS-tst-chk6): This.
63473 (LDFLAGS-tst-lfschk4): Renamed to ...
63474 (LDLIBS-tst-lfschk4): This.
63475 (LDFLAGS-tst-lfschk5): Renamed to ...
63476 (LDLIBS-tst-lfschk5): This.
63477 (LDFLAGS-tst-lfschk6): Renamed to ...
63478 (LDLIBS-tst-lfschk6): This.
63479
63480 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63481 on $(common-objpfx)soversions.mk.
63482
63483 2012-09-07 Joseph Myers <joseph@codesourcery.com>
63484
63485 [BZ #10014]
63486 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63487 example host name.
63488
63489 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
63490
63491 * malloc/arena.c (arena_get_retry): New function that gets
63492 another arena for the caller to try its request on.
63493 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63494 current arena cannot fulfill the request.
63495 (__libc_memalign): Likewise.
63496 (__libc_memalign): Likewise.
63497 (__libc_pvalloc): Likewise.
63498 (__libc_calloc): Likewise.
63499
63500 2012-09-05 John Tobey <john.tobey@gmail.com>
63501
63502 [BZ #13542]
63503 * manual/arith.texi (Operations on Complex): Fix description
63504 of carg branch cut.
63505
63506 2012-09-06 Joseph Myers <joseph@codesourcery.com>
63507
63508 [BZ #10014]
63509 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63510 host name.
63511
63512 [BZ #10038]
63513 * manual/memory.texi (Memory): Make order of menu items match
63514 order of sections.
63515
63516 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
63517
63518 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63519 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
63520 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63521
63522 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
63523
63524 * csu/libc-tls.c (static_dtv): Renamed to ...
63525 (_dl_static_dtv): This. Make it global.
63526 (_dl_initial_dtv): Removed.
63527 (__libc_setup_tls): Updated.
63528 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63529 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63530 DL_INITIAL_DTV.
63531
63532 2012-09-06 Petr Machata <pmachata@redhat.com>
63533
63534 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63535 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63536 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63537 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63538
63539 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
63540
63541 [BZ #14545]
63542 * csu/libc-tls.c (_dl_initial_dtv): New variable.
63543 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63544 freeing dtv[-1].
63545
63546 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
63547
63548 [BZ #14544]
63549 * Makeconfig (link-static-before-libc): Replace $(+prector)
63550 with $(+prectorT).
63551 (link-static-after-libc): Replace $(+postctor) with
63552 $(+postctorT).
63553 (link-bounded): Replace $(+prector)/$(+postctor) with
63554 $(+prectorT)/$(+postctorT).
63555 (+prectorT): New macro.
63556 (+postctorT): Likewise.
63557
63558 2012-09-06 Joseph Myers <joseph@codesourcery.com>
63559
63560 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63561 (round_str): Handle values above the maximum for IBM long double
63562 as inexact.
63563 * stdlib/tst-strtod-round.c (tests): Regenerated.
63564
63565 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63566
63567 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63568 assembler flag.
63569 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63570 zarch_nohighgprs around the zarch optimized routines.
63571 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63572 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63573 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63574 for zarch.
63575
63576 2012-09-05 David S. Miller <davem@davemloft.net>
63577
63578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63579
63580 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63581 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63582 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63583 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63584 entries.
63585
63586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
63587
63588 * malloc/arena.c: Fold copyright years.
63589 * malloc/mcheck.c, malloc/memusage.c: Likewise.
63590
63591 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
63592
63593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63594
63595 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
63596
63597 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
63598
63599 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
63600
63601 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63602 change internal state upon failure.
63603
63604 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
63605
63606 * malloc/mcheck.c (mcheck_check_all): Fix typo.
63607 * malloc/memusage.c (mmap): Likewise.
63608 (mmap64, mremap): Likewise. Adjust name in comment.
63609
63610 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
63611
63612 * libio/fileops.c: Fix typos in comments.
63613 * libio/oldfileops.c: Likewise.
63614 * libio/wfileops.c: Likewise.
63615
63616 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
63617
63618 [BZ #1349]
63619 * malloc/Makefile (tests): Add tst-malloc-usable test case.
63620 (tst-malloc-usable-ENV): Set environment for test case.
63621 * malloc/hooks.c (malloc_check_get_size): New function to get
63622 requested size.
63623 * malloc/malloc.c (musable): Use malloc_check_get_size.
63624 * malloc/tst-malloc-usable.c: New test case.
63625
63626 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
63627
63628 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63629
63630 2012-09-05 Allan McRae <allan@archlinux.org>
63631
63632 [BZ #13966]
63633 * configure.in (CXX_SYSINCLUDES): Use compiler output to
63634 determine header location.
63635 * configure: Regenerated.
63636
63637 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
63638
63639 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63640 float format.
63641 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63642 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63643 format.
63644 (test): Regenerate.
63645
63646 2012-09-04 David S. Miller <davem@davemloft.net>
63647
63648 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63649 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63651
63652 2012-09-04 Florian Weimer <fweimer@redhat.com>
63653
63654 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63655 failures.
63656
63657 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63658
63659 2012-09-04 Joseph Myers <joseph@codesourcery.com>
63660
63661 [BZ #9914]
63662 * libio/iogetdelim.c: Include <limits.h>.
63663 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63664 + len + 1 would overflow.
63665
63666 2012-09-03 Andreas Jaeger <aj@suse.de>
63667
63668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63669 * sysdeps/i386/fpu/libm-test-ulps: Update.
63670
63671 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63672
63673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63674 Add s_sinf-sse2, s_conf-sse2.
63675
63676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63677 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63678 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63679 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63680
63681 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63682 for using routine as __sinf_ia32.
63683 Use macro for function declaration and weak_alias.
63684 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63685 for using routine as __cosf_ia32.
63686 Use macro for function declaration and weak_alias.
63687
63688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63689 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63690
63691 * sysdeps/x86_64/fpu/s_sinf.S: New file.
63692 * sysdeps/x86_64/fpu/s_cosf.S: New file.
63693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63694
63695 * math/libm-test.inc (cos_test): Add more test cases.
63696 (sin_test): Likewise.
63697 (sincos_test): Likewise.
63698
63699 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63700
63701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63702 (IFUNC_RESOLVE): Make pointers to the specialized implementations
63703 hidden.
63704 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63705
63706 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
63707
63708 [BZ #14538]
63709 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63710 first element of the GOT.
63711 (elf_machine_load_address): Return the difference between
63712 the runtime address of _DYNAMIC and elf_machine_dynamic ().
63713
63714 2012-09-01 Allan McRae <allan@archlinux.org>
63715
63716 [BZ #13412]
63717 * configure.in (AWK): Require gawk version 3.0 or later.
63718 * configure: Regenerated.
63719
63720 2012-09-01 Joseph Myers <joseph@codesourcery.com>
63721
63722 * sysdeps/unix/sysv/linux/kernel-features.h
63723 (__ASSUME_POSIX_CPU_TIMERS): Remove.
63724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63725 [__NR_clock_getres]: Make code unconditional.
63726 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63727 (clock_getcpuclockid): Remove code left unreachable by removal of
63728 conditionals.
63729 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63730 code unconditional.
63731 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63733 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63734 Make code unconditional.
63735 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63736 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63737 * sysdeps/unix/sysv/linux/clock_settime.c
63738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63739 conditional code.
63740 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63742
63743 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
63744
63745 [BZ #14476]
63746 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63747 scripts/test-installation.pl.
63748
63749 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63750 and $ld_so_version if it is set.
63751
63752 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
63753
63754 [BZ #14516]
63755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63756 failure if reading from procfs failed.
63757 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63758
63759 2012-08-27 Joseph Myers <joseph@codesourcery.com>
63760
63761 * sysdeps/unix/sysv/linux/kernel-features.h
63762 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63763 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63764 Remove conditional code.
63765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63766 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63767 Remove conditional code.
63768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63769 * sysdeps/unix/sysv/linux/i386/fxstat.c
63770 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63772 * sysdeps/unix/sysv/linux/i386/fxstatat.c
63773 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63775 * sysdeps/unix/sysv/linux/i386/lxstat.c
63776 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63778 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63779 Remove conditional code.
63780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63781 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63782 Remove conditional code.
63783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63784 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63785 <kernel-features.h>.
63786 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63787 Remove.
63788 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63789 Remove conditional code.
63790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63791 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63792 Remove conditional.
63793
63794 2012-08-27 Mike Frysinger <vapier@gentoo.org>
63795
63796 [BZ #5400]
63797 * NEWS: Add fixed bug number.
63798
63799 2012-08-27 Joseph Myers <joseph@codesourcery.com>
63800
63801 [BZ #14519]
63802 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63803 underflowing exponent in case of negative sign.
63804 * stdlib/tst-strtod-round-data: Add more tests.
63805 * stdlib/tst-strtod-round.c (tests): Regenerated.
63806
63807 [BZ #3479]
63808 * stdlib/strtod_l.c (NDIG): Remove.
63809 (HEXNDIG): Likewise.
63810 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63811 smallest representable value.
63812 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63813 lie within an exact representation of 1/2 ulp of the result.
63814 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63815 unconditionally.
63816 (TENS_P9_IDX): Define unconditionally.
63817 (TENS_P9_SIZE): Likewise.
63818 (TENS_P10_IDX): Likewise.
63819 (TENS_P10_SIZE): Likewise.
63820 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63821 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63822 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63823 entries for 10^2^13 and 10^2^14.
63824 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63825 (TENS_P13_IDX): Define.
63826 (TENS_P13_SIZE): Likewise.
63827 (TENS_P14_IDX): Likewise.
63828 (TENS_P14_SIZE): Likewise.
63829 (_fpioconst_pow10): Change array size to
63830 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
63831 unconditional.
63832 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63833 1024]: Add entries for 10^2^13 and 10^2^14.
63834 [LAST_POW10 > _LAST_POW10]: Remove #error.
63835 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63836 (_fpioconst_pow10): Change array size to
63837 FPIOCONST_POW10_ARRAY_SIZE.
63838 * stdlib/gen-fpioconst.c: New file.
63839 * stdlib/gen-tst-strtod-round.c: Likewise.
63840 * stdlib/tst-strtod-round-data: Likewise.
63841 * stdlib/tst-strtod-round.c: Likewise.
63842 * stdlib/Makefile (tests): Add tst-strtod-round.
63843
63844 [BZ #14459]
63845 * stdlib/strtod_l.c: Include <stdint.h>.
63846 (NDEBUG): Do not define.
63847 (round_and_return): Change EXPONENT parameter to type intmax_t.
63848 Rearrange calculations to avoid internal overflow possibilities.
63849 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63850 Rearrange calculations to avoid internal overflow possibilities.
63851 Assert that number fits inside MPNSIZE limbs.
63852 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63853 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
63854 calculations and add assertions to avoid internal overflow
63855 possibilities. Add casts to avoid signed/unsigned operations.
63856 * stdlib/tst-strtod-overflow.c: New file.
63857 * stdlib/Makefile (tests): Add tst-strtod-overflow.
63858
63859 2012-08-25 Marek Polacek <polacek@redhat.com>
63860
63861 * time/time.h: Fix some typos in comments.
63862
63863 2012-08-23 Roland McGrath <roland@hack.frob.com>
63864
63865 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63866 * posix/tst-rfc3484-2.c: Likewise.
63867 * posix/tst-rfc3484-3.c: Likewise.
63868
63869 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
63870
63871 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63872 (EF_ARM_ABI_FLOAT_HARD): Likewise.
63873
63874 2012-08-23 Joseph Myers <joseph@codesourcery.com>
63875
63876 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63877 #include of fxstatat64.c.
63878
63879 2012-08-22 Roland McGrath <roland@hack.frob.com>
63880
63881 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63882 * shadow/getspent_r.c: Likewise.
63883 * shadow/getspnam.c: Likewise.
63884 * shadow/getspnam_r.c: Likewise.
63885 * gshadow/getsgent.c: Likewise.
63886 * gshadow/getsgent_r.c: Likewise.
63887 * gshadow/getsgnam.c: Likewise.
63888 * gshadow/getsgnam_r.c: Likewise.
63889 * inet/getnetbyad.c: Likewise.
63890 * inet/getnetbyad_r.c: Likewise.
63891 * inet/getnetbynm.c: Likewise.
63892 * inet/getnetbynm_r.c: Likewise.
63893 * inet/getnetent.c: Likewise.
63894 * inet/getnetent_r.c: Likewise.
63895 * inet/getproto.c: Likewise.
63896 * inet/getproto_r.c: Likewise.
63897 * inet/getprtent.c: Likewise.
63898 * inet/getprtent_r.c: Likewise.
63899 * inet/getprtname.c: Likewise.
63900 * inet/getprtname_r.c: Likewise.
63901 * inet/getrpcbyname.c: Likewise.
63902 * inet/getrpcbyname_r.c: Likewise.
63903 * inet/getrpcbynumber.c: Likewise.
63904 * inet/getrpcbynumber_r.c: Likewise.
63905 * inet/getrpcent.c: Likewise.
63906 * inet/getrpcent_r.c: Likewise.
63907 * inet/getaliasent.c: Likewise.
63908 * inet/getaliasent_r.c: Likewise.
63909 * inet/getaliasname.c: Likewise.
63910 * inet/getaliasname_r.c: Likewise.
63911 * nscd/getgrgid_r.c: Likewise.
63912 * nscd/getgrnam_r.c: Likewise.
63913 * nscd/gethstbyad_r.c: Likewise.
63914 * nscd/gethstbynm3_r.c: Likewise.
63915 * nscd/getpwnam_r.c: Likewise.
63916 * nscd/getpwuid_r.c: Likewise.
63917 * nscd/getsrvbynm_r.c: Likewise.
63918 * nscd/getsrvbypt_r.c: Likewise.
63919 * nscd/gai.c: Likewise.
63920
63921 * configure.in (build_nscd): New substituted variable, set
63922 by --disable-build-nscd and defaults to $use_nscd.
63923 * configure: Regenerated.
63924 * config.make.in (build-nscd): New substituted variable.
63925 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63926 Change conditional to require [$(build-nscd) = yes] as well.
63927 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63928
63929 [BZ# 13696]
63930 * configure.in (use_nscd): New substituted variable, set by
63931 --disable-nscd. If enabled, define USE_NSCD.
63932 * configure: Regenerated.
63933 * config.h.in: Add USE_NSCD.
63934 * config.make.in (use-nscd): New substituted variable.
63935 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63936 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63937 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63938 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63939 (CFLAGS-getgrnam_r.c): Likewise.
63940 (CFLAGS-initgroups.c): Likewise.
63941 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63942 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63943 Variables removed.
63944 * inet/getnetgrent_r.c
63945 (nscd_setnetgrent): New function, broken out of ...
63946 (setnetgrent): ... here. Call it.
63947 (innetgr): Conditionalize nscd bits on [USE_NSCD].
63948 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63949 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63950 * nscd/Makefile (routines, aux): Move definitions after include of
63951 Makeconfig. Conditionalize on [$(use-nscd) != no].
63952 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63953 Conditionalize on [USE_NSCD].
63954 (is_nscd, nscd_init_cb): Likewise.
63955 (nss_load_library): Conditionalize init callback on [USE_NSCD].
63956 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63957 * nss/nss_db/db-init.c: Likewise.
63958 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63959 [USE_NSCD].
63960 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63961 (make_request): Use it.
63962 (cache_valid_p): New function.
63963 (__check_pf): Use it.
63964 * NEWS: Add item for --disable-nscd.
63965
63966 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
63967
63968 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63969 to support sed >= 4.2.1-20-ga9bf076.
63970 * configure: Regenerated.
63971
63972 2012-08-22 Roland McGrath <roland@hack.frob.com>
63973
63974 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63975 Conditionalize whole body on [IREL].
63976
63977 2012-08-22 Jeff Law <law@redhat.com>
63978
63979 [BZ #14505]
63980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63981 if the family is PF_UNSPEC.
63982
63983 2012-08-22 Mike Frysinger <vapier@gentoo.org>
63984
63985 * Makerules (lib-version): Rename from V.
63986 (install-lib-nosubdir): Change V to lib-version.
63987
63988 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
63989
63990 [BZ #14252]
63991 * powerpc32/power6/wcschr.c: New file.
63992 * powerpc32/power6/wcscpy.c: New file.
63993 * powerpc32/power6/wcsrchr.c: New file.
63994 * powerpc64/power6/wcschr.c: New file.
63995 * powerpc64/power6/wcscpy.c: New file.
63996 * powerpc64/power6/wcsrchr.c: New file.
63997
63998 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
63999
64000 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64001 (two_way_short_needle): Use it.
64002 * string/strstr.c (AVAILABLE1_USES_J): Define.
64003 * string/strcasestr.c: Likewise.
64004
64005 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64006 array references.
64007 * string/strcasestr.c (TOLOWER): Make side-effect safe.
64008
64009 [BZ #11607]
64010 * NEWS: Add an entry.
64011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64012 define their defaults.
64013 (two_way_short_needle): Detect end-of-string on-the-fly.
64014 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64015 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64016 * string/bug-strcasestr1.c: New test.
64017 * string/Makefile: Run it.
64018
64019 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
64020
64021 [BZ #11607]
64022 * string/str-two-way.h (two_way_short_needle): Optimize matching of
64023 the first character.
64024
64025 2012-08-21 Roland McGrath <roland@hack.frob.com>
64026
64027 * csu/elf-init.c (__libc_csu_irel): Function removed.
64028 * csu/libc-start.c (apply_irel): New function.
64029 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64030
64031 2012-08-21 Joseph Myers <joseph@codesourcery.com>
64032
64033 * sysdeps/unix/sysv/linux/kernel-features.h
64034 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64035 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64036 <kernel-features.h>.
64037 [__NR_fadvise64_64]: Make code unconditional.
64038 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64039 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64040 !__NR_fadvise64_64)]: Likewise.
64041 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64042 !__NR_fadvise64_64))]: Likewise.
64043 [__NR_fadvise64]: Make code unconditional.
64044 [!__NR_fadvise64]: Remove conditional code.
64045 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64046 <kernel-features.h>.
64047 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64048 unconditional.
64049 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64050 conditional code.
64051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64052 not include <kernel-features.h>.
64053 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64054 unconditional.
64055 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64056 conditional code.
64057 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64058 include <kernel-features.h>.
64059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64060 unconditional.
64061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64062 conditional code.
64063
64064 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
64065
64066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64067 slight instruction rearrangements per scrollpipe analysis.
64068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64069
64070 2012-08-20 Roland McGrath <roland@hack.frob.com>
64071
64072 * manual/syslog.texi (syslog; vsyslog, closelog):
64073 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64074 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64075
64076 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64077 DSOCAPS to match condition on defining it.
64078
64079 2012-08-20 Joseph Myers <joseph@codesourcery.com>
64080
64081 * sysdeps/unix/sysv/linux/kernel-features.h
64082 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64084 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64085 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64087 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64088 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64090 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64091 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64092
64093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64094 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64095
64096 * sysdeps/unix/sysv/linux/kernel-features.h
64097 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64098 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64099 unconditional.
64100 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64101 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64102 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64103 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64104 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64105 Make code unconditional.
64106 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64107 (__mmap64) [!__NR_mmap2]: Likewise.
64108 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64112 [__NR_mmap2]: Make code unconditional.
64113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64114 (__mmap64) [!__NR_mmap2]: Likewise.
64115
64116 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64117
64118 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64119
64120 2012-08-18 Andreas Jaeger <aj@suse.de>
64121
64122 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64123
64124 2012-08-18 Mike Frysinger <vapier@gentoo.org>
64125
64126 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64127 * include/unistd.h (__have_sock_cloexec): Likewise.
64128 (__have_pipe2): Likewise.
64129 (__have_dup3): Likewise.
64130
64131 2012-08-18 Mike Frysinger <vapier@gentoo.org>
64132
64133 [BZ #9685]
64134 * include/unistd.h (__have_pipe2): Change define into an extern int.
64135 (__have_dup3): Likewise.
64136 * socket/have_sock_cloexec.c: Include fcntl.h.
64137 (__have_pipe2): New variable.
64138 (__have_dup3): Likewise.
64139
64140 2012-08-17 Mike Frysinger <vapier@gentoo.org>
64141
64142 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64143
64144 2012-08-17 Marek Polacek <polacek@redhat.com>
64145
64146 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64147 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64148
64149 2012-08-17 Roland McGrath <roland@hack.frob.com>
64150
64151 * configure.in: Add AC_SUBST for sysheaders.
64152 * configure: Regenerated.
64153 * config.make.in (sysheaders): New substituted variable.
64154
64155 * sysdeps/unix/mkfifo.c: Moved ...
64156 * sysdeps/posix/mkfifo.c: ... here.
64157 * sysdeps/unix/mkfifoat.c: Moved ...
64158 * sysdeps/posix/mkfifoat.c: ... here.
64159
64160 * sysdeps/unix/utime.c: Moved ...
64161 * sysdeps/posix/utime.c: ... here.
64162
64163 * sysdeps/unix/time.c: Moved ...
64164 * sysdeps/posix/time.c: ... here.
64165 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64166 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64167
64168 * sysdeps/unix/nice.c: Moved ...
64169 * sysdeps/posix/nice.c: ... here.
64170
64171 * sysdeps/unix/alarm.c: Moved ...
64172 * sysdeps/posix/alarm.c: ... here.
64173
64174 * intl/Makefile ($(codeset_mo)): Depend on the input file.
64175
64176 2012-08-17 Jeff Law <law@redhat.com>
64177
64178 * intl/Makefile (codeset_mo): New variable.
64179 ($(codeset_mo)): New target.
64180 (tst-codeset.out): Depend on that. Remove explicit rule.
64181 (tst-gettext3.out, tst-gettext5.out): Likewise.
64182 (LOCPATH-ENV, tst-codeset-ENV): New variables.
64183 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64184 * intl/tst-codeset.sh: Remove.
64185 * intl/tst-gettext3.sh: Likewise.
64186 * intl/tst-gettext5.sh: Likewise.
64187
64188 2012-08-17 Roland McGrath <roland@hack.frob.com>
64189
64190 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
64191 * sysdeps/unix/syscalls.list: ... here.
64192
64193 * sysdeps/posix/getaddrinfo.c
64194 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64195 (gaiconf_init, gaiconf_reload): Use them.
64196 [!_STATBUF_ST_NSEC]
64197 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64198 Define using time_t rather than struct timespec.
64199
64200 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64201 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64202 Macros removed.
64203 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64204 [!NO_THREADS].
64205 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64206 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64207 Likewise.
64208
64209 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64210 __libc_cleanup_push argument.
64211
64212 * bits/param.h: New file.
64213 * misc/sys/param.h: New file.
64214 * include/sys/param.h: New file.
64215 * misc/Makefile (headers): Add bits/param.h.
64216 * sysdeps/generic/sys/param.h: File removed.
64217 * sysdeps/unix/sysv/linux/bits/param.h: New file.
64218 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64219 * sysdeps/mach/hurd/bits/param.h: New file.
64220 * sysdeps/mach/hurd/sys/param.h: File removed.
64221
64222 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64223 last change.
64224
64225 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64226 [_IO_MTSAFE_IO].
64227 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64228 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64229 New macros.
64230
64231 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64232 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64233 rather than -D_IO_MTSAFE_IO conditionally.
64234 * stdio-common/Makefile (CPPFLAGS): Likewise.
64235 * wcsmbs/Makefile (CPPFLAGS): Likewise.
64236 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64237 Use $(libio-mtsafe).
64238 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64239 of -D_IO_MTSAFE_IO.
64240 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64241 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64242 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64243 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64244 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64245 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64246 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64247 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64248 (CFLAGS-fread_u_chk.c): Likewise.
64249 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64250 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64251 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64252 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64253 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64254 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64255 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64256 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64257 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64258
64259 * libio/Makefile: Test [$(libc-reentrant) = yes]
64260 instead of [$(filter %REENTRANT, $(defines)) nonempty].
64261
64262 * Makeconfig
64263 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64264 * sysdeps/pthread/configure: File removed.
64265 * sysdeps/pthread/Makeconfig: New file.
64266 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64267 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64268
64269 2012-08-16 Gary Benson <gbenson@redhat.com>
64270
64271 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64272 unmapping the first object in a namespace.
64273
64274 2012-08-16 Roland McGrath <roland@hack.frob.com>
64275
64276 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64277 (__internal_setnetgrent): ... this. Add internal_function to
64278 definition. Add libc_hidden_def.
64279 (setnetgrent): Update caller.
64280 (internal_endnetgrent): Renamed to ...
64281 (__internal_endnetgrent): ... this. Add internal_function to
64282 definition. Add libc_hidden_def.
64283 (endnetgrent): Update caller.
64284 (internal_getnetgrent_r): Renamed to ...
64285 (__internal_getnetgrent_r): ... this. Add internal_function to
64286 definition. Add libc_hidden_def.
64287 (__getnetgrent_r): Update caller.
64288 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
64289
64290 2012-08-16 Joseph Myers <joseph@codesourcery.com>
64291
64292 * stdlib/longlong.h: Update from GCC.
64293
64294 2012-08-16 Roland McGrath <roland@hack.frob.com>
64295
64296 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64297 on _QL, which is set by umul_ppmm but never used.
64298 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64299 variables, which are set by GMP macros but never used.
64300 * stdio-common/_itowa.c (_itowa): Likewise.
64301 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64302 * stdlib/mod_1.c (mpn_mod_1): Likewise.
64303
64304 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
64305
64306 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64307 struct La_sh_regs is not constant.
64308 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64309 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64310 and struct La_sparc64_regs are not constant.
64311
64312 2012-08-16 Joseph Myers <joseph@codesourcery.com>
64313
64314 * sysdeps/unix/sysv/linux/kernel-features.h
64315 (__ASSUME_POSIX_TIMERS): Remove.
64316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64318 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64319 Make code unconditional.
64320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64321 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64322 Make code unconditional.
64323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64324 * sysdeps/unix/sysv/linux/clock_nanosleep.c
64325 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64327 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64328 Make code unconditional.
64329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64330 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64331 (__libc_missing_posix_timers): Remove.
64332
64333 2012-08-15 Roland McGrath <roland@hack.frob.com>
64334
64335 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64336 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64337
64338 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64339
64340 * elf/dl-sym.c: Include <stdlib.h>.
64341
64342 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64343 constants, which avoids warnings in 32-bit builds.
64344
64345 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64346 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64347
64348 * misc/lseek.c: File moved to ...
64349 * io/lseek.c: ... here.
64350
64351 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64352
64353 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64354 shifting LEN more than 31 bits at once.
64355
64356 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64357
64358 [BZ #14195]
64359 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64360 segmentation fault for a case of two empty input strings.
64361 * string/test-strncasecmp.c (check1): Renamed to...
64362 (bz12205): ...this.
64363 (bz14195): Add new testcase for two empty input strings and N > 0.
64364 (test_main): Call new testcase, adapt for renamed function.
64365
64366 2012-08-15 Andreas Jaeger <aj@suse.de>
64367
64368 [BZ #14090]
64369 * crypt/md5test2.c: New test, based on test supplied by Serge
64370 Belyshev <belyshev@depni.sinp.msu.ru>.
64371 * crypt/Makefile (xtests): Add md5test-giant..
64372 * crypt/Makefile ($(objpfx)md5test-giant): Add.
64373
64374 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
64375
64376 [BZ #14090]
64377 * crypt/md5.c (md5_process_block): Don't assume the buffer
64378 length is less than 2**32.
64379 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64380 length is less than 2**64.
64381
64382 2012-08-15 Roland McGrath <roland@hack.frob.com>
64383
64384 * string/str-two-way.h: Include <sys/param.h>.
64385 (MAX): Macro removed.
64386
64387 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64388 Move #define and #undef of memmove to just before and after
64389 including <string.h>.
64390
64391 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64392 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64393 and after including <string.h>. Move declarations of
64394 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64395 to before #include "string/memmove.c".
64396
64397 * include/dirent.h: Declare __getdirentries.
64398
64399 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64400 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64401
64402 2012-08-14 Mike Frysinger <vapier@gentoo.org>
64403
64404 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64405 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64406 * sysdeps/i386/configure: Regenerated.
64407 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64408 STABS_CURRENT_FILE, and STABS_FUN.
64409 (END): Remove call to STABS_FUN_END.
64410 (STABS_CURRENT_FILE1): Delete.
64411 (STABS_CURRENT_FILE): Likewise.
64412 (STABS_FUN): Likewise.
64413 (STABS_FUN_END): Likewise.
64414 (STABS_FUN2): Likewise.
64415 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64416 * sysdeps/x86_64/configure: Regenerated.
64417
64418 2012-08-14 Roland McGrath <roland@hack.frob.com>
64419
64420 * elf/dl-open.c: Include <atomic.h>.
64421 * elf/dl-lookup.c: Likewise.
64422
64423 2012-08-14 Joseph Myers <joseph@codesourcery.com>
64424
64425 * sysdeps/unix/sysv/linux/kernel-features.h
64426 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64427 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64428 unconditionally.
64429 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64430 unconditionally.
64431 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64432 condition on __ASSUME_CLONE_THREAD_FLAGS.
64433
64434 2012-08-14 Andreas Jaeger <aj@suse.de>
64435
64436 * sysdeps/i386/fpu/libm-test-ulps: Update.
64437
64438 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
64439
64440 * include/atomic.h (atomic_exchange_and_add): Split into ...
64441 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64442 New atomic macros.
64443
64444 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
64445
64446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64447
64448 2012-08-13 Jeff Law <law@redhat.com>
64449
64450 * manual/stdio.texi (snprintf): Clarify handling of the trailing
64451 null byte in the output string.
64452
64453 2012-08-10 Joseph Myers <joseph@codesourcery.com>
64454
64455 * sysdeps/unix/sysv/linux/kernel-features.h
64456 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64457 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64458 (__ASSUME_ARG_MAX_STACK_BASED): Define.
64459 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64460 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64461 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
64462 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64463
64464 2012-08-09 Jeff Law <law@redhat.com>
64465
64466 [BZ #13939]
64467 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64468 When avoid_arena is set, don't retry in the that arena. Pick the
64469 next one, whatever it might be.
64470 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64471 (arena_lock): Pass in new parameter to arena_get2.
64472 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64473 arena_get2.
64474 (__libc_malloc): Unify retrying after main arena failure with
64475 __libc_memalign version.
64476 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64477
64478 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
64479
64480 [BZ #14166]
64481 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64482 to __redirect_strstr.
64483 (__strstr_sse42): Use typeof __redirect_strstr.
64484 (__strstr_ia32): Likewise.
64485 (__libc_strstr): New prototype.
64486 (strstr): Renamed to ...
64487 (__libc_strstr): This.
64488 (strstr): New strong alias of __libc_strstr.
64489 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64490 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64491 __redirect_time.
64492 Include <time.h>.
64493 (__libc_time): New prototype.
64494 (time_ifunc): Replace time with __libc_time.
64495 (time): New strong alias and hidden definition of __libc_time.
64496 (__GI_time): Remove strong alias.
64497 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64498 Include <stddef.h>.
64499 (memmove): Redefined to __redirect_memmove.
64500 (__memmove_sse2): Use typeof __redirect_memmove.
64501 (__memmove_ssse3): Likewise.
64502 (__memmove_ssse3_back): Likewise.
64503 (__libc_memmove): New prototype.
64504 (memmove): Renamed to ...
64505 (__libc_memmove): This.
64506 (memmove): New strong alias of __libc_memmove.
64507
64508 2012-08-08 Mark Salter <msalter@redhat.com>
64509
64510 * elf/elf.h
64511 (R_MN10300_TLS_GD): Define.
64512 (R_MN10300_TLS_LD): Likewise.
64513 (R_MN10300_TLS_LDO): Likewise.
64514 (R_MN10300_TLS_GOTIE): Likewise.
64515 (R_MN10300_TLS_IE): Likewise.
64516 (R_MN10300_TLS_LE): Likewise.
64517 (R_MN10300_TLS_DTPMOD): Likewise.
64518 (R_MN10300_TLS_DTPOFF): Likewise.
64519 (R_MN10300_TLS_TPOFF): Likewise.
64520 (R_MN10300_SYM_DIFF): Likewise.
64521 (R_MN10300_ALIGN): Likewise.
64522 (R_MN10300_NUM): Update.
64523
64524 2012-08-08 Joseph Myers <joseph@codesourcery.com>
64525
64526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64527 Remove.
64528
64529 2012-08-08 Roland McGrath <roland@hack.frob.com>
64530
64531 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64532
64533 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64534 sysdeps/unix -> sysdeps/posix move.
64535 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64536
64537 2012-08-07 Allan McRae <allan@archlinux.org>
64538
64539 [BZ #14303]
64540 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64541 (SUNOS_CPP): Likewise.
64542 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64543 not found.
64544 (open_input): Call CPP using execvp.
64545
64546 2012-08-07 Joseph Myers <joseph@codesourcery.com>
64547
64548 * sysdeps/unix/sysv/linux/kernel-features.h
64549 (__ASSUME_PROT_GROWSUPDOWN): Remove.
64550 (__ASSUME_NO_CLONE_DETACHED): Likewise.
64551 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64552 (__ASSUME_WAITID_SYSCALL): Likewise.
64553 * sysdeps/unix/sysv/linux/dl-execstack.c
64554 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64555 code unconditional.
64556 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64557 conditional code.
64558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64559 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64560 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64561 code.
64562 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64563 unconditional.
64564 [__ASSUME_WAITID_SYSCALL]: Likewise.
64565 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64566
64567 2012-08-07 Roland McGrath <roland@hack.frob.com>
64568
64569 * sysdeps/unix/closedir.c: Renamed to ...
64570 * sysdeps/posix/closedir.c: ... here.
64571 * sysdeps/unix/dirfd.c: Renamed to ...
64572 * sysdeps/posix/dirfd.c: ... here.
64573 * sysdeps/unix/dirstream.h: Renamed to ...
64574 * sysdeps/posix/dirstream.h: ... here.
64575 * sysdeps/unix/fdopendir.c: Renamed to ...
64576 * sysdeps/posix/fdopendir.c: ... here.
64577 * sysdeps/unix/opendir.c: Renamed to ...
64578 * sysdeps/posix/opendir.c: ... here.
64579 * sysdeps/unix/readdir.c: Renamed to ...
64580 * sysdeps/posix/readdir.c: ... here.
64581 * sysdeps/unix/readdir_r.c: Renamed to ...
64582 * sysdeps/posix/readdir_r.c: ... here.
64583 * sysdeps/unix/rewinddir.c: Renamed to ...
64584 * sysdeps/posix/rewinddir.c: ... here.
64585 * sysdeps/unix/seekdir.c: Renamed to ...
64586 * sysdeps/posix/seekdir.c: ... here.
64587 * sysdeps/unix/telldir.c: Renamed to ...
64588 * sysdeps/posix/telldir.c: ... here.
64589 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64590 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64591 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64592 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64593
64594 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64595 * bits/fcntl.h: ... here.
64596
64597 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64598 not 0.
64599 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64600 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64601 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64602 (struct flock): Move l_start, l_len to the beginning.
64603 Use __pid_t for l_pid.
64604 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64605 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64606 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64607 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64608 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64609 [__USE_LARGEFILE64] (struct flock64): New type.
64610 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64611
64612 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64613 * bits/dirent.h: ... here.
64614
64615 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64616 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64617
64618 2012-08-07 Joseph Myers <joseph@codesourcery.com>
64619
64620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64621 Change from 2.6.0 to 2.6.16.
64622 * sysdeps/unix/sysv/linux/configure: Regenerated.
64623 * sysdeps/unix/sysv/linux/kernel-features.h
64624 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64625 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64626 version.
64627 (__ASSUME_UTIMES): Likewise.
64628 (__ASSUME_CLONE_STOPPED): Remove.
64629 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64630 architectures, not kernel version.
64631 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
64633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64634 (__ASSUME_WAITID_SYSCALL): Likewise.
64635 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64636 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64637 * README: State 2.6.16 as minimum Linux kernel version. Do not
64638 refer to older versions.
64639
64640 2012-08-06 Roland McGrath <roland@hack.frob.com>
64641
64642 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64643 Define alphasort64 as an alias.
64644 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64645 Define versionsort64 as an alias.
64646 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64647 Define scandir64 as an alias.
64648 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64649 Define scandirat64 as an alias.
64650 * dirent/alphasort64.c (alphasort64):
64651 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64652 * dirent/versionsort64.c: Likewise.
64653 * dirent/scandir64.c: Likewise.
64654 * dirent/scandirat64.c: Likewise.
64655 * sysdeps/wordsize-64/alphasort.c: File removed.
64656 * sysdeps/wordsize-64/alphasort64.c: File removed.
64657 * sysdeps/wordsize-64/scandir.c: File removed.
64658 * sysdeps/wordsize-64/scandir64.c: File removed.
64659 * sysdeps/wordsize-64/scandirat.c: File removed.
64660 * sysdeps/wordsize-64/scandirat64.c: File removed.
64661 * sysdeps/wordsize-64/versionsort.c: File removed.
64662 * sysdeps/wordsize-64/versionsort64.c: File removed.
64663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64671
64672 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64674 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64676 [defined __arch64__ || defined __sparcv9]
64677 (__INO_T_MATCHES_INO64_T): New macro.
64678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64679 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64680 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64681 * sysdeps/unix/sysv/linux/bits/dirent.h
64682 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64683 (_DIRENT_MATCHES_DIRENT64): New macro.
64684
64685 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64686 Define lockf64 as an alias.
64687 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64688 Define fseeko64 as an alias.
64689 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64690 Define ftello64 as an alias.
64691 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64692 Define _IO_fgetpos64 and fgetpos64 as aliases.
64693 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64694 Define _IO_fsetpos64 and fsetpos64 as aliases.
64695 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64696 Conditionalize body on this.
64697 * libio/fseeko64.c: Likewise.
64698 * libio/ftello64.c: Likewise.
64699 * libio/iofgetpos64.c: Likewise.
64700 * libio/iofsetpos64.c: Likewise.
64701 * sysdeps/wordsize-64/lockf.c: File removed.
64702 * sysdeps/wordsize-64/lockf64.c: File removed.
64703 * sysdeps/wordsize-64/fseeko.c: File removed.
64704 * sysdeps/wordsize-64/fseeko64.c: File removed.
64705 * sysdeps/wordsize-64/ftello.c: File removed.
64706 * sysdeps/wordsize-64/ftello64.c: File removed.
64707 * sysdeps/wordsize-64/iofgetpos.c: File removed.
64708 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64709 * sysdeps/wordsize-64/iofsetpos.c: File removed.
64710 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64721
64722 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64724 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64726 [defined __arch64__ || defined __sparcv9]
64727 (__OFF_T_MATCHES_OFF64_T): New macro.
64728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64729 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64731 (__OFF_T_MATCHES_OFF64_T): New macro.
64732
64733 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
64734
64735 * stdlib/secure-getenv.c (__secure_getenv): Replace
64736 GLIBC_2_16 with GLIBC_2_17.
64737
64738 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
64739
64740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64742
64743 2012-08-03 David S. Miller <davem@davemloft.net>
64744
64745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64746
64747 2012-08-03 Joseph Myers <joseph@codesourcery.com>
64748
64749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64750 Remove.
64751 (__ASSUME_CORRECT_SI_PID): Likewise.
64752 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64753 (__ASSUME_TMPFS_NAME): Likewise.
64754 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64755 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64756 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64757 (HAVE_AUX_SECURE): Make definition unconditional.
64758 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64759 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64760
64761 2012-08-03 Roland McGrath <roland@hack.frob.com>
64762
64763 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64764 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64765 * sysdeps/mach/hurd/eloop-threshold.h: New file.
64766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64767 __eloop_threshold instead of SYMLOOP_MAX.
64768
64769 * sysdeps/generic/eloop-threshold.h: New file.
64770 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64771 of MAXSYMLINKS.
64772 * elf/chroot_canon.c (chroot_canon): Likewise.
64773
64774 2012-08-03 Joseph Myers <joseph@codesourcery.com>
64775
64776 [BZ #13717]
64777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64778 Change to 2.6.0 everywhere.
64779 * sysdeps/unix/sysv/linux/configure: Regenerated.
64780 * sysdeps/unix/sysv/linux/kernel-features.h
64781 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64782 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64783 kernel versions.
64784 (__ASSUME_POSIX_TIMERS): Define unconditionally.
64785 (__ASSUME_FUTEX_REQUEUE): Remove.
64786 (__ASSUME_STATFS64): Define unconditionally.
64787 (__ASSUME_AT_SECURE): Likewise.
64788 (__ASSUME_CORRECT_SI_PID): Likewise.
64789 (__ASSUME_TGKILL): Define without depending on kernel version for
64790 i386.
64791 (__ASSUME_UTIMES): Likewise.
64792 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64793 kernel version.
64794 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64795 (__ASSUME_TMPFS_NAME): Likewise.
64796 * README: Update reference to Linux kernel versions.
64797
64798 2012-08-02 Marek Polacek <polacek@redhat.com>
64799
64800 [BZ# 14150]
64801 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
64802 libc_cv_asm_type_prefix with %.
64803 * configure: Regenerated.
64804 * include/libc-symbols.h: Remove comment about
64805 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64806 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64807 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64808 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64809 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64810 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64813 * elf/tst-unique2mod1.c: Likewise.
64814 * elf/tst-unique1mod2.c: Likewise.
64815 * elf/tst-unique1mod1.c: Likewise.
64816 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64817 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64818 Replace ASM_TYPE_DIRECTIVE with .type.
64819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64820 * sysdeps/i386/sysdep.h: Likewise.
64821 * sysdeps/x86_64/sysdep.h: Likewise.
64822 * sysdeps/sh/sysdep.h: Likewise.
64823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64824 Do not define ASM_TYPE_DIRECTIVE.
64825 * sysdeps/powerpc/sysdep.h: Likewise.
64826 * sysdeps/powerpc/powerpc32/sysdep.h:
64827 Replace ASM_TYPE_DIRECTIVE with .type.
64828 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64830 * sysdeps/i386/fpu/e_powf.S: Likewise.
64831 * sysdeps/i386/fpu/e_expl.S: Likewise.
64832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
64834 * sysdeps/i386/fpu/e_pow.S: Likewise.
64835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
64838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64839 * sysdeps/i386/fpu/e_log2.S: Likewise.
64840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
64841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
64842 * sysdeps/i386/fpu/e_powl.S: Likewise.
64843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
64844 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64845 * sysdeps/i386/fpu/e_logl.S: Likewise.
64846 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64847 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64848 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64849 * sysdeps/i386/fpu/e_log2f.S: Likewise.
64850 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64851 * sysdeps/i386/fpu/e_log.S: Likewise.
64852 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64853 * sysdeps/i386/fpu/e_logf.S: Likewise.
64854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
64855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
64856 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64857 * sysdeps/i386/fpu/e_log10.S: Likewise.
64858 * sysdeps/i386/fpu/s_frexp.S: Likewise.
64859 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64860 * sysdeps/i386/fpu/s_asinh.S: Likewise.
64861 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64864 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64865 * sysdeps/i386/i686/strtok.S: Likewise.
64866 * sysdeps/i386/i386-mcount.S: Likewise.
64867 * sysdeps/i386/strtok.S: Likewise.
64868 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64869 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64870 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64872 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64874 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64875 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64877 * sysdeps/x86_64/_mcount.S: Likewise.
64878 * sysdeps/x86_64/strtok.S: Likewise.
64879 * sysdeps/sh/_mcount.S: Likewise.
64880
64881 2012-08-01 Roland McGrath <roland@hack.frob.com>
64882
64883 * libio/iofopen.c: Include <fcntl.h>.
64884 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64885 (_IO_fopen64, fopen64): Define as aliases.
64886 * libio/iofopen64.c: Include <fcntl.h>.
64887 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64888 Conditionalize body on this.
64889 * sysdeps/wordsize-64/iofopen.c: File removed.
64890 * sysdeps/wordsize-64/iofopen64.c: File removed.
64891
64892 2012-08-01 Marek Polacek <polacek@redhat.com>
64893
64894 * libc/Makeconfig: Use elf in place of binfmt-subdir.
64895 Use dlfcn directly instead of a variable.
64896 (binfmt-subdir): Do not define.
64897 (dlfcn): Likewise.
64898
64899 2012-08-01 Joseph Myers <joseph@codesourcery.com>
64900
64901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64902 Remove all definitions.
64903 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64904 <kernel-features.h>.
64905 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64906 (miss_F_GETOWN_EX): Remove all definitions.
64907 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64908 macro definition.
64909 [!__ASSUME_FCNTL64]: Remove conditional code.
64910 [__ASSUME_FCNTL64]: Make code unconditional.
64911 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64912 <kernel-features.h>.
64913 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64914 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64915 (lockf64) [__NR_fcntl64]: Make code unconditional.
64916 (lockf64) [__ASSUME_FCNTL64]: Likewise.
64917
64918 * sysdeps/unix/sysv/linux/kernel-features.h
64919 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64920 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64921 Make code unconditional.
64922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64925 [__NR_vfork]: Make code unconditional.
64926 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64927 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64929 [__NR_vfork]: Make code unconditional.
64930 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64931 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64932
64933 2012-08-01 Roland McGrath <roland@hack.frob.com>
64934
64935 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64936 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64937
64938 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64939 Define mkstemp64 as an alias.
64940 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64941 Define mkstemps64 as an alias.
64942 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64943 Define mkostemp64 as an alias.
64944 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64945 Define mkostemps64 as an alias.
64946 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64947 Conditionalize body on this.
64948 * misc/mkostemp64.c: Likewise.
64949 * misc/mkostemps64.c: Likewise.
64950 * misc/mkstemps64.c: Likewise.
64951 * sysdeps/wordsize-64/mkstemp64.c: File removed.
64952 * sysdeps/wordsize-64/mkostemp64.c: File removed.
64953 * sysdeps/wordsize-64/mkostemp.c: File removed.
64954 * sysdeps/wordsize-64/mkstemp.c: File removed.
64955 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64959
64960 [BZ #14138]
64961 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64962 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64963 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64964 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64965
64966 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64967 compat_symbol macros from <shlib-compat.h> rather than the underlying
64968 default_symbol_version and symbol_version macros, so that DEFAULT
64969 lines in shlib-versions are respected.
64970 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64971
64972 2012-08-01 Florian Weimer <fweimer@redhat.com>
64973
64974 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64975 Declare with warn_unused_result.
64976 (setgid, setregid, setegid, setresgid): Likewise.
64977 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64978 Likewise.
64979 * WUR-REPORT: Remove set*id functions.
64980
64981 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
64982
64983 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64984
64985 2012-07-31 Roland McGrath <roland@hack.frob.com>
64986
64987 [BZ #10191]
64988 * include/sys/socket.h (__libc_accept, __libc_accept4):
64989 Add attribute_hidden.
64990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64991
64992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64993 use of PTR_MANGLE.
64994 * inet/getnetgrent_r.c (setup): Likewise.
64995
64996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64997
64998 2012-07-31 David S. Miller <davem@davemloft.net>
64999
65000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65001
65002 2012-07-31 Joseph Myers <joseph@codesourcery.com>
65003
65004 [BZ #13629]
65005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65006 value between 1.0 and 2.0 and smaller part has absolute value less
65007 than 1.0.
65008 * math/s_clog10.c (__clog10): Likewise.
65009 * math/s_clog10f.c (__clog10f): Likewise.
65010 * math/s_clog10l.c (__clog10l): Likewise.
65011 * math/s_clogf.c (__clogf): Likewise.
65012 * math/s_clogl.c (__clogl): Likewise.
65013 * math/libm-test.inc (clog_test): Add more tests.
65014 (clog10_test): Likewise.
65015 * sysdeps/i386/fpu/libm-test-ulps: Update.
65016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65017
65018 2012-07-31 Florian Weimer <fweimer@redhat.com>
65019
65020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65021 Exit with zero in case no suitable GID is found, and write a
65022 message to standard error.
65023
65024 2012-07-30 Roland McGrath <roland@hack.frob.com>
65025
65026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65027 rather than to 1.
65028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65029 (MAXPATHLEN): Removed.
65030 (NOGROUP, NODEV): New macros.
65031 (setbit, clrbit, isset, isclr): New macros.
65032 (howmany, roundup, powerof2): New macros.
65033 (DEV_BSIZE): New macro.
65034
65035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65037
65038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65039 definition on [!__NO_LONG_DOUBLE_MATH].
65040
65041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65042 PTR_MANGLE and PTR_DEMANGLE.
65043
65044 * socket/accept4.c (accept4): Rename to __libc_accept4.
65045 Define accept4 as a weak alias.
65046
65047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65048 on [_DIRENT_HAVE_D_TYPE].
65049 * io/ftw.c (ftw_dir): Likewise.
65050
65051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
65052
65053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65054
65055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65056 Use the BSD numbers rather than the arbitrary ones we had.
65057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65059 (SIGXCPU, SIGXFSZ): New macros.
65060 (_NSIG): Now 32.
65061
65062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65063 initializer on [_LIBC_REENTRANT].
65064
65065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65066 definitions inside [_POSIX_MAPPED_FILES].
65067
65068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65069
65070 * dirent/opendir.c: Include <fcntl.h>.
65071
65072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65073 (__libc_getspecific): Likewise.
65074 (__libc_key_create): Likewise.
65075
65076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65079 (tmpfile64): Define as alias.
65080 * sysdeps/wordsize-64/tmpfile.c: File removed.
65081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
65082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65084
65085 * stdio-common/vfscanf.c: Include <stdbool.h>.
65086 * nss/makedb.c: Likewise.
65087 * stdio-common/_i18n_number.h: Likewise.
65088 * argp/argp-help.c: Likewise.
65089 * posix/wordexp.c: Likewise.
65090 * sysdeps/posix/spawni.c: Likewise.
65091 * nss/nss_files/files-initgroups.c: Likewise.
65092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
65093 * nss/nss_files/files-initgroups.c: Likewise.
65094 * nss/nss_db/db-netgrp.c: Likewise.
65095 * nss/nss_db/db-initgroups.c: Likewise.
65096 * io/fchmodat.c: Include <sys/stat.h>.
65097
65098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65100
65101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65102 [HAVE_MMAP].
65103
65104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65105 Add multiple inclusion protection.
65106
65107 2012-07-27 David S. Miller <davem@davemloft.net>
65108
65109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65110
65111 2012-07-27 Gary Benson <gbenson@redhat.com>
65112
65113 [BZ #14298]
65114 * elf/rtld.c: Include <stap-probe.h>.
65115 (dl_main): Added static probes "init_start" and "init_complete".
65116 * elf/dl-load.c: Include <stap-probe.h>.
65117 (lose): Take new parameter "nsid".
65118 Added static probe "map_failed".
65119 (_dl_map_object_from_fd): Pass namespace id to lose.
65120 Added static probe "map_start".
65121 (open_verify): Pass namespace id to lose.
65122 * elf/dl-open.c: Include <stap-probe.h>.
65123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
65124 and "reloc_complete".
65125 * elf/dl-close.c: Include <stap-probe.h>.
65126 (_dl_close_worker): Added static probes "unmap_start" and
65127 "unmap_complete".
65128 * elf/rtld-debugger-interface.txt: New file documenting the above.
65129
65130 2012-07-26 Roland McGrath <roland@hack.frob.com>
65131
65132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65133 rather than a string variable.
65134 * sunrpc/rpc_main.c (h_output): Likewise.
65135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65136
65137 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
65138
65139 * inet/check_native.c: New file.
65140
65141 2012-07-26 Joseph Myers <joseph@codesourcery.com>
65142
65143 [BZ #13629]
65144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65145 if larger part has absolute value 1.0.
65146 * math/s_clog10.c (__clog10): Likewise.
65147 * math/s_clog10f.c (__clog10f): Likewise.
65148 * math/s_clog10l.c (__clog10l): Likewise.
65149 * math/s_clogf.c (__clogf): Likewise.
65150 * math/s_clogl.c (__clogl): Likewise.
65151 * math/libm-test.inc (clog_test): Add more tests.
65152 (clog10_test): Likewise.
65153 * sysdeps/i386/fpu/libm-test-ulps: Update.
65154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65155
65156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65157 (pltexit): Likewise.
65158 (La_regs): Likewise.
65159 (La_retval): Likewise.
65160 (int_retval): Likewise.
65161 Update #error for removed macros to refer only to definitions in
65162 tst-audit.h.
65163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65164 macro.
65165 (pltexit): Likewise.
65166 (La_regs): Likewise.
65167 (La_retval): Likewise.
65168 (int_retval): Likewise.
65169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65170 macro.
65171 (pltexit): Likewise.
65172 (La_regs): Likewise.
65173 (La_retval): Likewise.
65174 (int_retval): Likewise.
65175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65176 macro.
65177 (pltexit): Likewise.
65178 (La_regs): Likewise.
65179 (La_retval): Likewise.
65180 (int_retval): Likewise.
65181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65182 macro.
65183 (pltexit): Likewise.
65184 (La_regs): Likewise.
65185 (La_retval): Likewise.
65186 (int_retval): Likewise.
65187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65188 macro.
65189 (pltexit): Likewise.
65190 (La_regs): Likewise.
65191 (La_retval): Likewise.
65192 (int_retval): Likewise.
65193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65194 macro.
65195 (pltexit): Likewise.
65196 (La_regs): Likewise.
65197 (La_retval): Likewise.
65198 (int_retval): Likewise.
65199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
65200 macro definitions in tst-audit.h.
65201 * sysdeps/i386/tst-audit.h: New file.
65202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65206 * sysdeps/sh/tst-audit.h: Likewise.
65207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65209 * sysdeps/x86_64/tst-audit.h: Likewise.
65210
65211 2012-07-26 Andreas Jaeger <aj@suse.de>
65212
65213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65214 ptrace.
65215
65216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65219 PTRACE_O_MASK.
65220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65223
65224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65225 value.
65226
65227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65228 _sigsys.
65229 (si_call_addr, si_syscall, si_arch): Define new macro.
65230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65231 _sigsys.
65232 (si_call_addr, si_syscall, si_arch): Define new marcro.
65233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65234 _sigsys.
65235 (si_call_addr, si_syscall, si_arch): Define new macro.
65236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65237 _sigsys.
65238 (si_call_addr, si_syscall, si_arch): Define new macro.
65239
65240 2012-07-25 Joseph Myers <joseph@codesourcery.com>
65241
65242 [BZ #13717]
65243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65244 Change to 2.4.21 where previously 2.4.1.
65245 * sysdeps/unix/sysv/linux/configure: Regenerated.
65246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65248 Linux kernel version.
65249 (__ASSUME_STD_AUXV): Remove.
65250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65251 kernel version.
65252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65256 (__ASSUME_NETLINK_SUPPORT): Likewise.
65257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65258 (__no_netlink_support): Remove conditional definition.
65259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65260 Remove.
65261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65264 (if_nameindex_ioctl): Remove.
65265 (if_nameindex_netlink): Do not handle __no_netlink_support.
65266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65267 code.
65268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65269 Remove conditional code.
65270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65271 code.
65272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65273 unconditional.
65274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65277 Remove.
65278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65279 [!__ASSUME_STD_AUXV]: Remove conditional code.
65280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65286 code.
65287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65291 conditional code.
65292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65295 code.
65296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65298 conditional code.
65299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65301 code unconditional.
65302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65303 conditional code.
65304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65305 unconditional.
65306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65307 conditional code.
65308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65310 unconditional.
65311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65312 conditional code.
65313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65315 code unconditional.
65316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65317 conditional code.
65318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65319 unconditional.
65320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65321 conditional code.
65322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65324 code unconditional.
65325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65326 conditional code.
65327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65328 unconditional.
65329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65330 conditional code.
65331
65332 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
65333
65334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65357
65358 2012-07-25 Florian Weimer <fweimer@redhat.com>
65359
65360 * Versions.def: Add GLIBC_2.17.
65361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65363 Introduce __libc_secure_getenv.
65364 * stdlib/Versions (2.17): Add secure_getenv
65365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
65366 * stdlib/secure-getenv.c: Rename __secure_getenv to
65367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
65368 symbol __secure_getenv for GLIBC_2.0.
65369 * stdlib/tst-secure-getenv.c: New.
65370 * stdlib/Makefile (tests): Add testcase.
65371 * manual/startup.texi (Environment Access): Document
65372 secure_getenv.
65373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65374 __libc_secure_getenv.
65375 * inet/ruserpass.c (ruserpass): Likewise.
65376 * malloc/mtrace.c (mtrace): Likewise.
65377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65380 * sysdeps/posix/tempname.c: Likewise. Evaluate
65381 HAVE_SECURE_GETENV.
65382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65383 __secure_getenv to __libc_secure_getenv.
65384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65386 Likewise.
65387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65388 Likewise.
65389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65396
65397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
65398
65399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65400 (struct La_i86_retval): Likewise.
65401 (struct La_x86_64_regs): Likewise.
65402 (struct La_x86_64_retval): Likewise.
65403 (struct La_x32_regs): Likewise.
65404 (struct La_x32_retval): Likewise.
65405 (struct La_ppc32_regs): Likewise.
65406 (struct La_ppc32_retval): Likewise.
65407 (struct La_ppc64_regs): Likewise.
65408 (struct La_ppc64_retval): Likewise.
65409 (struct La_sh_regs): Likewise.
65410 (struct La_sh_retval): Likewise.
65411 (struct La_s390_32_regs): Likewise.
65412 (struct La_s390_32_retval): Likewise.
65413 (struct La_s390_64_regs): Likewise.
65414 (struct La_s390_64_retval): Likewise.
65415 (struct La_sparc32_regs): Likewise.
65416 (struct La_sparc32_retval): Likewise.
65417 (struct La_sparc64_regs): Likewise.
65418 (struct La_sparc64_retval): Likewise.
65419 (struct audit_ifaces): Remove architecture-specific pltenter and
65420 pltexit members.
65421 * sysdeps/i386/ldsodefs.h: New file.
65422 * sysdeps/powerpc/ldsodefs.h: Likewise.
65423 * sysdeps/s390/ldsodefs.h: Likewise.
65424 * sysdeps/sh/ldsodefs.h: Likewise.
65425 * sysdeps/sparc/ldsodefs.h: Likewise.
65426 * sysdeps/x86_64/ldsodefs.h: Likewise.
65427
65428 2012-07-25 Marek Polacek <polacek@redhat.com>
65429
65430 [BZ #6808]
65431 * math/libm-test.inc (yn_test): Add another test.
65432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65433 to ERANGE when the result is +-Inf.
65434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65438
65439 2012-07-24 Joseph Myers <joseph@codesourcery.com>
65440
65441 * conform/data/time.h-data (NULL): Use macro-constant. Require
65442 equal to 0.
65443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
65444 clock_t.
65445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
65446
65447 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
65448
65449 * configure.in <sysdeps resolving>: Correct printing
65450 Implies_before.
65451 * configure: Regenerate.
65452
65453 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
65454
65455 * math/w_ilogb.c: Include <limits.h>.
65456 * math/w_ilogbl.c: Likewise.
65457
65458 2012-07-20 Joseph Myers <joseph@codesourcery.com>
65459
65460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
65461 va_copy. Document allowing for unavailable va_copy only as
65462 pre-C99 compatibility.
65463 * manual/string.texi (Copying and Concatenation): Use va_copy
65464 instead of __va_copy in concat example.
65465
65466 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
65467
65468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65469 (__sendto): Use create_address_port. Initialize APORT and deallocate
65470 it if not null.
65471
65472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65473 with O_NOLINK passed to __file_name_lookup.
65474
65475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65476 with O_NOLINK passed to __file_name_lookup.
65477
65478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65479 negative N or less than NGIDS.
65480
65481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65482 type to string_t. Set ERANGE as errno and return it if NAME is not big
65483 enough. Use memcpy instead of strncpy.
65484
65485 2012-07-20 Joseph Myers <joseph@codesourcery.com>
65486
65487 * elf/Makefile (check-data): Remove.
65488 (localplt.data): New vpath directive.
65489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
65490 instead of $(check-data).
65491 * scripts/data/localplt-generic.data: Move to ...
65492 * sysdeps/generic/localplt.data: ... here.
65493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65497 ... here.
65498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65500 ... here.
65501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65503 ... here.
65504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65506 ... here.
65507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65509 ... here.
65510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65512 ... here.
65513
65514 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65515
65516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65517 PPC32 and PPC64 files.
65518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65520
65521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65522
65523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65524 __makecontext_ret to ...
65525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65526 ... here and call exit if uc_link is NULL. New file.
65527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65528 __makecontext_ret.S.
65529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65530 __makecontext_ret to ...
65531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65532 ... here and call exit if uc_link is NULL. New file.
65533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65534 __makecontext_ret.S.
65535
65536 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65537
65538 * elf/elf.h (R_390_IRELATIVE): New definition.
65539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
65541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65543 (elf_machine_lazy_rel): Likewise.
65544 * sysdeps/s390/dl-irel.h: New file.
65545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
65546 * sysdeps/s390/s390-64/memset.S: New asm code.
65547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
65548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
65559 * sysdeps/s390/s390-32/memset.S: New asm code.
65560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
65561
65562 2012-07-17 Marek Polacek <polacek@redhat.com>
65563
65564 [BZ #14349]
65565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65566 * sysdeps/s390/s390-64/configure.in: Likewise.
65567 * sysdeps/sparc/configure.in: Likewise.
65568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65570 * sysdeps/i386/configure.in: Likewise.
65571 * sysdeps/x86_64/configure.in: Likewise.
65572 * sysdeps/sh/configure.in: Likewise.
65573 * sysdeps/s390/s390-32/configure: Regenerated.
65574 * sysdeps/s390/s390-64/configure: Likewise.
65575 * sysdeps/x86_64/configure: Likewise.
65576 * sysdeps/sh/configure: Likewise.
65577 * sysdeps/powerpc/powerpc64/configure: Likewise.
65578 * sysdeps/powerpc/powerpc32/configure: Likewise.
65579 * sysdeps/sparc/configure: Likwise.
65580 * sysdeps/i386/configure: Likewise.
65581
65582 * elf/dl-open.c: Comment fixes.
65583
65584 2012-07-17 Joseph Myers <joseph@codesourcery.com>
65585
65586 * Makefile [CXX] (check-data): Remove.
65587 [CXX] (c++-types.data): New vpath directive.
65588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65589 vpath. Do not allow for C++ type data being missing.
65590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65598 ... here.
65599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65601 ... here.
65602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65604 ... here.
65605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65607 ... here.
65608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65610 ... here.
65611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65613 ... here.
65614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65616 ... here.
65617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65619
65620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
65621 definitions to architecture-specific files.
65622 (TLS_IE): Likewise.
65623 (TLS_LD): Likewise.
65624 (TLS_GD): Likewise.
65625 * sysdeps/i386/tls-macros.h: New file.
65626 * sysdeps/powerpc/tls-macros.h: Likewise.
65627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65629 * sysdeps/sh/tls-macros.h: Likewise.
65630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65632 * sysdeps/x86_64/tls-macros.h: Likewise.
65633
65634 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
65635
65636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65637 zero value for regular exit case.
65638
65639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65640 (__start_context): Preserve zero value for regular exit case.
65641
65642 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
65643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65644
65645 * manual/setjmp.texi (setcontext): Clarify normal process
65646 termination when uc_link is the null pointer.
65647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65648 exit call.
65649
65650 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
65651
65652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65653 preprocessor. Test for each exception mask separately.
65654
65655 2012-07-16 Andreas Jaeger <aj@suse.de>
65656
65657 * po/ru.po: Update from translation team.
65658
65659 2012-07-15 Joseph Myers <joseph@codesourcery.com>
65660
65661 * conform/data/string.h-data (NULL): Use macro-constant. Require
65662 equal to 0.
65663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65668
65669 2012-07-13 Andreas Jaeger <aj@suse.de>
65670
65671 * po/fr.po: Update from translation team.
65672
65673 2012-07-12 Marek Polacek <polacek@redhat.com>
65674
65675 [BZ #14173]
65676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
65677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65678 loop condition.
65679
65680 2012-07-12 Joseph Myers <joseph@codesourcery.com>
65681
65682 [BZ #13717]
65683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65684 Change to 2.4.1 where previously 2.4.0.
65685 * sysdeps/unix/sysv/linux/configure: Regenerated.
65686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65688 version.
65689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65690 (__ASSUME_AT_CLKTCK): Remove.
65691 (__ASSUME_AT_PAGESIZE): Likewise.
65692 (__ASSUME_AT_XID): Likewise.
65693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65696 unconditionally.
65697 (HAVE_AUX_PAGESIZE): Likewise.
65698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
65700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65701
65702 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
65703
65704 [BZ #14307]
65705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65706 the temporary buffer used to invoke __gethostbyname2_r,
65707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
65708 host_data / struct gaih_addrtuple.
65709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
65710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65711 header file nss/nsswitch.h.
65712 * nss/nsswitch.h (global scope): Add definition of implementation
65713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65714 resolv/nss_dns/dns-host.c).
65715
65716 2012-07-11 Andreas Jaeger <aj@suse.de>
65717
65718 * po/fr.po: Update from translation team.
65719
65720 * po/sv.po: Update from translation team
65721 * po/fr.po: Another update from translation team.
65722
65723 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65724
65725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65726 for subnormals or multiply small sinh result by itself.
65727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65729
65730 2012-07-11 David S. Miller <davem@davemloft.net>
65731
65732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65733
65734 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
65735
65736 [BZ #14347]
65737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65738 (INTERNAL_MARK): Shift it here.
65739
65740 2012-07-10 Marek Polacek <polacek@redhat.com>
65741
65742 [BZ #14151]
65743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
65744 libc_cv_asm_global_directive with .globl.
65745 * configure: Regenerated.
65746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65747 with .globl.
65748 * sysdeps/i386/configure: Regenerated.
65749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65750 with .globl.
65751 * sysdeps/x86_64/configure: Regenerated.
65752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65754 * elf/tst-unique2mod2.c: Likewise.
65755 * elf/tst-unique2mod1.c: Likewise.
65756 * elf/tst-unique1mod2.c: Likewise.
65757 * elf/tst-unique1mod1.c: Likewise.
65758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65762 * sysdeps/mach/sysdep.h: Likewise.
65763 * sysdeps/i386/sysdep.h: Likewise.
65764 * sysdeps/i386/i386-mcount.S: Likewise.
65765 * sysdeps/x86_64/_mcount.S: Likewise.
65766 * sysdeps/x86_64/sysdep.h: Likewise.
65767 * sysdeps/sh/_mcount.S: Likewise.
65768 * sysdeps/sh/sysdep.h: Likewise.
65769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65776 * locale/localeinfo.h: Likewise.
65777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65779
65780 2012-07-09 Roland McGrath <roland@hack.frob.com>
65781
65782 [BZ #14336]
65783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65784 system".
65785 * manual/message.texi (The Uniforum approach): Likewise.
65786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65787 (glibc iconv Implementation): Likewise.
65788
65789 2012-07-09 Joseph Myers <joseph@codesourcery.com>
65790
65791 [BZ #14337]
65792 * math/s_clog.c (__clog): Avoid scaling a value down where that
65793 could result in underflow.
65794 * math/s_clog10.c (__clog10): Likewise.
65795 * math/s_clog10f.c (__clog10f): Likewise.
65796 * math/s_clog10l.c (__clog10l): Likewise.
65797 * math/s_clogf.c (__clogf): Likewise.
65798 * math/s_clogl.c (__clogl): Likewise.
65799 * math/libm-test.inc (clog_test): Add more tests.
65800 (clog10_test): Likewise.
65801 * sysdeps/i386/fpu/libm-test-ulps: Update.
65802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65803
65804 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
65805
65806 [BZ #14283]
65807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65808 by 7 not 8 to examine high bit of fractional part.
65809
65810 [BZ #14042]
65811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65812 for call to __mcount_internal.
65813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65816
65817 2012-07-06 Joseph Myers <joseph@codesourcery.com>
65818
65819 [BZ #14154]
65820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65821 approximation for values within 0x1p-13f of an odd multiple of
65822 pi/4.
65823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
65824 exception. Add more tests.
65825 * sysdeps/i386/fpu/libm-test-ulps: Update.
65826
65827 [BZ #6778]
65828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65829 inputs and return -1 for them. Do not check for +Inf in case not
65830 reachable for +Inf.
65831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65834 and return -1 for them. Do not check for +Inf in case not
65835 reachable for +Inf.
65836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65837 define.
65838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65839 and return -1 for them. Do not check for +Inf in case not
65840 reachable for +Inf.
65841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
65842 spurious underflow.
65843 * sysdeps/i386/fpu/libm-test-ulps: Update.
65844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65845
65846 2012-07-06 Mike Frysinger <vapier@gentoo.org>
65847
65848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65849
65850 2012-07-05 Joseph Myers <joseph@codesourcery.com>
65851
65852 [BZ #14157]
65853 [BZ #14331]
65854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65855 could result in spurious underflow. Scale down values above
65856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65857 * math/s_csqrtf.c (__csqrtf): Likewise.
65858 * math/s_csqrtl.c (__csqrtl): Likewise.
65859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
65860 spurious underflow.
65861 * sysdeps/i386/fpu/libm-test-ulps: Update.
65862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65863
65864 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
65865
65866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65867 xopen-msg.sed.
65868 * catgets/xopen-msg.awk: New file.
65869 * catgets/xopen-msg.sed: Removed.
65870
65871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65872 po2text.sed.
65873 * intl/po2test.awk: New file.
65874 * intl/po2test.sed: Removed.
65875
65876 2012-07-04 Joseph Myers <joseph@codesourcery.com>
65877
65878 [BZ #14328]
65879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65880 or multiply small sinh result by itself.
65881 * math/s_ctanf.c (__ctanf): Likewise.
65882 * math/s_ctanh.c (__ctanh): Likewise.
65883 * math/s_ctanhf.c (__ctanhf): Likewise.
65884 * math/s_ctanhl.c (__ctanhl): Likewise.
65885 * math/s_ctanl.c (__ctanl): Likewise.
65886 * math/libm-test.inc (ctan_test_tonearest): New function.
65887 (ctan_test_towardzero): Likewise.
65888 (ctan_test_downward): Likewise.
65889 (ctan_test_upward): Likewise.
65890 (ctanh_test_tonearest): Likewise.
65891 (ctanh_test_towardzero): Likewise.
65892 (ctanh_test_downward): Likewise.
65893 (ctanh_test_upward): Likewise.
65894 (main): Call these new functions.
65895 * sysdeps/i386/fpu/libm-test-ulps: Update.
65896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65897
65898 2012-07-03 Mike Frysinger <vapier@gentoo.org>
65899
65900 * .gitignore: Delete /ports entry.
65901
65902 2012-07-03 Andreas Jaeger <aj@suse.de>
65903
65904 * po/bg.po: Update from translation team.
65905 * po/cs.po: Likewise.
65906 * po/de.po: Likewise.
65907 * po/hr.po: Likewise.
65908 * po/nl.pl: Likewise.
65909 * po/pl.po: Likewise.
65910 * po/vi.po: Likewise.
65911
65912 2012-07-03 Joseph Myers <joseph@codesourcery.com>
65913
65914 * Makeconfig [!+link] (+link-before-libc): New variable.
65915 [!+link] (+link-after-libc): Likewise.
65916 [!+link] (+link-tests): Likewise.
65917 [!+link] (+link): Define in terms of $(+link-before-libc) and
65918 $(+link-after-libc).
65919 [!+link-static] (+link-static-before-libc): New variable.
65920 [!+link-static] (+link-static-after-libc): Likewise.
65921 [!+link-static] (+link-static-tests): Likewise.
65922 [!+link-static] (+link-static): Define in terms of
65923 $(+link-static-before-libc) and $(+link-static-after-libc).
65924 [build-shared] (link-libc-before-gnulib): New variable.
65925 [build-shared] (link-libc-tests): Likewise.
65926 [build-shared] (link-libc): Define in terms of
65927 $(link-libc-before-gnulib).
65928 [!build-shared] (link-libc-tests): New variable.
65929 (link-libc-static-tests): New variable.
65930 [!gnulib] (gnulib-arch): New variable.
65931 [!gnulib] (gnulib-tests): Likewise.
65932 [!gnulib] (static-gnulib-arch): Likewise.
65933 [!gnulib] (static-gnulib-tests): Likewise.
65934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
65935 Define with "=" instead of ":=".
65936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
65937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
65938 * Rules (binaries-all-notests): New variable.
65939 (binaries-all-tests): Likewise.
65940 (binaries-static-notests): Likewise.
65941 (binaries-static-tests): Likewise.
65942 (binaries-all): Define using $(binaries-all-notests) and
65943 $(binaries-all-tests).
65944 (binaries-static): Define using $(binaries-static-notests) and
65945 $(binaries-static-tests).
65946 (binaries-shared-tests): New variable.
65947 (binaries-shared-notests): Likewise.
65948 (binaries-shared): Remove variable.
65949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65955 * elf/Makefile (sln-modules): New variable.
65956 (extra-objs): Add $(sln-modules:=.o).
65957 (ldconfig-modules): Add static-stubs.
65958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65959 * elf/static-stubs.c: New file.
65960
65961 [BZ #14283]
65962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65963 by 7 not 8 to examine high bit of fractional part. Use volatile
65964 variables when splitting into final array of floats if
65965 __FLT_EVAL_METHOD__ != 0.
65966 * math/libm-test.inc (cos_test): Add another test.
65967 (sin_test): Likewise.
65968 * sysdeps/i386/fpu/libm-test-ulps: Update.
65969
65970 [BZ #14273]
65971 * math/libm-test.inc (cosh_test): Add more tests.
65972
65973 * version.h (RELEASE): Set to "development".
65974 (VERSION): Set to "2.16.90".
65975
65976 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
65977
65978 * NEWS: Update copyright. Remove last-updated date.
65979 Mention math library bug fixes and timezone data changes.
65980 * README: Mention GNU/Hurd, x32, and HPPA support status.
65981
65982 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
65983
65984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65985
65986 2012-06-27 Andreas Jaeger <aj@suse.de>
65987
65988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
65989
65990 2012-06-25 Andreas Jaeger <aj@suse.de>
65991
65992 * sysdeps/s390/fpu/libm-test-ulps: Update.
65993
65994 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
65995 Thomas Schwinge <thomas@codesourcery.com>
65996
65997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66000 fanotify_mark.
66001
66002 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
66003
66004 * sysdeps/mach/start.c: Remove file.
66005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66007 * sysdeps/sh/init-first.c: Likewise.
66008
66009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66010 registers for frame unwinding purposes, add CFI directives.
66011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66014 Likewise.
66015
66016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66017 __fortify_fail returning.
66018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66019
66020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66021 sysdeps/sh/____longjmp_chk.S.
66022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
66026
66027 * sysdeps/sh/abort-instr.h: New file.
66028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66029 process in case exit returns.
66030
66031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66032 initialize the GOT register before use.
66033
66034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66035 calculation of ARGC > 4.
66036
66037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66038 meaningful names to some local labels.
66039
66040 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
66042
66043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66045 (__arch_compare_and_exchange_val_16_acq): Likewise.
66046 (__arch_compare_and_exchange_val_32_acq): Likewise.
66047 (atomic_exchange_and_add): Fix gUSA sequence.
66048 (atomic_add): Likewise.
66049 (atomic_add_negative): Likewise.
66050 (atomic_add_zero): Likewise.
66051 (atomic_bit_test_set): Likewise.
66052
66053 2012-06-22 Andreas Schwab <schwab@redhat.com>
66054
66055 [BZ #13579]
66056 * include/link.h (struct link_map): Add l_free_initfini.
66057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66058 l_initfini.
66059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66062 set.
66063
66064 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
66065
66066 * configure.in: Use AC_LANG_SOURCE.
66067 * configure: Regenerate.
66068
66069 2012-06-22 Roland McGrath <roland@hack.frob.com>
66070
66071 * configure.in (libc_cv_localstatedir): New substituted variable.
66072 * configure: Regenerated.
66073 * config.make.in (localstatedir): New variable, substituted from
66074 libc_cv_localstatedir.
66075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66078 * sysdeps/gnu/configure: Regenerated.
66079
66080 2012-06-21 Jeff Law <law@redhat.com>
66081
66082 [BZ #14277]
66083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66084 free. Simplify list management for _LIBC case.
66085
66086 2012-06-21 Joseph Myers <joseph@codesourcery.com>
66087
66088 [BZ #14273]
66089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66090 Clear sign bit of 64-bit integer value before comparing against
66091 overflow value.
66092
66093 * sysdeps/mach/configure: Regenerated.
66094
66095 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
66096
66097 [BZ #14278]
66098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66099
66100 2012-06-21 Jeff Law <law@redhat.com>
66101
66102 [BZ #13882]
66103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
66104 uint16_t for elements in the "seen" array to avoid char overflows.
66105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
66106 * elf/dl-open.c (dl_open_worker): Likewise.
66107
66108 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
66109
66110 * scripts/list-sources.sh: Scan PORTS for translations.
66111 * po/libc.pot: Regenerated.
66112
66113 2012-06-21 Andreas Jaeger <aj@suse.de>
66114
66115 [BZ #12194]
66116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66117 warning.
66118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66119 * bits/byteswap-16.h (__bswap_16): Likewise.
66120 * bits/byteswap.h (__bswap_constant_16): Likewise.
66121
66122 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
66123
66124 [BZ #14117]
66125 * sysdeps/i386/fpu_control.h: Removed.
66126 * sysdeps/x86_64/fpu_control.h: Moved to ...
66127 * sysdeps/x86/fpu_control.h: Here.
66128
66129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66130 (_FPU_SETCW): Likewise.
66131
66132 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
66133
66134 [BZ #14117]
66135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66136 * sysdeps/x86/fpu/bits/mathinline.h: This.
66137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66138
66139 [BZ #14050]
66140 [BZ #14117]
66141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66142 functions if __x86_64__ is defined.
66143
66144 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
66145
66146 * string/endian.h: Add !__ASSEMBLER__ condition for including
66147 conversion interfaces.
66148
66149 2012-06-15 Joseph Myers <joseph@codesourcery.com>
66150
66151 [BZ #14241]
66152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66153 of ABS(x) in calculating zero to negative powers other than odd
66154 integers.
66155 * math/libm-test.inc (pow_test): Add more tests.
66156
66157 2012-06-15 Andreas Jaeger <aj@suse.de>
66158
66159 * manual/contrib.texi (Contributors): Update entry of Liubov
66160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66161 Machado Filho.
66162
66163 2012-06-15 Cyril Hrubis <metan@ucw.cz>
66164
66165 * string/string.h: Add __wur to GNU version of strerror_r.
66166
66167 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
66168
66169 [BZ #14229]
66170 * string/Makefile (tests): Add tst-strtok_r.
66171 * string/tst-strtok_r.c: New file.
66172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66173 RAX_LP/RDX_LP on SAVE_PTR.
66174
66175 2012-06-14 Roland McGrath <roland@hack.frob.com>
66176
66177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66178
66179 2012-06-14 Joseph Myers <joseph@codesourcery.com>
66180
66181 * libm_test.inc (csqrt_test): Allow more spurious underflow
66182 exceptions.
66183 (j0_test): Likewise.
66184 (j1_test): Likewise.
66185 (y0_test): Likewise.
66186 (y1_test): Likewise.
66187
66188 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
66189
66190 * po/Makefile (libc.pot): Use UTF-8 charset.
66191
66192 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
66193
66194 [BZ #14210]
66195 Suppress sign-conversion warning from FD_SET.
66196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66198 not unsigned long int.
66199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66200
66201 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
66202
66203 [BZ #14050]
66204 [BZ #14117]
66205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66206 __extern_always_inline instead of __extern_inline.
66207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66208 (__signbit): Likewise.
66209 (__signbitl): Support C++ namespace.
66210 (lrintf): New inline function.
66211 (lrint): Likewise.
66212 (llrintf): Likewise.
66213 (llrint): Likewise.
66214 (fmaxf): Likewise.
66215 (fmax): Likewise.
66216 (fminf): Likewise.
66217 (fmin): Likewise.
66218 (rint): Likewise.
66219 (rintf): Likewise.
66220 (ceil): Likewise.
66221 (ceilf): Likewise.
66222 (floor): Likewise.
66223 (floorf): Likewise.
66224 (nearbyint): Likewise.
66225 (nearbyintf): Likewise.
66226
66227 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
66228
66229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66230 non-default versions.
66231
66232 2012-06-11 Roland McGrath <roland@hack.frob.com>
66233
66234 [BZ #14218]
66235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
66236
66237 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
66238
66239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66240 (FE_UPWARD, FE_DOWNWARD): Don't define.
66241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66243
66244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66245 reading it.
66246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66248
66249 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
66250
66251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66255
66256 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
66257
66258 [BZ #14117]
66259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
66260 * sysdeps/i386/fpu/Implies: New file.
66261 * sysdeps/x86_64/fpu/Implies: Likewise.
66262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66263 * sysdeps/x86/fpu/bits/fenv.h: This.
66264
66265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66266 __SSE_MATH__.
66267
66268 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
66269
66270 [BZ #14134]
66271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66272 character 0xffff that matches the last element of the
66273 conversion table.
66274
66275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66276
66277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66278 fmodl commit.
66279
66280 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66281
66282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66283 values higher than 25.6283.
66284
66285 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66286
66287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66288 subnormal exponent extraction and add some __builtin_expect.
66289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66290 Fix for subnormal mantissa calculation.
66291
66292 2012-06-04 Mike Frysinger <vapier@gentoo.org>
66293
66294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66295 cpu2 is -1 and errno is not ENOSYS.
66296
66297 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
66298
66299 [BZ #14117]
66300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
66301 * sysdeps/x86/bits/string.h: This.
66302 * sysdeps/x86_64/bits/string.h: Removed.
66303
66304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
66305 if not compiling for x86-64, but compiling for >= i486.
66306
66307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66309
66310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66311 New macro from Linux kernel 3.4.0.
66312 (FP_XSTATE_MAGIC2): Likewise.
66313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
66314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66315 (struct _fpx_sw_bytes): New struct.
66316 (struct _xsave_hdr): Likewise.
66317 (struct _ymmh_state): Likewise.
66318 (struct _xstate): Likewise.
66319
66320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66326
66327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66333
66334 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66335
66336 [BZ #13743]
66337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66339 (sysdep_headers): Include sys/platform/ppc.h.
66340 * sysdeps/powerpc/test-gettimebase.c: Test for
66341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
66342 * manual/Makefile (appendices): Include platform.texi.
66343 * manual/contrib.texi (Contributors): Update @node pointers.
66344 * manual/maint.texi (Maintenance): Likewise.
66345 (Platform): New node.
66346 * manual/platform.texi: New file. Document the new features.
66347
66348 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
66349 Jakub Jelinek <jakub@redhat.com>
66350
66351 [BZ #14188]
66352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66353 where __builtin_expect is unavailable.
66354
66355 2012-06-03 David S. Miller <davem@davemloft.net>
66356
66357 * stdlib/longlong.h: Updated from GCC.
66358
66359 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
66360
66361 [BZ #14042]
66362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
66363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66364 __mcount_internal.
66365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66366 (GLIBC_2.16): Likewise.
66367
66368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
66369
66370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66371
66372 2012-06-01 Joseph Myers <joseph@codesourcery.com>
66373
66374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66375 (default-abi): New variable.
66376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66378 variable.
66379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66380 Likewise.
66381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66382 Likewise.
66383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66384 Likewise.
66385
66386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66387 definition. Document in comment.
66388
66389 2012-06-01 David S. Miller <davem@davemloft.net>
66390
66391 * stdlib/longlong.h: Updated from GCC.
66392
66393 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
66394
66395 [BZ #14117]
66396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66398 sys/debugreg.h sys/io.h here.
66399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66401 sys/io.h.
66402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66408
66409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66410 Define only if __x86_64__ is defined.
66411
66412 2012-06-01 Joseph Myers <joseph@codesourcery.com>
66413
66414 [BZ #14048]
66415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66416 Use int64_t for variable i.
66417 * math/libm-test.inc (fmod_test): Add more tests.
66418
66419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66420 z computation is not scheduled after fetestexcept.
66421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66422 Use math_force_eval instead of asm to ensure calculation scheduled
66423 before exception test.
66424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
66426
66427 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
66428
66429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66430 computation is not scheduled after fetestexcept.
66431
66432 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
66433
66434 [BZ #14117]
66435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66437
66438 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66439
66440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66442
66443 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
66444
66445 [BZ #14117]
66446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66447 <bits/wordsize.h>.
66448 (__WCHAR_MIN): Support __WORDSIZE == 64.
66449 (__WCHAR_MAX): Likewise.
66450
66451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66453
66454 [BZ #14183]
66455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66457
66458 [BZ #14117]
66459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66461
66462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66464
66465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66466 Defined to 1 if __x86_64__ isn't defined.
66467 (_STAT_VER_LINUX_OLD): New.
66468 (st_atime): Remove duplicate.
66469 (st_mtime): Likewise.
66470 (st_ctime): Likewise.
66471
66472 2012-05-31 David S. Miller <davem@davemloft.net>
66473
66474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66475 entries.
66476
66477 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
66478
66479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66480 gen-libm-test.pl.
66481
66482 [BZ #14132]
66483 * elf/dl-reloc.c: Include <_itoa.h>.
66484 (_dl_reloc_bad_type): Remove use of INTUSE.
66485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66487 * stdio-common/psiginfo.c (psiginfo): Likewise.
66488 * stdio-common/psignal.c (psignal): Likewise.
66489 * string/strsignal.c (strsignal): Likewise.
66490 * include/signal.h (_sys_siglist): Declare hidden proto.
66491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
66492 INTVARDEF with libc_hidden_data_def.
66493 * stdio-common/itoa-udigits.c: Likewise.
66494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66495 (_itoa_lower_digits_internal): Remove declaration.
66496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66498 (_sys_sigabbrev_internal): Remove aliases.
66499 (_sys_siglist): Define hidden alias.
66500
66501 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
66502
66503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66504 bits/sysctl.h.
66505
66506 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
66507
66508 [BZ #14117]
66509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66511
66512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66518
66519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66522
66523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66524 with __addr.
66525 (insw): Likewise.
66526 (insl): Likewise.
66527 (outsb): Likewise.
66528 (outsw): Likewise.
66529 (outsl): Likewise.
66530
66531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66534
66535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66541
66542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66544
66545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66547
66548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66551
66552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66554 to ...
66555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66556
66557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66560
66561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66562 for x86-64.
66563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66564
66565 2012-05-31 Joseph Myers <joseph@codesourcery.com>
66566
66567 * math/math.h (M_El): Use two more decimal places.
66568 (M_LOG2El): Likewise.
66569 (M_LOG10El): Likewise.
66570 (M_LN2l): Likewise.
66571 (M_LN10l): Likewise.
66572 (M_PIl): Likewise.
66573 (M_PI_2l): Likewise.
66574 (M_PI_4l): Likewise.
66575 (M_1_PIl): Likewise.
66576 (M_2_PIl): Likewise.
66577 (M_2_SQRTPIl): Likewise.
66578 (M_SQRT2l): Likewise.
66579 (M_SQRT1_2l): Likewise.
66580
66581 2012-05-31 David S. Miller <davem@davemloft.net>
66582
66583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66584 values between float registers.
66585 * sysdeps/sparc/sparc64/memset.S: Likewise.
66586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66587
66588 2012-05-31 Mike Frysinger <vapier@gentoo.org>
66589
66590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66591 -D_FORTIFY_SOURCE=1.
66592 (CPPFLAGS-tst-longjmp_chk.c): Define.
66593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
66595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66596 CFLAGS-tst-wchar-h.c.
66597
66598 2012-05-31 Marek Polacek <polacek@redhat.com>
66599
66600 [BZ #14132]
66601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66602 __endmntent_internal): Remove declaration.
66603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66606
66607 2012-05-30 David S. Miller <davem@davemloft.net>
66608
66609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
66610 (___Q_simulate_exceptions): Use real FP ops rather than writing
66611 into the %fsr.
66612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66613 Likewise.
66614
66615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
66616
66617 [BZ #14117]
66618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66619 * sysdeps/x86/bits/xtitypes.h: This.
66620
66621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66622 * sysdeps/x86/bits/wordsize.h: This.
66623
66624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66625 * sysdeps/x86/bits/huge_vall.h: This.
66626
66627 * sysdeps/i386/bits/select.h: Removed.
66628 * sysdeps/x86_64/bits/select.h: Renamed to ...
66629 * sysdeps/x86/bits/select.h: This.
66630
66631 * sysdeps/i386/bits/setjmp.h: Removed.
66632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66633 * sysdeps/x86/bits/setjmp.h: This.
66634
66635 * sysdeps/i386/bits/mathdef.h: Removed.
66636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66637 * sysdeps/x86/bits/mathdef.h: This.
66638
66639 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
66640
66641 [BZ #14132]
66642 * include/sys/socket.h (__connect_internal)
66643 (__libc_sa_len_internal): Remove declaration.
66644 (__connect, __libc_sa_len): Declare hidden_proto.
66645 (SA_LEN): Remove use of INTUSE.
66646 * socket/connect.c: Add libc_hidden_def.
66647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66650 alias.
66651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66654 of adding _internal alias.
66655
66656 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
66657
66658 [BZ #14117]
66659 * sysdeps/i386/bits/link.h: Removed.
66660 * sysdeps/i386/bits/linkmap.h: Likewise.
66661 * sysdeps/x86_64/bits/link.h: Renamed to ...
66662 * sysdeps/x86/bits/link.h: This.
66663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66664 * sysdeps/x86/bits/linkmap.h: This.
66665
66666 * sysdeps/i386/bits/endian.h: Removed.
66667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
66668 * sysdeps/x86/bits/endian.h: This.
66669
66670 * sysdeps/i386/bits/byteswap.h: Removed.
66671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66673 * sysdeps/x86/bits/byteswap.h: This.
66674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66675 * sysdeps/x86/bits/byteswap-16.h: This.
66676 * sysdeps/i386/Implies: Add x86.
66677 * sysdeps/x86_64/Implies: Likewise.
66678
66679 2012-05-30 David S. Miller <davem@davemloft.net>
66680
66681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66684 (FP_TRAPPING_EXCEPTIONS): Define.
66685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66686 (FP_TRAPPING_EXCEPTIONS): Define.
66687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66688 subnormals only when inexact has been signalled or underflow
66689 exceptions are enabled.
66690 (_FP_PACK_CANONICAL): Likewise.
66691
66692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
66693
66694 [BZ #14183]
66695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66697
66698 2012-05-30 Richard Henderson <rth@twiddle.net>
66699
66700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66701 with #ifndef NOT_IN_libc.
66702
66703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
66704 marked to avoid plt entry.
66705
66706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
66707
66708 [BZ #14112]
66709 * Makeconfig (default-abi): New macro.
66710 (abi-includes): Likewise.
66711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
66712 $(abi-$(default-abi)-lib-soname) for soname if defined.
66713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
66714 abi-variants.
66715 * Makefile (installed-stubs): Likewise.
66716 * include/stubs-biarch.h: Removed.
66717 * scripts/lib-names.awk: Only handle one library at a time.
66718 * scripts/soversions.awk: Remove WORDSIZE support.
66719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66720 entries.
66721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66722 Removed.
66723 (syscall-list-default-condition): Likewise.
66724 (syscall-list-default-condition): Likewise.
66725 (syscall-list-includes): Likewise.
66726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66727 syscall-list-* with abi-*. Handle undefined abi-variants.
66728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
66730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66734 Removed.
66735 (syscall-list-32-options): Likewise.
66736 (syscall-list-32-condition): Likewise.
66737 (syscall-list-64-options): Likewise.
66738 (syscall-list-64-condition): Likewise.
66739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66740 macro.
66741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66742 Renamed to ...
66743 (abi-*): This.
66744 (abi-64-ld-soname): New macro.
66745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66747 Renamed to ...
66748 (abi-*): This.
66749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
66751
66752 2012-05-30 Joseph Myers <joseph@codesourcery.com>
66753
66754 * sysdeps/unix/sysv/linux/kernel-features.h
66755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66757 include <kernel-features.h>.
66758 [!__NR_ftruncate64]: Remove conditional code.
66759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66760 [__NR_ftruncate64]: Make code unconditional.
66761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
66763 include <kernel-features.h>.
66764 [!__NR_ftruncate64]: Remove conditional code.
66765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66766 [__NR_ftruncate64]: Make code unconditional.
66767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66769 include <kernel-features.h>.
66770 [!__NR_ftruncate64]: Remove conditional code.
66771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66772 [__NR_ftruncate64]: Make code unconditional.
66773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66775 include <kernel-features.h>.
66776 [!__NR_ftruncate64]: Remove conditional code.
66777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66778 [__NR_ftruncate64]: Make code unconditional.
66779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66780
66781 * configure.in (libc_cv_fpie): Weaken to a compile test using
66782 LIBC_TRY_CC_OPTION.
66783 * configure: Regenerated.
66784
66785 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66786
66787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66791 Refreshed.
66792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66798 Refreshed.
66799
66800 2012-05-27 David S. Miller <davem@davemloft.net>
66801
66802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66803 (___Q_zero): New.
66804 (__Q_simulate_exceptions): Return void. Change to simulate
66805 exceptions by writing into the %fsr.
66806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66807 (__Qp_handle_exceptions): Likewise.
66808 (numbers): Delete.
66809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66810 __Qp_handle_exceptions.
66811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66812 __Qp_handle_exceptions.
66813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66814 as unused and give dummy FP_RND_NEAREST initializer.
66815 (FP_INHIBIT_RESULTS): Define.
66816 (___Q_simulate_exceptions): Update declaration.
66817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66818 formatting.
66819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66820 as unused and give dummy FP_RND_NEAREST initializer.
66821 (__Qp_handle_exceptions): Update declaration.
66822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66823 formatting.
66824
66825 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
66826
66827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66828 the temporary FPU control word.
66829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66840
66841 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
66842
66843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66844 fields.
66845
66846 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
66847
66848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66852 Likewise.
66853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66855 Likewise.
66856
66857 2012-05-27 Ulrich Drepper <drepper@gmail.com>
66858
66859 * po/h.po: Update from translation team.
66860
66861 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
66862
66863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66864
66865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66866 handling of denormals.
66867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66874 Likewise.
66875
66876 2012-05-26 Marek Polacek <polacek@redhat.com>
66877
66878 [BZ #14152]
66879 * math/libm-test.inc (fma_test): Don't always expect underflow
66880 exception.
66881
66882 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66883
66884 [BZ #12416]
66885 * elf/tst-execstack.c: Include stackinfo.h.
66886 (do_test): Adjust test case to ensure that pthread_getattr_np
66887 behaviour remains the same after marking stack executable.
66888
66889 2012-05-25 Joseph Myers <joseph@codesourcery.com>
66890
66891 * sysdeps/unix/sysv/linux/kernel-features.h
66892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66894 kernel-features.h.
66895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66898 kernel-features.h.
66899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66901
66902 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
66903
66904 * configure.in: Define the default includes to being none.
66905 * configure: Regenerated.
66906
66907 2012-05-25 Roland McGrath <roland@hack.frob.com>
66908
66909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66910 * sysdeps/x86_64/setjmp.S: Likewise.
66911 * sysdeps/i386/bsd-setjmp.S: Likewise.
66912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
66913 * sysdeps/i386/setjmp.S: Likewise.
66914 * sysdeps/i386/__longjmp.S: Likewise.
66915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66917
66918 * include/stap-probe.h: New file.
66919 * configure.in: Handle --enable-systemtap.
66920 * configure: Regenerated.
66921 * config.h.in (USE_STAP_PROBE): New #undef.
66922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66925
66926 2012-05-25 Joseph Myers <joseph@codesourcery.com>
66927
66928 [BZ #13717]
66929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66930 to 2.4.0 where earlier.
66931 * sysdeps/unix/sysv/linux/configure: Regenerated.
66932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66933 <kernel-features.h>.
66934 [__ASSUME_32BITUIDS]: Make code unconditional.
66935 [!__ASSUME_32BITUIDS]: Remove conditional code.
66936 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66937 <kernel-features.h>.
66938 [__ASSUME_32BITUIDS]: Make code unconditional.
66939 [!__ASSUME_32BITUIDS]: Remove conditional code.
66940 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66941 [__ASSUME_32BITUIDS]: Make code unconditional.
66942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66944 <kernel-features.h>.
66945 [__ASSUME_32BITUIDS]: Make code unconditional.
66946 [!__ASSUME_32BITUIDS]: Remove conditional code.
66947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66948 <kernel-features.h>.
66949 [__ASSUME_32BITUIDS]: Make code unconditional.
66950 [!__ASSUME_32BITUIDS]: Remove conditional code.
66951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66952 <kernel-features.h>.
66953 [__ASSUME_32BITUIDS]: Make code unconditional.
66954 [!__ASSUME_32BITUIDS]: Remove conditional code.
66955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66956 <kernel-features.h>.
66957 [__ASSUME_32BITUIDS]: Make code unconditional.
66958 [!__ASSUME_32BITUIDS]: Remove conditional code.
66959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66960 <kernel-features.h>.
66961 [__ASSUME_32BITUIDS]: Make code unconditional.
66962 [!__ASSUME_32BITUIDS]: Remove conditional code.
66963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66964 <kernel-features.h>.
66965 [__ASSUME_32BITUIDS]: Make code unconditional.
66966 [!__ASSUME_32BITUIDS]: Remove conditional code.
66967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66968 <kernel-features.h>.
66969 [__ASSUME_32BITUIDS]: Make code unconditional.
66970 [!__ASSUME_32BITUIDS]: Remove conditional code.
66971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66972 <kernel-features.h>.
66973 [__ASSUME_32BITUIDS]: Make code unconditional.
66974 [!__ASSUME_32BITUIDS]: Remove conditional code.
66975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66976 <kernel-features.h>.
66977 [__ASSUME_32BITUIDS]: Make code unconditional.
66978 [!__ASSUME_32BITUIDS]: Remove conditional code.
66979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66980 <kernel-features.h>.
66981 [__ASSUME_32BITUIDS]: Make code unconditional.
66982 [!__ASSUME_32BITUIDS]: Remove conditional code.
66983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66984 <kernel-features.h>.
66985 [__NR_setresgid] (__setresgid): Do not declare.
66986 [__ASSUME_32BITUIDS]: Make code unconditional.
66987 [!__ASSUME_32BITUIDS]: Remove conditional code.
66988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66989 <kernel-features.h>.
66990 [__NR_setresuid] (__setresuid): Do not declare.
66991 [__ASSUME_32BITUIDS]: Make code unconditional.
66992 [!__ASSUME_32BITUIDS]: Remove conditional code.
66993 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66994 <kernel-features.h>.
66995 [__ASSUME_32BITUIDS]: Make code unconditional.
66996 [!__ASSUME_32BITUIDS]: Remove conditional code.
66997 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66998 <kernel-features.h>.
66999 [__ASSUME_32BITUIDS]: Make code unconditional.
67000 [!__ASSUME_32BITUIDS]: Remove conditional code.
67001 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67002 <kernel-features.h>.
67003 [__ASSUME_32BITUIDS]: Make code unconditional.
67004 [!__ASSUME_32BITUIDS]: Remove conditional code.
67005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67006 <kernel-features.h>.
67007 [__ASSUME_32BITUIDS]: Make code unconditional.
67008 [!__ASSUME_32BITUIDS]: Remove conditional code.
67009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67010 <kernel-features.h>.
67011 [__ASSUME_32BITUIDS]: Make code unconditional.
67012 [!__ASSUME_32BITUIDS]: Remove conditional code.
67013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67014 <kernel-features.h>.
67015 [__ASSUME_32BITUIDS]: Make code unconditional.
67016 [!__ASSUME_32BITUIDS]: Remove conditional code.
67017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67018 <kernel-features.h>.
67019 [__ASSUME_32BITUIDS]: Make code unconditional.
67020 [!__ASSUME_32BITUIDS]: Remove conditional code.
67021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67022 <kernel-features.h>.
67023 [__ASSUME_32BITUIDS]: Make code unconditional.
67024 [!__ASSUME_32BITUIDS]: Remove conditional code.
67025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67026 <kernel-features.h>.
67027 [__ASSUME_32BITUIDS]: Make code unconditional.
67028 [!__ASSUME_32BITUIDS]: Remove conditional code.
67029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67030 <kernel-features.h>.
67031 [__ASSUME_32BITUIDS]: Make code unconditional.
67032 [!__ASSUME_32BITUIDS]: Remove conditional code.
67033 * sysdeps/unix/sysv/linux/kernel-features.h
67034 (__ASSUME_SETRESUID_SYSCALL): Remove.
67035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
67036 (__ASSUME_32BITUIDS): Likewise.
67037 (__ASSUME_LDT_WORKS): Likewise.
67038 (__ASSUME_O_DIRECTORY): Likewise.
67039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67040 architecture but not kernel version.
67041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67042 (__ASSUME_MMAP2_SYSCALL): Likewise.
67043 (__ASSUME_STAT64_SYSCALL): Likewise.
67044 (__ASSUME_IPC64): Likewise.
67045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67046 <kernel-features.h>.
67047 [__ASSUME_32BITUIDS]: Make code unconditional.
67048 [!__ASSUME_32BITUIDS]: Remove conditional code.
67049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
67050 <kernel-features.h>.
67051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
67052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67053 132096]: Remove conditional code.
67054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67056 <kernel-features.h>.
67057 [__ASSUME_32BITUIDS]: Make code unconditional.
67058 [!__ASSUME_32BITUIDS]: Remove conditional code.
67059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67060 <kernel-features.h>.
67061 [__ASSUME_32BITUIDS]: Make code unconditional.
67062 [!__ASSUME_32BITUIDS]: Remove conditional code.
67063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
67064 <kernel-features.h>.
67065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67066 unconditional.
67067 (__setresgid): Do not declare.
67068 [__ASSUME_32BITUIDS]: Make code unconditional.
67069 [!__ASSUME_32BITUIDS]: Remove conditional code.
67070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67071 <kernel-features.h>.
67072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67073 unconditional.
67074 (__setresuid): Do not declare.
67075 [__ASSUME_32BITUIDS]: Make code unconditional.
67076 [!__ASSUME_32BITUIDS]: Remove conditional code.
67077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67078 <kernel-features.h>.
67079 [__ASSUME_32BITUIDS]: Make code unconditional.
67080 [!__ASSUME_32BITUIDS]: Remove conditional code.
67081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67082 <kernel-features.h>.
67083 [__ASSUME_32BITUIDS]: Make code unconditional.
67084 [!__ASSUME_32BITUIDS]: Remove conditional code.
67085
67086 2012-05-25 Richard Henderson <rth@twiddle.net>
67087
67088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67089 dl_hwcap to ifunc resolver.
67090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67091 elf_ifunc_invoke.
67092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67093 dl_hwcap to ifunc resolver.
67094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67095
67096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
67097
67098 [BZ #14153]
67099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67100 for |x| <= 2**-26, not 2**-57.
67101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
67102 exception.
67103
67104 2012-05-24 Jeff Law <law@redhat.com>
67105
67106 * stdio-common/Makefile (tests): Add bug25.
67107 * stdio-common/bug25.c: New test.
67108
67109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
67110
67111 [BZ #13576]
67112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67113 multiple of MALLOC_ALIGNMENT in size.
67114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67115
67116 2012-05-24 Joseph Myers <joseph@codesourcery.com>
67117
67118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67119 Require >= 256.
67120 (FILENAME_MAX): Use macro-int-constant.
67121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
67122 (_IOFBF): Use macro-int-constant.
67123 (_IOLBF): Likewise.
67124 (_IONBF): Likewise.
67125 (SEEK_CUR): Likewise.
67126 (SEEK_END): Likewise.
67127 (SEEK_SET): Likewise.
67128 (TMP_MAX): Likewise.
67129 (EOF): Use macro-int-constant. Require < 0.
67130 (NULL): Use macro-constant. Require == 0.
67131 (stdin): Require type to be FILE *.
67132 (stdout): Likewise.
67133 (stderr): Likewise.
67134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67135 macro-int-constant.
67136 (EXIT_SUCCESS): Likewise.
67137 (NULL): Use macro-constant. Require == 0.
67138 (RAND_MAX): Use macro-int-constant.
67139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67140 [C99-based standards] (strtof): Require function.
67141 [C99-based standards] (strtold): Likewise.
67142 [C99-based standards] (strtoll): Likewise.
67143 [C99-based standards] (strtoull): Likewise.
67144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
67146 [ISO || ISO99 || ISO11] (math.h): Likewise.
67147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67150
67151 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
67152
67153 [BZ #14132]
67154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67156 * intl/dgettext.c (DCGETTEXT): Likewise.
67157 * intl/gettext.c (DCGETTEXT): Likewise.
67158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67159 * posix/regex_internal.h (gettext): Likewise.
67160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67161 Remove declaration.
67162 * include/argz.h (__argz_count_internal)
67163 (__argz_stringify_internal): Remove declaration.
67164 (__argz_count, __argz_stringify): Declare hidden proto.
67165 * intl/dcgettext.c: Remove use of INTDEF.
67166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67167 * string/argz-stringify.c: Likewise.
67168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67170 Declare hidden proto.
67171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67173 Declare hidden proto.
67174 * include/stdio.h (__asprintf_internal): Don't declare.
67175 (__asprintf): Don't define as macro. Declare hidden proto.
67176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67177 (__fsetlocking): Declare hidden proto.
67178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67180 hidden proto.
67181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67182 (_IO_setlinebuf): Remove use of INTUSE.
67183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67186 Remove declaration.
67187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67188 (_IO_do_flush): Remove use of INTUSE.
67189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67191 (_IO_adjust_column, _IO_least_wmarker)
67192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67195 (_IO_default_doallocate, _IO_wdefault_doallocate)
67196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67209 proto.
67210 (_IO_flush_all_internal, _IO_adjust_column_internal)
67211 (_IO_default_uflow_internal, _IO_default_finish_internal)
67212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67220 (_IO_file_close_internal, _IO_file_close_it_internal)
67221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
67222 (_IO_file_init_internal, _IO_file_attach_internal)
67223 (_IO_file_fopen_internal, _IO_file_read_internal)
67224 (_IO_file_sync_internal, _IO_file_seek_internal)
67225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
67228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67230 (_IO_list_all_internal, _IO_link_in_internal)
67231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67235 (_IO_do_write_internal, _IO_padn_internal)
67236 (_IO_getline_info_internal, _IO_getline_internal)
67237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
67241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
67243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67244 with libc_hidden_ver, remove use of INTUSE.
67245 * libio/genops.c: Likewise.
67246 * libio/freopen.c: Likewise.
67247 * libio/freopen64.c: Likewise.
67248 * libio/iofclose.c: Likewise.
67249 * libio/iofdopen.c: Likewise.
67250 * libio/iofflush.c: Likewise.
67251 * libio/iofflush_u.c: Likewise.
67252 * libio/iofgets.c: Likewise.
67253 * libio/iofgets_u.c: Likewise.
67254 * libio/iofopen.c: Likewise.
67255 * libio/iofopncook.c: Likewise.
67256 * libio/iofread.c: Likewise.
67257 * libio/iofread_u.c: Likewise.
67258 * libio/ioftell.c: Likewise.
67259 * libio/iofwrite.c: Likewise.
67260 * libio/iogetline.c: Likewise.
67261 * libio/iogets.c: Likewise.
67262 * libio/iogetwline.c: Likewise.
67263 * libio/iopadn.c: Likewise.
67264 * libio/iopopen.c: Likewise.
67265 * libio/ioseekoff.c: Likewise.
67266 * libio/ioseekpos.c: Likewise.
67267 * libio/iosetbuffer.c: Likewise.
67268 * libio/iosetvbuf.c: Likewise.
67269 * libio/ioungetc.c: Likewise.
67270 * libio/ioungetwc.c: Likewise.
67271 * libio/iovdprintf.c: Likewise.
67272 * libio/iovsprintf.c: Likewise.
67273 * libio/iovsscanf.c: Likewise.
67274 * libio/memstream.c: Likewise.
67275 * libio/obprintf.c: Likewise.
67276 * libio/oldfileops.c: Likewise.
67277 * libio/oldiofclose.c: Likewise.
67278 * libio/oldiofdopen.c: Likewise.
67279 * libio/oldiofopen.c: Likewise.
67280 * libio/oldiopopen.c: Likewise.
67281 * libio/oldstdfiles.c: Likewise.
67282 * libio/putc.c: Likewise.
67283 * libio/setbuf.c: Likewise.
67284 * libio/setlinebuf.c: Likewise.
67285 * libio/stdfiles.c: Likewise.
67286 * libio/strops.c: Likewise.
67287 * libio/vasprintf.c: Likewise.
67288 * libio/vscanf.c: Likewise.
67289 * libio/vsnprintf.c: Likewise.
67290 * libio/vswprintf.c: Likewise.
67291 * libio/wfiledoalloc.c: Likewise.
67292 * libio/wfileops.c: Likewise.
67293 * libio/wgenops.c: Likewise.
67294 * libio/wmemstream.c: Likewise.
67295 * libio/wstrops.c: Likewise.
67296 * libio/__fpurge.c: Likewise.
67297 * libio/__fsetlocking.c: Likewise.
67298 * assert/assert.c: Likewise.
67299 * debug/fgets_chk.c: Likewise.
67300 * debug/fgets_u_chk.c: Likewise.
67301 * debug/fread_chk.c: Likewise.
67302 * debug/fread_u_chk.c: Likewise.
67303 * debug/gets_chk.c: Likewise.
67304 * debug/obprintf_chk.c: Likewise.
67305 * debug/vasprintf_chk.c: Likewise.
67306 * debug/vdprintf_chk.c: Likewise.
67307 * debug/vsnprintf_chk.c: Likewise.
67308 * debug/vsprintf_chk.c: Likewise.
67309 * malloc/mtrace.c: Likewise.
67310 * misc/error.c: Likewise.
67311 * misc/syslog.c: Likewise.
67312 * stdio-common/asprintf.c: Likewise.
67313 * stdio-common/fxprintf.c: Likewise.
67314 * stdio-common/getw.c: Likewise.
67315 * stdio-common/isoc99_fscanf.c: Likewise.
67316 * stdio-common/isoc99_scanf.c: Likewise.
67317 * stdio-common/isoc99_vfscanf.c: Likewise.
67318 * stdio-common/isoc99_vscanf.c: Likewise.
67319 * stdio-common/isoc99_vsscanf.c: Likewise.
67320 * stdio-common/printf-prs.c: Likewise.
67321 * stdio-common/printf_fp.c: Likewise.
67322 * stdio-common/printf_fphex.c: Likewise.
67323 * stdio-common/printf_size.c: Likewise.
67324 * stdio-common/putw.c: Likewise.
67325 * stdio-common/scanf.c: Likewise.
67326 * stdio-common/sprintf.c: Likewise.
67327 * stdio-common/tmpfile.c: Likewise.
67328 * stdio-common/vfprintf.c: Likewise.
67329 * stdio-common/vfscanf.c: Likewise.
67330 * stdlib/strfmon_l.c: Likewise.
67331 * sunrpc/openchild.c: Likewise.
67332 * sunrpc/xdr_stdio.c: Likewise.
67333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
67335
67336 2012-05-24 Roland McGrath <roland@hack.frob.com>
67337
67338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67339
67340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67341 in the third column, to generate for the shared library an IFUNC
67342 that uses _dl_vdso_vsym.
67343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
67344 * Makeconfig (object-suffixes-noshared): New variable.
67345
67346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67350
67351 [BZ #14132]
67352 * include/sys/time.h (__gettimeofday): Remove macro.
67353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
67355 Remove INTDEF.
67356 (__gettimeofday): Add libc_hidden_def.
67357 (gettimeofday): Add libc_hidden_weak.
67358 * sysdeps/mach/gettimeofday.c: Likewise.
67359 * sysdeps/posix/gettimeofday.c: Likewise.
67360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67363 (__gettimeofday_internal): Remove strong_alias.
67364 (__gettimeofday): Add libc_hidden_def.
67365 (gettimeofday): Add libc_hidden_weak.
67366 * sysdeps/unix/syscalls.list (gettimeofday):
67367 Remove __gettimeofday_internal alias.
67368
67369 2012-05-24 Daniel Jacobowitz <drow@false.org>
67370 H.J. Lu <hongjiu.lu@intel.com>
67371
67372 [BZ #12495]
67373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67375 (largebin_index_32_big): New.
67376 (largebin_index): Use it for 16-byte alignment.
67377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
67378 correction with front_misalign.
67379
67380 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
67381
67382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67384 Likewise.
67385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67386 Likewise.
67387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67388 Likewise.
67389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67390 Likewise.
67391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67392 Likewise.
67393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67394 Likewise.
67395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67396 Likewise.
67397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67398 Likewise.
67399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67400 Likewise.
67401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67402 Likewise.
67403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67404 Likewise.
67405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67406 Likewise.
67407
67408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
67409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67410
67411 2012-05-24 Joseph Myers <joseph@codesourcery.com>
67412
67413 [BZ #10846]
67414 [BZ #14036]
67415 * math/libm-test.inc (exp_test): Add test from bug 14036.
67416 (pow_test): Add test from bug 10846.
67417
67418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67419 and other flags.
67420 (special_function): Do not include flags in test name.
67421 (parse_args): Likewise.
67422 * sysdeps/i386/fpu/libm-test-ulps: Update.
67423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67427
67428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
67429 exceptions.
67430 * math/libm-test.inc ("Philosophy"): Update comment about
67431 exception testing.
67432 (UNDERFLOW_EXCEPTION): New macro.
67433 (UNDERFLOW_EXCEPTION_OK): Likewise.
67434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67438 (INVALID_EXCEPTION_OK): Update value.
67439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67440 (OVERFLOW_EXCEPTION_OK): Likewise.
67441 (IGNORE_ZERO_INF_SIGN): Likewise.
67442 (test_exceptions): Handle underflow exceptions.
67443 (acos_test): Update for underflow exception expectations.
67444 (cexp_test): Likewise.
67445 (clog_test): Likewise.
67446 (clog10_test): Likewise.
67447 (csqrt_test): Likewise.
67448 (ctan_test): Likewise.
67449 (ctanh_test): Likewise.
67450 (exp_test): Likewise.
67451 (exp10_test): Likewise.
67452 (exp2_test): Likewise.
67453 (expm1_test): Likewise.
67454 (fma_test): Likewise.
67455 (j0_test): Likewise.
67456 (jn_test): Likewise.
67457 (nexttoward_test): Likewise.
67458 (pow_test): Likewise.
67459 (scalbn_test): Likewise.
67460 (scalbln_test): Likewise.
67461 (tan_test): Likewise.
67462 (y1_test): Likewise.
67463 * sysdeps/i386/fpu/libm-test-ulps: Update.
67464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67465
67466 2012-05-23 David S. Miller <davem@davemloft.net>
67467
67468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67469 (__libc_sigaction): Remove unused local variables.
67470
67471 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
67472
67473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67474
67475 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
67476
67477 mktime: avoid signed integer overflow
67478 * time/mktime.c (__mktime_internal): Do not mishandle the case
67479 where diff == INT_MIN.
67480
67481 mktime: simplify computation of average
67482 * time/mktime.c (ranged_convert): Use new time_t_avg function
67483 instead of rolling our own (probably-slower) code.
67484
67485 mktime: do not assume signed right shift propagates sign bit
67486 * time/mktime.c (isdst_differ): New static function.
67487 (__mktime_internal): No need to normalize tm_isdst now.
67488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67489 tm_isdst values.
67490
67491 mktime: merge another wrapv change from gnulib
67492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67493 from some compilers.
67494
67495 mktime: remove incorrect attempt at unusual arithmetics
67496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67497 The code didn't really work on such machines anyway.
67498 (TYPE_MINIMUM): Assume two's complement.
67499 (twos_complement_arithmetic): Verify that long_int and time_t
67500 are two's complement (or unsigned, in the latter case).
67501
67502 mktime: check signed shifts on long_int and time_t, too
67503 * time/mktime.c (SHR): Check that shifts work as desired
67504 on the types long_int and time_t too, as SHR is used on
67505 such types.
67506
67507 mktime: do not assume 'long' is wide enough
67508 * time/mktime.c (verify): Move decl up.
67509 (long_int): New type.
67510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67511 to remove assumption in the code that 'long' is wide enough to
67512 store year values. This assumption is not true on x32 and on
67513 some non-glibc platforms.
67514
67515 mktime: merge wrapv change from gnulib
67516 * time/mktime.c (WRAPV): New macro.
67517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67518 (guess_time_tm, __mktime_internal): Do not assume that signed
67519 integer overflow wraps around; modern compilers generate code
67520 where this assumption is no longer valid.
67521
67522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
67523
67524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67525 Replace "jmp L(pseudo_end)" with "ret".
67526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67527 Likewise.
67528
67529 2012-05-23 Andreas Jaeger <aj@suse.de>
67530
67531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
67533
67534 2012-05-23 Andreas Jaeger <aj@suse.de>
67535 Maximilian Attems <max@stro.at>
67536
67537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67538 New macros.
67539
67540 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
67541
67542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67543 code so that pseudo_end is just ret and the stack pointer is
67544 correct also for static library in error case.
67545
67546 2012-05-23 Joseph Myers <joseph@codesourcery.com>
67547
67548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67549 move to syscalls.list.
67550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67554
67555 * manual/install.texi (Running make install): Do not mention Linux
67556 kernel version for which pt_chown is not needed.
67557 (Linux): Do not mention problems with nscd with 2.0 kernels.
67558 * INSTALL: Regenerated.
67559
67560 2012-05-23 Andreas Jaeger <aj@suse.de>
67561
67562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67564 macro.
67565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
67566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
67568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
67570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67575 * sysdeps/unix/sysv/linux/bits/in.h
67576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67577
67578 2012-05-22 Roland McGrath <roland@hack.frob.com>
67579
67580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67581 (PREPARE_VERSION): Just use assert instead, it will be elided
67582 under [NDEBUG] anyway.
67583
67584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
67585
67586 * sysdeps/unix/sysv/linux/Makefile: Include
67587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67588 (sysdep_routines): Remove sysctl.
67589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67594
67595 2012-05-22 Andreas Jaeger <aj@suse.de>
67596
67597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67598 that pseudo_end is just ret and the stack pointer is correct also
67599 for static library in error case.
67600
67601 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
67602
67603 [BZ #14122]
67604 * nss/nsswitch.c (defconfig_entries): New variable.
67605 (__nss_database_lookup): Don't leak defconfig entries.
67606 (nss_parse_service_list): Don't leak on error paths.
67607 (free_database_entries): New function.
67608 (free_defconfig): New function.
67609 (free_mem): Move common code to free_database_entries.
67610
67611 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
67612
67613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67614 Add arch_prctl.
67615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67616
67617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67620 New macro.
67621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67622 (INTERNAL_SYSCALL_TYPES): Likewise.
67623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
67624 (LOAD_REGS_TYPES_[1-6]): Likewise.
67625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67627
67628 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67629
67630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67631 copysignl for GLIBC_2_0.
67632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67635 logbl for GLIBC_2_0.
67636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67638
67639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
67640
67641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
67643
67644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67645 Use "neg %eax".
67646
67647 * time/mktime.c: Update copyright years.
67648
67649 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
67650
67651 mktime: merge comment-quoting-style change from gnulib
67652 * time/mktime.c: Quote 'like this' in comments.
67653 The GNU coding standards suggest that we no longer quote `like this',
67654 as "`" and "'" are typically rendered asymmetrically nowadays.
67655 The typical gnulib style is to quote 'like this' when quoting
67656 code, and "like this" when quoting English.
67657
67658 * time/mktime.c (compile-command): Add "-I.".
67659
67660 mktime: merge mktime-internal.h change from gnulib
67661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67662
67663 mktime: merge time_r change from gnulib
67664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67665
67666 mktime: merge DEBUG change from gnulib
67667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67668 case system <time.h> has a #define.
67669
67670 mktime: merge <sys/types.h> change from gnulib
67671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67672 since <time.t> is now guaranteed to define time_t.
67673
67674 mktime: merge HAVE_CONFIG_H change from gnulib
67675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67676
67677 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
67678
67679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67680 Use "neg %eax".
67681
67682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67683 __rlim_t cast.
67684 (struct rusage): Use anonymous union to pad each field to
67685 __syscall_slong_t.
67686
67687 2012-05-21 David S. Miller <davem@davemloft.net>
67688
67689 * Makefules (o-iterator): Remove .s cases.
67690 (compile-command.s): Delete.
67691 (COMPILE.s): Delete.
67692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67693
67694 2012-05-21 Joseph Myers <joseph@codesourcery.com>
67695
67696 * configure.in (libc_cv_predef_stack_protector): Only consider
67697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
67698 * configure: Regenerated.
67699
67700 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
67701
67702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67703 New macro. Use R*LP on int and pointer.
67704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67708
67709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67710 [__WORDSIZE_TIME64_COMPAT32] instead of
67711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67712 (struct utmp): Likewise.
67713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67715 Renamed to ...
67716 (__WORDSIZE_TIME64_COMPAT32): This.
67717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67722 (__WORDSIZE_TIME64_COMPAT32): New macro.
67723
67724 2012-05-21 Andreas Jaeger <aj@suse.de>
67725
67726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67727 only if [SHARED]. Add prototype for __wcschr_ia32.
67728
67729 2012-05-21 Roland McGrath <roland@hack.frob.com>
67730
67731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67732 of %rbp unmolested in the jmp_buf while mangling the low bits.
67733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67734 unmolested high bits of %rbp while demangling the low bits.
67735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67736
67737 2012-05-21 Andreas Jaeger <aj@suse.de>
67738
67739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67740 * sunrpc/svc_simple.c: Use it for registerrpc.
67741 * sunrpc/xcrypt.c: Use it for passwd2des.
67742
67743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67744
67745 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
67746
67747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67748 Don't define if [__SYSCALL_WORDSIZE != 32].
67749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67750 New macro.
67751
67752 2012-05-21 Bruno Haible <bruno@clisp.org>
67753 Andreas Jaeger <aj@suse.de>
67754
67755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67757 inptr and inend for must_buffer_ch.
67758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67760 * stdio-common/Makefile (tests): Remove bug15.
67761 (bug15-ENV): Remove macro.
67762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67763 anymore.
67764
67765 2012-05-19 Andreas Jaeger <aj@suse.de>
67766 Roland McGrath <roland@hack.frob.com>
67767
67768 * manual/contrib.texi: Completely rewritten. It contains now an
67769 alphabetical list of contributors and their contributions.
67770
67771 2012-05-21 Richard Henderson <rth@twiddle.net>
67772
67773 * misc/getauxval.c (__getauxval): Use unsigned long int.
67774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
67775 (getauxval): Use unsigned long int.
67776
67777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
67778
67779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67780
67781 2012-05-21 Roland McGrath <roland@hack.frob.com>
67782
67783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67785 __alignof__ (long double).
67786
67787 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67788
67789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67790
67791 2012-05-20 Richard Henderson <rth@twiddle.net>
67792
67793 * misc/getauxval.c: New file.
67794 * misc/sys/auxv.h: New file.
67795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67796 (routines): Add getauxval.
67797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67799 * elf/dl-sysdep.c (_dl_auxv): Remove.
67800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67801 * elf/dl-support.c (_dl_auxv): New variable.
67802 (_dl_aux_init): Initialize it.
67803 * manual/startup.texi (Auxiliary Vector): New node.
67804 * sysdeps/generic/bits/hwcap.h: New file.
67805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
67807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67808 * sysdeps/sparc/sysdep.h: ... here. Include it.
67809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67812 Update.
67813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67821
67822 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67823
67824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67825
67826 2012-05-19 David S. Miller <davem@davemloft.net>
67827
67828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67829
67830 2012-05-19 Joseph Myers <joseph@codesourcery.com>
67831
67832 [BZ #14123]
67833 * math/s_ccosh.c: Include <float.h>
67834 (__ccosh): Avoid internal overflow calculating sinh and cosh
67835 values before multiplying by sin and cos values.
67836 * math/s_ccoshf.c: Likewise.
67837 * math/s_ccoshl.c: Likewise.
67838 * math/s_csin.c: Likewise.
67839 * math/s_csinf.c: Likewise.
67840 * math/s_csinl.c: Likewise.
67841 * math/s_csinh.c: Likewise.
67842 * math/s_csinhf.c: Likewise.
67843 * math/s_csinhl.c: Likewise.
67844 * math/libm-test.inc (ccos_test): Add more tests.
67845 (ccosh_test): Likewise.
67846 (csin_test): Likewise.
67847 (csinh_test): Likewise.
67848 * sysdeps/i386/fpu/libm-test-ulps: Update.
67849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67850
67851 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
67852
67853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67855
67856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
67857
67858 2012-05-19 Joseph Myers <joseph@codesourcery.com>
67859
67860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
67863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67891
67892 2012-05-18 Andreas Jaeger <aj@suse.de>
67893
67894 * csu/.gitignore: Delete.
67895
67896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
67897
67898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67899 (timex): Use __syscall_slong_t.
67900
67901 2012-05-18 Andreas Jaeger <aj@suse.de>
67902 Carlos O'Donell <carlos_odonell@mentor.com>
67903
67904 * manual/install.texi (Configuring and compiling): Update
67905 description about files modified in the source directory.
67906 * INSTALL: Regenerated.
67907
67908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
67909
67910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67911 value. Use "or" to set return value to -1.
67912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67913 negate return value.
67914
67915 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67916
67917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67918 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67919 failure if the compiler has Graphite support disabled.
67920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67921 Likewise.
67922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67923 (CFLAGS-memmove.c): Likewise.
67924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67925 Likewise.
67926
67927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
67928
67929 * sysdeps/x86_64/x32/_itoa.h: New file.
67930
67931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67932 getdents system call only if kernel and user dirents have the
67933 same d_ino and d_off.
67934
67935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67936 LLONG_MAX != LONG_MAX.
67937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67938 (_fitoa_word): Likewise.
67939
67940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67941 years.
67942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67945
67946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67947 include <bits/wordsize.h>. Check __x86_64__ instead of
67948 __WORDSIZE.
67949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67950 if __x86_64__ is defined. Use anonymous union on fpstate.
67951
67952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67953 anonymous union.
67954
67955 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
67956
67957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67960 Refer to _rtld_local_ro instead of _rtld_global_ro.
67961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67962 Likewise.
67963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67964 Likewise.
67965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67966 Likewise.
67967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
67970
67971 [BZ #10882]
67972 * sysdeps/powerpc/powerpc32/dl-machine.c
67973 (__elf_machine_runtime_setup) [PROF]: Don't reference
67974 _dl_prof_resolve.
67975
67976 2012-05-18 Andreas Jaeger <aj@suse.de>
67977
67978 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67979 function only available for GCCs before 3.4 since GCC 3.4
67980 introduced a builtin.
67981 (lrint): Likewise.
67982 (llrintf): Likewise.
67983 (llrint): Likewise.
67984 (fmaxf): Likewise.
67985 (fmax): Likewise.
67986 (fminf): Likewise.
67987 (fmin): Likewise.
67988 (rint): Likewise.
67989 (rintf): Likewise.
67990 (nearbyint): Likewise.
67991 (nearbyintf): Likewise.
67992 (ceil): Likewise.
67993 (ceilf): Likewise.
67994 (floor): Likewise.
67995 (floorf): Likewise.
67996
67997 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
67998
67999 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68000 on both fields and cast pointer to __syscall_ulong_t.
68001
68002 * bits/types.h (__fsword_t): New type.
68003 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68004 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68005 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68006 (__FSWORD_T_TYPE): Likewise.
68007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68008 (__FSWORD_T_TYPE): Likewise.
68009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68010 (__FSWORD_T_TYPE): Likewise.
68011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68012 (__FSWORD_T_TYPE): Likewise.
68013 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68014 __SWORD_TYPE with __fsword_t.
68015 (statfs64): Likewise.
68016
68017 2012-05-17 David S. Miller <davem@davemloft.net>
68018
68019 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68020
68021 2012-05-17 Andreas Jaeger <aj@suse.de>
68022
68023 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68024 warning.
68025
68026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
68027
68028 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68029
68030 2012-05-17 Andreas Jaeger <aj@suse.de>
68031
68032 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68033 when it is used.
68034
68035 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
68036
68037 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68038
68039 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
68040
68041 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68042 * sysdeps/x86_64/tst-mallocalign1.c: New file.
68043
68044 2012-05-17 Andreas Jaeger <aj@suse.de>
68045 Carlos O'Donell <carlos_odonell@mentor.com>
68046
68047 [BZ #14059]
68048 * sysdeps/x86_64/multiarch/init-arch.h
68049 (bit_YMM_Usable): Rename to...
68050 (bit_AVX_Usable): ... this.
68051 (bit_FMA4_Usable): New macro.
68052 (bit_XMM_state): New macro.
68053 (bit_YMM_state): New macro.
68054 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68055 [__ASSEMBLER__] (index_AVX_Usable): ... this.
68056 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68057 (CPUID_OSXSAVE): New macro.
68058 (CPUID_AVX): New macro.
68059 (CPUID_FMA4): New macro.
68060 (index_YMM_Usable): Rename to...
68061 (index_AVX_Usable): ... this.
68062 (HAS_AVX): Use HAS_ARCH_FEATURE.
68063 (HAS_FMA4): Likewise.
68064 (HAS_YMM_USABLE): Remove.
68065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68066 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68067 are present.
68068 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68069 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68070 * sysdeps/x86_64/multiarch/Makefile: Likewise.
68071 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68072 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68073
68074 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
68075
68076 * math/libm-test.c: Support platforms without multiple rounding modes.
68077 * math/bug-nextafter.c: Support platforms without FP exceptions.
68078 * math/bug-nexttoward.c: Likewise.
68079 * math/test-fenv.c: Likewise.
68080 * math/test-misc.c: Likewise.
68081 * stdlib/bug-getcontext.c: Likewise.
68082
68083 2012-05-17 Andreas Jaeger <aj@suse.de>
68084
68085 * manual/examples/search.c (critter_cmp): Change signature to
68086 avoid warnings.
68087 * manual/string.texi (Collation Functions): Likewise.
68088
68089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68090
68091 * bits/types.h: Fold copyright years.
68092 * bits/typesizes.h: Likewise.
68093 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68097 * time/time.h: Likewise.
68098
68099 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
68100
68101 [BZ #208]
68102 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68103 in instead of returning them. Return void.
68104 (__libc_mallinfo): Accumulate over all arenas.
68105 (__malloc_stats): Adjust for change in int_mallinfo interface.
68106
68107 2012-05-16 Roland McGrath <roland@hack.frob.com>
68108
68109 [BZ #10375]
68110 * configure.in (NM): Add AC_CHECK_TOOL for it.
68111 (libc_extra_cflags): New substituted variable.
68112 Check for -fstack-protector being used implicitly.
68113 * configure: Regenerated.
68114 * config.make.in (config-extra-cflags): New variable,
68115 gets @libc_extra_cflags@.
68116 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68117
68118 [BZ #10375]
68119 * configure.in: Check for _FORTIFY_SOURCE being predefined.
68120 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68121 * configure: Regenerated.
68122 * config.make.in (CPPUNDEFS): New substituted variable.
68123 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68124 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68125 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68126
68127 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68128
68129 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68130 (mq_attr): Use __syscall_slong_t.
68131
68132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68133
68134 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68135 Check __x86_64__ instead of __WORDSIZE.
68136 (_STAT_VER_LINUX): Likewise.
68137 (stat): Check __x86_64__ instead of __WORDSIZE. Use
68138 __syscall_ulong_t and __syscall_slong_t.
68139 (stat64): Likewise.
68140
68141 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68142
68143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68144
68145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68146
68147 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68148
68149 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68150
68151 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68152 __syscall_ulong_t.
68153
68154 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68155 include <bits/wordsize.h>. Check __x86_64__ instead of
68156 __WORDSIZE.
68157 (greg_t): Use "__extension__ long long int" if __x86_64__ is
68158 defined.
68159 (mcontext_t): Replace "unsigned long" with "unsigned long long".
68160
68161 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68162 include <bits/wordsize.h>. Check __x86_64__ instead of
68163 __WORDSIZE.
68164 (user_regs_struct): Use "__extension__ unsigned long long"
68165 instead of "unsigned long" if __x86_64__ is defined.
68166 (user): Likewise. Pad after pointer field if __ILP32__ is
68167 defined.
68168
68169 2012-05-16 Joseph Myers <joseph@codesourcery.com>
68170
68171 * configure.in (makeinfo): Require version 4.5 or later. Allow
68172 versions 5 to 9.
68173 * configure: Regenerated.
68174 * manual/install.texi (texinfo): Increase version requirement to
68175 4.5 or later.
68176 * INSTALL: Regenerated.
68177
68178 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68179
68180 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
68181
68182 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68183
68184 * sysdeps/x86_64/x32/ffs.c: New file.
68185
68186 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68187 __syscall_ulong_t.
68188 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68189 defined. Use __syscall_ulong_t.
68190 (shminfo): Use __syscall_ulong_t.
68191 (shm_info): Likewise.
68192
68193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68194 __syscall_ulong_t.
68195
68196 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68197 <bits/wordsize.h>.
68198 (msgqnum_t): Use __syscall_ulong_t.
68199 (msglen_t): Likewise.
68200 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
68201 __syscall_ulong_t.
68202
68203 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
68205
68206 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68207
68208 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68209 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68210
68211 * sysvipc/sys/msg.h (msgbuf): Replace long int with
68212 __syscall_slong_t.
68213
68214 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68215 include <bits/wordsize.h>. Check __x86_64__ instead of
68216 __WORDSIZE.
68217
68218 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68219 "unsigned long long int" if __x86_64__ is defined.
68220 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68221
68222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68223 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
68224 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68225
68226 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68227 <stdint.h>.
68228 (GET_PC): Cast to uintptr_t first.
68229 (GET_FRAME): Likewise.
68230 (GET_STACK): Likewise.
68231
68232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68235 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68237 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68239 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68240 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68244 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68246 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68250 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68252 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68254 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68256 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68261
68262 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
68263
68264 * Makerules (+depfiles): Also collect depfiles from .oS in
68265 $(extra-objs).
68266 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68267 .oS, $(libnldbl-routines)).
68268
68269 * Makerules (native-compile-mkdep-flags): Define.
68270 * sunrpc/Makefile (extra-objs): Add $(addprefix
68271 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68272 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68273 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
68274 calling $(make-target-directory).
68275
68276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68277
68278 * bits/types.h (__snseconds_t): Removed.
68279 * time/time.h (struct timespec): Replace __snseconds_t with
68280 __syscall_slong_t.
68281 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68282 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68283 Likewise.
68284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68285 (__SNSECONDS_T_TYPE): Likewise.
68286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68287 (__SNSECONDS_T_TYPE): Likewise.
68288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68289 (__SNSECONDS_T_TYPE): Likewise.
68290
68291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68292
68293 * sysdeps/mach/hurd/bits/typesizes.h
68294 (__SYSCALL_SLONG_TYPE): New macro.
68295 (__SYSCALL_ULONG_TYPE): Likewise.
68296
68297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68298
68299 * bits/types.h (__syscall_slong_t): New type.
68300 (__syscall_ulong_t): Likewise.
68301
68302 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68303 (__SYSCALL_ULONG_TYPE): Likewise.
68304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68305 (__SYSCALL_SLONG_TYPE): Likewise.
68306 (__SYSCALL_ULONG_TYPE): Likewise.
68307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68308 (__SYSCALL_SLONG_TYPE): Likewise.
68309 (__SYSCALL_ULONG_TYPE): Likewise.
68310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68311 (__SYSCALL_SLONG_TYPE): Likewise.
68312 (__SYSCALL_ULONG_TYPE): Likewise.
68313
68314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68315
68316 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68317 Add sigaltstack-offsets.sym.
68318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68319 <sigaltstack-offsets.h>.
68320 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
68321 longjmp_msg pointer.
68322 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
68323 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68324 signal stack.
68325 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68326
68327 2012-05-15 Joseph Myers <joseph@codesourcery.com>
68328
68329 * elf/stackguard-macros.h: Remove file.
68330 * sysdeps/generic/stackguard-macros.h: New file.
68331 * sysdeps/i386/stackguard-macros.h: Likewise.
68332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68338 * sysdeps/x86_64/stackguard-macros.h: Likewise.
68339 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68340 <elf/stackguard-macros.h>.
68341
68342 [BZ #14109]
68343 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68344 __aligned__ in attribute.
68345 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68346 (gregset_t): Likewise.
68347
68348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68349
68350 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68351 * sysdeps/x86_64/64/Implies-after: Here. New file.
68352 * sysdeps/x86_64/x32/Implies-after: New file.
68353
68354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68355
68356 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68357 and access return value for _dl_profile_fixup. Use R10_LP to
68358 load frame size.
68359
68360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68361
68362 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68363
68364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68365
68366 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68367 * sysdeps/x86_64/x32/sysdep.h: New file.
68368
68369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68370
68371 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68372 * sysdeps/x86_64/setjmp.S: Likewise.
68373
68374 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68375
68376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68377 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68378 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68380 remove unused global constant.
68381
68382 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
68383
68384 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68385 include of <not-cancel.h>.
68386
68387 2012-05-15 Roland McGrath <roland@hack.frob.com>
68388
68389 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68390
68391 2012-05-15 Jeff Law <law@redhat.com>
68392 Andreas Jaeger <aj@suse.de>
68393
68394 [BZ #13594]
68395 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68396 out from...
68397 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68398 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68400 code changing __hst_map_handle.map.
68401
68402 2012-05-15 Roland McGrath <roland@hack.frob.com>
68403
68404 * configure.in (sysnames): Look for Implies-before and Implies-after
68405 files.
68406 * configure: Regenerated.
68407
68408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68409
68410 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68411 8-byte data alignment with LP_SIZE alignment.
68412
68413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68414
68415 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68416 into R10_LP.
68417
68418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68419
68420 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68421
68422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68423
68424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68425 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68427 Likewise.
68428 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68429
68430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68431
68432 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68433 (stackinfo_sub_sp): Likewise.
68434
68435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68436
68437 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68438 RAX_LP.
68439
68440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68441
68442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68443 into R*_LP.
68444
68445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68446
68447 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68448 sizes into R*_LP.
68449
68450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68451
68452 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68453
68454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68455
68456 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68457 into R11_LP and load __x86_64_shared_cache_size_half into
68458 R8_LP.
68459
68460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68461
68462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68463 R8_LP.
68464
68465 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68466
68467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68468 logb for POWER7.
68469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68470 logbf for POWER7.
68471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68472 logbl for POWER7.
68473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68474 powerpc32/power7/fpu/s_logb.c via #include.
68475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68476 powerpc32/power7/fpu/s_logbf.c via #include.
68477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68478 powerpc32/power7/fpu/s_logbl.c via #include.
68479
68480 2012-05-15 Joseph Myers <joseph@codesourcery.com>
68481
68482 * README.libm: Remove file.
68483
68484 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68485
68486 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68487 count for x32. Use R*_LP and omit operand-size suffix.
68488
68489 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68490
68491 * shlib-versions: Move x86_64-.*-linux.* entries to ...
68492 * sysdeps/x86_64/64/shlib-versions: Here. New file.
68493 * sysdeps/x86_64/x32/shlib-versions: New file.
68494
68495 2012-05-14 Roland McGrath <roland@hack.frob.com>
68496
68497 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68498 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68499 Use _dl_fatal_printf instead.
68500
68501 2012-05-14 Joseph Myers <joseph@codesourcery.com>
68502
68503 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68504 set if not set by the user. Do not allow for being unset.
68505 * sysdeps/unix/sysv/linux/configure: Regenerated.
68506
68507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68508
68509 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68510 the `q' suffix from lea and replace .quad with ASM_ADDR.
68511
68512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68513
68514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68515 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
68516 instead of $17.
68517 (PTR_DEMANGLE): Likewise.
68518
68519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68520
68521 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68522 (LP_OP): Likewise.
68523 (ASM_ADDR): Likewise.
68524 (RAX_LP): Likewise.
68525 (RBP_LP): Likewise.
68526 (RBX_LP): Likewise.
68527 (RCX_LP): Likewise.
68528 (RDI_LP): Likewise.
68529 (RSI_LP): Likewise.
68530 (RSP_LP): Likewise.
68531 (R8_LP): Likewise.
68532 (R9_LP): Likewise.
68533 (R10_LP): Likewise.
68534 (R10_LP): Likewise.
68535 (R11_LP): Likewise.
68536 (R12_LP): Likewise.
68537 (R13_LP): Likewise.
68538 (R14_LP): Likewise.
68539 (R15_LP): Likewise.
68540
68541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68542
68543 * sysdeps/x86_64/x32/dl-machine.h: New file.
68544
68545 2012-05-14 Andreas Jaeger <aj@suse.de>
68546
68547 * manual/Makefile (subdir): Remove export of subdir.
68548 (all): Remove target.
68549 (.PHONY): Remove all from list.
68550 (mkinstalldirs): Remove.
68551 (.PHONY): Remove installdirs from list.
68552 ($(inst_infodir)/libc.info): Use make-target-directory.
68553 (installdirs): Remove.
68554 (subdir_%): Remove.
68555 (glibc-targets): Remove.
68556 (lib): Remove.
68557 (stubs): Remove.
68558 ($(objpfx)stubs ../po/manual.pot): Remove.
68559 ($(objpfx)stamp%): Remove.
68560 (make-target-directory): Remove.
68561 (subdir_install): Remove.
68562 (routines): Remove.
68563 (aux): Remove.
68564 (sources): Remove.
68565 (objects): Remove.
68566 (headers): Remove.
68567
68568 [BZ #13750]
68569 * manual/.gitignore: Remove, it's not needed anymore.
68570 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68571 all files in it.
68572 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68573 directory.
68574 (texis): Renamed to $(objpfx)texis.
68575 (texis-path): New, contains path to generated files.
68576 (chapters.%): Use texis-path for complete path, add extra argument
68577 libc-texinfo.sh.
68578 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68579 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68580 (summary,texi, stamp-summary): Use complete path of
68581 files. Generate files in build dir.
68582 (dir-add.texi): Build in build dir.
68583 (libm-err.texi,stamp-libm-err): Likewise.
68584 (version.texi, stamp-version): Likewise.
68585 (.%c.texi): Likewise.
68586 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68587 (mostlyclean): Remove target.
68588 (realclean): Remove target.
68589 (generated): Add new variable with contents from mostlyclean and
68590 realclean, remove entries duplicated in common-mostlyclean, add
68591 stamp-libm-err and stamp-version.
68592 (generated-dirs): Add libc directory.
68593 ($(inst_infodir)/libc.info): Install files from build dir.
68594
68595 * manual/install.texi (Configuring and compiling): Adjust since
68596 the info files are not part of the tar ball anymore.
68597
68598 2012-05-14 Andreas Jaeger <aj@suse.de>
68599
68600 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68601 variable.
68602
68603 2012-05-14 Joseph Myers <joseph@codesourcery.com>
68604
68605 [BZ #13717]
68606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68607 to 2.2.0 where earlier.
68608 * sysdeps/unix/sysv/linux/configure: Regenerated.
68609 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68610 Remove conditional code.
68611 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68612 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68613 Remove conditional code.
68614 [!__NR_lchown]: Likewise.
68615 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68616 [__NR_lchown]: Likewise.
68617 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68618 comment referencing __ASSUME_LCHOWN_SYSCALL.
68619 * sysdeps/unix/sysv/linux/i386/sigaction.c
68620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68622 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68623 Remove conditional code.
68624 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68625 (__protocol_available): Remove #if 0 code.
68626 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68627 conditional code.
68628 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68629 * sysdeps/unix/sysv/linux/kernel-features.h
68630 (__ASSUME_GETCWD_SYSCALL): Don't define.
68631 (__ASSUME_REALTIME_SIGNALS): Likewise.
68632 (__ASSUME_PREAD_SYSCALL): Likewise.
68633 (__ASSUME_PWRITE_SYSCALL): Likewise.
68634 (__ASSUME_POLL_SYSCALL): Likewise.
68635 (__ASSUME_LCHOWN_SYSCALL): Likewise.
68636 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68637 non-SPARC.
68638 (__ASSUME_SIOCGIFNAME): Don't define.
68639 (__ASSUME_MSG_NOSIGNAL): Likewise.
68640 (__ASSUME_SENDFILE): Define unconditionally.
68641 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68642 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68643 conditional code.
68644 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68645 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68646 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68647 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68648 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68649 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68650 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68652 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68664 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68675 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68676 Remove conditional code.
68677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68678 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68679 Remove conditional code.
68680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68681 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68682 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68683 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68684 Remove conditional code.
68685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68686 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68687 Remove conditional code.
68688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68689 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68690 Remove conditional code.
68691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68692 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68693 Remove conditional code.
68694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68695 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68696 Remove conditional code.
68697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68698 * sysdeps/unix/sysv/linux/sh/pwrite64.c
68699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68701 * sysdeps/unix/sysv/linux/sigaction.c
68702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68704 * sysdeps/unix/sysv/linux/sigpending.c
68705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68707 * sysdeps/unix/sysv/linux/sigprocmask.c
68708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68710 * sysdeps/unix/sysv/linux/sigsuspend.c
68711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68713 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68714 (__libc_missing_rt_sigs): Remove.
68715 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68716 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68717 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68718 Remove conditional code.
68719 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68720 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68721 return 1.
68722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68725 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68726
68727 2012-05-14 Andreas Jaeger <aj@suse.de>
68728
68729 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68730 it's not used in glibc.
68731 (__coshm1): Likewise.
68732 (__acosh1p): Likewise.
68733 (__sgn): Likewise.
68734
68735 * manual/string.texi (Copying and Concatenation): Add missing
68736 variable in concat example.
68737 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68738
68739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68740
68741 [BZ #14103]
68742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68743 __builtin_clzl with __builtin_clzll.
68744
68745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
68746
68747 [BZ #14104]
68748 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68749 libc_freeres_ptr.
68750
68751 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68752
68753 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68754 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68755 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68756 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68757
68758 2012-05-14 Mike Frysinger <vapier@gentoo.org>
68759
68760 * NEWS: Update ia64 info.
68761
68762 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
68763
68764 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68765 used as bcopy.
68766
68767 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
68768
68769 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68770 * sysdeps/unix/syscalls.list (dup3): Likewise.
68771 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68772 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68773
68774 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
68775
68776 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68777 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68778
68779 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
68780
68781 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68782 thread pointer.
68783 (TLS_IE): Use mov/add instead of movq/addq to load thread
68784 pointer.
68785 (TLS_GD_PREFIX): New.
68786 (TLS_GD): Use it.
68787
68788 2012-05-11 David S. Miller <davem@davemloft.net>
68789
68790 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68791 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68792 (_FPU_SETCW): Likewise.
68793
68794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
68795
68796 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68797 is 32-byte aligned.
68798
68799 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
68800
68801 [BZ #11837]
68802 * iconvdata/gb18030.c: Update tables.
68803 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
68804 characters specially.
68805 (BODY for TO_LOOP): Add encoding of missing ranges.
68806
68807 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
68808
68809 [BZ #13673]
68810 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68811 * sysdeps/mach/hurd/dup3.c: Likewise.
68812 * sysdeps/mach/hurd/readlinkat.c: Likewise.
68813 * sysdeps/powerpc/memmove.c:: Likewise.
68814
68815 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
68816
68817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68818 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68819
68820 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
68821
68822 * elf/elf.h (R_X86_64_RELATIVE64): New.
68823 (R_X86_64_NUM): Updated.
68824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68825 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
68826 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68827 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68828 tst-quad1pie tst-quad2pie
68829 (modules-names): Add tst-quadmod1 tst-quadmod2.
68830 ($(objpfx)tst-quad1): New dependency.
68831 ($(objpfx)tst-quad2): Likewise.
68832 ($(objpfx)tst-quad1pie): Likewise.
68833 ($(objpfx)tst-quad2pie): Likewise.
68834 * sysdeps/x86_64/tst-quad1.c: New file.
68835 * sysdeps/x86_64/tst-quad1pie.c: New file.
68836 * sysdeps/x86_64/tst-quad2.c: Likewise.
68837 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68838 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68839 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68840 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68841 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68842
68843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68844
68845 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68846 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68847 * streams/stropts.h (t_scalar_t): Define type.
68848
68849 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68850 (_PATH_PRESERVE): Set to "/var/lib".
68851 (_PATH_RWHODIR): Set to "/var/spool/rwho".
68852
68853 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68854 instead of int.
68855
68856 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68857 if __dir_mkfile succeeded.
68858
68859 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68860 checking for _hurd_dtablesize. Unlock it right after having
68861 finished _hurd_dtable allocation.
68862
68863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68864
68865 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68866 * sysdeps/mach/hurd/configure: Regenerated.
68867 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68868 special-casing to...
68869 * sysdeps/gnu/configure.in: ... this new file.
68870 * sysdeps/unix/sysv/linux/configure: Regenerated.
68871 * sysdeps/gnu/configure: New generated file.
68872
68873 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68874 for Linux: use nsec instead of usec, as well as:
68875 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68876 members of type struct timespec.
68877 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68878 New macros.
68879 (struct stat64): Likewise.
68880 (_STATBUF_ST_NSEC): New macro.
68881 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68882
68883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68884 __strtoul_internal rather than strtoul.
68885
68886 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
68887
68888 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68889 and reject them.
68890
68891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68892
68893 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68894 which preserves existing values.
68895 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68896
68897 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
68898
68899 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68900 TIMEOUT values. Return EINVAL for NFDS values either negative or
68901 greater than FD_SETSIZE.
68902
68903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68904
68905 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68906 allocated, call __vm_protect to finish enabling the existing space, and
68907 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68908 allocate the remainder.
68909
68910 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
68911
68912 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68913 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
68914
68915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68916
68917 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68918 sysdeps/mach/hurd/readlink.c.
68919
68920 * posix/tst-sysconf.c (posix_options): Only use
68921 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68922 _POSIX_SYNCHRONIZED_IO when they are defined
68923 * sysdeps/mach/hurd/bits/posix_opt.h:
68924 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68925 (_XOPEN_REALTIME): Undefine macro.
68926 (_XOPEN_REALTIME_THREADS): Undefine macro.
68927 (_XOPEN_SHM): Undefine macro.
68928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68929 macro to -1.
68930 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68931 macro to -1.
68932 (_POSIX_ASYNC_IO): Undefine macro.
68933 (_POSIX_PRIORITIZED_IO): Undefine macro.
68934 (_POSIX_SPIN_LOCKS): Define macro to -1.
68935
68936 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68937 SA_NODEFER, SA_RESETHAND.
68938 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68939 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68940 F_DUPFD_CLOEXEC.
68941
68942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68943
68944 * elf/Makefile (pldd-modules): Define unconditionally.
68945
68946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68947
68948 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68949
68950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68951
68952 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68953 Return ENOENT when name is empty.
68954 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68955
68956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68957
68958 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68959
68960 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68961
68962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68963
68964 Fix mlock in all cases except non-readable pages.
68965 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68966 instead of VM_PROT_ALL as parameter to __vm_wire function.
68967
68968 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68969 (__mkdir): When path is `/', just fail with EEXIST.
68970 * sysdeps/mach/hurd/mkdirat.c: Likewise.
68971
68972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68973
68974 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68975 <sys/uio.h> (for writev).
68976 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68977 and <sys/param.h> (for MIN).
68978
68979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
68980
68981 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68982 REQUESTED_TIME. Properly set the remaining time and return EINTR
68983 if interrupted.
68984
68985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68986
68987 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68988 Depend on against $(link-rpcuserlibs).
68989
68990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
68991
68992 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68993 (__libc_stack_end): Do not use attribute_relro.
68994 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68995 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68996 to libthread-provided value.
68997 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68998 attribute_relro.
68999
69000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
69001
69002 [BZ #3748]
69003 * bits/libc-lock.h (__libc_once_get): New macro.
69004 * sysdeps/mach/bits/libc-lock.h: Likewise.
69005 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69006 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69007 instead of using implementation details.
69008
69009 * libio/fileops.c: Unconditionally include <kernel-features.h>.
69010 * libio/freopen.c: Likewise.
69011 * libio/freopen64.c: Likewise.
69012 * misc/syslog.c: Likewise.
69013 * nscd/connections.c: Likewise.
69014 * nscd/netgroupcache.c: Likewise.
69015 * sysdeps/posix/getcwd.c: Likewise.
69016
69017 2012-05-10 Roland McGrath <roland@hack.frob.com>
69018
69019 * math/w_ilogbf.c: Add #include <limits.h>.
69020
69021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
69022
69023 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69024 path instead of returning without unlocking.
69025
69026 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69027 immediate-write ioctls.
69028 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69029
69030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
69031
69032 * sysdeps/mach/hurd/i386/init-first.c (init): Use
69033 __builtin_frame_address instead of making assumptions about the
69034 location of the return address relative to DATA. Force early load of
69035 the return address.
69036 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69037 __builtin_frame_address.
69038
69039 dup3 for GNU Hurd.
69040 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69041 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
69042 implement dup3 and do some further code clean-ups.
69043 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69044 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69045
69046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
69047
69048 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69049
69050 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69051 HURD_CRITICAL_END around holding _hurd_dtable_lock.
69052 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69053 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69054 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69055 d->port.lock.
69056
69057 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69058 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
69059 when handler == SIG_ERR, not when handler != SIG_ERR.
69060
69061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
69062
69063 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69064 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69065 definitions.
69066
69067 accept4 for GNU Hurd.
69068 * include/sys/socket.h (__libc_accept4): New prototype.
69069 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
69070 to implement __libc_accept4.
69071 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69072 __libc_accept4.
69073 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69074
69075 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69076 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69077 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69078 signal-defines.sym.
69079
69080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
69081
69082 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69083
69084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
69085
69086 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69087 assertion on O_CLOEXEC flag.
69088 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69089 * hurd/intern-fd.c: Likewise.
69090 * hurd/port2fd.c: Likewise.
69091
69092 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
69093
69094 [BZ #3906]
69095 * bits/in.h (IPV6_PKTINFO): Define new macro.
69096 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69097
69098 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69099
69100 [BZ #13954]
69101 [BZ #13955]
69102 [BZ #13956]
69103 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69104 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69105 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69106 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69108 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69109 * math/libm-test.inc (logb_test) : Additional logb tests.
69110
69111 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
69112 Andreas Jaeger <aj@suse.de>
69113
69114 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69115 * configure: Regenerated.
69116 * config.h.in (LINK_OBSOLETE_RPC): New macro.
69117 * config.make.in (link-obsolete-rpc): New substituted variable.
69118 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69119 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69120 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69121 (shared-only-routines): Don't set it under [link-obsolete-rpc],
69122 so that libc.a contains the symbols.
69123 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69124 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69125 * sunrpc/auth_none.c: Likewise.
69126 * sunrpc/auth_unix.c: Likewise.
69127 * sunrpc/authdes_prot.c: Likewise.
69128 * sunrpc/authuxprot.c: Likewise.
69129 * sunrpc/clnt_gen.c: Likewise.
69130 * sunrpc/clnt_perr.c: Likewise.
69131 * sunrpc/clnt_raw.c: Likewise.
69132 * sunrpc/clnt_simp.c: Likewise.
69133 * sunrpc/clnt_tcp.c: Likewise.
69134 * sunrpc/clnt_udp.c: Likewise.
69135 * sunrpc/clnt_unix.c: Likewise.
69136 * sunrpc/des_crypt.c: Likewise.
69137 * sunrpc/des_soft.c: Likewise.
69138 * sunrpc/get_myaddr.c: Likewise.
69139 * sunrpc/key_call.c: Likewise.
69140 * sunrpc/key_prot.c: Likewise.
69141 * sunrpc/netname.c: Likewise.
69142 * sunrpc/pm_getmaps.c: Likewise.
69143 * sunrpc/pm_getport.c: Likewise.
69144 * sunrpc/pmap_clnt.c: Likewise.
69145 * sunrpc/pmap_prot.c: Likewise.
69146 * sunrpc/pmap_prot2.c: Likewise.
69147 * sunrpc/pmap_rmt.c: Likewise.
69148 * sunrpc/publickey.c: Likewise.
69149 * sunrpc/rpc_cmsg.c: Likewise.
69150 * sunrpc/rpc_common.c: Likewise.
69151 * sunrpc/rpc_dtable.c: Likewise.
69152 * sunrpc/rpc_prot.c: Likewise.
69153 * sunrpc/rpc_thread.c: Likewise.
69154 * sunrpc/rtime.c: Likewise.
69155 * sunrpc/svc.c: Likewise.
69156 * sunrpc/svc_auth.c: Likewise.
69157 * sunrpc/svc_raw.c: Likewise.
69158 * sunrpc/svc_run.c: Likewise.
69159 * sunrpc/svc_tcp.c: Likewise.
69160 * sunrpc/svc_udp.c: Likewise.
69161 * sunrpc/svc_unix.c: Likewise.
69162 * sunrpc/svcauth_des.c: Likewise.
69163 * sunrpc/xcrypt.c: Likewise.
69164 * sunrpc/xdr.c: Likewise.
69165 * sunrpc/xdr_array.c: Likewise.
69166 * sunrpc/xdr_float.c: Likewise.
69167 * sunrpc/xdr_intXX_t.c: Likewise.
69168 * sunrpc/xdr_mem.c: Likewise.
69169 * sunrpc/xdr_rec.c: Likewise.
69170 * sunrpc/xdr_ref.c: Likewise.
69171 * sunrpc/xdr_sizeof.c: Likewise.
69172 * sunrpc/xdr_stdio.c: Likewise.
69173
69174 2012-05-10 Roland McGrath <roland@hack.frob.com>
69175
69176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69177 change. Update copyright years.
69178
69179 2012-05-10 Joseph Myers <joseph@codesourcery.com>
69180
69181 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69182
69183 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
69184 Joseph Myers <joseph@codesourcery.com>
69185 Paul Pluzhnikov <ppluzhnikov@google.com>
69186
69187 [BZ #14012]
69188 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69189 requiring rpcgen.
69190 [cross-compiling] (extra-libs): Likewise.
69191 [cross-compiling] (extra-libs-others): Likewise.
69192 [cross-compiling] (librpcsvc-routines): Likewise.
69193 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69194 [cross-compiling] (omit-deps): Likewise.
69195 (sunrpc-CPPFLAGS): New variable.
69196 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69197 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69198 (cross-rpcgen-objs): New variable.
69199 (extra-objs): Append $(cross-rpcgen-objs).
69200 ($(cross-rpcgen-objs)): New rule.
69201 ($(objpfx)cross-rpcgen): Likewise.
69202 (rpcgen-cmd): Define to use $(built-program-file). Expand
69203 comment.
69204 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69205 ($(objpfx)x%.stmp): Likewise.
69206 * sunrpc/proto.h [IS_IN_build] (_): Define.
69207 [IS_IN_build] (_libc_intl_domainname): Likewise.
69208
69209 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
69210
69211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69212 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69213 and R_X86_64_TPOFF64.
69214
69215 2012-05-10 Joseph Myers <joseph@codesourcery.com>
69216
69217 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69218 sysdeps/unix/sysv/syscalls.list.
69219 (stime): Likewise.
69220 (utime): Likewise.
69221 * sysdeps/unix/sysv/syscalls.list: Remove file.
69222
69223 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
69224
69225 [BZ #3440]
69226 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69227 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69228 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69229 (__LC_IDENTIFICATION): Make these macros useful in #if
69230 expressions, as required by C99.
69231
69232 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
69233
69234 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69235 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
69236 after this.
69237
69238 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
69239
69240 * stdlib/longlong.h: Updated from GCC.
69241
69242 2012-05-09 Andreas Jaeger <aj@suse.de>
69243
69244 * nscd/nscd.c (run_modes): Make named enum, reorder so that
69245 default is first entry.
69246 (run_mode): Set type.
69247 (main): Remove informal message about syslog.
69248 (options): Fix typo.
69249
69250 [BZ #14053]
69251 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69252 to asm.
69253 (lrint): Likewise.
69254 (llrintf): Likewise.
69255 (llrint): Likewise.
69256 (rint): Likewise.
69257 (rintf): Likewise.
69258 (nearbyint): Likewise.
69259 (nearbyintf): Likewise.
69260
69261 2012-05-09 Andreas Jaeger <aj@suse.de>
69262 Pedro Alves <palves@redhat.com>
69263
69264 * nscd/nscd.c (run_mode): Use enum.
69265 (main): Cleanup coding style issue.
69266
69267 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
69268 Andreas Jaeger <aj@suse.de>
69269
69270 * nscd/nscd.c (go_background): Replaced with...
69271 (run_mode): ... this.
69272 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69273 (options): Add -F --foreground.
69274 (main): Implement it.
69275 (parse_opt): Parse it.
69276
69277 2012-05-09 Andreas Jaeger <aj@suse.de>
69278
69279 [BZ #14083]
69280 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69281 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69282 -Wconversion warning.
69283 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69284 Likewise.
69285
69286 2012-05-09 Joseph Myers <joseph@codesourcery.com>
69287
69288 * conform/data/locale.h-data (NULL): Use macro-constant. Require
69289 == 0.
69290 (LC_ALL): Use macro-int-constant.
69291 (LC_COLLATE): Likewise.
69292 (LC_CTYPE): Likewise.
69293 (LC_MESSAGES): Likewise.
69294 (LC_MONETARY): Likewise.
69295 (LC_NUMERIC): Likewise.
69296 (LC_TIME): Likewise.
69297 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69298 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69300 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69301 Specify type.
69302 [C99-based standards] (float_t): Expect type.
69303 [C99-based standards] (double_t): Expect type.
69304 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
69305 type.
69306 [C99-based standards] (HUGE_VALL): Likewise.
69307 [C99-based standards] (INFINITY): Likewise.
69308 [C99-based standards] (NAN): Likewise.
69309 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69310 [C99-based standards] (FP_NAN): Likewise.
69311 [C99-based standards] (FP_NORMAL): Likewise.
69312 [C99-based standards] (FP_SUBNORMAL): Likewise.
69313 [C99-based standards] (FP_ZERO): Likewise.
69314 [C99-based standards] (FP_FAST_FMA): Use
69315 optional-macro-int-constant. Specify type. Require == 1.
69316 [C99-based standards] (FP_FAST_FMAF): Likewise.
69317 [C99-based standards] (FP_FAST_FMAL): Likewise.
69318 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69319 [C99-based standards] (FP_ILOGBNAN): Likewise.
69320 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69321 Specify type.
69322 [C99-based standards] (MATH_ERREXCEPT): Likewise.
69323 [C99-based standards] (math_errhandling): Specify type.
69324 [ISO99 || ISO11] (signgam): Do not allow.
69325 [non-C99-based standards] (copysignf): Do not allow.
69326 [non-C99-based standards] (exp2f): Likewise.
69327 [non-C99-based standards] (log2f): Likewise.
69328 [non-C99-based standards] (modff): Allow.
69329 [non-C99-based standards] (erff): Do not allow.
69330 [non-C99-based standards] (erfcf): Likewise.
69331 [non-C99-based standards] (gammaf): Likewise.
69332 [non-C99-based standards] (hypotf): Likewise.
69333 [non-C99-based standards] (j0f): Likewise.
69334 [non-C99-based standards] (j1f): Likewise.
69335 [non-C99-based standards] (jnf): Likewise.
69336 [non-C99-based standards] (lgammaf): Likewise.
69337 [non-C99-based standards] (tgammaf): Likewise.
69338 [non-C99-based standards] (y0f): Likewise.
69339 [non-C99-based standards] (y1f): Likewise.
69340 [non-C99-based standards] (ynf): Likewise.
69341 [non-C99-based standards] (isnanf): Likewise.
69342 [non-C99-based standards] (acoshf): Likewise.
69343 [non-C99-based standards] (asinhf): Likewise.
69344 [non-C99-based standards] (atanhf): Likewise.
69345 [non-C99-based standards] (cbrtf): Likewise.
69346 [non-C99-based standards] (expm1f): Likewise.
69347 [non-C99-based standards] (ilogbf): Likewise.
69348 [non-C99-based standards] (log1pf): Likewise.
69349 [non-C99-based standards] (logbf): Likewise.
69350 [non-C99-based standards] (nextafterf): Likewise.
69351 [non-C99-based standards] (remainderf): Likewise.
69352 [non-C99-based standards] (rintf): Likewise.
69353 [non-C99-based standards] (scalbf): Likewise.
69354 [non-C99-based standards] (copysignl): Likewise.
69355 [non-C99-based standards] (exp2l): Likewise.
69356 [non-C99-based standards] (log2l): Likewise.
69357 [non-C99-based standards] (modfl): Allow.
69358 [non-C99-based standards] (erfl): Do not allow.
69359 [non-C99-based standards] (erfcl): Likewise.
69360 [non-C99-based standards] (gammal): Likewise.
69361 [non-C99-based standards] (hypotl): Likewise.
69362 [non-C99-based standards] (j0l): Likewise.
69363 [non-C99-based standards] (j1l): Likewise.
69364 [non-C99-based standards] (jnl): Likewise.
69365 [non-C99-based standards] (lgammal): Likewise.
69366 [non-C99-based standards] (tgammal): Likewise.
69367 [non-C99-based standards] (y0l): Likewise.
69368 [non-C99-based standards] (y1l): Likewise.
69369 [non-C99-based standards] (ynl): Likewise.
69370 [non-C99-based standards] (isnanl): Likewise.
69371 [non-C99-based standards] (acoshl): Likewise.
69372 [non-C99-based standards] (asinhl): Likewise.
69373 [non-C99-based standards] (atanhl): Likewise.
69374 [non-C99-based standards] (cbrtl): Likewise.
69375 [non-C99-based standards] (expm1l): Likewise.
69376 [non-C99-based standards] (ilogbl): Likewise.
69377 [non-C99-based standards] (log1pl): Likewise.
69378 [non-C99-based standards] (logbl): Likewise.
69379 [non-C99-based standards] (nextafterl): Likewise.
69380 [non-C99-based standards] (remainderl): Likewise.
69381 [non-C99-based standards] (rintl): Likewise.
69382 [non-C99-based standards] (scalbl): Likewise.
69383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69384 [non-C99-based standards] (FP_*): Do not allow.
69385 [C99-based standards] (FP_*): Change to
69386 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69387 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69388 allow.
69389 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69390 (SIG_ERR): Likewise.
69391 [X/Open-based standards] (SIG_HOLD): Likewise.
69392 (SIG_IGN): Likewise.
69393 (SIGABRT): Use macro-int-constant. Specify type. Require
69394 positive value.
69395 (SIGFPE): Likewise.
69396 (SIGILL): Likewise.
69397 (SIGINT): Likewise.
69398 (SIGSEGV): Likewise.
69399 (SIGTER): Likewise.
69400 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69401 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69402 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69403 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69404 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69405 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69406 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69407 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69408 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69409 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69410 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69411 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69412 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69413 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69414 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69415 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69416 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69417 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69418 [X/Open-based standards] (SIGTRAP): Likewise.
69419 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69420 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69421 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69422 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69423 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69424 allow.
69425
69426 2012-05-08 Ian Wienand <ianw@vmware.com>
69427
69428 [BZ #14080]
69429 * time/tzset.c (__tzset_parse_tz): Update default rules for
69430 daylight time changes in the Energy Policy Act of 2005.
69431
69432 2012-05-09 Andreas Jaeger <aj@suse.de>
69433
69434 [BZ #13983]
69435 * elf/ldconfig.c (parse_conf): Change string to make clear that
69436 ldconfig only issued a warning if ld.so.conf does not exist.
69437
69438 2012-05-08 David S. Miller <davem@davemloft.net>
69439
69440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69441 movxtod instead of popping the value on the stack.
69442
69443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69444
69445 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
69446
69447 * config.h.in: Add HAVE_ARM_PCS_VFP.
69448
69449 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
69450
69451 [BZ #13979]
69452 * include/features.h: Warn if user requests __FORTIFY_SOURCE
69453 checking but the checks are disabled for any reason.
69454
69455 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
69456
69457 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69458 and ELF64_R_TYPE with ELFW(R_TYPE).
69459
69460 2012-05-08 Joseph Myers <joseph@codesourcery.com>
69461
69462 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69463 (ulimit): Likewise.
69464
69465 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69466 (settimeofday): Likewise.
69467
69468 2012-05-08 Mike Frysinger <vapier@gentoo.org>
69469
69470 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
69471 a struct th_u2 inside the union, and move tu_block/tu_code into
69472 a new th_u3 union of tu_block/tu_code inside of that. Move
69473 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
69474 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
69475 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69476 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69477 (th_stuff): Change to th_u1.tu_stuff.
69478 (th_data): Define.
69479 (th_msg): Change to th_u1.th_u2.tu_data.
69480
69481 2012-05-07 David S. Miller <davem@davemloft.net>
69482
69483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69484
69485 [BZ #14074]
69486 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69487 (SETUP_PIC_REG): Use it.
69488 (SETUP_PIC_REG_LEAF): Use it.
69489
69490 2012-05-07 Joseph Myers <joseph@codesourcery.com>
69491
69492 [BZ #13885]
69493 [BZ #13923]
69494 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69495 USE_AS_EXPM1L.
69496 (EXPL_FINITE): Likewise.
69497 (FLDLOG): Likewise.
69498 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69499 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69500 e_expl.S.
69501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69502 USE_AS_EXPM1L.
69503 (EXPL_FINITE): Likewise.
69504 (FLDLOG): Likewise.
69505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69506 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69507 e_expl.S.
69508 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
69509 test of -max_value argument for long double.
69510 * sysdeps/i386/fpu/libm-test-ulps: Update.
69511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69512
69513 2012-05-06 David S. Miller <davem@davemloft.net>
69514
69515 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69516 quad soft-float symbols whose references which are compiler
69517 generated.
69518 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69519
69520 2012-05-06 Joseph Myers <joseph@codesourcery.com>
69521
69522 [BZ #13884]
69523 [BZ #13914]
69524 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69525 USE_AS_EXP10L.
69526 (EXPL_FINITE): Likewise.
69527 (FLDLOG): Likewise.
69528 (c0): Likewise.
69529 (c1): Likewise.
69530 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
69531 Adjust comments for base varying.
69532 (__expl_finite): Change alias to EXPL_FINITE.
69533 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69534 e_expl.S.
69535 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69536 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69537 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69538 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69539 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69540 USE_AS_EXP10L.
69541 (EXPL_FINITE): Likewise.
69542 (FLDLOG): Likewise.
69543 (c0): Likewise.
69544 (c1): Likewise.
69545 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
69546 Adjust comments for base varying.
69547 (__expl_finite): Change alias to EXPL_FINITE.
69548 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
69549 tests for bugs.
69550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69551
69552 [BZ #14064]
69553 * math/libm-test.inc (check_float_internal): Correct ulp
69554 calculation for subnormal expected results.
69555
69556 2012-05-06 Andreas Jaeger <aj@suse.de>
69557
69558 * Makeconfig (+math-flags): New, set to -frounding-math.
69559 (+cflags): Add +math-flags so that all of glibc gets compiled with
69560 it.
69561
69562 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69563
69564 2012-05-05 Joseph Myers <joseph@codesourcery.com>
69565
69566 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69567 Disable one test.
69568
69569 [BZ #13787]
69570 [BZ #13922]
69571 [BZ #14036]
69572 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69573 (__ieee754_expl): Allow for and saturate large arguments.
69574 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69575 (u_threshold): Likewise.
69576 (__exp): Call __ieee754_exp before checking for overflow and
69577 underflow.
69578 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69579 (u_threshold): Likewise.
69580 (__expf): Call __ieee754_expf before checking for overflow and
69581 underflow.
69582 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69583 (u_threshold): Likewise.
69584 (__expl): Call __ieee754_expl before checking for overflow and
69585 underflow.
69586 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69587 (__ieee754_expl): Allow for and saturate large arguments.
69588 * math/libm-test.inc (exp_test): Add another test. Do not allow
69589 missing overflow exception on overflow.
69590 (expm1_test): Do not allow missing overflow exception on overflow.
69591
69592 * sysdeps/i386/fpu/e_expl.c: Move to ...
69593 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
69594 rather than using inline asm.
69595 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69596 * sysdeps/x86_64/fpu/e_expl.S: Copy from
69597 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69598
69599 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69600 (nice): Likewise.
69601 (poll): Likewise.
69602 (signal): Likewise.
69603 (time): Likewise.
69604 (times): Likewise.
69605
69606 2012-05-04 Joseph Myers <joseph@codesourcery.com>
69607
69608 * sysdeps/unix/syscalls.list (adjtime): Add entry from
69609 sysdeps/unix/common/syscalls.list.
69610 (fchmod): Likewise.
69611 (fchown): Likewise.
69612 (ftruncate): Likewise.
69613 (getrusage): Likewise.
69614 (gettimeofday): Likewise.
69615 (setpgid): Likewise.
69616 (setregid): Likewise.
69617 (setreuid): Likewise.
69618 (sigaction): Likewise.
69619 (truncate): Likewise.
69620 (vhangup): Likewise.
69621 * sysdeps/unix/common/syscalls.list: Remove file.
69622 * sysdeps/unix/bsd/Implies: Don't include unix/common.
69623 * sysdeps/unix/sysv/linux/Implies: Likewise.
69624
69625 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
69626
69627 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69629 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69630 Moved to ...
69631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69632 Here.
69633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69634 to ...
69635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69637 to ...
69638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69639 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69640 to ...
69641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69642 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69643 to ...
69644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69645 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69646 to ...
69647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69648 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69649 to ...
69650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69651 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69652 to ...
69653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69654 Here.
69655 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69656 to ...
69657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69658 Here.
69659 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69660 to ...
69661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69662 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69663 Moved to ...
69664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69665 Here.
69666 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69667 to ...
69668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69669
69670 2012-05-04 Joseph Myers <joseph@codesourcery.com>
69671
69672 * sysdeps/unix/common/bits/dirent.h: Remove file.
69673 * sysdeps/unix/common/bits/fcntl.h: Likewise.
69674
69675 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69676 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69677 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69678 * sysdeps/unix/bsd/isatty.c: Likewise.
69679 * sysdeps/unix/bsd/tcdrain.c: Likewise.
69680 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69681 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69682
69683 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69684
69685 [BZ #13563]
69686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69687 long double comparison inaccuracies.
69688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69690
69691 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
69692
69693 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69695
69696 2012-05-04 Joseph Myers <joseph@codesourcery.com>
69697
69698 [BZ #14049]
69699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69700 nonzero digits before rounding a hex value.
69701 * stdlib/tst-strtod.c (tests): Add another test.
69702
69703 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69704
69705 * sysdeps/s390/fpu/libm-test-ulps: Update.
69706
69707 2012-05-03 Andreas Jaeger <aj@suse.de>
69708
69709 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69710 does not get optimized out.
69711 (malloc_opt_barrier): New.
69712
69713 2012-05-03 Andreas Jaeger <aj@suse.de>
69714 Roland McGrath <roland@hack.frob.com>
69715
69716 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69717 intermediate file deletion.
69718 (generated): Add .symlist files.
69719
69720 2012-05-03 Joseph Myers <joseph@codesourcery.com>
69721
69722 [BZ #13775]
69723 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69724 Redirect under this condition.
69725 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69726 [__USE_GNU] (__dprintf_chk): Not under this condition.
69727 [__USE_GNU] (__vdprintf_chk): Likewise.
69728 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69729 under this condition.
69730 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69731 [__USE_XOPEN2K8] (dprintf): Define under this condition.
69732 [__USE_XOPEN2K8] (vdprintf): Likewise.
69733 [__USE_GNU] (__dprintf_chk): Not under this condition.
69734 [__USE_GNU] (__vdprintf_chk): Likewise.
69735 [__USE_GNU] (dprintf): Likewise.
69736 [__USE_GNU] (vdprintf): Likewise.
69737
69738 2012-05-03 Roland McGrath <roland@hack.frob.com>
69739
69740 * elf/Makefile (common-generated): Set this instead of generated for
69741 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
69742 $(all-built-dso)-derived lists.
69743
69744 2012-05-03 Andreas Jaeger <aj@suse.de>
69745
69746 * sysdeps/i386/fpu/libm-test-ulps: Update.
69747
69748 * FAQ: Removed.
69749 * FAQ.in: Likewise.
69750 * scripts/gen-FAQ.pl: Likewise.
69751 * manual/install.texi (Installation): Point to online location of
69752 FAQ.
69753 * Makefile (files-for-dist): Remove FAQ.
69754 (FAQ): Remove.
69755
69756 2012-05-02 Allan McRae <allan@archlinux.org>
69757
69758 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69759 (LDFLAGS-reldepmod5.so): Likewise.
69760 (LDFLAGS-reldep6mod1.so): Likewise.
69761 (LDFLAGS-reldep6mod4.so): Likewise.
69762 (LDFLAGS-reldep8mod3.so): Likewise.
69763 (LDFLAGS-unload4mod1.so): Likewise.
69764 (LDFLAGS-unload4mod2.so): Likewise.
69765 (LDFLAGS-tst-initorder): Likewise.
69766 (LDFLAGS-tst-initordera2.so): Likewise.
69767 (LDFLAGS-tst-initordera3.so): Likewise.
69768 (LDFLAGS-tst-initordera4.so): Likewise.
69769 (LDFLAGS-tst-initorderb2.so): Likewise.
69770 (LDFLAGS-noload): Likewise.
69771 (LDFLAGS-next): Likewise.
69772 (LDFLAGS-order2mod1.so): Likewise.
69773 (LDFLAGS-order2mod2.so): Likewise.
69774 (LDFLAGS-tst-initorder2): Likewise.
69775 (LDFLAGS-tst-initorder2a.so): Likewise.
69776 (LDFLAGS-tst-initorder2b.so): Likewise.
69777 (LDFLAGS-tst-initorder2c.so): Likewise.
69778 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69779
69780 2012-05-02 David S. Miller <davem@davemloft.net>
69781
69782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69783
69784 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
69785
69786 [BZ #14055]
69787 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69788
69789 2012-05-02 Andreas Jaeger <aj@suse.de>
69790
69791 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69792 since we manipulate rounding mode.
69793 (CPPFLAGS-test-idouble.c): Likewise.
69794 (CPPFLAGS-test-ifloat.c): Likewise.
69795 (CFLAGS-test-ldouble.c): Likewise.
69796 (CFLAGS-test-double.c): Likewise.
69797 (CFLAGS-test-float.c): Likewise.
69798 (CFLAGS-test-misc.c): Likewise.
69799 (CFLAGS-test-test-fenv.c): Likewise.
69800
69801 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69802
69803 [BZ #2550]
69804 [BZ #2570]
69805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69806 comparisons to determine direction to adjust input.
69807
69808 2012-05-01 Roland McGrath <roland@hack.frob.com>
69809
69810 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69811 output to the target.
69812
69813 * scripts/localplt.awk: New file.
69814 * elf/Makefile ($(objpfx)check-localplt): Target removed.
69815 (check-localplt-CFLAGS): Variable removed.
69816 ($(all-built-dso:=.jmprel)): New static pattern rule.
69817 (generated): Add those targets.
69818 (localplt-built-dso): New variable.
69819 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69820
69821 * elf/check-localplt.c: File removed.
69822
69823 * scripts/check-execstack.awk: New file.
69824 * elf/Makefile ($(objpfx)check-execstack): Target removed.
69825 (check-execstack-CFLAGS): Variable removed.
69826 ($(objpfx)check-execstack.h): Target removed.
69827 ($(objpfx)execstack-default): New target.
69828 (generated): Add that instead of check-execstack.h.
69829 ($(all-built-dso:=.phdr)): New static pattern rule.
69830 (generated): Add those targets.
69831 * elf/check-execstack.c: File removed.
69832
69833 * scripts/check-textrel.awk: New file.
69834 * elf/Makefile ($(objpfx)check-textrel): Target removed.
69835 (check-textrel-CFLAGS): Variable removed.
69836 (all-built-dso): Use := to define.o
69837 ($(all-built-dso:=.dyn)): New static pattern rule.
69838 (generated): Add those targets.
69839 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69840 * config.make.in (READELF): New substituted variable.
69841 * elf/check-textrel.c: File removed.
69842
69843 2012-05-01 Joseph Myers <joseph@codesourcery.com>
69844
69845 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69846 allow.
69847 * conform/data/ctype.h-data [C99-based standards] (isblank):
69848 Expect function.
69849 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69850 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69852 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69853 Specify type. Require positive value.
69854 (EILSEQ): Likewise.
69855 (ERANGE): Likewise.
69856 [ISO || POSIX] (EILSEQ): Do not expect.
69857 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69858 Specify type. Require positive value.
69859 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69860 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69861 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69862 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69863 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69864 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69865 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69866 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69867 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69868 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69869 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69870 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69871 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69872 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69873 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69874 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69875 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69876 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69877 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69878 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69879 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69880 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69881 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69882 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69883 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69884 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69885 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69886 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69887 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69888 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69889 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69890 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69891 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69892 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69893 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69894 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69895 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69896 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69897 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69898 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69899 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69900 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69901 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69902 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69903 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69904 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69905 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69906 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69907 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69908 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69909 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69910 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69911 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69912 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69913 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69914 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69915 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69916 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69917 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69918 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69919 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69920 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69921 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69922 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69923 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69924 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69925 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69926 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69927 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69928 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69929 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69930 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69931 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69932 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69933 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69934 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69935 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69936 Require >= 2.
69937 (FLT_ROUNDS): Expect as macro, not constant.
69938 (FLT_MANT_DIG): Use macro-int-constant.
69939 (DBL_MANT_DIG): Likewise.
69940 (LDBL_MANT_DIG): Likewise.
69941 (FLT_DIG): Likewise.
69942 (DBL_DIG): Likewise.
69943 (LDBL_DIG): Likewise.
69944 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
69945 (DBL_MIN_EXP): Likewise.
69946 (LDBL_MIN_EXP): Likewise.
69947 (FLT_MAX_EXP): Use macro-int-constant.
69948 (DBL_MAX_EXP): Likewise.
69949 (LDBL_MAX_EXP): Likewise.
69950 (FLT_MAX_10_EXP): Likewise.
69951 (DBL_MAX_10_EXP): Likewise.
69952 (LDBL_MAX_10_EXP): Likewise.
69953 (FLT_MAX): Use macro-constant.
69954 (DBL_MAX): Likewise.
69955 (LDBL_MAX): Likewise.
69956 (FLT_EPSILON): Use macro-constant. Give upper bound.
69957 (DBL_EPSILON): Likewise.
69958 (LDBL_EPSILON): Likewise.
69959 (FLT_MIN): Likewise.
69960 (DBL_MIN): Likewise.
69961 (LDBL_MIN): Likewise.
69962 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69963 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69964 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69965 [ISO11] (FLT_HAS_SUBNORM): Likewise.
69966 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69967 [ISO11] (DBL_DECIMAL_DIG): Likewise.
69968 [ISO11] (FLT_DECIMAL_DIG): Likewise.
69969 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69970 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69971 [ISO11] (FLT_TRUE_MIN): Likewise.
69972 [ISO11] (LDBL_TRUE_MIN): Likewise.
69973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69974 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69975 (SCHAR_MIN): Use macro-int-constant. Specify type.
69976 (SCHAR_MAX): Likewise.
69977 (UCHAR_MAX): Likewise.
69978 (CHAR_MIN): Likewise.
69979 (CHAR_MAX): Likewise.
69980 (MB_LEN_MAX): Use macro-int-constant.
69981 (SHRT_MIN): Use macro-int-constant. Specify type.
69982 (SHRT_MAX): Likewise.
69983 (USHRT_MAX): Likewise.
69984 (INT_MAX): Likewise.
69985 (INT_MIN): Use macro-int-constant. Specify type. Make upper
69986 bound negative.
69987 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
69988 bound with "U".
69989 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
69990 bound with "L".
69991 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
69992 bound negative. Suffix upper bound with "L".
69993 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
69994 bound with "UL".
69995 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69996 Specify type.
69997 [C99-based standards] (LLONG_MAX): Likewise.
69998 [C99-based standards] (ULLONG_MAX): Likewise.
69999 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
70000 == 0.
70001 [ISO11] (max_align_t): Require type.
70002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70003
70004 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70005 from $CFLAGS, without defining away __attribute__ calls.
70006 (checknamespace): Use $CFLAGS_namespace.
70007
70008 * conform/conformtest.pl (@keywords): Only include C99 keywords
70009 for standards based on C99 or C11.
70010
70011 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70012 Disable tests.
70013 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70014 UNIX98]: Likewise.
70015
70016 * conform/conformtest.pl: Handle "macro-int-constant" and test for
70017 usability of symbols in #if.
70018
70019 * conform/conformtest.pl: If macro or constant types start
70020 "promoted:", expect the symbol to be of the following type
70021 promoted by the integer promotions.
70022
70023 * conform/conformtest.pl: Parse all "constant" and "macro" lines
70024 in one place. Also handle "macro-constant".
70025
70026 * conform/conformtest.pl: Only accept expected macro values with
70027 "==". Parse all "macro" lines in one place.
70028 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70029
70030 * conform/conformtest.pl: Handle braced types on "constant" lines
70031 instead of handling "typed-constant".
70032 * conform/data/signal.h-data: Use "constant" instead of
70033 "typed-constant".
70034
70035 * conform/conformtest.pl: Handle "optional-" at start of lines in
70036 one place rather than duplicating several cases. Handle each
70037 format of "macro" line with initial "optional-".
70038
70039 * conform/conformtest.pl: Only accept expected constant or
70040 optional-constant values with "==". Parse all "constant" lines in
70041 one place. Parse all "optional-constant" lines in one place.
70042 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70043 * conform/data/fmtmsg.h-data: Likewise.
70044 * conform/data/netinet/in.h-data: Likewise.
70045 * conform/data/tar.h-data: Likewise.
70046 * conform/data/limits.h-data: Use "==" form on "constant" and
70047 "optional-constant" lines.
70048
70049 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70050 Use -std=c99 for XOPEN2K.
70051 (@knownproblems): Remove.
70052 (newtoken): Don't check %isknown.
70053
70054 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70055 Do not expect macro.
70056 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70057 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70058 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70059 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70060 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70061 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70062 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70063 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70064 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70065 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70066 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70067 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70068 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70069 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70070 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70071 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70072 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70073 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70074 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70075 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70076 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70079 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70080 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70081 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70082 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70083 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70084 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70085 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70086 [XPG3] (acosh): Likewise.
70087 [XPG3] (asinh): Likewise.
70088 [XPG3] (atanh): Likewise.
70089 [XPG3] (cbrt): Likewise.
70090 [XPG3] (expm1): Likewise.
70091 [XPG3] (ilogb): Likewise.
70092 [XPG3] (log1p): Likewise.
70093 [XPG3] (logb): Likewise.
70094 [XPG3] (nextafter): Likewise.
70095 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70096 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70097 [XPG3] (remainder): Likewise.
70098 [XPG3] (rint): Likewise.
70099 [XPG3 || XPG4 || UNIX98] (round): Likewise.
70100 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70101 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70102 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70103 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70104 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70105 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70106 [UNIX98 || XOPEN2K] (scalb): Expect.
70107 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70108 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70109 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70110 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70111 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70112 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70113 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70114 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70115 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70116 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70117 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70118 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70119 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70120 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70121 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70122 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70123 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70124 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70125 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70126 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70127 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70128 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70129 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70130 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70131 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70132 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70133 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70134 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70135 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70136 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70137 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70138 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70139 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70140 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70141 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70142 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70143 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70144 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70145 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70146 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70147 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70148 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70149 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70150 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70151 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70152 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70153 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70154 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70155 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70156 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70157 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70158 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70159 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70160 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70161 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70162 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70163 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70164 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70165 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70166 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70167 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70168 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70169 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70170 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70171 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70172 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70173 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70174 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70175 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70176 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70177 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70178 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70179 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70180 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70181 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70182 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70183 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70184 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70185 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70186 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70187 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70188 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70189 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70190 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70191 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70192 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70193 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70194 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70195 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70196 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70197 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70198 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70199 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70200 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70201 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70202 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70203 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70204 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70205 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70206 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70207 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70208 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70209 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70210 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70211 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70212 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70213 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70214 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70215 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70216 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70217 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70218 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70219 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70220 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70221 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70222 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70223 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70224 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70225 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70226 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70227 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70228 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70229 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70230 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70231 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70232 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70233 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70234 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70235 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70236 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70237 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70238 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70239 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70240 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70241 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70242 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70243 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70244
70245 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70246 _XOPEN_SOURCE_EXTENDED for XPG4.
70247
70248 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70249
70250 * Makeconfig (localtime): Remove variable.
70251 (inst_localtime-file): Likewise.
70252
70253 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
70254
70255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70256 Update.
70257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70258 Update.
70259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70260 Update.
70261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70262 Update.
70263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70264 Update.
70265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70266 Update.
70267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70268 Update.
70269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70270 Update.
70271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70272 Update.
70273
70274 2012-05-01 Joseph Myers <joseph@codesourcery.com>
70275
70276 [BZ #2550]
70277 [BZ #2570]
70278 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70279 comparisons to determine direction to adjust input.
70280 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70281 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70282 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70283 Likewise.
70284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70285 Likewise.
70286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70287 Likewise.
70288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70290 Likewise.
70291 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70292 Likewise.
70293 * math/libm-test.inc (nexttoward_test): Add more tests.
70294
70295 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
70296
70297 [BZ #14040]
70298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70299 in version GLIBC_2.1, not GLIBC_2.0.
70300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70301 Likewise.
70302
70303 2012-04-30 Joseph Myers <joseph@codesourcery.com>
70304
70305 [BZ #13942]
70306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70307 (1 - x) * (1 + x).
70308 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70309 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70310 * math/libm-test.inc (acos_test): Add more tests.
70311 (asin_test): Likewise.
70312 * sysdeps/i386/fpu/libm-test-ulps: Update.
70313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70314
70315 [BZ #14034]
70316 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70317 of square root.
70318 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70319 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70320 * math/libm-test.inc (acos_test_tonearest): New function.
70321 (acos_test_towardzero): Likewise.
70322 (acos_test_downward): Likewise.
70323 (acos_test_upward): Likewise.
70324 (asin_test_tonearest): Likewise.
70325 (asin_test_towardzero): Likewise.
70326 (asin_test_downward): Likewise.
70327 (asin_test_upward): Likewise.
70328 (main): Call the new functions.
70329 * sysdeps/i386/fpu/libm-test-ulps: Update.
70330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70331
70332 [BZ #13884]
70333 [BZ #13924]
70334 * math/e_exp10.c: Include <float.h>.
70335 (__ieee754_exp10): Handle underflow here rather than multiplying
70336 large negative argument by M_LN10.
70337 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70338 of __ieee754_expf.
70339 * math/e_exp10l.c: Include <float.h>.
70340 (__ieee754_exp10l): Handle underflow here rather than multiplying
70341 large negative argument by M_LN10l.
70342 * math/libm-test.inc (exp10_test): Add another test. Do not allow
70343 spurious overflow exception on underflow.
70344
70345 2012-04-29 Marek Polacek <polacek@redhat.com>
70346
70347 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70348 (__fortify_function): New macro.
70349 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70350 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70351 __extern_always_inline.
70352 * libio/bits/stdio2.h: Likewise.
70353 * libio/bits/stdio.h: Likewise.
70354 * string/string.h: Likewise.
70355 * string/bits/string3.h: Likewise.
70356 * include/stdio.h: Likewise.
70357 * stdlib/bits/stdlib.h: Likewise.
70358 * stdlib/stdlib.h: Likewise.
70359 * rt/bits/mqueue2.h: Likewise.
70360 * rt/mqueue.h: Likewise.
70361 * posix/bits/unistd.h: Likewise.
70362 * posix/unistd.h: Likewise.
70363 * io/bits/poll2.h: Likewise.
70364 * io/bits/fcntl2.h: Likewise.
70365 * io/fcntl.h: Likewise.
70366 * io/sys/poll.h: Likewise.
70367 * misc/bits/syslog.h: Likewise.
70368 * misc/bits/syslog-ldbl.h: Likewise.
70369 * misc/sys/syslog.h: Likewise.
70370 * socket/bits/socket2.h: Likewise.
70371 * socket/sys/socket.h: Likewise.
70372 * debug/tst-chk1.c: Likewise.
70373 * wcsmbs/bits/wchar2.h: Likewise.
70374 * wcsmbs/bits/wchar-ldbl.h: Likewise.
70375 * wcsmbs/wchar.h: Likewise.
70376
70377 2012-04-29 Andreas Jaeger <aj@suse.de>
70378
70379 * Makerules (tests): Remove enable-check-abi protection.
70380 (check-abi-warn): Remove.
70381 (check-abi-%): Remove check-abi-warn usage.
70382
70383 * configure.in: Remove check-abi configure option.
70384 * configure: Regenerated.
70385 * config.make.in (enable-check-abi): Remove.
70386
70387 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
70388
70389 [BZ #14033]
70390 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70391 double functions to double *_finite functions.
70392
70393 [BZ #13941]
70394 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70395 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70396 LDBL_MIN_EXP.
70397 * stdio-common/Makefile (tests): Add tst-sprintf3.
70398 * stdio-common/tst-sprintf3.c: New file.
70399
70400 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70401 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70402
70403 2012-04-28 Joseph Myers <joseph@codesourcery.com>
70404
70405 * conform/conformtest.pl: Remove duplicate typed-constant
70406 handling.
70407
70408 2012-04-28 David S. Miller <davem@davemloft.net>
70409
70410 * Makerules (%.abilist): Add vpath on sysdep_dirs.
70411 (check-abi-%): Remove AWK script prerequisite and explicit
70412 abilist directory.
70413 (check-abi): Rewrite to just diff the symlist with the abilist.
70414 (config-tls, config-abi-config): Delete, no longer used.
70415 (update-abi-%): Remove AWK script and explicit abilist directory.
70416 (update-abi): Rewrite to simply compare and conditionally copy the
70417 symlist and the sysdep abilist file. Remove update-abi-config
70418 checks.
70419 * abilist/ld.abilist: Remove.
70420 * abilist/libBrokenLocale.abilist: Remove.
70421 * abilist/libanl.abilist: Remove.
70422 * abilist/libcrypt.abilist: Remove.
70423 * abilist/libdl.abilist: Remove.
70424 * abilist/librt.abilist: Remove.
70425 * abilist/libthread_db.abilist: Remove.
70426 * abilist/libutil.abilist: Remove.
70427 * scripts/extract-abilist.awk: Remove.
70428 * scripts/merge-abilist.awk: Remove.
70429 * sysdeps/generic/libcidn.abilist: New file.
70430 * sysdeps/generic/libnss_compat.abilist: New file.
70431 * sysdeps/generic/libnss_db.abilist: New file.
70432 * sysdeps/generic/libnss_dns.abilist: New file.
70433 * sysdeps/generic/libnss_files.abilist: New file.
70434 * sysdeps/generic/libnss_hesiod.abilist: New file.
70435 * sysdeps/generic/libnss_nis.abilist: New file.
70436 * sysdeps/generic/libnss_nisplus.abilist: New file.
70437 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70438 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70439 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70440 file.
70441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70442 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70443 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70444 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70445 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70446 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70447 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70448 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70449 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70450 file.
70451 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70452 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70453 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70454 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70455 file.
70456 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70458 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70459 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70461 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70462 file.
70463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70464 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70465 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70466 file.
70467 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70469 New file.
70470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70471 New file.
70472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70473 New file.
70474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70475 New file.
70476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70477 New file.
70478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70479 New file.
70480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70481 New file.
70482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70483 New file.
70484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70485 New file.
70486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70487 New file.
70488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70489 New file.
70490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70491 New file.
70492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70493 New file.
70494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70495 file.
70496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70497 New file.
70498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70499 New file.
70500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70501 file.
70502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70503 New file.
70504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70505 New file.
70506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70507 file.
70508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70509 New file.
70510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70511 New file.
70512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70513 New file.
70514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70515 New file.
70516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70517 New file.
70518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70519 New file.
70520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70522 file.
70523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70524 New file.
70525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70526 file.
70527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70528 file.
70529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70530 file.
70531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70532 file.
70533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70534 file.
70535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70536 New file.
70537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70538 file.
70539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70540 file.
70541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70542 New file.
70543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70544 file.
70545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70547 file.
70548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70549 New file.
70550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70551 file.
70552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70553 file.
70554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70555 file.
70556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70557 file.
70558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70559 file.
70560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70561 New file.
70562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70563 file.
70564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70565 file.
70566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70567 New file.
70568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70569 file.
70570 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70571 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70572 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70573 file.
70574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70575 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70576 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70577 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70578 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70579 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70580 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70581 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70582 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70583 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70586 file.
70587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70588 New file.
70589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70590 file.
70591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70592 file.
70593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70594 file.
70595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70596 file.
70597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70598 file.
70599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70600 New file.
70601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70602 New file.
70603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70604 file.
70605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70606 New file.
70607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70608 file.
70609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70611 file.
70612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70613 New file.
70614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70615 file.
70616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70617 file.
70618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70619 file.
70620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70621 file.
70622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70623 file.
70624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70625 New file.
70626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70627 New file.
70628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70629 file.
70630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70631 New file.
70632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70633 file.
70634
70635 2012-04-28 Joseph Myers <joseph@codesourcery.com>
70636
70637 * conform/conformtest.pl: Fix typo in handling typed-constant from
70638 allow-header.
70639
70640 2012-04-27 Joseph Myers <joseph@codesourcery.com>
70641
70642 * README: Cut down references to pre-2.6 Linux kernels and
70643 Linuxthreads. Update lists of configurations in libc and ports
70644 and sort alphabetically. Say "or newer" with Linux kernel version
70645 requirements.
70646
70647 * config.h.in [IS_IN_build]: Allow compiling without optimization.
70648
70649 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
70650
70651 [BZ #887]
70652 * math/libm-test.inc (logb_test_downward): New test to expose
70653 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70654 rounding mode.
70655
70656 2012-04-27 Joseph Myers <joseph@codesourcery.com>
70657
70658 [BZ #14027]
70659 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70660 to be done.
70661 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70662 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70663
70664 2012-04-26 Joseph Myers <joseph@codesourcery.com>
70665
70666 * sysdeps/unix/i386/brk.S: Remove file.
70667 * sysdeps/unix/i386/dl-brk.S: Likewise.
70668 * sysdeps/unix/i386/pipe.S: Likewise.
70669 * sysdeps/unix/i386/sigreturn.S: Likewise.
70670 * sysdeps/unix/i386/syscall.S: Likewise.
70671 * sysdeps/unix/i386/vfork.S: Likewise.
70672 * sysdeps/unix/i386/wait.S: Likewise.
70673
70674 * sysdeps/unix/common/tcsendbrk.c: Move to ...
70675 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70676
70677 * configure.in (arm*-none*): Do not allow without
70678 --enable-hacker-mode.
70679 (netbsd*): Remove case setting base_os.
70680 (386bsd*): Likewise.
70681 (freebsd*): Likewise.
70682 (bsdi*): Likewise.
70683 (osf*): Likewise.
70684 (sunos*): Likewise.
70685 (ultrix*): Likewise.
70686 (newsos*): Likewise.
70687 (dynix*): Likewise.
70688 (*bsd*): Likewise.
70689 (sysv*): Likewise.
70690 (isc*): Likewise.
70691 (esix*): Likewise.
70692 (sco*): Likewise.
70693 (minix*): Likewise.
70694 (irix4*): Likewise.
70695 (irix6*): Likewise.
70696 (solaris[2-9]*): Likewise.
70697 (none): Likewise.
70698 * configure: Regenerated.
70699
70700 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70701
70702 [BZ #11521]
70703 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70704 overflow or cancellation in calculating denominator.
70705 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70707 down expression to avoid unexpected rounding in newer GCCs.
70708 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70709
70710 2012-04-26 David S. Miller <davem@davemloft.net>
70711
70712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70713 long-double compat symbols.
70714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70727
70728 2012-04-25 David S. Miller <davem@davemloft.net>
70729
70730 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70731 HWCAP_* values only after the memory barriers have been defined.
70732 (atomic_full_barrier): Define.
70733 (atomic_read_barrier): Define.
70734 (atomic_write_barrier): Define.
70735
70736 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70737
70738 * shlib-versions: Add libgcc_s version information.
70739 * sysdeps/generic/libgcc_s.h: Remove.
70740 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70741 libgcc_s.h.
70742 * sysdeps/gnu/unwind-resume.c: Likewise.
70743 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70744
70745 2012-04-25 David S. Miller <davem@davemloft.net>
70746
70747 * sysdeps/unix/sparc/brk.S: Delete.
70748 * sysdeps/unix/sparc/dl-brk.S: Delete.
70749 * sysdeps/unix/sparc/pipe.S: Delete.
70750 * sysdeps/unix/sparc/sysdep.S: Delete.
70751 * sysdeps/unix/sparc/sysdep.h: Delete.
70752 * sysdeps/unix/sparc/vfork.S: Delete.
70753 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70754 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70756 (ret_ERRVAL, r0, r1, MOVE): Define.
70757 (JUMPTARGET): Remove.
70758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70759 sysdeps/unix/sparc/sysdep.h
70760 (ENTRY, END): Remove.
70761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70762
70763 2012-04-25 Joseph Myers <joseph@codesourcery.com>
70764
70765 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70766 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70767 -DIS_IN_build.
70768
70769 * timezone/README: Update upstream location and email address for
70770 tzcode and tzdata.
70771 * timezone/zdump.c: Update from tzcode 2012b.
70772 * timezone/zic.c: Likewise.
70773
70774 * configure.in (libc_cv_as_needed): Remove test.
70775 * configure: Regenerated.
70776 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70777 conditional definition.
70778 [$(have-as-needed) != yes] (no-as-needed): Likewise.
70779 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70780 * config.make.in (have-as-needed): Remove variable.
70781
70782 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70783 Paul Pluzhnikov <ppluzhnikov@google.com>
70784
70785 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70786 strings correctly.
70787
70788 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
70789
70790 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70791 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70792 * sysdeps/sh/strlen.S: Likewise.
70793
70794 2012-04-24 Joseph Myers <joseph@codesourcery.com>
70795
70796 * sysdeps/unix/fork.S: Remove file.
70797 * sysdeps/unix/i386/fork.S: Likewise.
70798 * sysdeps/unix/sparc/fork.S: Likewise.
70799
70800 * sysdeps/unix/system.c: Remove file.
70801 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70802
70803 * sysdeps/unix/getegid.S: Remove file.
70804 * sysdeps/unix/geteuid.S: Likewise.
70805
70806 2012-04-24 Roland McGrath <roland@hack.frob.com>
70807
70808 * scripts/check-localplt.awk: New file.
70809 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70810 of diff.
70811 * scripts/data/localplt-generic.data: Add a comment.
70812
70813 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70814 NODE when __dir_mkfile failed.
70815 * sysdeps/mach/hurd/symlinkat.c: Likewise.
70816 Reported by Ludovic Courtès <ludo@gnu.org>.
70817
70818 2012-04-24 Andreas Jaeger <aj@suse.de>
70819
70820 * Makerules (common-clean): Also remove gen-as-const-headers
70821 files.
70822
70823 2012-04-24 Joseph Myers <joseph@codesourcery.com>
70824
70825 * Makerules (native-compile): Do not change working directory for
70826 build. Use $(OUTPUT_OPTION) in command.
70827 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70828
70829 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70830
70831 [BZ #13886]
70832 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70833 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70834 * math/libm-test.inc (floor_test): Add more tests.
70835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70836
70837 2012-04-24 Joseph Myers <joseph@codesourcery.com>
70838
70839 * sysdeps/unix/getdents.c: Remove file.
70840 * sysdeps/unix/sysv/getdents.c: Likewise.
70841 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70842
70843 * sysdeps/unix/syscalls.list (madvise): Add syscall from
70844 sysdeps/unix/mman/syscalls.list.
70845 (mmap): Likewise.
70846 (mprotect): Likewise.
70847 (msync): Likewise.
70848 (munmap): Likewise.
70849 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70850 * sysdeps/unix/mman/syscalls.list: Remove.
70851 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70852
70853 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70854 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70855 * configure: Regenerated.
70856 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70857 $(libgcc_s_suffix).
70858 * config.make.in (libgcc_s_suffix): Remove variable.
70859
70860 2012-04-23 Joseph Myers <joseph@codesourcery.com>
70861
70862 * sysdeps/unix/sysv/gethostname.c: Move to ...
70863 * sysdeps/posix/gethostname.c: ... here.
70864
70865 * sysdeps/unix/execve.S: Remove file.
70866
70867 * sysdeps/unix/_exit.S: Remove file.
70868
70869 2012-04-23 Andreas Jaeger <aj@suse.de>
70870
70871 [BZ #13739]
70872 * manual/Makefile: Remove make dist support, there's no
70873 need for a stand-alone documentation tar ball.
70874 (TEXI2DVI): Define always, it's not in Makeconfig.
70875 (dist): Removed.
70876 (tar-it): Removed.
70877 (edition): Removed.
70878 (glibc-doc-$(edition).tar): Removed
70879 (%.Z): Removed.
70880 (%.gz): Removed.
70881 (%.uu): Removed.
70882 (ETAGS): Remove, it's in Makeconfig.
70883 (move-if-change): Remove, it's in Makeconfig.
70884
70885 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
70886
70887 [BZ #13970]
70888 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70889 (strtod, strtof, strtold, strtol, strtoul, strtoq)
70890 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70891 (strtod_l, strtof_l, strtold_l): Remove __wur.
70892 It is not necessarily an error to ignore strtol's return value.
70893 One can reliably look at the stored endptr to decide whether
70894 the number had valid syntax.
70895
70896 2012-04-21 Andreas Jaeger <aj@suse.de>
70897
70898 [BZ #13739]
70899 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70900
70901 2012-04-21 Joseph Myers <joseph@codesourcery.com>
70902
70903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70904 * sysdeps/unix/sysv/Versions: Remove file.
70905
70906 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
70907
70908 [BZ #13927]
70909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70910
70911 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
70912
70913 [BZ #7064]
70914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70915 version from __vm86.
70916
70917 2012-04-20 Joseph Myers <joseph@codesourcery.com>
70918
70919 * sysdeps/unix/common/lxstat.c: Remove file.
70920 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70921
70922 * sysdeps/unix/sysv/Makefile: Remove file.
70923
70924 * sysdeps/unix/sysv/direct.h: Remove file.
70925
70926 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70927 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70928 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70929 * sysdeps/unix/sysv/bits/signum.h: Likewise.
70930 * sysdeps/unix/sysv/bits/stat.h: Likewise.
70931 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70932 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70933
70934 * sysdeps/unix/sysv/setrlimit.c: Remove file.
70935
70936 * sysdeps/unix/xmknod.c: Remove file.
70937 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70938
70939 * sysdeps/unix/sysv/settimeofday.c: Remove file.
70940
70941 * sysdeps/unix/sysv/i386/time.S: Remove file.
70942
70943 * sysdeps/unix/fxstat.c: Remove file.
70944 * sysdeps/unix/xstat.c: Likewise.
70945 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70946
70947 * sysdeps/unix/sysv/sigaction.c: Remove file.
70948
70949 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70950 (sysdep_headers): Remove variable.
70951 [termio.h not in sysdep_headers] (generated): Likewise.
70952 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70953 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70954 * sysdeps/unix/sysv/tcdrain.c: Likewise.
70955 * sysdeps/unix/sysv/tcflow.c: Likewise.
70956 * sysdeps/unix/sysv/tcflush.c: Likewise.
70957 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70958 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70959 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70960 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70961 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70962
70963 * sysdeps/unix/siglist.c: Remove file.
70964
70965 * sysdeps/unix/getppid.S: Remove file.
70966
70967 * sysdeps/unix/mkdir.c: Remove file.
70968 * sysdeps/unix/rmdir.c: Likewise.
70969
70970 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
70971
70972 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70973 ERR_MAX value.
70974 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70975 errlist-compat value.
70976
70977 2012-04-18 David S. Miller <davem@davemloft.net>
70978
70979 * sysdeps/generic/memcopy.h (reg_char): Delete.
70980 * debug/strcat_chk.c: Use char, not reg_char.
70981 * debug/strcpy_chk.c: Likewise.
70982 * debug/strncat_chk.c: Likewise.
70983 * debug/strncpy_chk.c: Likewise.
70984 * string/memchr.c: Likewise.
70985 * string/memrchr.c: Likewise.
70986 * string/rawmemchr.c: Likewise.
70987 * string/strcat.c: Likewise.
70988 * string/strchr.c: Likewise.
70989 * string/strchrnul.c: Likewise.
70990 * string/strcmp.c: Likewise.
70991 * string/strcpy.c: Likewise.
70992 * string/strncat.c: Likewise.
70993 * string/strncmp.c: Likewise.
70994 * string/strncpy.c: Likewise.
70995
70996 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
70997
70998 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70999 __builtin_memcopy is called when src and dest ranges are known to not
71000 overlap.
71001
71002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
71003
71004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71005 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71006 fwd_align_merge macro call.
71007 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71008 bwd_align_merge macro call.
71009 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71010
71011 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
71012
71013 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71014 bwd_align_merge macros.
71015 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71016 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71017 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71018
71019 2012-04-18 David S. Miller <davem@davemloft.net>
71020
71021 * sysdeps/sparc/sparc64/memcopy.h: Delete.
71022
71023 2012-04-18 Andreas Jaeger <aj@suse.de>
71024
71025 [BZ# 6794]
71026 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71027 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71029
71030 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71031 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71033
71034 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71035 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71036 Adjust for changed ldbl-128 files.
71037
71038 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71039 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71040 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71041
71042 2012-04-17 David S. Miller <davem@davemloft.net>
71043
71044 * sysdeps/sparc/sparc32/memcopy.h: Delete.
71045
71046 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
71047
71048 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71049 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71050 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71051 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71052 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71053 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71054
71055 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71056
71057 [BZ #6794]
71058 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71059 * math/libm-test.inc: Add ilogb errno and exception tests.
71060 * math/w_ilogb.c: New file: ilogb wrapper.
71061 * math/w_ilogbf.c: New file: ilogbf wrapper.
71062 * math/w_ilogbl.c: New file: ilogbl wrapper.
71063 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71064 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71065 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71066 exception being thrown with 0.0 as argument.
71067 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71068 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71069 exception being thrown with 0.0 as argument.
71070 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71071 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71072 exception being thrown with 0.0 as argument.
71073 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71074 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71075 exception being thrown with 0.0 as argument.
71076 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71077 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71079 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71081 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71082 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71083 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71084 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71085
71086 2012-04-17 Petr Baudis <pasky@ucw.cz>
71087
71088 * include/sys/uio.h: Change __vector to __iovec to avoid clash
71089 with altivec.
71090
71091 2012-04-16 Marek Polacek <polacek@redhat.com>
71092
71093 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71094
71095 2012-04-16 Marek Polacek <polacek@redhat.com>
71096
71097 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71098 operands of fdivp instruction.
71099
71100 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
71101
71102 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71103 * elf/tst-auditmod3b.c: Likewise.
71104 * elf/tst-auditmod4b.c: Likewise.
71105 * elf/tst-auditmod5b.c: Likewise.
71106 * elf/tst-auditmod6b.c: Likewise.
71107 * elf/tst-auditmod6c.c: Likewise.
71108 * elf/tst-auditmod7b.c: Likewise.
71109 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71110 * sysdeps/x86_64/preconfigure.in: Likewise.
71111 * sysdeps/x86_64/preconfigure: Regenerated.
71112
71113 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
71114
71115 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71116 __ILP32__.
71117
71118 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
71119
71120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71121 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71122
71123 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
71124
71125 [BZ #13973]
71126 * locale/iso-639.def: Fix gl language name. Spotted by
71127 Yaron Shahrabani.
71128
71129 2012-04-12 Roland McGrath <roland@hack.frob.com>
71130
71131 [BZ #2074]
71132 * libio/libio.h (__io_write_fn): Update comment.
71133
71134 2012-04-12 Petr Baudis <pasky@ucw.cz>
71135
71136 [BZ #2074]
71137 * stdio.texi (Hook Functions): The user provided writer function
71138 is not allowed to return -1.
71139
71140 2012-04-11 David S. Miller <davem@davemloft.net>
71141
71142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71143
71144 2012-04-11 Mike Frysinger <vapier@gentoo.org>
71145
71146 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71147 Add a leading slash to rtkaio.
71148
71149 2012-04-11 Jim Meyering <meyering@redhat.com>
71150
71151 [BZ #11959]
71152 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71153 It is not necessarily an error to ignore fwrite's return
71154 value. One can reliably use ferror to test for errors after
71155 the fact.
71156
71157 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
71158
71159 * bits/types.h (__snseconds_t): New type.
71160 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71161
71162 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71164 (__SNSECONDS_T_TYPE): Likewise.
71165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71166 (__SNSECONDS_T_TYPE): Likewise.
71167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71168 (__SNSECONDS_T_TYPE): Likewise.
71169
71170 2012-04-10 Andreas Jaeger <aj@suse.de>
71171
71172 [BZ #2636]
71173 * manual/time.texi (Processor Time): Return type of times is
71174 elapsed real time since an arbitrary point in the past.
71175 (CPU Time): Move CLK_TCK from here...
71176 (Processor Time): ...to here. Correct description.
71177 * manual/conf.texi (Constants for Sysconf): Correct description of
71178 _SC_CLK_TCK.
71179
71180 2012-04-10 David S. Miller <davem@davemloft.net>
71181
71182 [BZ #13967]
71183 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71184 where the is a gap between DT_REL(A) and DT_JMPREL.
71185
71186 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
71187
71188 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71189 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71190 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71191
71192 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
71193
71194 * elf/dl-support.c (_dl_inhibit_cache): New variable.
71195 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71196 (dl_main): Handle --inhibit-cache.
71197 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71198 _dl_inhibit_cache.
71199 * elf/dl-load.c (_dl_map_object): Use it.
71200 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71201
71202 2012-04-09 Joseph Myers <joseph@codesourcery.com>
71203
71204 [BZ #13872]
71205 * sysdeps/i386/fpu/e_powl.S (p78): New object.
71206 (__ieee754_powl): Saturate large exponents rather than testing for
71207 overflow of y*log2(x).
71208 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71209 * math/libm-test.inc (pow_test): Do not permit spurious overflow
71210 exceptions.
71211
71212 [BZ #11521]
71213 * math/s_ctan.c: Include <float.h>.
71214 (__ctan): Avoid internal overflow or cancellation in calculating
71215 denominator.
71216 * math/s_ctanf.c: Likewise.
71217 * math/s_ctanl.c: Likewise.
71218 * math/s_ctanh.c: Likewise.
71219 * math/s_ctanhf.c: Likewise.
71220 * math/s_ctanhl.c: Likewise.
71221 * math/libm-test.inc (ctan_test): Add more tests.
71222 (ctanh_test): Likewise.
71223 * sysdeps/i386/fpu/libm-test-ulps: Update.
71224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71225
71226 2012-04-09 Andreas Jaeger <aj@suse.de>
71227
71228 [BZ #6894]
71229 * manual/filesys.texi (Directory Entries): Mention that d_namlen
71230 is an optional BSD extension.
71231
71232 [BZ #10254]
71233 * manual/stdio.texi (Opening Streams): Document additional fopen
71234 parameters.
71235
71236 2012-04-09 Roland McGrath <roland@hack.frob.com>
71237
71238 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71239 %eax without telling the compiler.
71240
71241 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
71242
71243 [BZ # 13963]
71244 * manual/install.texi: Use sourceware.org.
71245
71246 2012-04-09 Joseph Myers <joseph@codesourcery.com>
71247
71248 [BZ #13873]
71249 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71250 (__ieee754_pow): Generate overflow and underflow using huge*huge
71251 and tiny*tiny rather than just returning constant infinity or zero
71252 for large exponents.
71253 * math/libm-test.inc (pow_test): Require overflow exceptions for
71254 applicable cases of large exponents.
71255
71256 [BZ #706]
71257 * sysdeps/i386/fpu/e_pow.S (p10): New object.
71258 (__ieee754_pow): Use iterative multiplication algorithm only for
71259 integer exponents with absolute value below 1024. Check for odd
71260 integer exponents when using algorithm for real exponents.
71261 * math/libm-test.inc (pow_test): Add more tests.
71262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71263
71264 2012-04-08 Joseph Myers <joseph@codesourcery.com>
71265
71266 [BZ #13705]
71267 * math/libm-test.inc (exp_test): Do not allow overflow exception
71268 on underflow test.
71269
71270 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
71271
71272 [BZ #13705]
71273 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71274 instead of __kernel_standard_f.
71275
71276 2012-04-08 Mike Frysinger <vapier@gentoo.org>
71277
71278 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71279 * sysdeps/x86_64/memset_chk.S: Likewise.
71280
71281 2012-04-08 Andreas Jaeger <aj@suse.de>
71282
71283 [BZ #10153]
71284 * manual/startup.texi (Environment Access): Describe return value
71285 for putenv and setenv.
71286
71287 [BZ #6895]
71288 * manual/filesys.texi (Directory Entries): Add description for
71289 DT_LNK.
71290
71291 [BZ #6890]
71292 * manual/filesys.texi (Directory Entries): Clarify that it's file
71293 system not operating system in the description of DT_UNKNOWN.
71294
71295 [BZ #6578]
71296 * manual/syslog.texi (closelog): Fix reference, it's openlog.
71297
71298 2012-04-08 Stephen Compall <s11@member.fsf.org>
71299
71300 [BZ #6649]
71301 * manual/llio.texi (Opening and Closing Files): Add cross
71302 reference to explain mode argument.
71303
71304 2012-04-07 Mike Frysinger <vapier@gentoo.org>
71305
71306 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71307 * sysdeps/x86_64/memset_chk.S: Likewise.
71308
71309 2012-04-07 David S. Miller <davem@davemloft.net>
71310
71311 * elf/elf.h (R_SPARC_WDISP10): Define.
71312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71313 R_SPARC_SIZE32.
71314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71315 R_SPARC_SIZE64 and R_SPARC_H34.
71316
71317 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
71318
71319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71320 conditions and remove no longer applicable assertion.
71321
71322 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
71323
71324 * bits/byteswap.h: Include <features.h>.
71325 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71326 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71327
71328 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
71329
71330 * bits/byteswap.h (__bswap_16): Removed.
71331 Include <bits/byteswap-16.h> to get __bswap_16.
71332 * sysdeps/i386/bits/byteswap.h: Likewise.
71333 * sysdeps/s390/bits/byteswap.h: Likewise.
71334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71335 * bits/byteswap-16.h: New file.
71336 * sysdeps/i386/bits/byteswap-16.h: Likewise.
71337 * sysdeps/s390/bits/byteswap-16.h: Likewise.
71338 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71339 * string/Makefile (headers): Add bits/byteswap-16.h.
71340
71341 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
71342
71343 [BZ #13895]
71344 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71345 extra indirection.
71346 * nss/Makefile (tests-static, tests): Add tst-nss-static.
71347 * nss/tst-nss-static.c: New.
71348
71349 2012-04-06 Robert Millan <rmh@gnu.org>
71350
71351 [BZ #6486]
71352 * manual/llio.texi (File Position Primitive): lseek
71353 refers to WHENCE when it really means OFFSET.
71354
71355 2012-04-06 Andreas Jaeger <aj@suse.de>
71356
71357 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71358 strncmp declarations.
71359
71360 * abilist/libc.abilist: Add __poll and __ppoll.
71361
71362 2012-04-05 David S. Miller <davem@davemloft.net>
71363
71364 * scripts/check-local-headers.sh: Accept a host triplet in the
71365 path matched by the exclude regexp.
71366
71367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71368 definition.
71369 * sysdeps/powerpc/powerpc32/dl-machine.h
71370 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71371 * sysdeps/s390/s390-32/dl-machine.h
71372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71373 * sysdeps/sparc/sparc32/dl-machine.h
71374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71375 * sysdeps/sparc/sparc64/dl-machine.h
71376 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71377
71378 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71379 lazy binding.
71380 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71381 undefined symbol errors.
71382
71383 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71384 DT_NEEDED entries.
71385
71386 2012-04-05 Michael Matz <matz@suse.de>
71387
71388 [BZ #13592]
71389 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71390
71391 2012-04-05 Andreas Jaeger <aj@suse.de>
71392
71393 [BZ #13908]
71394 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71395 comment.
71396
71397 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71398
71399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71400 which ROUND is no valid rounding mode.
71401
71402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71403
71404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71405 read again.
71406 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71407
71408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71409
71410 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71411 an exception using FPU order intentionally.
71412
71413 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71414
71415 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71416 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71417 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71418 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71419
71420 2012-04-05 Simon Josefsson <simon@josefsson.org>
71421
71422 [BZ #12340]
71423 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71424 EINVAL when BUFLEN is too smal.
71425
71426 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
71427
71428 [BZ #13553]
71429 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71430 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71431
71432 2012-04-03 Andreas Jaeger <aj@suse.de>
71433
71434 [BZ #13938]
71435 * manual/setjmp.texi (System V contexts): Fix sentence.
71436
71437 [BZ #13926]
71438 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71439 New macro for this case.
71440 [!__GNUC__] (__bswap_64): New inline function for this case.
71441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71442 * bits/byteswap.h: Likewise.
71443 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71444 ull, guard with __GLIBC_HAVE_LONG_LONG.
71445
71446 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71447 __GLIBC_HAVE_LONG_LONG.
71448
71449 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71450 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71451
71452 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71453
71454 [BZ #13691]
71455 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71456 inptr and inend, rather than using last_ch.
71457
71458 2012-04-02 David S. Miller <davem@davemloft.net>
71459
71460 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71461 * stdio-common/printf-parse.h (read_int): Change return type to
71462 'int', return -1 on INT_MAX overflow.
71463 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71464 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
71465 overflows INT_MAX. Check for overflow of in-format-string precision
71466 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
71467 SIZE_MAX not INT_MAX for integer overflow test.
71468 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71469 skip the construct in the format string but do not record anything.
71470 * stdio-common/bug22.c: Adjust to test both width/prevision
71471 INT_MAX overflow as well as total length INT_MAX overflow. Check
71472 explicitly for proper errno values.
71473
71474 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
71475
71476 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71477 CHAR_MAX.
71478 * string/test-strcmp.c [! WIDE]: Likewise.
71479 * time/tst-mktime2.c: Likewise for INT_MAX.
71480 * string/test-string.h: #include <sys/param.h> for MIN.
71481
71482 * csu/init-first.c (__libc_init_first): Call __ctype_init.
71483 * sysdeps/i386/init-first.c (init): Likewise.
71484 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71485 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71486 * sysdeps/sh/init-first.c (init): Likewise.
71487
71488 2012-04-01 Ulrich Drepper <drepper@gmail.com>
71489
71490 * po/ru.po: Update from translation team.
71491 * po/vi.po: Likewise.
71492
71493 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
71494
71495 * resolv/nss_dns/dns-host.c: Merge copyright years.
71496
71497 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71498
71499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71500 Optimize memcpy with prefetch if
71501 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
71502 src, dst pointers have unequal 16 byte alignments.
71503
71504 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
71505
71506 [BZ #13928]
71507 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71508 from a CNAME entry and return the minimum ttl for the query.
71509 (gaih_getanswer_slice): Likewise.
71510
71511 2012-03-30 Jeff Law <law@redhat.com>
71512
71513 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71514 due to long keys.
71515 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71516 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71517
71518 * resolv/nss_dns/dns-host.c: Update copyright year.
71519
71520 2012-03-30 Ulrich Drepper <drepper@gmail.com>
71521
71522 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71523 requests to save a system call. Fix check that all bytes are sent.
71524
71525 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71526 comments for sendmmsg.
71527
71528 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71529
71530 [BZ #13691]
71531 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71532 with only 1 character between 0x0041 and 0x01b0.
71533 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71534 * wcsmbs/tst-mbsnrtowcs.c: New file.
71535
71536 2012-03-29 David S. Miller <davem@davemloft.net>
71537
71538 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71539 small copies by hand.
71540
71541 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71542
71543 [BZ #13761]
71544 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71545 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71546 group memberships.
71547
71548 2012-03-28 David S. Miller <davem@davemloft.net>
71549
71550 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71551 that branches into memcpy.
71552 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71554 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71555 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71557 bits.
71558 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71559 implementation too.
71560 * sysdeps/sparc/mempcpy.S: New file.
71561
71562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71563 the IFUNC routine in the libc case.
71564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71565
71566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71567 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71568 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71569 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71570 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71571 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71572 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71573 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71574
71575 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71576 loop to 256 bytes instead of 64 bytes and fix test signedness.
71577
71578 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71579 * sysdeps/sparc/sparc32/Makefile: rather than here...
71580 * sysdeps/sparc/sparc64/Makefile: and here.
71581
71582 2012-03-28 Ulrich Drepper <drepper@gmail.com>
71583
71584 * malloc/mallocbug.c: Avoid warnings about unused variables.
71585
71586 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
71587
71588 [BZ #13760]
71589 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71590 in the right place. Discard and retry query if response is
71591 larger than input buffer size.
71592
71593 2012-03-28 Joseph Myers <joseph@codesourcery.com>
71594
71595 [BZ #369]
71596 [BZ #2678]
71597 [BZ #3866]
71598 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71599 x for large integer exponent.
71600 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71601 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
71602 sign of result as needed afterwards.
71603 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71605 result for underflowing pow the same as for overflow.
71606 (__kernel_standard_l): Handle powl overflow and underflow here
71607 rather than calling __kernel_standard.
71608 * math/libm-test.inc (pow_test): Add more tests.
71609
71610 [BZ #3868]
71611 [BZ #13879]
71612 [BZ #13910]
71613 [BZ #13911]
71614 [BZ #13912]
71615 [BZ #13913]
71616 [BZ #13915]
71617 [BZ #13916]
71618 [BZ #13917]
71619 [BZ #13918]
71620 [BZ #13919]
71621 [BZ #13920]
71622 [BZ #13921]
71623 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71624 * sysdeps/ieee754/k_standard.c: Include <float.h>.
71625 (__kernel_standard_l): New function.
71626 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71627 __kernel_standard.
71628 * math/w_acosl.c (__acosl): Likewise.
71629 * math/w_asinl.c (__asinl): Likewise.
71630 * math/w_atan2l.c (__atan2l): Likewise.
71631 * math/w_atanhl.c (__atanhl): Likewise.
71632 * math/w_coshl.c (__coshl): Likewise.
71633 * math/w_exp10l.c (__exp10l): Likewise.
71634 * math/w_exp2l.c (__exp2l): Likewise.
71635 * math/w_fmodl.c (__fmodl): Likewise.
71636 * math/w_hypotl.c (__hypotl): Likewise.
71637 * math/w_j0l.c (__j0l, __y0l): Likewise.
71638 * math/w_j1l.c (__j1l, __y1l): Likewise.
71639 * math/w_jnl.c (__jnl, __ynl): Likewise.
71640 * math/w_lgammal.c (__lgammal): Likewise.
71641 * math/w_log10l.c (__log10l): Likewise.
71642 * math/w_log2l.c (__log2l): Likewise.
71643 * math/w_logl.c (__logl): Likewise.
71644 * math/w_powl.c (__powl): Likewise.
71645 * math/w_remainderl.c (__remainderl): Likewise.
71646 * math/w_scalbl.c (sysv_scalbl): Likewise.
71647 * math/w_sinhl.c (__sinhl): Likewise.
71648 * math/w_sqrtl.c (__sqrtl): Likewise.
71649 * math/w_tgammal.c (__tgammal): Likewise.
71650 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71651 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71652 * math/libm-test.inc (acos_test): Add more tests.
71653 (acosh_test): Likewise.
71654 (asin_test): Likewise.
71655 (atanh_test): Likewise.
71656 (exp_test): Likewise.
71657 (exp10_test): Likewise.
71658 (exp2_test): Likewise.
71659 (expm1_test): Likewise.
71660 (lgamma_test): Likewise.
71661 (log_test): Likewise.
71662 (log10_test): Likewise.
71663 (log1p_test): Likewise.
71664 (log2_test): Likewise.
71665 (pow_test): Do not allow some spurious overflow exceptions.
71666 (sqrt_test): Add more tests.
71667 (tgamma_test): Likewise.
71668 (y0_test): Likewise.
71669 (y1_test): Likewise.
71670 (yn_test): Likewise.
71671
71672 2012-03-27 Anton Blanchard <anton@samba.org>
71673
71674 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71675 MAP_HUGETLB.
71676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71677 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71679
71680 2012-03-27 David S. Miller <davem@davemloft.net>
71681
71682 * conform/Makefile: Run run-conformtest.sh using $(BASH).
71683
71684 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71685 have-as-vis3 check.
71686
71687 2012-03-27 Andreas Jaeger <aj@suse.de>
71688
71689 * sysdeps/x86_64/elf/configure.in: Moved to ...
71690 * sysdeps/x86_64/configure.in: ... here.
71691 * sysdeps/x86_64/elf/start.S: Moved to ...
71692 * sysdeps/x86_64/start.S: ... here.
71693 * sysdeps/x86_64/elf/configure: Delete.
71694
71695 * sysdeps/x86_64/configure.in: Merge contents from
71696 sysdeps/i386/configure.in (without i686 check).
71697
71698 * sysdeps/i386/elf/Versions: Merge into ...
71699 * sysdeps/i386/Versions: ... this.
71700 * sysdeps/i386/elf/Versions: Delete file.
71701 * sysdeps/i386/elf/start.S: Moved to ...
71702 * sysdeps/i386/start.S: ...here.
71703 * sysdeps/i386/elf/configure.in: Merge into...
71704 * sysdeps/i386/configure.in: ...here.
71705 * sysdeps/i386/elf/configure.in: Delete file.
71706 * sysdeps/i386/elf/configure: Delete file.
71707
71708 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71709 * debug/backtracesyms.c: ... here.
71710 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71711 * debug/backtracesymsfd.c: ... here.
71712 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71713 * sysdeps/generic/ifunc-sel.h: ... here.
71714
71715 * sysdeps/unix/i386/start.c: Delete file.
71716 * sysdeps/unix/sparc/start.c: Delete file.
71717 * sysdeps/unix/start.c: Delete file.
71718
71719 * sysdeps/sh/elf/configure.in: Moved to ...
71720 * sysdeps/sh/configure.in: ... here.
71721 * sysdeps/sh/elf/start.S: Moved to ...
71722 * sysdeps/sh/start.S: ... here.
71723 * sysdeps/sh/elf/configure: Delete file.
71724
71725 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71726 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71727 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71728 * sysdeps/powerpc/powerpc64/entry.h: ... here.
71729 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71730 * sysdeps/powerpc/powerpc64/start.S: here.
71731 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71732 * sysdeps/powerpc/powerpc64/Makefile: ... this.
71733 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71734 * sysdeps/powerpc/powerpc64/configure.in: ... this.
71735 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71736
71737 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71738 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71739 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71740 * sysdeps/powerpc/powerpc32/start.S: ... here.
71741 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71742 * sysdeps/powerpc/powerpc32/configure.in: ... this.
71743 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71744
71745 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71746 * sysdeps/powerpc/ifunc-sel.h: ... here.
71747 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71748 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71749
71750 * sysdeps/sparc/elf/configure.in: Moved to ...
71751 * sysdeps/sparc/configure.in: ... here.
71752 * sysdeps/sparc/elf/configure: Delete file.
71753 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71754 * sysdeps/sparc/sparc32/start.S: ... here.
71755 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71756 * sysdeps/sparc/sparc64/start.S: ... here.
71757 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71758 * sysdeps/sparc/sparc32/Makefile: ... this.
71759 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71760 * sysdeps/sparc/sparc64/Makefile: ... this.
71761
71762 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71763 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71764 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71765 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71766 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71767 * sysdeps/s390/s390-32/setjmp.S: ... here.
71768 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71769 * sysdeps/s390/s390-32/configure.in: ... here.
71770 * sysdeps/s390/s390-32/elf/configure: Delete file.
71771 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71772 * sysdeps/s390/s390-32/start.S: ... here.
71773
71774 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71775 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71776 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71777 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71778 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71779 * sysdeps/s390/s390-64/setjmp.S: ... here.
71780 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71781 * sysdeps/s390/s390-64/configure.in: ... here
71782 * sysdeps/s390/s390-64/elf/configure: Delete file.
71783 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71784 * sysdeps/s390/s390-64/start.S: ... here.
71785 * sysdeps/s390/s390-64/elf/configure: Delete.
71786
71787 * configure.in: Remove support for elf directories in sysdeps.
71788
71789 * configure: Regenerated.
71790 * sysdeps/i386/configure: Regenerated.
71791 * sysdeps/powerpc/powerpc32/configure: Regenerated.
71792 * sysdeps/powerpc/powerpc64/configure: Regenerated.
71793 * sysdeps/s390/s390-32/configure: Regenerated.
71794 * sysdeps/s390/s390-64/configure: Regenerated.
71795 * sysdeps/sh/configure: Regenerated.
71796 * sysdeps/sparc/configure: Regenerated.
71797 * sysdeps/x86_64/configure: Regenerated.
71798
71799 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
71800
71801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71802
71803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71804 denormal result into account.
71805
71806 2012-03-25 Roland McGrath <roland@hack.frob.com>
71807
71808 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71809 Reported by Allan McRae <allan@archlinux.org>.
71810
71811 2012-03-23 Jeff Law <law@redhat.com>
71812
71813 * nss/getnssent.c (__nss_getent): Fix typo.
71814
71815 2012-03-23 David S. Miller <davem@davemloft.net>
71816
71817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71818
71819 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
71820
71821 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71822 to pad to uint64_t for each field.
71823 (dl_tls_index): Replace unsigned long with uint64_t.
71824
71825 2012-03-23 Daniel Jacobowitz <dmj@google.com>
71826 Paul Pluzhnikov <ppluzhnikov@google.com>
71827
71828 [BZ #6528]
71829 * grp/Makefile (otherlibs): Don't set it.
71830 * inet/Makefile (otherlibs): Likewise.
71831 * login/Makefile (otherlibs): Likewise.
71832 * nscd/Makefile (otherlibs): Likewise.
71833 * posix/Makefile (otherlibs): Likewise.
71834 * pwd/Makefile (otherlibs): Likewise.
71835 * rt/Makefile (otherlibs): Likewise.
71836 * sunrpc/Makefile (otherlibs): Likewise.
71837 * nss/Makefile (otherlibs): Likewise.
71838 Add libnss_files to routines and static-only-routines.
71839 ($(objpfx)getent): Remove rule.
71840 * resolv/Makefile: Add libnss_dns and libresolv to routines and
71841 static-only-routines.
71842
71843 2012-03-22 Joseph Myers <joseph@codesourcery.com>
71844
71845 [BZ #13892]
71846 * math/s_cexp.c: Include <float.h>.
71847 (__cexp): Handle exp result overflowing not necessarily
71848 overflowing both real and imaginary parts of result.
71849 * math/s_cexpf.c: Likewise.
71850 * math/s_cexpl.c: Likewise.
71851 * math/libm-test.inc (cexp_test): Add more tests.
71852 * sysdeps/i386/fpu/libm-test-ulps: Update.
71853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71854
71855 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
71856
71857 * include/link.h (ELFW): New macro.
71858 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71859 Replace ELF64_R_TYPE with ELFW(R_TYPE).
71860
71861 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
71862
71863 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71864 with uint64_t.
71865
71866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
71867
71868 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71869 declaration.
71870 (struct La_x32_retval): Likewise.
71871
71872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
71873
71874 * sysdeps/x86_64/preconfigure.in: New file.
71875 * sysdeps/x86_64/preconfigure: New generated file.
71876
71877 2012-03-22 Joseph Myers <joseph@codesourcery.com>
71878
71879 [BZ #13824]
71880 * math/e_exp2l.c: Include <float.h>.
71881 (__ieee754_exp2l): Handle overflow and underflow cases
71882 separately. Only pass fractional part of argument to
71883 __ieee754_expl.
71884 * math/libm-test.inc (exp2_test): Add more tests.
71885
71886 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71887 negating x to take absolute value.
71888 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71889 Likewise.
71890 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71891 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71892 Likewise.
71893 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71894 computing low part if x was negated.
71895 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71896
71897 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
71898
71899 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71900 la_x32_gnu_pltexit.
71901 (pltexit): Cast int_retval to ptrdiff_t.
71902 * elf/tst-auditmod3b.c: Likewise.
71903 * elf/tst-auditmod4b.c: Likewise.
71904 * elf/tst-auditmod5b.c: Likewise.
71905 * elf/tst-auditmod6b.c: Likewise.
71906 * elf/tst-auditmod6c.c: Likewise.
71907 * elf/tst-auditmod7b.c: Likewise.
71908
71909 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71910 and x32_gnu_pltexit.
71911
71912 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71913 __ELF_NATIVE_CLASS.
71914 (La_x32_regs): New macro.
71915 (La_x32_retval): Likewise.
71916 (la_x32_gnu_pltenter): New function prototype.
71917 (la_x32_gnu_pltexit): Likewise.
71918
71919 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
71920
71921 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71922 exponent.
71923
71924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71925
71926 * configure.in (libc_cv_cc_nofma): Check for option to disable
71927 generation of FMA instructions.
71928 * configure: Regenerate.
71929 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71930 * sysdeps/ieee754/dbl-64/Makefile: New file.
71931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71932 Remove brandred-fma4.
71933 (CFLAGS-brandred-fma4.c): Remove.
71934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71936 define.
71937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71938 define.
71939
71940 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
71941
71942 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71943 LLONG_MAX != LONG_MAX.
71944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71945 (_fitoa_word): Likewise.
71946 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71947 LLONG_MAX != LONG_MAX.
71948 * stdio-common/_itowa.h: Include <_itoa.h>.
71949 (_itowa_word): Use _ITOA_WORD_TYPE on value.
71950 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
71951 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
71952 only if not defined.
71953 (_ITOA_WORD_TYPE): Likewise.
71954 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71955 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71956
71957 2012-03-21 David S. Miller <davem@davemloft.net>
71958
71959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71960
71961 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
71962
71963 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71964 of x86_64 when setting libc_cv_slibdir, libdir and
71965 libc_cv_localedir.
71966 * sysdeps/unix/sysv/linux/configure: Regenerated.
71967
71968 2012-03-21 Joseph Myers <joseph@codesourcery.com>
71969
71970 * manual/lang.texi (Old Varargs): Remove section.
71971 (How Variadic): Update menu.
71972 (va_start): Do not mention varargs.h.
71973
71974 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
71975 Joseph Myers <joseph@codesourcery.com>
71976
71977 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71978 link test.
71979 * configure: Regenerated.
71980
71981 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
71982
71983 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71984 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71985 conformtest.pl
71986
71987 2012-03-21 Joseph Myers <joseph@codesourcery.com>
71988
71989 * NOTES: Remove.
71990 * Makefile (files-for-dist): Remove NOTES.
71991 (NOTES): Remove rule.
71992 * README: Don't refer to NOTES.
71993 * manual/creature.texi: Don't include macros.texi.
71994 * manual/intro.texi (creature.texi): Remove comment referring to
71995 NOTES.
71996
71997 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71998 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71999 * configure: Regenerated.
72000 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72001 LIBC_TRY_CC_OPTION.
72002 (libc_cv_as_i686): Likewise.
72003 (libc_cv_cc_avx): Likewise.
72004 (libc_cv_cc_sse2avx): Likewise.
72005 (libc_cv_cc_fma4): Likewise.
72006 (libc_cv_cc_novzeroupper): Likewise.
72007 * sysdeps/i386/configure: Regenerated.
72008
72009 [BZ #13883]
72010 * sysdeps/i386/fpu/s_cexp.S: Remove.
72011 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72012 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72013 * math/libm-test.inc (cexp_test): Add more tests.
72014 * sysdeps/i386/fpu/libm-test-ulps: Update.
72015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72016
72017 2012-03-21 Allan McRae <allan@archlinux.org>
72018
72019 * timezone/Makefile: Do not install iso3166.tab and zone.tab
72020
72021 2012-03-21 Joseph Myers <joseph@codesourcery.com>
72022
72023 [BZ #13871]
72024 * math/w_exp2.c: Do not include <float.h>.
72025 (o_threshold, u_threshold): Remove.
72026 (__exp2): Calculate result before checking finiteness and calling
72027 __kernel_standard.
72028 * math/w_exp2f.c: Likewise.
72029 * math/w_exp2l.c: Likewise.
72030 * math/libm-test.inc (exp2_test): Require overflow exception for
72031 1e6 input.
72032
72033 [BZ #3866]
72034 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72035 range of signed 64-bit integers before using fistpll. Remove
72036 checks for whether integers fit in mantissa bits.
72037 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72038 the range of signed 32-bit integers before using fistpl. Remove
72039 checks for whether integers fit in mantissa bits.
72040 * sysdeps/i386/fpu/e_powl.S (p64): New object.
72041 (__ieee754_powl): Test for y outside the range of signed 64-bit
72042 integers before using fistpll. Reduce 64-bit values to 63-bit
72043 ones as needed.
72044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72045 divide-by-zero is raised for zero to large negative powers.
72046 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72047 (__ieee754_powl): Test for y outside the range of signed 64-bit
72048 integers before using fistpll. Reduce 64-bit values to 63-bit
72049 ones as needed.
72050 * math/libm-test.inc (pow_test): Add more tests.
72051
72052 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
72053
72054 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72055 <stdio-common/_itoa.h>.
72056 * debug/segfault.c: Likewise.
72057 * elf/dl-cache.c: Likewise.
72058 * elf/dl-minimal.c: Likewise.
72059 * elf/dl-misc.c: Likewise.
72060 * elf/dl-sysdep.c: Likewise.
72061 * elf/dl-version.c: Likewise.
72062 * elf/rtld.c: Likewise.
72063 * hurd/hurdsock.c: Likewise.
72064 * hurd/lookup-retry.c: Likewise.
72065 * malloc/malloc.c: Likewise.
72066 * malloc/mtrace.c: Likewise.
72067 * nscd/nscd_getgr_r.c: Likewise.
72068 * nscd/nscd_getpw_r.c: Likewise.
72069 * nscd/nscd_getserv_r.c: Likewise.
72070 * posix/getopt_init.c: Likewise.
72071 * posix/wordexp.c: Likewise.
72072 * stdio-common/_itoa.c: Likewise.
72073 * stdio-common/printf_fphex.c: Likewise.
72074 * stdio-common/vfprintf.c: Likewise.
72075 * string/_strerror.c: Likewise.
72076 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72077 * sysdeps/i386/i686/hp-timing.h: Likewise.
72078 * sysdeps/mach/_strerror.c: Likewise.
72079 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72080 * sysdeps/mach/hurd/sethostid.c: Likewise.
72081 * sysdeps/mach/hurd/xmknodat.c: Likewise.
72082 * sysdeps/mach/xpg-strerror.c: Likewise.
72083 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72084 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72085 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72086 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72087 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72088 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72090 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72091 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72092 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72093 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72094 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72095 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72096 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72097 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72098 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72099 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72100 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72101 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72102 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72103 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72104
72105 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72106
72107 * stdio-common/_itoa.h: Moved to ...
72108 * sysdeps/generic/_itoa.h: Here.
72109
72110 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72111
72112 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72113 instead of "_itoa.h" and "_itowa.h".
72114 * stdio-common/vfprintf.: Likewise.
72115
72116 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
72117
72118 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72119 <bits/wordsize.h>.
72120 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72121 (__signbit): Likwise.
72122 (llrintf): Likwise.
72123 (llrint): Likwise.
72124
72125 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
72126
72127 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72128 __WORDSIZE != 64.
72129
72130 2012-03-20 Joseph Myers <joseph@codesourcery.com>
72131
72132 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72133 OVERFLOW_EXCEPTION_OK.
72134 * math/libm-test.inc ("Philosophy"): Update comment about
72135 exception testing.
72136 (OVERFLOW_EXCEPTION): Define.
72137 (OVERFLOW_EXCEPTION_OK): Likewise.
72138 (INVALID_EXCEPTION_OK): Renumber.
72139 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72140 (IGNORE_ZERO_INF_SIGN): Likewise.
72141 (test_exceptions): Handle FE_OVERFLOW.
72142 (exp10_test): Expect overflow exceptions.
72143 (exp2_test): Likewise.
72144 (expm1_test): Likewise.
72145 (nextafter_test): Likewise.
72146 (pow_test): Likewise.
72147 (scalbn_test): Likewise.
72148 (scalbln_test): Likewise.
72149
72150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72151
72152 * sysdeps/x86_64/bits/atomic.h
72153 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72154 64bit integer.
72155 (atomic_exchange_acq): Likewise.
72156 (__arch_exchange_and_add_body): Likewise.
72157 (__arch_add_body): Likewise.
72158 (atomic_add_negative): Likewise.
72159 (atomic_add_zero): Likewise.
72160
72161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72162
72163 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72164 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72165
72166 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72167
72168 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72169 Check __x86_64__ instead of __WORDSIZE.
72170
72171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72172
72173 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72174
72175 2012-03-19 David S. Miller <davem@davemloft.net>
72176
72177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72178
72179 * sysdeps/sparc/fpu/fenv_private.h: New file.
72180 * sysdeps/sparc/fpu/math_private.h: Use it.
72181 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72182 Remove.
72183 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72184 (libc_feholdexcept_setroundl): Remove.
72185 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72186 Remove.
72187 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72188 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72189
72190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72191
72192 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72193 int64_t instead of long int.
72194 (INSERT_WORDS64): Likwise.
72195
72196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
72197
72198 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72199 _Unwind_GetCFA return to _Unwind_Ptr first.
72200
72201 2012-03-19 Joseph Myers <joseph@codesourcery.com>
72202
72203 [BZ #13629]
72204 * math/s_clog.c: Include <float.h>.
72205 (__clog): Scale large or subnormal inputs.
72206 * math/s_clogf.c: Likewise.
72207 * math/s_clogl.c: Likewise.
72208 * math/s_clog10.c: Include <float.h>.
72209 (M_LOG10_2): Define.
72210 (__clog10): Scale large or subnormal inputs.
72211 * math/s_clog10f.c: Likewise.
72212 * math/s_clog10l.c: Likewise.
72213 * math/libm-test.inc (clog_test): Add more tests.
72214 (clog10_test): Likewise.
72215 * sysdeps/i386/fpu/libm-test-ulps: Update.
72216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72217
72218 [BZ #11451]
72219 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72220 x and y.
72221 * math/libm-test.inc (atan2_test): Add another test.
72222
72223 * Makerules (common-objdir-compile): Remove.
72224 * sysdeps/unix/Makefile (config-generated): Do not add
72225 $(unix-generated) to variable.
72226 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72227 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72228 Remove rule.
72229 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72230 Likewise.
72231 [generic bits/local_lim.h] (before-compile): Do not append to
72232 variable.
72233 [generic bits/local_lim.h] (common-generated): Likewise.
72234 [generic sys/param.h] (before-compile): Do not append to variable.
72235 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72236 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72238 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72239 include.
72240 [generic sys/param.h] (sys/param.h-includes): Remove variable.
72241 [generic sys/param.h] (sys/param.h-includes): Remove rule.
72242 [generic sys/param.h] ($(addprefix
72243 $(common-objpfx),$(sys/param.h-includes))): Likewise.
72244 [generic sys/param.h] (common-generated): Do not append to
72245 variable.
72246 [generic sys/param.h] (sysdep_headers): Likewise.
72247 [generic bits/errno.h] (before-compile): Do not append to
72248 variable.
72249 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72250 rule.
72251 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72252 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72253 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72254 [generic bits/errno.h] (common-generated): Do not append to
72255 variable.
72256 [generic bits/ioctls.h] (before-compile): Do not append to
72257 variable.
72258 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72259 rule.
72260 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72261 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72263 rule.
72264 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72265 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72266 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72267 [generic bits/ioctls.h] (common-generated): Do not append to
72268 variable.
72269 [generic sys/syscall.h] (syscall.h): Remove variable.
72270 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72271 rule.
72272 [generic sys/syscall.h] (before-compile): Do not append to
72273 variable.
72274 [generic sys/syscall.h] (common-generated): Likewise.
72275 * sysdeps/unix/errnos-tmpl.c: Remove file.
72276 * sysdeps/unix/errnos.awk: Likewise.
72277 * sysdeps/unix/ioctls-tmpl.c: Likewise.
72278 * sysdeps/unix/ioctls.awk: Likewise.
72279 * sysdeps/unix/mk-local_lim.c: Likewise.
72280 * sysdeps/unix/snarf-ioctls: Likewise.
72281
72282 2012-03-19 Richard Henderson <rth@twiddle.net>
72283
72284 * sysdeps/i386/fpu/fenv_private.h: New file.
72285 * sysdeps/i386/fpu/math_private.h: Use it.
72286 (math_opt_barrier, math_force_eval): Remove.
72287 (libc_feholdexcept_setround_53bit): Remove.
72288 (libc_feupdateenv_53bit): Remove.
72289 * sysdeps/x86_64/fpu/math_private.h: Likewise.
72290 (math_opt_barrier, math_force_eval): Remove.
72291 (libc_feholdexcept): Remove.
72292 (libc_feholdexcept_setround): Remove.
72293 (libc_fetestexcept, libc_fesetenv): Remove.
72294 (libc_feupdateenv_test): Remove.
72295 (libc_feupdateenv, libc_feholdsetround): Remove.
72296 (libc_feresetround): Remove.
72297
72298 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72299 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72300
72301 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72302 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72303 (libc_feupdateenv_testl): New.
72304 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72305 (libc_feupdateenv_testf): New.
72306 (libc_feupdateenv): Use libc_feupdateenv_test.
72307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72309
72310 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72311 (libc_feholdsetroundf, libc_feholdsetroundl): New.
72312 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72313 (libc_feresetround_noex): New.
72314 (libc_feresetround_noexf): New.
72315 (libc_feresetround_noexl): New.
72316 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72317 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72318 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72319 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72320 SET_RESTORE_ROUND.
72321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72323 (__cos): Likewise.
72324 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72325 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72326 SET_RESTORE_ROUND_NOEX.
72327 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72328 SET_RESTORE_ROUND_NOEXF.
72329 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72330 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72331 (libc_feholdsetroundf): New.
72332 (libc_feresetround, libc_feresetroundf): New.
72333
72334 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72335 (libc_feholdexcept_setround_53bit): Convert from macro to function.
72336 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
72337
72338 * sysdeps/generic/math_private.h: Include <fenv.h>.
72339 (default_libc_feholdexcept): New.
72340 (default_libc_feholdexcept_setround): New.
72341 (default_libc_fesetenv, default_libc_feupdateenv): New.
72342 (libc_feholdexcept): Only define if undefined.
72343 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72344 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72345 (libc_feholdexcept_setroundl): Likewise.
72346 (libc_feholdexcept_setround_53bit): Likewise.
72347 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72348 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72349 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72350 (libc_feupdateenv_53bit): Likewise.
72351 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72352 (libc_feholdexcept): Convert from macro to inline function.
72353 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72354 (libc_fesetenv, libc_feupdateenv): Likewise.
72355
72356 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72357 not previously defined.
72358 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72359 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72360 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72361 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72362 * sysdeps/ieee754/flt-32/math_private.h: New file.
72363 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72364 math_private.h below SET_FLOAT_WORD.
72365 (__isnan, __isinf_ns, __finite): Remove.
72366 (__isnanf, __isinf_nsf, __finitef): Remove.
72367
72368 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
72369
72370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72371
72372 2012-03-17 David S. Miller <davem@davemloft.net>
72373
72374 [BZ #6471]
72375 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72376 for 2.16.
72377
72378 2012-03-16 David S. Miller <davem@davemloft.net>
72379
72380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72381 warnings.
72382
72383 [BZ #6471]
72384 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72385 properly.
72386 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72387 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72388 sysdep_routines when subdir is sysvipc.
72389 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72390 __getshmlba helper.
72391
72392 * sysdeps/sparc/fpu/libm-test/ulps: Update.
72393
72394 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
72395
72396 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72397 [__LP64__].
72398
72399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
72400
72401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72402 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72403 (__lround): Renamed to ...
72404 (__llround): This. Replace long int with long long int.
72405 Define lround functions as aliases of llround functions.
72406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72407
72408 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
72409
72410 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72411 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
72412 adresses to uintptr_t. Replace "long int" and "unsigned long
72413 int" with "greg_t" on va_arg.
72414
72415 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
72416
72417 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72418 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72419
72420 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72421 Move e_machine check before EI_CLASS check. Handle x32
72422 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72423 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72424 SKIP_EM_IA_64 and include
72425 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72426
72427 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72428 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72429 (add_system_dir): New macro.
72430
72431 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72432 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72433
72434 2012-03-16 Joseph Myers <joseph@codesourcery.com>
72435
72436 [BZ #2551]
72437 [BZ #2552]
72438 [BZ #2553]
72439 [BZ #2554]
72440 [BZ #2562]
72441 [BZ #2563]
72442 [BZ #2565]
72443 [BZ #2566]
72444 [BZ #2576]
72445 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72446 (y0): Likewise.
72447 * math/w_j0f.c (j0f): Likewise.
72448 (y0f): Likewise.
72449 * math/w_j0l.c (__j0l): Likewise.
72450 (__y0l): Likewise.
72451 * math/w_j1.c (j1): Likewise.
72452 (y1): Likewise.
72453 * math/w_j1f.c (j1f): Likewise.
72454 (y1f): Likewise.
72455 * math/w_j1l.c (__j1l): Likewise.
72456 (__y1l): Likewise.
72457 * math/w_jn.c (jn): Likewise.
72458 (yn): Likewise.
72459 * math/w_jnf.c (jnf): Likewise.
72460 (ynf): Likewise.
72461 * math/w_jnl.c (__jnl): Likewise.
72462 (__ynl): Likewise.
72463 * math/libm-test.inc (j0_test): Add more tests.
72464 (j1_test): Likewise.
72465 (jn_test): Likewise. Add trailing semicolon to existing test.
72466 (y0_test): Likewise.
72467 (y1_test): Likewise.
72468 * sysdeps/i386/fpu/libm-test-ulps: Update.
72469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72470
72471 [BZ #13851]
72472 [BZ #13854]
72473 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72474 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72475 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72477 (__tanl): Set errno for infinite argument.
72478 * sysdeps/i386/fpu/mptan.c: Remove.
72479 * sysdeps/i386/fpu/s_tan.S: Likewise.
72480 * sysdeps/i386/fpu/s_tanl.S: Likewise.
72481 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72482 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72483 * math/libm-test.inc (tan_test): Add more tests and enable more
72484 tests for double and long double.
72485 * sysdeps/i386/fpu/libm-test-ulps: Update.
72486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72487
72488 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
72489
72490 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72491 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72492
72493 2012-03-16 Roland McGrath <roland@hack.frob.com>
72494
72495 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72496 * configure.in: Use it for both main tree and add-ons.
72497 * configure: Regenerated.
72498
72499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
72500
72501 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72502
72503 2012-03-16 Joseph Myers <joseph@codesourcery.com>
72504
72505 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72506 in comment.
72507
72508 [BZ #13851]
72509 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72510 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72511 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72512 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72513 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72514 infinite argument.
72515 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72517 != 0 for prec == 2.
72518 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72519 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72520 * sysdeps/i386/fpu/s_cosl.S: Likewise.
72521 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72522 * sysdeps/i386/fpu/s_sinl.S: Likewise.
72523 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72524 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72525 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72526 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72527 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72528 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72529 * math/libm-test.inc (cos_test): Add more tests and enable more
72530 tests for long double.
72531 (sin_test): Likewise.
72532 (sincos_test): Likewise.
72533 * sysdeps/i386/fpu/libm-test-ulps: Update.
72534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72535
72536 2012-03-16 David S. Miller <davem@davemloft.net>
72537
72538 * sysdeps/sparc/fpu/math_private.h: New file.
72539
72540 2012-03-15 David S. Miller <davem@davemloft.net>
72541
72542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72543 file.
72544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72546 file.
72547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72553 sysdep routines.
72554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72555
72556 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72557 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72558
72559 * sysdeps/sparc/sparc-ifunc.h: New file.
72560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72561 sparc-ifunc.h
72562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72564 Likewise.
72565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72566 Likewise.
72567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72571 Likewise.
72572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72577 Likewise.
72578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72579 Likewise.
72580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72587 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72604
72605 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
72606
72607 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72608 scaling.
72609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72610
72611 2012-03-15 Andreas Jaeger <aj@suse.de>
72612
72613 [BZ #13852]
72614 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72615 ieee754/flt-32 implementation for sin, cos and sincos.
72616 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72617 * sysdeps/i386/fpu/s_cosf.S: Likewise.
72618 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72619 * sysdeps/i386/fpu/s_sinf.S: Likewise.
72620 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72621 ieee754/flt-32 implementation for tan.
72622
72623 * math/libm-test.inc (cos_test): Enable some large input tests for
72624 float as well
72625 (sin_test): Likewise.
72626 (sincos_test): Likewise.
72627 (tan_test): Add tests for large input.
72628
72629 * sysdeps/i386/fpu/libm-test-ulps: Update.
72630
72631 2012-03-15 Andreas Jaeger <aj@suse.de>
72632
72633 [BZ #13658]
72634 * math/libm-test.inc (cos_test): Add more test cases.
72635 (sin_test): Likewise.
72636 (sincos_test): Likewise.
72637
72638 2012-03-15 Andreas Jaeger <aj@suse.de>
72639
72640 [BZ #13837]
72641 * math/libm-test.inc (cos_test): Add a test case for large input
72642 value.
72643 (sin_test): Likewise.
72644 (sincos_test): Likewise.
72645
72646 2012-03-15 Andreas Jaeger <aj@suse.de>
72647 Joseph Myers <joseph@codesourcery.com>
72648
72649 [BZ #13658]
72650 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72651 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72652 * sysdeps/i386/fpu/branred.c: Likewise.
72653 * sysdeps/i386/fpu/dosincos.c: Likewise.
72654 * sysdeps/i386/fpu/mpa.c: Likewise.
72655 * sysdeps/i386/fpu/s_cos.S: Likewise.
72656 * sysdeps/i386/fpu/s_sin.S: Likewise.
72657 * sysdeps/i386/fpu/s_sincos.S: Likewise.
72658 * sysdeps/i386/fpu/sincos32.c: Likewise.
72659
72660 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72661 Define.
72662 (libc_feupdateenv_53bit): Define.
72663 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72664 Define.
72665 (libc_feupdateenv_53bit): Define.
72666
72667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72668 53 bit (without extend i386 double precision).
72669
72670 * math/libm-test.inc (sincos_test): Add tests for large input.
72671 (sin): Likewise.
72672 (cos): Likewise.
72673
72674 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72675
72676 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
72677
72678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72679
72680 2012-03-15 David S. Miller <davem@davemloft.net>
72681
72682 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72683 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72684 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72685 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72698 file.
72699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72701 file.
72702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72704 file.
72705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72707 file.
72708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72710 fmin/fmax sysdep routines.
72711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72712
72713 2012-03-14 David S. Miller <davem@davemloft.net>
72714
72715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72744 routines.
72745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72746 file.
72747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72749 file.
72750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72752 file.
72753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72755 file.
72756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72758 file.
72759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72761 file.
72762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72763 file.
72764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72765 file.
72766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72767 file.
72768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72769 New file.
72770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72771 file.
72772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72773 file.
72774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72776 file.
72777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72779 file.
72780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72782 file.
72783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72785 VIS3 routines.
72786
72787 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72788 New file.
72789
72790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72791
72792 * sysdeps/sparc/configure.in: New file.
72793 * sysdeps/sparc/configure: Generate.
72794 * configure.in (libc_cv_sparc_as_vis3): Substitute.
72795 * configure: Regenerate.
72796 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72797 * config.make.in (have-as-vis3): New.
72798 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72799 available use -Av9d instead of -Av9a.
72800 * sysdeps/sparc/sparc64/Makefile: Likewise.
72801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72803 New file.
72804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72805 file.
72806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72807 New file.
72808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72809 file.
72810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72815
72816 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72817 fzeros/fnegs to load 0x80000000 into a float register instead of
72818 using the stack.
72819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72820
72821 2012-03-14 Joseph Myers <joseph@codesourcery.com>
72822
72823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72824 bits/syscall.h.
72825 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72826 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72827 ($(inst_includedir)/bits/syscall.h): Remove rule.
72828 ($(objpfx)bits/syscall.d): Include instead of
72829 $(objpfx)syscall-list.d.
72830 (generated): Change syscall-list.h and syscall-list.d to
72831 bits/syscall.h and bits/syscall.d.
72832
72833 2012-03-14 Roland McGrath <roland@hack.frob.com>
72834
72835 [BZ #13846]
72836 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72837
72838 2012-03-14 Joseph Myers <joseph@codesourcery.com>
72839
72840 [BZ #13841]
72841 * math/s_csqrt.c: Include <float.h>.
72842 (__csqrt): Scale large or subnormal inputs.
72843 * math/s_csqrtf.c: Likewise.
72844 * math/s_csqrtl.c: Likewise.
72845 * math/libm-test.inc (csqrt_test): Add more tests.
72846 * sysdeps/i386/fpu/libm-test-ulps: Update.
72847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72848
72849 [BZ #13840]
72850 * math/libm-test.inc (hypot_test): Add more tests.
72851
72852 2012-03-13 David S. Miller <davem@davemloft.net>
72853
72854 [BZ #13840]
72855 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72856 double-precision for the calculation instead of scaling.
72857
72858 2012-03-13 Joseph Myers <joseph@codesourcery.com>
72859
72860 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72861 manipulate bits before adding and subtracting TWO52[sx].
72862 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72863 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72864 Likewise.
72865 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72866
72867 2012-03-13 David S. Miller <davem@davemloft.net>
72868
72869 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72870 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72872 rtld-global-offsets.h
72873 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72874
72875 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72876 large parameters.
72877
72878 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72879
72880 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72881 'err' in the ifdef scope in which it is actually used.
72882
72883 * nss/nss_db/db-init.c: Include string.h
72884
72885 2012-03-12 David S. Miller <davem@davemloft.net>
72886
72887 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72888 masking out of the most significant byte of random value used.
72889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72890 Fix coding style in previous change.
72891
72892 * sysdeps/unix/sysv/linux/kernel-features.h
72893 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72894 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72895 expression.
72896 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72897 later.
72898
72899 2012-03-11 David S. Miller <davem@davemloft.net>
72900
72901 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72902 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72904 for 'resultvar' otherwise things get truncated on 64-bit.
72905
72906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72907 Fix masking out of the most significant byte of random value used.
72908
72909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72910
72911 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
72912
72913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72914
72915 2012-03-09 David S. Miller <davem@davemloft.net>
72916
72917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72918 variables with appropriate CPP guards.
72919 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72920 from the frame pointer, not the stack pointer. Correct layout
72921 comments. Fix test on resulting framesize and the management of
72922 the outregs buffer for pltexit. Preserve floating point return
72923 values across _dl_call_pltexit call.
72924 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72925 framesize and the management of the outregs buffer for pltexit.
72926 Preserve floating point return values across _dl_call_pltexit
72927 call.
72928 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72929 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72930 (la_sparc64_gnu_pltexit): New functions.
72931 (print_exit): Fix format string for return register value.
72932
72933 2012-03-10 Joseph Myers <joseph@codesourcery.com>
72934
72935 * sunrpc/Makefile (others): Add rpcgen.
72936 ($(objpfx)rpcgen): Remove special build rule and dependency on
72937 libc.
72938 * sunrpc/rpcgen.c: New file.
72939
72940 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
72941
72942 [BZ #13673]
72943 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72944 * stdio-common/bug-vfprintf-nargs.c: Likewise.
72945 * sysdeps/i386/crti.S: Likewise.
72946 * sysdeps/i386/crtn.S: Likewise.
72947 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72948 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72949 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72950 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72951 * sysdeps/sh/crti.S: Likewise.
72952 * sysdeps/sh/crtn.S: Likewise.
72953 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72954
72955 [BZ #13673]
72956 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72957 with URL.
72958 * locale/programs/locfile-kw.gperf: Likewise.
72959 * locale/programs/charmap-kw.h: Regenerated.
72960 * locale/programs/locfile-kw.h: Likewise.
72961
72962 [BZ #13673]
72963 * intl/plural.y: Replace FSF snail mail address with URL.
72964 * intl/plural.c: Regenerated.
72965
72966 2012-03-09 Richard Henderson <rth@twiddle.net>
72967
72968 * include/math_private.h: Remove file.
72969 * math/math_private.h: Move file ...
72970 * sysdeps/generic/math_private.h: ... here.
72971
72972 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72973 * sysdeps/powerpc/fpu/math_private.h: Likewise.
72974 * sysdeps/x86_64/fpu/math_private.h: Likewise.
72975
72976 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72977 and <math_private.h>.
72978 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72979 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72980 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72981 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72982 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72983 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72989 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72990 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72991 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72992 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73004 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73008 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73010 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73011 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73014 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73015 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73016 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73017 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73018 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73019 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73021 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73022 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73023 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73024 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73025 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73027 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73028 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73029 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73030 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73031 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73032 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73033 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73034 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73035 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73036 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73037 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73039 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73041 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73042 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73043 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73044 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73045 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73046 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73047 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73048 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73052 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73054 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73058 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73059 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73062 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73064 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73065 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73066 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73067 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73068 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73069 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73070 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73072 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73073 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73074 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73075 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73076 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73077 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73078 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73079 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73080 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73081 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73082 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73083 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73084 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73085 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73086 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73088 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73089 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73090 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73091 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73092 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73093 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73094 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73095 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73096 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73097 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73098 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73099 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73100 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73101 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73102 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73103 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73104 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73105 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73106 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73107 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73108 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73109 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73110 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73111 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73112 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73113 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73114 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73115 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73116 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73117 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73118 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73120 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73121 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73122 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73123 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73124 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73125 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73126 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73127 * sysdeps/ieee754/k_standard.c: Likewise.
73128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73135 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73136 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73137 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73140 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73141 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73142 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73143 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73144 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73147 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73148 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73149 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73150 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73151 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73152 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73153 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73158 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73159 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73160 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73161 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73162 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73163 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73164 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73166 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73167 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73168 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73169 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73170 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73171 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73172 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73173 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73174 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73179 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73180 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73181 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73182 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73183 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73184 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73185 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73186 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73188 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73189 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73190 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73199 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73200 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73205 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73207 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73208 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73209 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73213 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73216 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73218 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73219 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73220 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73221 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73222 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73223 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73224 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73225 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73226 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73227 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73229 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73232 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73235 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73236 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73237 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73238 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73239 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73240 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73241 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73242 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73243 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73244 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73245 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73247 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73249 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73250 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73251 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73253 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73254 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73255 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73256 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73257 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73258 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73259 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73260 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73261 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73262 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73263 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73264 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73265 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73266 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73267 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73268 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73269 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73270 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73271 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73272 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73273 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73274 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73275 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73276 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73277 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73278 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73279 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73280 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73281 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73282 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73283 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73284 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73285 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73287 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73288 * sysdeps/ieee754/s_lib_version.c: Likewise.
73289 * sysdeps/ieee754/s_matherr.c: Likewise.
73290 * sysdeps/ieee754/s_signgam.c: Likewise.
73291 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73293 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73294 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73295 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73296 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73297 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73298 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73299 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73300 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73301 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73302 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73303 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73304 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73305 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73306 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73307 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73308 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73309 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73312
73313 2012-03-09 Joseph Myers <joseph@codesourcery.com>
73314
73315 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73316 * sunrpc/rpc_main.c: Likewise.
73317 * sunrpc/rpc_svcout.c: Likewise.
73318
73319 2012-03-09 David S. Miller <davem@davemloft.net>
73320
73321 * include/math_private.h: New file.
73322
73323 2012-03-09 Joseph Myers <joseph@codesourcery.com>
73324
73325 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73326 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73327 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73328 from <bits/socket_type.h>.
73329 (enum __socket_type): Don't define here.
73330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73332 bits/socket_type.h.
73333
73334 [BZ #13566]
73335 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73336 checking __USE_GNU.
73337
73338 * Makerules ($(inst_includedir)/%.h): New rule.
73339 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73340 (install-others): Remove variable setting.
73341 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73342
73343 2012-03-08 Richard Henderson <rth@twiddle.net>
73344
73345 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73346 from macro to inline function; merge with the
73347 !__LIBC_INTERNAL_MATH_INLINES version.
73348 (__ieee754_sqrtf): Likewise.
73349
73350 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73351 to inline function.
73352 (__rintf, __floor, __floorf): Likewise.
73353
73354 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73355 macro to inline function.
73356 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73357
73358 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73359 not <math/math_private.h>.
73360
73361 2012-03-08 David S. Miller <davem@davemloft.net>
73362
73363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73364 copyright year.
73365 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73366
73367 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
73368
73369 * resolv/gai_misc.c (handle_requests): Fix struct timespec
73370 normalization.
73371 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73372 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73373
73374 2012-03-08 Ulrich Drepper <drepper@gmail.com>
73375
73376 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
73377 be defined individually, they must be defined as a block. Define
73378 S for printing a string instead of hidint the different by using a
73379 macro for adding the 'l'.
73380 * stdio-common/tst-fphex-wide.c: Adjust.
73381
73382 2012-03-07 Marek Polacek <polacek@redhat.com>
73383
73384 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73385
73386 2012-03-08 Marek Polacek <polacek@redhat.com>
73387
73388 [BZ #13806]
73389 * stdio-common/Makefile (tests): Add tst-fphex-wide.
73390 * stdio-common/tst-fphex.c: Define a few macros to make the
73391 test reusable. Use them.
73392 * stdio-common/tst-fphex-wide.c: New file.
73393
73394 2012-03-08 Joseph Myers <joseph@codesourcery.com>
73395
73396 [BZ #6911]
73397 * manual/macros.texi (gnusystems): New macro.
73398 (nongnusystems): Likewise.
73399 (gnulinuxhurdsystems): Likewise.
73400 (gnuhurdsystems): Likewise..
73401 (gnulinuxsystems): Likewise.
73402 * manual/charset.texi: Use new macros or @theglibc{} to refer to
73403 variants of the GNU system, not "GNU system".
73404 * manual/conf.texi: Likewise.
73405 * manual/errno.texi: Likewise. Update example of errno macro
73406 expansion.
73407 * manual/filesys.texi: Likewise.
73408 (getumask): Document as specific to GNU/Hurd.
73409 * manual/install.texi: Likewise. Reword some references to
73410 GNU/Linux.
73411 * manual/intro.texi: Likewise.
73412 * manual/io.texi: Likewise.
73413 (File Name Portability): Detail which constraints are inapplicable
73414 to all GNU systems and which are only inapplicable to GNU/Hurd.
73415 * manual/job.texi: Likewise.
73416 * manual/llio.texi: Likewise.
73417 (O_NOCTTY): Document as present on GNU/Linux.
73418 * manual/maint.texi: Likewise.
73419 * manual/memory.texi: Likewise.
73420 * manual/pattern.texi: Likewise.
73421 * manual/pipe.texi: Likewise.
73422 * manual/process.texi: Likewise.
73423 * manual/resource.texi: Likewise.
73424 (RUSAGE_CHILDREN): Remove statement about specifying a particular
73425 child on GNU/Hurd.
73426 * manual/setjmp.texi: Likewise.
73427 * manual/signal.texi: Likewise.
73428 * manual/startup.texi: Likewise.
73429 * manual/stdio.texi: Likewise.
73430 * manual/terminal.texi: Likewise.
73431 (ONLCR): Document as POSIX.
73432 (OXTABS): Document availability on GNU/Linux as XTABS.
73433 (ONOEOT): Document availability separately from other bits.
73434 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73435 * manual/time.texi: Likewise.
73436 * manual/users.texi: Likewise.
73437 * INSTALL: Regenerated.
73438 * sysdeps/gnu/errlist.c: Regenerated.
73439
73440 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73441 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73442 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
73443 puts.
73444 * configure: Regenerated.
73445
73446 2012-03-07 Joseph Myers <joseph@codesourcery.com>
73447
73448 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73449 default includes instead of AC_HEADER_CHECK.
73450 * sysdeps/i386/configure: Regenerated.
73451
73452 [BZ #10716]
73453 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73454 * math/s_cacoshf.c (__cacoshf): Likewise.
73455 * math/s_cacoshl.c (__cacoshl): Likewise.
73456 * math/s_casinh.c (__casinh): Set signs of result from argument.
73457 * math/s_casinhf.c (__casinhf): Likewise.
73458 * math/s_casinhl.c (__casinhl): Likewise.
73459 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73460 (casinh_test): Add more tests.
73461 * sysdeps/i386/fpu/libm-test-ulps: Update.
73462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73463
73464 2012-03-07 Ulrich Drepper <drepper@gmail.com>
73465
73466 * po/zh_TW.po: Update from translation team.
73467
73468 * login/Makefile (distribute): Remove variable.
73469 * catgets/Makefile: Likewise.
73470 * mach/Makefile: Likewise.
73471 * malloc/Makefile: Likewise.
73472 * misc/Makefile: Likewise.
73473 * iconv/Makefile: Likewise.
73474 * nscd/Makefile: Likewise.
73475 * hurd/Makefile: Likewise.
73476 * manual/Makefile: Likewise.
73477 * locale/Makefile: Likewise.
73478 * intl/Makefile: Likewise.
73479 * conform/Makefile: Likewise.
73480 * nss/Makefile: Likewise.
73481 * time/Makefile: Likewise.
73482 * soft-fp/Makefile: Likewise.
73483 * dirent/Makefile: Likewise.
73484 * gmon/Makefile: Likewise.
73485 * po/Makefile: Likewise.
73486 * rt/Makefile: Likewise.
73487 * socket/Makefile: Likewise.
73488 * math/Makefile: Likewise.
73489 * signal/Makefile: Likewise.
73490 * debug/Makefile: Likewise.
73491 * elf/Makefile: Likewise.
73492 * timezone/Makefile: Likewise.
73493 * stdlib/Makefile: Likewise.
73494 * iconvdata/Makefile: Likewise.
73495 * sunrpc/Makefile: Likewise.
73496 * io/Makefile: Likewise.
73497 * argp/Makefile: Likewise.
73498 * inet/Makefile: Likewise.
73499 * hesiod/Makefile: Likewise.
73500 * grp/Makefile: Likewise.
73501 * csu/Makefile: Likewise.
73502 * wctype/Makefile: Likewise.
73503 * crypt/Makefile: Likewise.
73504 * libio/Makefile: Likewise.
73505 * string/Makefile: Likewise.
73506 * nis/Makefile: Likewise.
73507 * resolv/Makefile: Likewise.
73508 * stdio-common/Makefile: Likewise.
73509 * wcsmbs/Makefile: Likewise.
73510 * dlfcn/Makefile: Likewise.
73511 * posix/Makefile: Likewise.
73512
73513 [BZ #6959]
73514 * timezone/Makefile: Don't install timezone files, just the programs
73515 and scripts.
73516
73517 2012-03-06 Ulrich Drepper <drepper@gmail.com>
73518
73519 * nss/databases.def: Add missing gshadow entry.
73520
73521 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
73522
73523 2012-03-06 Marek Polacek <polacek@redhat.com>
73524
73525 [BZ #13726]
73526 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73527 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73528 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73529 * stdio-common/tst-long-dbl-fphex.c: New file.
73530
73531 2012-03-06 David S. Miller <davem@davemloft.net>
73532
73533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73534 (set_obp_int): New function.
73535 (get_obp_int): New function.
73536 (__get_clockfreq_via_dev_openprom): Likewise.
73537 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73538 Avoid unused variable warnings on 'val' and use builtin_expect.
73539 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73540 __builtin_expect.
73541 (INLINE_CLONE_SYSCALL): Likewise.
73542
73543 2012-03-05 David S. Miller <davem@davemloft.net>
73544
73545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73546
73547 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
73548
73549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73550
73551 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73552 only for |x| >= 40.
73553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73554
73555 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
73556
73557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73558 Replace gettimeofday with __vdso_gettimeofday.
73559
73560 * sysdeps/unix/sysv/linux/x86_64/init-first.c
73561 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73562 __vdso_clock_gettime and __vdso_getcpu.
73563
73564 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73565 time with __vdso_time.
73566
73567 2012-03-05 Joseph Myers <joseph@codesourcery.com>
73568
73569 * manual/lang.texi (size_t): Note types to which size_t may be
73570 equivalent with the GNU C Library, but do not describe when
73571 differences between them are significant.
73572
73573 2012-03-05 Andreas Jaeger <aj@suse.de>
73574
73575 * sysdeps/i386/fpu/libm-test-ulps: Update.
73576
73577 2012-03-05 Joseph Myers <joseph@codesourcery.com>
73578
73579 [BZ #3976]
73580 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73581 (__ieee754_pow): Save and restore rounding mode and use
73582 round-to-nearest for main computations.
73583 * math/libm-test.inc (pow_test_tonearest): New function.
73584 (pow_test_towardzero): Likewise.
73585 (pow_test_downward): Likewise.
73586 (pow_test_upward): Likewise.
73587 (main): Call the new functions.
73588 * sysdeps/i386/fpu/libm-test-ulps: Update.
73589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73590
73591 [BZ #3976]
73592 * math/libm-test.inc (cosh_test_tonearest): New function.
73593 (cosh_test_towardzero): Likewise.
73594 (cosh_test_downward): Likewise.
73595 (cosh_test_upward): Likewise.
73596 (sinh_test_tonearest): Likewise.
73597 (sinh_test_towardzero): Likewise.
73598 (sinh_test_downward): Likewise.
73599 (sinh_test_upward): Likewise.
73600 (main): Call the new functions.
73601 * sysdeps/i386/fpu/libm-test-ulps: Update.
73602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73603
73604 2012-03-05 Tom de Vries <tom@codesourcery.com>
73605
73606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73607 default stack guard is set in last bytes.
73608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73609
73610 2012-03-05 Kees Cook <keescook@chromium.org>
73611
73612 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73613
73614 [BZ #13656]
73615 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73616 possibly allocate from heap instead of stack.
73617 * stdio-common/bug-vfprintf-nargs.c: New file.
73618 * stdio-common/Makefile (tests): Add nargs overflow test.
73619
73620 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
73621
73622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73623
73624 2012-03-03 Marek Polacek <polacek@redhat.com>
73625
73626 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73627 * math/math_private.h: Likewise.
73628 * stdlib/tst-strtod.c: Likewise.
73629 * sysdeps/i386/i486/bits/atomic.h: Likewise.
73630 * sysdeps/x86_64/bits/atomic.h: Likewise.
73631
73632 2012-03-02 David S. Miller <davem@davemloft.net>
73633
73634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73638 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73639 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73640 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73641 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73642
73643 2012-03-02 Roland McGrath <roland@hack.frob.com>
73644
73645 [BZ #13792]
73646 * manual/examples/README: New file, says the example source files
73647 can be used under GPL>=2.
73648 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73649 line containing just "*/".
73650 * manual/examples/add.c: Add copyright header (GPL>=2).
73651 * manual/examples/argp-ex1.c: Likewise.
73652 * manual/examples/argp-ex2.c: Likewise.
73653 * manual/examples/argp-ex3.c: Likewise.
73654 * manual/examples/argp-ex4.c: Likewise.
73655 * manual/examples/atexit.c: Likewise.
73656 * manual/examples/db.c: Likewise.
73657 * manual/examples/dir.c: Likewise.
73658 * manual/examples/dir2.c: Likewise.
73659 * manual/examples/execinfo.c: Likewise.
73660 * manual/examples/filecli.c: Likewise.
73661 * manual/examples/filesrv.c: Likewise.
73662 * manual/examples/fmtmsgexpl.c: Likewise.
73663 * manual/examples/genpass.c: Likewise.
73664 * manual/examples/inetcli.c: Likewise.
73665 * manual/examples/inetsrv.c: Likewise.
73666 * manual/examples/isockad.c: Likewise.
73667 * manual/examples/longopt.c: Likewise.
73668 * manual/examples/memopen.c: Likewise.
73669 * manual/examples/memstrm.c: Likewise.
73670 * manual/examples/mkfsock.c: Likewise.
73671 * manual/examples/mkisock.c: Likewise.
73672 * manual/examples/mygetpass.c: Likewise.
73673 * manual/examples/pipe.c: Likewise.
73674 * manual/examples/popen.c: Likewise.
73675 * manual/examples/rprintf.c: Likewise.
73676 * manual/examples/search.c: Likewise.
73677 * manual/examples/select.c: Likewise.
73678 * manual/examples/setjmp.c: Likewise.
73679 * manual/examples/sigh1.c: Likewise.
73680 * manual/examples/sigusr.c: Likewise.
73681 * manual/examples/stpcpy.c: Likewise.
73682 * manual/examples/strdupa.c: Likewise.
73683 * manual/examples/strftim.c: Likewise.
73684 * manual/examples/strncat.c: Likewise.
73685 * manual/examples/subopt.c: Likewise.
73686 * manual/examples/swapcontext.c: Likewise.
73687 * manual/examples/termios.c: Likewise.
73688 * manual/examples/testopt.c: Likewise.
73689 * manual/examples/testpass.c: Likewise.
73690 * manual/examples/timeval_subtract.c: Likewise.
73691
73692 [BZ #13792]
73693 * manual/time.texi (Elapsed Time): Move timeval_subtract example
73694 function to ...
73695 * manual/timeval_subtract.c.texi: ... here, new file.
73696
73697 2012-03-02 David S. Miller <davem@davemloft.net>
73698
73699 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73700
73701 2012-03-02 Joseph Myers <joseph@codesourcery.com>
73702
73703 [BZ #3976]
73704 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73705 (__sin): Save and restore rounding mode and use round-to-nearest
73706 for all computations.
73707 (__cos): Save and restore rounding mode and use round-to-nearest
73708 for all computations.
73709 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73710 <fenv.h>.
73711 (tan): Save and restore rounding mode and use round-to-nearest for
73712 all computations.
73713 * math/libm-test.inc (cos_test_tonearest): New function.
73714 (cos_test_towardzero): Likewise.
73715 (cos_test_downward): Likewise.
73716 (cos_test_upward): Likewise.
73717 (sin_test_tonearest): Likewise.
73718 (sin_test_towardzero): Likewise.
73719 (sin_test_downward): Likewise.
73720 (sin_test_upward): Likewise.
73721 (tan_test_tonearest): Likewise.
73722 (tan_test_towardzero): Likewise.
73723 (tan_test_downward): Likewise.
73724 (tan_test_upward): Likewise.
73725 (main): Call the new functions.
73726 * sysdeps/i386/fpu/libm-test-ulps: Update.
73727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73728
73729 [BZ #10135]
73730 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73731 small n, then large n, before computing and testing k+n.
73732 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73734 Likewise.
73735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73736 Likewise.
73737 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73738 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73743 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73745 * math/libm-test.inc (scalbn_test): Add more tests.
73746 (scalbln_test): Likewise.
73747
73748 * manual/filesys.texi (mode_t): Describe constraints on size and
73749 signedness, not exact equivalence to a particular type.
73750 (ino_t): Likewise.
73751 (ino64_t): Likewise.
73752 (dev_t): Likewise.
73753 (nlink_t): Likewise.
73754 (blkcnt_t): Likewise.
73755 (blkcnt64_t): Likewise.
73756 * manual/llio.texi (off_t): Likewise.
73757
73758 [BZ #3976]
73759 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73760 (__ieee754_exp): Save and restore rounding mode and use
73761 round-to-nearest for all computations.
73762 * math/libm-test.inc (exp_test_tonearest): New function.
73763 (exp_test_towardzero): Likewise.
73764 (exp_test_downward): Likewise.
73765 (exp_test_upward): Likewise.
73766 (main): Call the new functions.
73767 * sysdeps/i386/fpu/libm-test-ulps: Update.
73768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73769
73770 2012-03-01 Chris Demetriou <cgd@google.com>
73771
73772 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73773 have predictable order.
73774
73775 2012-03-01 David S. Miller <davem@davemloft.net>
73776
73777 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73778
73779 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73780 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73781 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73782 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73783
73784 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73785 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73786 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73788 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73789 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73790 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73791 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73792 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73793
73794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73795
73796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73797 * sysdeps/sparc/fpu/libm-test-ulps: to here.
73798 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73799
73800 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73801 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73802 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73803 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73804 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73805 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73806 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73807 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73808 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73809 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73810 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73813 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73814 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73816 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73817 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73818 * sysdeps/sparc/elf/configure: Regenerated.
73819
73820 2012-03-01 Joseph Myers <joseph@codesourcery.com>
73821
73822 * configure.in (AS, LD): Require binutils 2.20 or later.
73823 * configure: Regenerated.
73824 * manual/install.texi (Tools for Compilation): Give binutils 2.20
73825 as required minimum version.
73826 * INSTALL: Regenerated.
73827
73828 [BZ #2541]
73829 [BZ #4108]
73830 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73831 before squaring exponent.
73832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73833 bottom long double and 27 bits of top long double before squaring
73834 exponent.
73835 * math/libm-test.inc (erfc_test): Add more tests.
73836 * sysdeps/i386/fpu/libm-test-ulps: Update.
73837 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73839
73840 2012-03-01 Kai Tietz <ktietz@redhat.com>
73841
73842 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73843 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73844 containing bit-fields.
73845 * soft-fp/extended.h (_FP_UNION_E): Likewise.
73846 * soft-fp/single.h (_FP_UNION_S): Likewise.
73847 * soft-fp/double.h (_FP_UNION_D): Likewise.
73848
73849 2012-02-29 Joseph Myers <joseph@codesourcery.com>
73850
73851 [BZ #13786]
73852 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73853 not include ../strcmp.S.
73854 [USE_AS_STRNCASECMP_L]: Likewise.
73855 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73856 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73857 * sysdeps/i386/i686/multiarch/strncase_l-c.c
73858 (__strncasecmp_l_ia32): Define as alias to
73859 __strncasecmp_l_nonascii.
73860
73861 [BZ #5794]
73862 * math/libm-test.inc (expm1_test): Add test for bug 5794.
73863 * sysdeps/i386/fpu/libm-test-ulps: Update.
73864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73865
73866 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73868
73869 2012-02-29 Jeff Law <law@redhat.com>
73870
73871 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73872 out of bounds read.
73873
73874 2012-02-29 Marek Polacek <polacek@redhat.com>
73875
73876 [BZ #13706]
73877 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73878 * elf/Makefile: Add rules to run tst-unused-dep.out.
73879
73880 2012-02-28 David S. Miller <davem@davemloft.net>
73881
73882 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73883 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73884 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73885 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73886 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73887 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73888
73889 2012-02-29 Joseph Myers <joseph@codesourcery.com>
73890
73891 * math/libm-test.inc (llround_test): Move one test from
73892 lround_test. Use TEST_f_L in moved test.
73893 (lround_test): Move misplaced test to llround_test. Add testcase
73894 from bug 2561.
73895
73896 2012-02-28 Ulrich Drepper <drepper@gmail.com>
73897
73898 * sysdeps/x86_64/fpu/e_expf.S: New file.
73899 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73900
73901 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
73902
73903 [BZ #13637]
73904 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73905 of remain_len that may cause incomplete multi-byte character and
73906 false match.
73907 * posix/bug-regex33.c: New file.
73908 * posix/Makefile (tests): Add bug-regex33.
73909
73910 2012-02-28 Joseph Myers <joseph@codesourcery.com>
73911
73912 * manual/macros.texi: New file.
73913 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73914 * manual/libc.texinfo: Include macros.texi.
73915 * manual/creatute.texi: Likewise.
73916 * manual/install.texi: Likewise.
73917 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73918 @glibcadj{} in references to the GNU C Library.
73919 * manual/charset.texi: Likewise.
73920 * manual/conf.texi: Likewise.
73921 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
73922 when not using those macros.
73923 * manual/creature.texi: Likewise.
73924 * manual/crypt.texi: Likewise.
73925 * manual/errno.texi: Likewise.
73926 * manual/filesys.texi: Likewise.
73927 * manual/header.texi: Likewise.
73928 * manual/install.texi: Likewise.
73929 * manual/intro.texi: Likewise.
73930 * manual/io.texi: Likewise.
73931 * manual/job.texi: Likewise.
73932 * manual/lang.texi: Likewise.
73933 * manual/libc.texiinfo: Likewise.
73934 * manual/llio.texi: Likewise.
73935 * manual/locale.texi: Likewise.
73936 * manual/maint.texi: Likewise.
73937 * manual/math.texi: Likewise.
73938 * manual/memory.texi: Likewise.
73939 * manual/message.texi: Likewise.
73940 * manual/nss.texi: Likewise.
73941 * manual/pattern.texi: Likewise.
73942 * manual/process.texi: Likewise.
73943 * manual/resource.texi: Likewise.
73944 * manual/search.texi: Likewise.
73945 * manual/setjmp.texi: Likewise.
73946 * manual/signal.texi: Likewise.
73947 * manual/socket.texi: Likewise.
73948 * manual/startup.texi: Likewise.
73949 * manual/stdio.texi: Likewise.
73950 * manual/string.texi: Likewise.
73951 * manual/sysinfo.texi: Likewise.
73952 * manual/syslog.texi: Likewise.
73953 * manual/terminal.texi: Likewise.
73954 * manual/time.texi: Likewise.
73955 * manual/users.texi: Likewise.
73956 * INSTALL: Regenerated.
73957 * NOTES: Regenerated.
73958 * sysdeps/gnu/errlist.c: Regenerated.
73959
73960 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
73961
73962 * include/dirent.h: Include <dirstream.h> before
73963 <dirent/dirent.h>.
73964
73965 2012-02-28 David S. Miller <davem@davemloft.net>
73966
73967 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73968 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73969 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73970 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73971
73972 2012-02-27 David S. Miller <davem@davemloft.net>
73973
73974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73976 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73977 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73978
73979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73980 frame pointer instead of stack pointer relative arg slot.
73981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73982 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73983 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73984
73985 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
73986
73987 [BZ #3992]
73988 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73989
73990 2012-02-27 David S. Miller <davem@davemloft.net>
73991
73992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73996 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73997 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73998 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73999 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74000
74001 2012-02-27 Joseph Myers <joseph@codesourcery.com>
74002
74003 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74004 later. Allow versions 5-9.
74005 * configure: Regenerated.
74006 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74007 required minimum version and 4.6 as recommended version. Do not
74008 mention bugs in GCC 2.7 and 2.8.
74009 * INSTALL: Regenerated.
74010
74011 2012-02-27 David S. Miller <davem@davemloft.net>
74012
74013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74019 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74021
74022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74023 manipulate bits before adding and subtracting TWO112[sx].
74024 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74025
74026 2012-02-27 Roland McGrath <roland@hack.frob.com>
74027
74028 [BZ #13775]
74029 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74030 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74031 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74032 being in POSIX, because they are in 1003.1-2008.
74033
74034 * rt/tst-aio.c: Include <fcntl.h>.
74035 * rt/tst-aio7.c: Likewise.
74036 * rt/tst-aio64.c: Likewise.
74037
74038 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74039
74040 2012-02-27 Joseph Myers <joseph@codesourcery.com>
74041
74042 * manual/install.texi (--with-headers): Describe headers as
74043 interface headers, not private headers.
74044 (Specific advice for GNU/Linux systems): Describe use of headers
74045 from "make headers_install", not private headers from older
74046 kernels.
74047 * INSTALL: Regenerated.
74048 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74049 Change to 2.6.19.
74050 * sysdeps/unix/sysv/linux/configure: Regenerated.
74051
74052 * manual/llio.texi (fclean): Remove documentation.
74053
74054 * manual/Makefile (libc-texi-generated): New variable. Include
74055 version.texi.
74056 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74057 $(libc-texi-generated), not duplicated list of files.
74058 (version.texi, stamp-version): New rules.
74059 (realclean): Remove $(libc-texi-generated), not individual files
74060 from that list. Do not remove dir-add.texinfo.
74061 * manual/libc.texinfo: Comment out uses of edition numbers and
74062 references to printed manual. Remove last-updated dates.
74063 (EDITION): Comment out.
74064 (ISBN): Likewise.
74065 (VERSION, UPDATED): Remove.
74066 (version.texi): Include.
74067
74068 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
74069
74070 * sysdeps/posix/spawni.c: Include <signal.h>.
74071 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74072 * sysdeps/pthread/aio_fsync.c: Likewise.
74073
74074 2012-02-26 Ulrich Drepper <drepper@gmail.com>
74075
74076 * conform/Makefile (tests): Run only when not cross-compiling and
74077 when fast-check is not defined.
74078
74079 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74080 * conform/data/limits.h-data: Fixes for POSIX2008.
74081 * conform/run-conformtest.sh: Run all tests.
74082 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74083 headers.
74084 * include/bits/dlfcn.h: Likewise.
74085 * include/langinfo.h: Likewise.
74086 * include/monetary.h: Likewise.
74087 * include/sys/poll.h: Likewise.
74088
74089 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74090 for __USE_GNU.
74091 * posix/spawn.h: Define __need_sigset_t.
74092 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74093 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74094 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
74095 to get sigevent_t only.
74096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74097 only for __USE_GNU.
74098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74099 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74100 process_vm_writev only for __USE_GNU.
74101 * termios/termios.h: Declare tcgetsid also for POSIX2008.
74102
74103 * conform/Makefile: For now ignore errors from run-conformtest.
74104 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
74105 POSIX to avoid namespace pollution. Don't prepend headers.
74106 * conform/data/aio.h-data: Fixes for POSIX testing.
74107 * conform/data/fcntl.h-data: Likewise.
74108 * conform/data/glob.h-data: Likewise.
74109 * conform/data/grp.h-data: Likewise.
74110 * conform/data/pthread.h-data: Likewise.
74111 * conform/data/pwd.h-data: Likewise.
74112 * conform/data/signal.h-data: Likewise.
74113 * conform/data/spawn.h-data: Likewise.
74114 * conform/data/stdio.h-data: Likewise.
74115 * conform/data/stdlib.h-data: Likewise.
74116 * conform/data/stropts.h-data: Likewise.
74117 * conform/data/sys/mman.h-data: Likewise.
74118 * conform/data/sys/stat.h-data: Likewise.
74119 * conform/data/sys/types.h-data: Likewise.
74120 * conform/data/sys/wait.h-data: Likewise.
74121 * conform/data/time.h-data: Likewise.
74122 * conform/data/unistd.h-data: Likewise.
74123 * conform/data/utime.h-data: Likewise.
74124
74125 * io/sys/stat.h: fchmod was always in POSIX.
74126 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74127 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74128 * rt/aio.h: Define __need_timespec before including <time.h>.
74129 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74130 struct. Add forward declaration of pthread_attr_t and use it in
74131 sigevent.
74132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74134 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74135 always remove CLK_TCK definition.
74136
74137 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
74138
74139 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74140
74141 2012-02-25 Ulrich Drepper <drepper@gmail.com>
74142
74143 * conform/run-conformtest.sh: New file.
74144 * conform/Makefile: Run run-conformtest for tests.
74145 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
74146 support.
74147
74148 * conform/data/uchar.h-data: New file.
74149 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74150 * conform/data/arpa/inet.h-data: Likewise.
74151 * conform/data/assert.h-data: Likewise.
74152 * conform/data/complex.h-data: Likewise.
74153 * conform/data/cpio.h-data: Likewise.
74154 * conform/data/ctype.h-data: Likewise.
74155 * conform/data/dirent.h-data: Likewise.
74156 * conform/data/dlfcn.h-data: Likewise.
74157 * conform/data/errno.h-data: Likewise.
74158 * conform/data/fcntl.h-data: Likewise.
74159 * conform/data/float.h-data: Likewise.
74160 * conform/data/fmtmsg.h-data: Likewise.
74161 * conform/data/fnmatch.h-data: Likewise.
74162 * conform/data/ftw.h-data: Likewise.
74163 * conform/data/glob.h-data: Likewise.
74164 * conform/data/grp.h-data: Likewise.
74165 * conform/data/iconv.h-data: Likewise.
74166 * conform/data/inttypes.h-data: Likewise.
74167 * conform/data/langinfo.h-data: Likewise.
74168 * conform/data/libgen.h-data: Likewise.
74169 * conform/data/limits.h-data: Likewise.
74170 * conform/data/locale.h-data: Likewise.
74171 * conform/data/math.h-data: Likewise.
74172 * conform/data/monetary.h-data: Likewise.
74173 * conform/data/mqueue.h-data: Likewise.
74174 * conform/data/ndbm.h-data: Likewise.
74175 * conform/data/net/if.h-data: Likewise.
74176 * conform/data/netdb.h-data: Likewise.
74177 * conform/data/netinet/in.h-data: Likewise.
74178 * conform/data/nl_types.h-data: Likewise.
74179 * conform/data/poll.h-data: Likewise.
74180 * conform/data/pthread.h-data: Likewise.
74181 * conform/data/pwd.h-data: Likewise.
74182 * conform/data/regex.h-data: Likewise.
74183 * conform/data/sched.h-data: Likewise.
74184 * conform/data/search.h-data: Likewise.
74185 * conform/data/semaphore.h-data: Likewise.
74186 * conform/data/setjmp.h-data: Likewise.
74187 * conform/data/signal.h-data: Likewise.
74188 * conform/data/spawn.h-data: Likewise.
74189 * conform/data/stdarg.h-data: Likewise.
74190 * conform/data/stdio.h-data: Likewise.
74191 * conform/data/stdlib.h-data: Likewise.
74192 * conform/data/string.h-data: Likewise.
74193 * conform/data/strings.h-data: Likewise.
74194 * conform/data/stropts.h-data: Likewise.
74195 * conform/data/sys/ipc.h-data: Likewise.
74196 * conform/data/sys/mman.h-data: Likewise.
74197 * conform/data/sys/msg.h-data: Likewise.
74198 * conform/data/sys/resource.h-data: Likewise.
74199 * conform/data/sys/select.h-data: Likewise.
74200 * conform/data/sys/sem.h-data: Likewise.
74201 * conform/data/sys/shm.h-data: Likewise.
74202 * conform/data/sys/socket.h-data: Likewise.
74203 * conform/data/sys/stat.h-data: Likewise.
74204 * conform/data/sys/statvfs.h-data: Likewise.
74205 * conform/data/sys/time.h-data: Likewise.
74206 * conform/data/sys/timeb.h-data: Likewise.
74207 * conform/data/sys/times.h-data: Likewise.
74208 * conform/data/sys/types.h-data: Likewise.
74209 * conform/data/sys/uio.h-data: Likewise.
74210 * conform/data/sys/un.h-data: Likewise.
74211 * conform/data/sys/utsname.h-data: Likewise.
74212 * conform/data/sys/wait.h-data: Likewise.
74213 * conform/data/syslog.h-data: Likewise.
74214 * conform/data/tar.h-data: Likewise.
74215 * conform/data/termios.h-data: Likewise.
74216 * conform/data/utime.h-data: Likewise.
74217 * conform/data/utmpx.h-data: Likewise.
74218 * conform/data/varargs.h-data: Likewise.
74219 * conform/data/wchar.h-data: Likewise.
74220 * conform/data/wctype.h-data: Likewise.
74221 * conform/data/wordexp.h-data: Likewise.
74222
74223 * include/stropts.h: New file.
74224 * include/uchar.h: New file.
74225 * include/aio.h: Changes to allow conformtest.pl to use the headers.
74226 * include/assert.h: Likewise.
74227 * include/ctype.h: Likewise.
74228 * include/dirent.h: Likewise.
74229 * include/dlfcn.h: Likewise.
74230 * include/fcntl.h: Likewise.
74231 * include/fnmatch.h: Likewise.
74232 * include/glob.h: Likewise.
74233 * include/grp.h: Likewise.
74234 * include/libio.h: Likewise.
74235 * include/locale.h: Likewise.
74236 * include/math.h: Likewise.
74237 * include/net/if.h: Likewise.
74238 * include/netdb.h: Likewise.
74239 * include/netinet/in.h: Likewise.
74240 * include/pthread.h: Likewise.
74241 * include/pwd.h: Likewise.
74242 * include/regex.h: Likewise.
74243 * include/sched.h: Likewise.
74244 * include/search.h: Likewise.
74245 * include/setjmp.h: Likewise.
74246 * include/signal.h: Likewise.
74247 * include/stdio.h: Likewise.
74248 * include/stdlib.h: Likewise.
74249 * include/string.h: Likewise.
74250 * include/sys/cdefs.h: Likewise.
74251 * include/sys/mman.h: Likewise.
74252 * include/sys/msg.h: Likewise.
74253 * include/sys/resource.h: Likewise.
74254 * include/sys/select.h: Likewise.
74255 * include/sys/socket.h: Likewise.
74256 * include/sys/stat.h: Likewise.
74257 * include/sys/statvfs.h: Likewise.
74258 * include/sys/time.h: Likewise.
74259 * include/sys/times.h: Likewise.
74260 * include/sys/uio.h: Likewise.
74261 * include/sys/utsname.h: Likewise.
74262 * include/sys/wait.h: Likewise.
74263 * include/termios.h: Likewise.
74264 * include/time.h: Likewise.
74265 * include/ulimit.h: Likewise.
74266 * include/unistd.h: Likewise.
74267 * include/utime.h: Likewise.
74268 * include/wchar.h: Likewise.
74269 * include/wctype.h: Likewise.
74270 * include/wordexp.h: Likewise.
74271
74272 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74273
74274 * time/time.h: TIME_UTC must be a macro.
74275 Make timespec_get available for ISO C11 only as well.
74276
74277 2012-02-24 Ulrich Drepper <drepper@gmail.com>
74278
74279 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74280 Reported by Peng Haitao <penght@cn.fujitsu.com>.
74281
74282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
74283
74284 * configure.in: Use -o not -a in test for unsupported multi-arch.
74285
74286 2012-02-24 Joseph Myers <joseph@codesourcery.com>
74287
74288 * manual/texinfo.tex: Update to version 2012-01-19.16.
74289
74290 2012-02-24 Joseph Myers <joseph@codesourcery.com>
74291
74292 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74293
74294 2012-02-24 Roland McGrath <roland@hack.frob.com>
74295
74296 [BZ #13738]
74297 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74298 * manual/fdl-1.3.texi: New file.
74299 * manual/fdl-1.1.texi: File removed.
74300
74301 [BZ #13738]
74302 * manual/libc.texinfo (FDL_VERSION): New @set.
74303 Use it for mention of FDL in cover text.
74304 (Documentation License): Use it in @include file name.
74305
74306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
74307 Roland McGrath <roland@hack.frob.com>
74308
74309 [BZ #5461]
74310 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74311 (not LONG_LONG_MAX and LONG_LONG_MIN.
74312 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74313 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
74314 name.
74315 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74316
74317 2012-02-22 Joseph Myers <joseph@codesourcery.com>
74318
74319 [BZ #2547]
74320 [BZ #11365]
74321 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74322 manipulate bits before adding and subtracting TWO23[sx].
74323 * math/libm-test.inc (nearbyint_test): Add more tests.
74324
74325 2012-02-22 Joseph Myers <joseph@codesourcery.com>
74326
74327 [BZ #2548]
74328 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74329 bits before adding and subtracting TWO23[sx].
74330 * math/libm-test.inc (rint_test): Add more tests.
74331 (rint_test_tonearest): Likewise.
74332 (rint_test_towardzero): Likewise.
74333 (rint_test_downward): Likewise.
74334 (rint_test_upward: Likewise.
74335
74336 2012-02-22 Joseph Myers <joseph@codesourcery.com>
74337
74338 [BZ #10110]
74339 * include/stdc-predef.h: New file. Extracted from features.h.
74340 * include/features.h: Include stdc-predef.h.
74341 * Makefile (headers): Add stdc-predef.h.
74342 * CONFORMANCE (Compiler limitations): Update.
74343
74344 2012-02-22 Joseph Myers <joseph@codesourcery.com>
74345
74346 * manual/libc.texinfo (VERSION, UPDATED): Revert.
74347
74348 2012-02-21 David S. Miller <davem@davemloft.net>
74349
74350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74351 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74352
74353 2012-02-20 David S. Miller <davem@davemloft.net>
74354
74355 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74356 using a normal save/restore sequence, rather than allocating a
74357 dummy stack frame just to store a frame pointer and restore.
74358 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74359
74360 2012-02-21 Joseph Myers <joseph@codesourcery.com>
74361
74362 * manual/install.texi: Fix stray word in line-wrapped comment.
74363
74364 2012-02-20 David S. Miller <davem@davemloft.net>
74365
74366 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74367 both binutils and gcc support GOTDATA.
74368
74369 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74370 "rd %pc" in the PIC register setup sequences.
74371
74372 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74373 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74374 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74375 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74376 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74381 (SYSCALL_ERROR_HANDLER): Likewise.
74382 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74383 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74385 (SYSCALL_ERROR_HANDLER): Likewise.
74386
74387 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74388 (HAVE_GCC_GOTDATA): New.
74389 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74390 relocation support in both binutils and gcc.
74391 * sysdeps/sparc/elf/configure: Regenerate.
74392
74393 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74394 * sysdeps/sparc/sparc32/elf/configure: Delete.
74395 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74396 * sysdeps/sparc/sparc64/elf/configure: Delete.
74397 * sysdeps/sparc/elf/configure.in: New file.
74398 * sysdeps/sparc/elf/configure: Generate.
74399
74400 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74401 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74402 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74403 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74404 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74405
74406 2012-02-21 Joseph Myers <joseph@codesourcery.com>
74407
74408 * manual/install.texi: Do not mention specific glibc version
74409 numbers.
74410 * manual/libc.texinfo (VERSION, UPDATED): Update.
74411 (@copying): Use @copyright{} and range of years.
74412
74413 2012-02-21 Joseph Myers <joseph@codesourcery.com>
74414
74415 [BZ #13695]
74416 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74417 [crti.S not in sysdirs] (generated): Do not append.
74418 [crti.S not in sysdirs] (omit-deps): Likewise.
74419 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74420 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74421 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74422 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74423 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74424 Likewise.
74425 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74426 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74427 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74428 * csu/defs.awk: Remove file.
74429 * sysdeps/generic/initfini.c: Likewise.
74430 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74431 variable.
74432 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74433 Likewise.
74434
74435 2012-02-20 Joseph Myers <joseph@codesourcery.com>
74436
74437 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74438 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74439 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74440 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74442 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74443 <bits/epoll.h>.
74444 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74445 (__EPOLL_PACKED): Define to empty if not defined by
74446 <bits/epoll.h>.
74447 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74449 bits/epoll.h.
74450
74451 2012-02-20 Joseph Myers <joseph@codesourcery.com>
74452
74453 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74454 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74455 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74456 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74457 <bits/timerfd.h>.
74458 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74460 bits/timerfd.h.
74461
74462 2012-02-20 Joseph Myers <joseph@codesourcery.com>
74463
74464 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74465 in C locale.
74466 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74467 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74470
74471 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
74472
74473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74474 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74475
74476 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
74477
74478 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74479 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74480 defined.
74481 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74482 Likewise.
74483 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74484 entry for 2.16.
74485
74486 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
74487
74488 * math/w_acos.c: Use non-signaling floating-point comparisons.
74489 * math/w_acosf.c: Likewise.
74490 * math/w_acosh.c: Likewise.
74491 * math/w_acoshf.c: Likewise.
74492 * math/w_acoshl.c: Likewise.
74493 * math/w_acosl.c: Likewise.
74494 * math/w_asin.c: Likewise.
74495 * math/w_asinf.c: Likewise.
74496 * math/w_asinl.c: Likewise.
74497 * math/w_atanh.c: Likewise.
74498 * math/w_atanhf.c: Likewise.
74499 * math/w_atanhl.c: Likewise.
74500 * math/w_exp2.c: Likewise.
74501 * math/w_exp2f.c: Likewise.
74502 * math/w_exp2l.c: Likewise.
74503 * math/w_j0.c: Likewise.
74504 * math/w_j0f.c: Likewise.
74505 * math/w_j0l.c: Likewise.
74506 * math/w_j1.c: Likewise.
74507 * math/w_j1f.c: Likewise.
74508 * math/w_j1l.c: Likewise.
74509 * math/w_jn.c: Likewise.
74510 * math/w_jnf.c: Likewise.
74511 * math/w_log.c: Likewise.
74512 * math/w_log10.c: Likewise.
74513 * math/w_log10f.c: Likewise.
74514 * math/w_log10l.c: Likewise.
74515 * math/w_log2.c: Likewise.
74516 * math/w_log2f.c: Likewise.
74517 * math/w_log2l.c: Likewise.
74518 * math/w_logf.c: Likewise.
74519 * math/w_logl.c: Likewise.
74520 * math/w_sqrt.c: Likewise.
74521 * math/w_sqrtf.c: Likewise.
74522 * math/w_sqrtl.c: Likewise.
74523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74524 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74525 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74526 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74527 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74528
74529 2012-02-19 Joseph Myers <joseph@codesourcery.com>
74530
74531 [BZ #9739]
74532 * manual/string.texi (strnlen): Use correct parameter name in
74533 equivalent expression.
74534
74535 2012-02-19 Joseph Myers <joseph@codesourcery.com>
74536
74537 [BZ #11174]
74538 * manual/users.texi (seteuid): Consistently use neweuid for
74539 argument name.
74540
74541 2012-02-19 Joseph Myers <joseph@codesourcery.com>
74542
74543 [BZ #13704]
74544 * manual/nss.texi (Services in the NSS configuration): Correct
74545 list of services in example configuration file.
74546
74547 2012-02-19 Nick Bowler <nbowler@draconx.ca>
74548
74549 [BZ #11322]
74550 * manual/arith.texi: Remove statements about negative zero
74551 behaving identically to zero.
74552
74553 2012-02-18 Joseph Myers <joseph@codesourcery.com>
74554
74555 [BZ #5993]
74556 * manual/install.texi: Do not document upgrading from libc5.
74557
74558 2012-02-18 Joseph Myers <joseph@codesourcery.com>
74559
74560 [BZ #4596]
74561 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74562
74563 2012-02-18 David S. Miller <davem@davemloft.net>
74564
74565 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74566 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74567 %o7 across the call.
74568 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74569 instead.
74570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74571 SETUP_PIC_REG_LEAF.
74572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74573 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74574 * sysdeps/sparc/crtn.S: Likewise.
74575
74576 2012-02-17 Ulrich Drepper <drepper@gmail.com>
74577
74578 * aout/Makefile: Remove.
74579
74580 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
74581
74582 [BZ #13058]
74583 * manual/examples/argp-ex1.c (main): Format definition in GNU
74584 style.
74585 * manual/examples/argp-ex2.c (main): Likewise.
74586 * manual/examples/argp-ex3.c (main): Likewise.
74587 * manual/examples/argp-ex4.c (main): Likewise.
74588 * manual/examples/longopt.c (main): Use new-style prototype
74589 definition.
74590 * manual/examples/strncat.c (main): Specify return type and use
74591 (void) for arguments.
74592 * manual/examples/subopt.c (main): Use char **argv argument.
74593
74594 2012-02-17 Joseph Myers <joseph@codesourcery.com>
74595
74596 [BZ #5077]
74597 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74598 rounding modes.
74599
74600 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
74601
74602 [BZ #6907]
74603 * manual/string.texi (strchr): Change when strchrnul is
74604 recommended.
74605
74606 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
74607
74608 [BZ #174]
74609 * manual/locale.texi (setlocale): Document LOCPATH.
74610
74611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
74612
74613 [BZ #10210]
74614 * manual/process.texi (execle): Move @dots{} before last argument.
74615
74616 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
74617
74618 [BZ #12047]
74619 * manual/charset.texi (Generic Charset Conversion): Fix typo
74620 (LC_TYPE -> LC_CTYPE).
74621
74622 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
74623
74624 [BZ #5805]
74625 * manual/arith.texi (scalbn): Use @var{} on parameter names.
74626 (scalbnf): Likewise.
74627 (scalbnl): Likewise.
74628 (scalbln): Likewise.
74629 (scalblnf): Likewise.
74630 (scalblnl): Likewise.
74631 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74632 (vwarnx): Likewise.
74633 (verr): Likewise.
74634 (verrx): Likewise.
74635 * manual/filesys.texi (telldir): Use braces around return type.
74636 * manual/llio.texi (mmap): Add space after comma.
74637 (mmap64): Likewise.
74638 * manual/math.texi (jn): Use @var{} on parameter names.
74639 (jnf): Likewise.
74640 (jnl): Likewise.
74641 (yn): Likewise.
74642 (ynf): Likewise.
74643 (ynl): Likewise.
74644 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74645 line.
74646 * manual/resource.texi (ulimit): Use @dots{} instead of literal
74647 "...".
74648 (sched_get_priority_min): Remove semicolon on @deftypefun line.
74649 (sched_get_priority_max): Likewise.
74650 * manual/signal.texi (sigvec): Add space after comma.
74651 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74652 names.
74653 (if_indextoname): Likewise.
74654 (if_freenameindex): Likewise.
74655 (sendto): Use ',' instead of '.' in prototype.
74656 * manual/startup.texi (syscall): Use @dots{} instead of literal
74657 "...".
74658 * manual/stdio.texi (__fpending): Separate initial words of
74659 paragraph from @deftypefun line.
74660 * manual/syslog.texi (syslog): Use @dots{} instead of literal
74661 "...".
74662 (vsyslog): Use @var{} on parameter names.
74663 * manual/terminal.texi (stty): Use @var{} on parameter names.
74664 * manual/users.texi (getutmp): Use @var{} on parameter names.
74665 (getutmpx): Likewise.
74666
74667 2012-02-17 Joseph Myers <joseph@codesourcery.com>
74668
74669 [BZ #6884]
74670 * manual/stdio.texi (fopen): Fix typos in description of
74671 ",ccs=STRING".
74672
74673 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
74674
74675 [BZ #4026]
74676 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74677 get clock_id definition.
74678
74679 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
74680
74681 [BZ #4822]
74682 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74683 (madvise): Cast every argument to void on its own.
74684
74685 2012-02-17 Joseph Myers <joseph@codesourcery.com>
74686
74687 [BZ #9902]
74688 * manual/startup.texi (Exit Status): Fix typo.
74689
74690 2012-02-17 Joseph Myers <joseph@codesourcery.com>
74691
74692 [BZ #10140]
74693 * manual/examples/argp-ex1.c: Include <stdlib.h>.
74694 * manual/examples/argp-ex2.c: Likewise.
74695 * manual/examples/argp-ex3.c: Likewise.
74696
74697 2012-02-16 Richard Henderson <rth@redhat.com>
74698
74699 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74700 * sysdeps/s390/s390-32/initfini.c: Remove.
74701 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74702 * sysdeps/s390/s390-64/initfini.c: Remove.
74703
74704 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
74705
74706 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74707 compiler output for sysdeps/generic/initfini.c.
74708 * sysdeps/sh/elf/initfini.c: Remove file.
74709
74710 2012-02-16 David S. Miller <davem@davemloft.net>
74711
74712 [BZ #11494]
74713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74714
74715 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74716 * sysdeps/sparc/crti.S: New file.
74717 * sysdeps/sparc/crtn.S: New file.
74718 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74719 * sysdeps/sparc/sparc64/Makefile: Likewise.
74720
74721 2012-02-15 Mike Frysinger <vapier@gentoo.org>
74722
74723 [BZ #3335]
74724 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74725
74726 2012-02-15 Roland McGrath <roland@hack.frob.com>
74727
74728 [BZ #4822]
74729 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74730
74731 * mach/devstream.c (cookie_io_functions_t): Macro removed.
74732 (write, read, close): Likewise.
74733 Patch by Aurelien Jarno <aurelien@aurel32.net>.
74734
74735 2012-02-15 Joseph Myers <joseph@codesourcery.com>
74736
74737 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74738 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74739 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74740 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74741 <bits/signalfd.h>.
74742 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74744 bits/signalfd.h.
74745
74746 2012-02-14 Marek Polacek <polacek@redhat.com>
74747
74748 * sysdeps/x86_64/crti.S: New file.
74749 * sysdeps/x86_64/crtn.S: New file.
74750 * sysdeps/x86_64/elf/initfini.c: Remove file.
74751
74752 2012-02-13 Joseph Myers <joseph@codesourcery.com>
74753
74754 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74755 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74756 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74757 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74758 <bits/inotify.h>.
74759 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74761 bits/inotify.h.
74762
74763 2012-02-13 Joseph Myers <joseph@codesourcery.com>
74764
74765 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74766 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74767 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74768 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74769 <bits/eventfd.h>.
74770 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74772 bits/eventfd.h.
74773
74774 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
74775
74776 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74777 __feraiseexcept instead of feraiseexcept.
74778
74779 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74780 nanosleep invocations.
74781 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74782 strings, and add error checking for a nanosleep invocations.
74783
74784 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
74785
74786 Replace FSF snail mail address with URLs, as per GNU coding standards.
74787 Most of the snail mail addresses were wrong anyway, and omitting
74788 them makes the source code easier to maintain. Almost all of the
74789 changes are to license notices and to locale LC_IDENTIFICATION
74790 addresses, except for this one:
74791 * manual/libc.texinfo: In "Published by", give the FSF's URL,
74792 not its snail mail address.
74793
74794 2012-02-09 Richard Henderson <rth@twiddle.net>
74795
74796 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74797 of kernel-features.h.
74798
74799 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74800
74801 2012-02-08 Marek Polacek <polacek@redhat.com>
74802
74803 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74804 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74805 * sysdeps/gnu/_G_config.h: Likewise.
74806 * sysdeps/generic/_G_config.h: Likewise.
74807
74808 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
74809
74810 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74811 tests.
74812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74813
74814 * sysdeps/powerpc/powerpc32/crti.S: New file.
74815 * sysdeps/powerpc/powerpc32/crtn.S: New file.
74816 * sysdeps/powerpc/powerpc64/crti.S: New file.
74817 * sysdeps/powerpc/powerpc64/crtn.S: New file.
74818
74819 * Makeconfig (have-initfini): Don't set.
74820 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74821 * configure.in (nopic_initfini): Don't substitute.
74822 * config.h.in (HAVE_INITFINI): Don't #undef.
74823 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74824 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74825
74826 2012-02-08 Joseph Myers <joseph@codesourcery.com>
74827
74828 Support crti.S and crtn.S provided directly by architectures.
74829 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74830 [crti.S in sysdirs] (omit-deps): Likewise.
74831 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74832 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74833 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74834 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74835 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74836 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74837 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74838 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74839 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74840 compiler output for sysdeps/generic/initfini.c.
74841 * sysdeps/i386/elf/Makefile: Remove file.
74842 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74843
74844 2012-02-07 Marek Polacek <polacek@redhat.com>
74845
74846 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74847 * sysdeps/gnu/_G_config.h: Likewise.
74848 * sysdeps/mach/hurd/_G_config.h: Likewise.
74849
74850 2012-02-07 Marek Polacek <polacek@redhat.com>
74851
74852 * math/Makefile (tests): Add tst-CMPLX2.
74853 * math/tst-CMPLX2.c: New file.
74854
74855 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
74856
74857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74858
74859 * math/libm-test.inc (jn_test): Add missing L suffix.
74860
74861 2012-02-06 Marek Polacek <polacek@redhat.com>
74862
74863 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74864 * sysdeps/i386/fpu/e_powf.S: Likewise.
74865 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74866 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
74868 * sysdeps/i386/fpu/e_pow.S: Likewise.
74869 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74870 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74871 * sysdeps/i386/fpu/s_expm1.S: Likewise.
74872 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74873 * sysdeps/i386/fpu/e_log2.S: Likewise.
74874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
74875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
74876 * sysdeps/i386/fpu/e_powl.S: Likewise.
74877 * sysdeps/i386/fpu/s_log1p.S: Likewise.
74878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
74879 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74880 * sysdeps/i386/fpu/e_logl.S: Likewise.
74881 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74882 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74883 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74884 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74885 * sysdeps/i386/fpu/e_log2f.S: Likewise.
74886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74887 * sysdeps/i386/fpu/e_log.S: Likewise.
74888 * sysdeps/i386/fpu/s_cexp.S: Likewise.
74889 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74890 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74891 * sysdeps/i386/fpu/e_logf.S: Likewise.
74892 * sysdeps/i386/fpu/e_log10l.S: Likewise.
74893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
74894 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74895 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74896 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74897 * sysdeps/i386/fpu/e_log10.S: Likewise.
74898 * sysdeps/i386/fpu/s_frexp.S: Likewise.
74899 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74900 * sysdeps/i386/fpu/s_asinh.S: Likewise.
74901 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74902 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74903 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74904 * sysdeps/i386/asm-syntax.h: Likewise.
74905 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74906 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74907 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74908 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74909 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74910 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74911 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74912 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74913 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74914 * sysdeps/powerpc/sysdep.h: Likewise.
74915 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74916 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74917
74918 2012-02-06 Joseph Myers <joseph@codesourcery.com>
74919
74920 [BZ #411]
74921 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74922
74923 2012-02-06 Joseph Myers <joseph@codesourcery.com>
74924
74925 * sysdeps/i386/sysdep.h: Include <features.h>.
74926 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74927 version.
74928
74929 2012-02-05 Joseph Myers <joseph@codesourcery.com>
74930
74931 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74932 Define.
74933 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74934 LOAD_PIC_REG_STR.
74935
74936 2012-02-03 Joseph Myers <joseph@codesourcery.com>
74937
74938 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74939 (SETUP_PIC_REG): Use GET_PC_THUNK.
74940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74941 macro.
74942
74943 2012-02-03 Joseph Myers <joseph@codesourcery.com>
74944
74945 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74946 for non-PIC compilation.
74947 (SETUP_PIC_REG): Add .p2align directive.
74948 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74949 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74950 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74951 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74952 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74953 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74956 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74957 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74958 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74959 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74960 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74961 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74962 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74963 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74964 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74965 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74966 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74967 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74968 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74969 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74970 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74971 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74974 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74976 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74977 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74978 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74979 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74980 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74981 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74982 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74983 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74984 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74985 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74986 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74987 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74988 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74989
74990 2012-02-03 Joseph Myers <joseph@codesourcery.com>
74991
74992 * math/tst-CMPLX.c: Include <stdio.h>.
74993
74994 2012-01-31 Joseph Myers <joseph@codesourcery.com>
74995
74996 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74997 float.
74998 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74999 * sysdeps/sparc/bits/mathdef.h: Likewise.
75000
75001 2012-01-31 Marek Polacek <polacek@redhat.com>
75002
75003 * libio/libio.h: Don't define _PARAMS.
75004 * locale/programs/config.h: Don't define PARAMS.
75005 * stdlib/strtol_l.c: Likewise.
75006 (__strtol_l): Remove PARAMS from the prototype.
75007
75008 2012-01-31 Ulrich Drepper <drepper@gmail.com>
75009
75010 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
75011 names. Just use the correct names. Remove unnecessary wrapper
75012 functions.
75013 * malloc/arena.c: Likewise.
75014 * malloc/hooks.c: Likewise.
75015
75016 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75017 ARENA_TEST says not to. Simplify test for creation of a new arena.
75018 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75019
75020 2012-01-30 Ulrich Drepper <drepper@gmail.com>
75021
75022 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75023 into tail calls.
75024 (update_get_addr): New function.
75025 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75026 GET_ADDR_MODULE parameter.
75027
75028 2012-01-30 Joseph Myers <joseph@codesourcery.com>
75029
75030 * crypt/cert.c: Remove __STDC__ conditionals.
75031 * crypt/crypt-entry.c: Likewise.
75032 * crypt/crypt_util.c: Likewise.
75033 * libio/filedoalloc.c: Likewise.
75034 * libio/fileops.c: Likewise.
75035 * libio/genops.c: Likewise.
75036 * libio/iofclose.c: Likewise.
75037 * libio/iofdopen.c: Likewise.
75038 * libio/iofopen.c: Likewise.
75039 * libio/iofopen64.c: Likewise.
75040 * libio/iogetdelim.c: Likewise.
75041 * libio/iopopen.c: Likewise.
75042 * libio/obprintf.c: Likewise.
75043 * libio/oldfileops.c: Likewise.
75044 * libio/oldiofclose.c: Likewise.
75045 * libio/oldiofdopen.c: Likewise.
75046 * libio/oldiofopen.c: Likewise.
75047 * libio/oldiopopen.c: Likewise.
75048 * libio/wfiledoalloc.c: Likewise.
75049 * libio/wgenops.c: Likewise.
75050 * locale/programs/xmalloc.c: Likewise.
75051 * misc/syslog.c: Likewise.
75052 * stdio-common/xbug.c: Likewise.
75053 * string/memchr.c: Likewise.
75054 * string/memcmp.c: Likewise.
75055 * string/memrchr.c: Likewise.
75056 * string/rawmemchr.c: Likewise.
75057 * sysdeps/posix/getcwd.c: Likewise.
75058 * time/strftime_l.c: Likewise.
75059
75060 2012-01-30 Joseph Myers <joseph@codesourcery.com>
75061
75062 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75063 * config.make.in (config-cflags-sse2avx): Define.
75064 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75065 Fix typo.
75066
75067 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
75068
75069 * scripts/config.guess: Update from upstream config git repository.
75070 * scripts/config.sub: Likewise.
75071
75072 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
75073
75074 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75075 (EM_NUM): Update.
75076 (R_TILEPRO_*, R_TILEGX_*): New macros.
75077
75078 * scripts/firstversions.awk: Fix bug in version range handling.
75079
75080 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75081
75082 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75083
75084 * include/sys/epoll.h: New file.
75085 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75086 libc_hidden_def.
75087
75088 2012-01-28 Ulrich Drepper <drepper@gmail.com>
75089
75090 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75091 Avoid unnecessary __WORDSIZE == 64 test.
75092 (fmaxf): Use VEX format if possible.
75093 (fmax): Likewise.
75094 (fminf): Likewise.
75095 (fmin): Likewise.
75096
75097 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75098 * math/math_private.h: Remove libc_fegetround* and
75099 libc_fesetround*.
75100 * sysdeps/i386/configure.in: Check for -msse2avx.
75101 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75102 also if SSE2AVX is defined.
75103 Remove libc_fegetround* and libc_fesetround*.
75104 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75105 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
75106 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75107 of HAS_YMM_USABLE.
75108 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75109 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75113
75114 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75115
75116 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75117
75118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75119 size is not set.
75120 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75121
75122 2012-01-27 Ulrich Drepper <drepper@gmail.com>
75123
75124 [BZ #13618]
75125 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75126 relocation.
75127 * Makeconfig (libm): Define.
75128 * elf/Makefile: Add rules to build and run tst-relsort1.
75129 * elf/tst-relsort1.c: New file.
75130 * elf/tst-relsort1mod1.c: New file.
75131 * elf/tst-relsort1mod2.c: New file.
75132
75133 2012-01-27 Joseph Myers <joseph@codesourcery.com>
75134
75135 * math/s_ldexp.c: Remove __STDC__ conditionals.
75136 * math/s_ldexpf.c: Likewise.
75137 * math/s_ldexpl.c: Likewise.
75138 * math/s_nextafter.c: Likewise.
75139 * math/s_nexttowardf.c: Likewise.
75140 * math/s_significand.c: Likewise.
75141 * math/s_significandf.c: Likewise.
75142 * math/s_significandl.c: Likewise.
75143 * math/w_jnl.c: Likewise.
75144 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75145 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75146 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75147 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75148 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75150 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75151 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75152 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75153 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75154 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75158 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75160 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75161 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75163 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75164 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75165 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75166 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75167 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75168 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75169 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75170 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75171 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75172 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75173 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75174 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75175 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75176 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75177 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75178 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75179 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75180 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75181 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75182 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75183 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75184 * sysdeps/ieee754/k_standard.c: Likewise.
75185 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75186 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75187 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75188 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75189 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75190 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75193 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75195 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75196 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75197 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75198 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75199 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75204 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75210 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75214 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75215 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75216 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75217 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75218 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75220 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75221 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75222 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75223 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75224 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75225 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75227 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75228 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75229 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75230 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75232 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75233 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75234 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75235 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75236 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75237 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75238 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75239 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75240 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75241 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75242 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75245 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75246 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75247 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75248 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75249 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75250 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75251 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75252 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75253 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75255 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75257 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75258 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75259 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75260 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75261 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75262 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75263 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75264 * sysdeps/ieee754/s_matherr.c: Likewise.
75265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75269
75270 2012-01-26 Joseph Myers <joseph@codesourcery.com>
75271
75272 * crypt/md5.h: Remove __STDC__ conditionals.
75273 * libio/libioP.h: Likewise.
75274 * locale/programs/config.h: Likewise.
75275 * sysdeps/generic/sysdep.h: Likewise.
75276 * sysdeps/i386/asm-syntax.h: Likewise.
75277 * sysdeps/s390/asm-syntax.h: Likewise.
75278 * sysdeps/unix/sysdep.h: Likewise.
75279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75281
75282 2012-01-26 Joseph Myers <joseph@codesourcery.com>
75283
75284 * libio/libio.h: Remove __STDC__ conditionals.
75285 * malloc/obstack.h: Likewise.
75286 * math/complex.h: Likewise.
75287 * math/math.h: Likewise.
75288 * sysdeps/generic/_G_config.h: Likewise.
75289 * sysdeps/gnu/_G_config.h: Likewise.
75290 * sysdeps/mach/hurd/_G_config.h: Likewise.
75291 * sysdeps/powerpc/bits/mathdef.h: Likewise.
75292 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75293 * sysdeps/sparc/bits/mathdef.h: Likewise.
75294
75295 2012-01-26 Ulrich Drepper <drepper@gmail.com>
75296
75297 [BZ #13583]
75298 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75299 Clean up HAS_* macros.
75300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75301 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75302 possible.
75303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75304 HAS_AVX.
75305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75309 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75310
75311 2012-01-25 Joseph Myers <joseph@codesourcery.com>
75312
75313 * elf/tst-unique3.cc (gets): Remove declaration.
75314 * elf/tst-unique3lib.cc (gets): Likewise.
75315 * elf/tst-unique3lib2.cc (gets): Likewise.
75316 * elf/tst-unique4.cc (gets): Likewise.
75317
75318 2012-01-24 Ulrich Drepper <drepper@gmail.com>
75319
75320 * include/stdio.h: Add C++ protection. Add gets declarations and
75321 definitions.
75322 * debug/tst-chk1.c: Don't declare gets here.
75323 * stdio-common/tst-gets.c: Likewise.
75324
75325 2012-01-24 Joseph Myers <joseph@codesourcery.com>
75326
75327 * posix/glob: Remove directory.
75328
75329 2012-01-24 Joseph Myers <joseph@codesourcery.com>
75330
75331 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75332
75333 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
75334
75335 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75336 of the non-standard EPFNOSUPPORT.
75337
75338 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
75339
75340 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75341 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75342 ANYWHERE set to 1 only on KERN_NO_SPACE error.
75343
75344 2012-01-21 Ulrich Drepper <drepper@gmail.com>
75345
75346 * wcsmbs/uchar.h: Test __STDC_VERSION__.
75347
75348 2012-01-20 Ulrich Drepper <drepper@gmail.com>
75349
75350 * nscd/aicache.c (addhstaiX): Do not cache negative results of
75351 transient errors.
75352 * nscd/grpcache.c (cache_addgr): Likewise.
75353 * nscd/hstcache.c (cache_addhst): Likewise.
75354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
75355 * nscd/pwdcache.c (cache_addpw): Likewise.
75356 * nscd/servicescache.c (cache_addserv): Likewise.
75357
75358 2012-01-16 Ulrich Drepper <drepper@gmail.com>
75359
75360 * malloc/malloc.c: Various cleanups.
75361 * malloc/hooks.c: Likewise.
75362
75363 * stdlib/Makefile (tests): Add bug-fmtmsg1.
75364 * stdlib/bug-fmtmsg1.c: New file.
75365
75366 * stdlib/fmtmsg.c (init): Add missing unlock.
75367 Patch by Peng Haitao <penght@cn.fujitsu.com>.
75368
75369 2012-01-12 Marek Polacek <polacek@redhat.com>
75370
75371 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75372 and _GNU_SOURCE.
75373
75374 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
75375
75376 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75377 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75378 macro to ensure uniqueness of label name.
75379 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75380 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75381
75382 2012-01-11 Ulrich Drepper <drepper@gmail.com>
75383
75384 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75385
75386 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75387 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75390
75391 2012-01-10 Ulrich Drepper <drepper@gmail.com>
75392
75393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75394
75395 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75396 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75398
75399 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75400
75401 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75402 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75405
75406 * math/bits/math-finite.h: Add ldexp support.
75407
75408 2012-01-10 Marek Polacek <polacek@redhat.com>
75409
75410 * locale/programs/localedef.h (show_archive_content): Add noreturn
75411 attribute.
75412
75413 2012-01-09 Ulrich Drepper <drepper@gmail.com>
75414
75415 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75416
75417 2012-01-08 Ulrich Drepper <drepper@gmail.com>
75418
75419 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75420
75421 * io/Makefile (headers): Add bits/poll2.h.
75422
75423 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
75424
75425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75426 typo #include statement.
75427
75428 2012-01-08 Ulrich Drepper <drepper@gmail.com>
75429
75430 * include/sys/cdefs.h: Define __attribute_alloc_size.
75431 * catgets/gencat.c: Add alloc_size attribute and apply consistently
75432 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75433 * elf/pldd.c: Likewise.
75434 * iconv/iconv_charmap.c: Likewise.
75435 * iconv/iconvconfig.c: Likewise.
75436 * iconv/strtab.c: Likewise.
75437 * locale/programs/locale.c: Likewise.
75438 * locale/programs/localedef.h: Likewise.
75439 * locale/programs/simple-hash.c: Likewise.
75440 * nscd/nscd.h: Likewise.
75441 * nss/makedb.c: Likewise.
75442 * sysdeps/generic/ldconfig.h: Likewise.
75443 * locale/programs/localedef.c: Remove xmalloc prototype.
75444 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75445
75446 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75447
75448 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75449 appropriate.
75450
75451 2012-01-08 Ulrich Drepper <drepper@gmail.com>
75452
75453 * math/Makefile (tests): Add tst-CMPLX.
75454 * math/tst-CMPLX.c: New file.
75455
75456 * math/complex.h (CMPLXL): Fix typo.
75457
75458 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75459 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75460 GLIBC_2.16.
75461 * debug/tst-chk1.c: Add poll and ppoll tests.
75462 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75463 * include/sys/poll.h: Add hidden proto for ppoll.
75464 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75465 * sysdeps/mach/hurd/ppoll.c: Likewise.
75466 * io/ppoll.c: Likewise.
75467 * debug/poll_chk.c: New file.
75468 * debug/ppoll_chk.c: New file.
75469 * include/bits/poll2.h: New file.
75470 * io/bits/poll2.h: New file.
75471
75472 [BZ #1350]
75473 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75474
75475 * configure.in: static is always set to yes. Remove.
75476 * config.make.in: Don't set build-static.
75477 * Makeconfig: Remove use of build-static.
75478 * dlfcn/Makefile: Likewise.
75479 * elf/Makefile: Likewise.
75480 * math/Makefile: Likewise.
75481 * misc/Makefile: Likewise.
75482 * nptl/Makefile: Likewise.
75483 * sysdeps/mach/hurd/Makefile: Likewise.
75484
75485 * configure.in: PWD_P is not used anymore.
75486 * config.make.in: Remove PWD_P entry.
75487
75488 * configure.in: Remove last remnants of RANLIB.
75489 No need to check for signed size_t anymore.
75490 Don't set libc_commonpagesize and libc_relro_required here for Alpha
75491 and IA-64.
75492 Remove __builtin_expect test because we require at least gcc 3.4.
75493 * aclocal.m4: Likewise.
75494
75495 * wcsmbs/mbrtoc16.c: Implement using towc function.
75496 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75497 * wcsmbs/wcsmbsload.c: Likewise.
75498 * iconv/gconv_simple.c: Likewise.
75499 * iconv/gconv_int.h: Likewise.
75500 * iconv/gconv_builtin.h: Likewise.
75501 * iconv/iconv_prog.c: Remove CHAR16 handling.
75502
75503 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75504
75505 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75506
75507 * configure.in: Remove --with-elf and --enable-bounded options.
75508 Dont set base_machine for ia64. More non-ELF conditions removed.
75509 Remove testing and setting of leading underscore information.
75510 * config.make.in (build-bounded): Set to no.
75511 * config.h.in: Remove NO_UNDERSCORES entry.
75512 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
75513 them.
75514 * csu/start.c: Remove !NO_UNDERSCORE code.
75515 * locale/localeinfo.h: Likewise.
75516 * sysdeps/generic/machine-gmon.h: Likewise.
75517 * sysdeps/generic/sysdep.h: Likewise.
75518 * sysdeps/i386/sysdep.h: Likewise.
75519 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75520 * sysdeps/mach/sysdep.h: Likewise.
75521 * sysdeps/s390/s390-32/sysdep.h: Likewise.
75522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
75523 * sysdeps/sh/sysdep.h: Likewise.
75524 * sysdeps/sparc/sparc32/alloca.S: Likewise.
75525 * sysdeps/unix/i386/sysdep.S: Likewise.
75526 * sysdeps/unix/sparc/start.c: Likewise.
75527 * sysdeps/unix/sparc/sysdep.S: Likewise.
75528 * sysdeps/unix/sparc/sysdep.h: Likewise.
75529 * sysdeps/unix/start.c: Likewise.
75530 * sysdeps/unix/x86_64/sysdep.S: Likewise.
75531 * sysdeps/x86_64/sysdep.h: Likewise.
75532
75533 2012-01-07 Ulrich Drepper <drepper@gmail.com>
75534
75535 [BZ #13553]
75536 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75537 for non-gcc.
75538 * argp/argp-fmtstream.h: Use const instead __const.
75539 * argp/argp.h: Likewise.
75540 * assert/assert.h: Likewise.
75541 * bits/fenv.h: Likewise.
75542 * bits/sched.h: Likewise.
75543 * bits/sigset.h: Likewise.
75544 * bits/sigthread.h: Likewise.
75545 * catgets/nl_types.h: Likewise.
75546 * conform/data/pthread.h-data: Likewise.
75547 * crypt/crypt-private.h: Likewise.
75548 * crypt/crypt.h: Likewise.
75549 * crypt/crypt_util.c: Likewise.
75550 * ctype/ctype.h: Likewise.
75551 * debug/execinfo.h: Likewise.
75552 * debug/mbsnrtowcs_chk.c: Likewise.
75553 * debug/mbsrtowcs_chk.c: Likewise.
75554 * debug/wcsnrtombs_chk.c: Likewise.
75555 * debug/wcsrtombs_chk.c: Likewise.
75556 * debug/wcstombs_chk.c: Likewise.
75557 * dirent/dirent.h: Likewise.
75558 * dlfcn/dlfcn.h: Likewise.
75559 * elf/neededtest4.c: Likewise.
75560 * grp/grp.h: Likewise.
75561 * gshadow/gshadow.h: Likewise.
75562 * iconv/gconv.h: Likewise.
75563 * iconv/gconv_int.h: Likewise.
75564 * iconv/gconv_simple.c: Likewise.
75565 * iconv/iconv.h: Likewise.
75566 * iconv/loop.c: Likewise.
75567 * iconv/skeleton.c: Likewise.
75568 * include/aio.h: Likewise.
75569 * include/aliases.h: Likewise.
75570 * include/argz.h: Likewise.
75571 * include/arpa/inet.h: Likewise.
75572 * include/assert.h: Likewise.
75573 * include/dirent.h: Likewise.
75574 * include/dlfcn.h: Likewise.
75575 * include/execinfo.h: Likewise.
75576 * include/fcntl.h: Likewise.
75577 * include/fenv.h: Likewise.
75578 * include/glob.h: Likewise.
75579 * include/grp.h: Likewise.
75580 * include/libintl.h: Likewise.
75581 * include/mntent.h: Likewise.
75582 * include/netdb.h: Likewise.
75583 * include/pwd.h: Likewise.
75584 * include/rpc/netdb.h: Likewise.
75585 * include/sched.h: Likewise.
75586 * include/search.h: Likewise.
75587 * include/shadow.h: Likewise.
75588 * include/signal.h: Likewise.
75589 * include/stdio.h: Likewise.
75590 * include/stdlib.h: Likewise.
75591 * include/string.h: Likewise.
75592 * include/sys/socket.h: Likewise.
75593 * include/sys/stat.h: Likewise.
75594 * include/sys/statfs.h: Likewise.
75595 * include/sys/statvfs.h: Likewise.
75596 * include/sys/syslog.h: Likewise.
75597 * include/sys/time.h: Likewise.
75598 * include/sys/uio.h: Likewise.
75599 * include/time.h: Likewise.
75600 * include/unistd.h: Likewise.
75601 * include/utmp.h: Likewise.
75602 * include/wchar.h: Likewise.
75603 * include/wctype.h: Likewise.
75604 * inet/aliases.h: Likewise.
75605 * inet/arpa/inet.h: Likewise.
75606 * inet/netinet/ether.h: Likewise.
75607 * inet/netinet/in.h: Likewise.
75608 * intl/libintl.h: Likewise.
75609 * io/bits/fcntl2.h: Likewise.
75610 * io/fcntl.h: Likewise.
75611 * io/ftw.h: Likewise.
75612 * io/sys/poll.h: Likewise.
75613 * io/sys/stat.h: Likewise.
75614 * io/sys/statfs.h: Likewise.
75615 * io/sys/statvfs.h: Likewise.
75616 * io/utime.h: Likewise.
75617 * libio/bits/stdio.h: Likewise.
75618 * libio/bits/stdio2.h: Likewise.
75619 * libio/libio.h: Likewise.
75620 * libio/libioP.h: Likewise.
75621 * libio/stdio.h: Likewise.
75622 * locale/lc-ctype.c: Likewise.
75623 * locale/locale.h: Likewise.
75624 * login/utmp.h: Likewise.
75625 * malloc/arena.c: Likewise.
75626 * malloc/malloc.c: Likewise.
75627 * malloc/malloc.h: Likewise.
75628 * malloc/mcheck.c: Likewise.
75629 * malloc/mtrace.c: Likewise.
75630 * math/bits/mathcalls.h: Likewise.
75631 * math/fenv.h: Likewise.
75632 * math/math_private.h: Likewise.
75633 * misc/bits/error.h: Likewise.
75634 * misc/bits/syslog.h: Likewise.
75635 * misc/err.h: Likewise.
75636 * misc/error.h: Likewise.
75637 * misc/fstab.h: Likewise.
75638 * misc/mntent.h: Likewise.
75639 * misc/regexp.h: Likewise.
75640 * misc/search.h: Likewise.
75641 * misc/sgtty.h: Likewise.
75642 * misc/sys/mman.h: Likewise.
75643 * misc/sys/syslog.h: Likewise.
75644 * misc/sys/uio.h: Likewise.
75645 * misc/sys/xattr.h: Likewise.
75646 * misc/ttyent.h: Likewise.
75647 * nis/rpcsvc/ypclnt.h: Likewise.
75648 * nss/nss.h: Likewise.
75649 * posix/bits/unistd.h: Likewise.
75650 * posix/fnmatch.h: Likewise.
75651 * posix/glob.h: Likewise.
75652 * posix/sched.h: Likewise.
75653 * posix/spawn.h: Likewise.
75654 * posix/sys/wait.h: Likewise.
75655 * posix/unistd.h: Likewise.
75656 * posix/wordexp.h: Likewise.
75657 * pwd/pwd.h: Likewise.
75658 * resolv/netdb.h: Likewise.
75659 * resource/sys/resource.h: Likewise.
75660 * rt/aio.h: Likewise.
75661 * rt/bits/mqueue2.h: Likewise.
75662 * rt/mqueue.h: Likewise.
75663 * shadow/shadow.h: Likewise.
75664 * signal/signal.h: Likewise.
75665 * socket/send.c: Likewise.
75666 * socket/sendto.c: Likewise.
75667 * socket/sys/socket.h: Likewise.
75668 * stdio-common/printf.h: Likewise.
75669 * stdlib/bits/stdlib.h: Likewise.
75670 * stdlib/fmtmsg.h: Likewise.
75671 * stdlib/monetary.h: Likewise.
75672 * stdlib/stdlib.h: Likewise.
75673 * stdlib/ucontext.h: Likewise.
75674 * streams/stropts.h: Likewise.
75675 * string/argz.h: Likewise.
75676 * string/bits/string2.h: Likewise.
75677 * string/string.h: Likewise.
75678 * string/strings.h: Likewise.
75679 * sunrpc/rpc/auth.h: Likewise.
75680 * sunrpc/rpc/auth_des.h: Likewise.
75681 * sunrpc/rpc/clnt.h: Likewise.
75682 * sunrpc/rpc/netdb.h: Likewise.
75683 * sunrpc/rpc/pmap_clnt.h: Likewise.
75684 * sunrpc/rpc/xdr.h: Likewise.
75685 * sysdeps/generic/inttypes.h: Likewise.
75686 * sysdeps/generic/net/if.h: Likewise.
75687 * sysdeps/generic/sys/swap.h: Likewise.
75688 * sysdeps/gnu/net/if.h: Likewise.
75689 * sysdeps/gnu/utmpx.h: Likewise.
75690 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75691 * sysdeps/i386/i486/bits/string.h: Likewise.
75692 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75693 * sysdeps/s390/bits/string.h: Likewise.
75694 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75695 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75696 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75697 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75698 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75699 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75700 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75701 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75702 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75703 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75704 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75705 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75706 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75707 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75708 * sysdeps/unix/sysv/linux/readv.c: Likewise.
75709 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75710 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75715 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75716 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75717 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75718 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75719 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75720 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75721 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75722 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75723 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75724 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75725 * sysvipc/sys/ipc.h: Likewise.
75726 * sysvipc/sys/msg.h: Likewise.
75727 * sysvipc/sys/sem.h: Likewise.
75728 * sysvipc/sys/shm.h: Likewise.
75729 * termios/termios.h: Likewise.
75730 * time/sys/time.h: Likewise.
75731 * time/time.h: Likewise.
75732 * wcsmbs/bits/wchar2.h: Likewise.
75733 * wcsmbs/uchar.h: Likewise.
75734 * wcsmbs/wchar.h: Likewise.
75735 * wctype/wctype.h: Likewise.
75736
75737 [BZ #13551]
75738 * Makeconfig: Remove all but ELF support including AIX support.
75739 * Makerules: Likewise.
75740 * config.h.in: Likewise.
75741 * config.make.in: Likewise.
75742 * configure: Likewise.
75743 * configure.in: Likewise.
75744 * csu/Makefile: Likewise.
75745 * csu/version.c: Likewise.
75746 * debug/Makefile: Likewise.
75747 * dlfcn/Makefile: Likewise.
75748 * elf/Makefile: Likewise.
75749 * extra-lib.mk: Likewise.
75750 * iconv/Makefile: Likewise.
75751 * include/libc-symbols.h: Likewise.
75752 * include/shlib-compat.h: Likewise.
75753 * resolv/Makefile: Likewise.
75754 * resolv/res_libc.c: Likewise.
75755 * rt/Makefile: Likewise.
75756 * sysdeps/i386/asm-syntax.h: Likewise.
75757 * sysdeps/i386/sysdep.h: Likewise.
75758 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75759 * sysdeps/mach/sysdep.h: Likewise.
75760 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75761 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75762 * sysdeps/s390/asm-syntax.h: Likewise.
75763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
75764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
75765 * sysdeps/sh/sysdep.h: Likewise.
75766 * sysdeps/unix/sparc/sysdep.h: Likewise.
75767 * sysdeps/wordsize-32/divdi3.c: Likewise.
75768 * sysdeps/x86_64/sysdep.h: Likewise.
75769
75770 * argp/Versions: Remove _argp_unlock_xxx.
75771
75772 [BZ #13559]
75773 * abilist/ld.abilist: Update. Adjust for removal of tls option.
75774 * abilist/libBrokenLocale.abilist: Likewise.
75775 * abilist/libanl.abilist: Likewise.
75776 * abilist/libc.abilist: Likewise.
75777 * abilist/libcrypt.abilist: Likewise.
75778 * abilist/libdl.abilist: Likewise.
75779 * abilist/libm.abilist: Likewise.
75780 * abilist/libnsl.abilist: Likewise.
75781 * abilist/libpthread.abilist: Likewise.
75782 * abilist/libresolv.abilist: Likewise.
75783 * abilist/librt.abilist: Likewise.
75784 * abilist/libthread_db.abilist: Likewise.
75785 * abilist/libutil.abilist: Likewise.
75786 * abilist/libnss_db.abilist: New file.
75787
75788 * scripts/abilist.awk: Add support for indirect functions.
75789
75790 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75791
75792 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75793
75794 * shlib-versions: Remove entries for ports architectures.
75795
75796 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
75797 files in ports.
75798 * elf/stackguard-macros.h: Remove support for IA-64.
75799 * elf/tst-auditmod1.c: Likewise.
75800 * sysdeps/generic/ldsodefs.h: Likewise.
75801
75802 * sysdeps/unix/sysv/linux/configure.in: Ports should define
75803 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75804 configure files.
75805
75806 [BZ #13552]
75807 * configure.in: Remove --enable-omitfp support.
75808 * FAQ.in: Adjust.
75809 * config.make.in: Likewise.
75810 * Makeconfig: Likewise.
75811 * manual/install.texi: Likewise.
75812
75813 In case anyone cares, the IA-64 architecture could move to ports.
75814 * sysdeps/ia64/*: Removed.
75815 * sysdeps/unix/sysv/linux/ia64/*: Removed.
75816 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75817
75818 [BZ #13555]
75819 * configure.in: Remove entries for unsupported architectures.
75820
75821 [BZ #13533]
75822 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75823 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
75824 routines.
75825 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75826 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75827 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
75828 fall back to using wcrtomb.
75829 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75830 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
75831 renaming.
75832 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75833 * wcsmbs/tst-c16c32-1.c: New file.
75834
75835 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75836 local variable.
75837
75838 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75839
75840 * elf/tst-unique3.cc: Add explicit declaration of gets.
75841 * elf/tst-unique3lib.cc: Likewise.
75842 * elf/tst-unique3lib2.cc: Likewise.
75843 * elf/tst-unique4.cc: Likewise.
75844
75845 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75846
75847 2012-01-06 Joseph Myers <joseph@codesourcery.com>
75848
75849 [BZ #13566]
75850 * assert/assert.h (static_assert): Don't define for C++.
75851 * libio/stdio.h (gets): Do declare for C++ <= C++11.
75852 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75853
75854 2012-01-03 Ulrich Drepper <drepper@gmail.com>
75855
75856 * iconv/loop.c (single loop): Fix assertion in storing of
75857 remaining bytes.
75858
75859 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75860
75861 2012-01-01 Ulrich Drepper <drepper@gmail.com>
75862
75863 * posix/getconf.c: Update copyright year.
75864 * nss/getent.c: Likewise.
75865 * nss/makedb.c: Likewise.
75866 * iconv/iconvconfig.c: Likewise.
75867 * iconv/iconv_prog.c: Likewise.
75868 * elf/ldconfig.c: Likewise.
75869 * elf/pldd.c: Likewise.
75870 * elf/sotruss.ksh: Likewise.
75871 * catgets/gencat.c: Likewise.
75872 * csu/version.c: Likewise.
75873 * elf/ldd.bash.in: Likewise.
75874 * elf/sprof.c (print_version): Likewise.
75875 * locale/programs/locale.c: Likewise.
75876 * locale/programs/localedef.c: Likewise.
75877 * login/programs/pt_chown.c: Likewise.
75878 * nscd/nscd.c (print_version): Likewise.
75879 * debug/xtrace.sh: Likewise.
75880 * malloc/memusage.sh: Likewise.
75881 * malloc/mtrace.pl: Likewise.
75882 * debug/catchsegv.sh: Likewise.
75883
75884 2011-12-30 Jakub Jelinek <jakub@redhat.com>
75885
75886 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75887 pure attribute.
75888
75889 2011-12-24 Ulrich Drepper <drepper@gmail.com>
75890
75891 [BZ #13533]
75892 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75893 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75894 transformations.
75895 * iconv/gconv_int.h: Likewise.
75896 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75897 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75898 from libc for GLIBC_2.16.
75899 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75900 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75901 * wcsmbs/uchar.h: Really define mbstate_t.
75902 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75903 * wcsmbs/c16rtomb.c: New file.
75904 * wcsmbs/mbrtoc16.c: New file.
75905 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75906 for C/POSIX locale.
75907 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75908 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75909
75910 * wcsmbs/wchar.h: Add missing __restrict.
75911
75912 2011-12-23 Ulrich Drepper <drepper@gmail.com>
75913
75914 [BZ #13532]
75915 * time/Makefile (routines): Add timespec_get.
75916 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75917 * time/time.h: Define TIME_UTC and declare timespec_get. Define
75918 timespec for ISO C11.
75919 * time/timespec_get.c: New file.
75920 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75921 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75922
75923 [BZ #13531]
75924 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75925 * stdlib/stdlib.h: Declare aligned_alloc.
75926 * Versions.def: Add GLIBC_2.16 for libc.
75927 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75928
75929 [BZ 13527]
75930 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75931 ISO C11.
75932
75933 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75934 code.
75935
75936 [BZ #13528]
75937 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75938
75939 [BZ #13529]
75940 * assert/assert.h (static_assert): Define.
75941
75942 * version.h: Update for 2.16 development version.
75943
75944 [BZ #13526]
75945 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75946 _ISOC11_SOURCE.
75947
75948 * version.h (RELEASE): Bump for 2.15 release.
75949 * include/features.h (__GLIBC_MINOR__): Bump to 15.
75950
75951 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75952 Patch by Marek Polacek <mpolacek@redhat.com>.
75953
75954 * bits/byteswap.h: Protect long long constants with __extension__.
75955 * sysdeps/i386/bits/byteswap.h: Likewise.
75956 * sysdeps/ia64/bits/byteswap.h: Likewise.
75957 * sysdeps/s390/bits/byteswap.h: Likewise.
75958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75959
75960 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75961
75962 [BZ #13540]
75963 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75964 destination buffer.
75965 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75966
75967 2011-12-23 Marek Polacek <polacek@redhat.com>
75968
75969 * elf/dl-addr.c (determine_info): Add inline keyword.
75970 * elf/tst-auditmod4b.c (check_avx): Likewise.
75971 * elf/tst-auditmod6b.c (check_avx): Likewise.
75972 * elf/tst-auditmod6c.c (check_avx): Likewise.
75973 * elf/tst-auditmod7b.c (check_avx): Likewise.
75974
75975 2011-12-23 Ulrich Drepper <drepper@gmail.com>
75976
75977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75978 !__SSE_MATH__.
75979
75980 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75981
75982 [BZ #13540]
75983 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75984 processing for last bytes.
75985
75986 2011-08-06 Bruno Haible <bruno@clisp.org>
75987
75988 [BZ #13061]
75989 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75990 U+0385, not to U+1FEE.
75991
75992 [BZ #13062]
75993 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75994 entry for U+00A5 U+0301.
75995
75996 2011-12-22 Ulrich Drepper <drepper@gmail.com>
75997
75998 [BZ #13166]
75999 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76000 buffer for the output is too small.
76001
76002 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76003 optimization.
76004
76005 [BZ #13185]
76006 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76007 SSE flags if possible.
76008
76009 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76010
76011 [BZ #13540]
76012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76013 processing for last bytes.
76014
76015 2011-12-22 Joseph Myers <joseph@codesourcery.com>
76016
76017 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76018 (syscall-list-default-options, syscall-list-default-condition)
76019 (syscall-list-includes): Define.
76020 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76021 list of ABIs and options and #if conditions for each ABI. Do not
76022 handle common syscalls between ABIs specially.
76023 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76024 Remove.
76025 (syscall-list-variants, syscall-list-32bit-options)
76026 (syscall-list-32bit-condition, syscall-list-64bit-options)
76027 (syscall-list-64bit-condition): Define.
76028 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76029 (syscall-list-variants, syscall-list-32bit-options)
76030 (syscall-list-32bit-condition, syscall-list-64bit-options)
76031 (syscall-list-64bit-condition): Define.
76032 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76033 Remove.
76034 (syscall-list-variants, syscall-list-32bit-options)
76035 (syscall-list-32bit-condition, syscall-list-64bit-options)
76036 (syscall-list-64bit-condition): Define.
76037 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76038 Remove.
76039 (syscall-list-variants, syscall-list-32bit-options)
76040 (syscall-list-32bit-condition, syscall-list-64bit-options)
76041 (syscall-list-64bit-condition): Define.
76042
76043 2011-12-22 Ulrich Drepper <drepper@gmail.com>
76044
76045 * locale/iso-639.def: Add brx entry.
76046
76047 [BZ #13328]
76048 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76049 Proposed by Mariusz_Cukr <marcukr@op.pl>.
76050
76051 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76052 __feraiseexcept_renamed.
76053
76054 2011-12-21 Ulrich Drepper <drepper@gmail.com>
76055
76056 [BZ #13538]
76057 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76058 EPOLLET with unsigned values.
76059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76060 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76061
76062 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76063 to large cancellation.
76064 * math/s_cacoshf.c: Likewise.
76065 * math/s_cacoshl.c: Likewise.
76066
76067 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
76068
76069 [BZ #13305]
76070 [BZ #12786]
76071 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76072 * math/s_cacoshf.c: Likewise.
76073 * math/s_cacoshl.c: Likewise.
76074
76075 2011-12-21 Ulrich Drepper <drepper@gmail.com>
76076
76077 [BZ #13439]
76078 * iconv/gconv.h: Define __GCONV_SWAP.
76079 * iconvdata/unicode.c: The swap bit must be stored in __flags.
76080 * iconvdata/utf-16.c: Likewise.
76081 * iconvdata/utf-32.c: Likewise.
76082
76083 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
76084
76085 [BZ #13524]
76086 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76087 numerator after shifting it by one limb.
76088
76089 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
76090
76091 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76092 under [__USE_EXTERN_INLINES].
76093
76094 2011-12-17 Ulrich Drepper <drepper@gmail.com>
76095
76096 [BZ #13446]
76097 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76098
76099 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76100
76101 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76102 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76103 optimized code.
76104 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76105 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76106 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76107 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76108 for strncasecmp/strncasecmp_l compilation.
76109 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76110 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76111
76112 2011-12-08 Marek Polacek <mpolacek@redhat.com>
76113
76114 [BZ #13484]
76115 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76116 of __asm__.
76117
76118 2011-12-17 Ulrich Drepper <drepper@gmail.com>
76119
76120 [BZ #13506]
76121 * time/tzfile.c (__tzfile_read): Check values from file header.
76122
76123 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
76124
76125 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76126 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76127 * powerpc/powerpc32/dl-start.S: Likewise.
76128 * powerpc/powerpc32/elf/start.S: Likewise.
76129 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76130 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76131 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76132 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76133 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76134 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76135 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76136 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76137 * powerpc/powerpc32/fpu/s_round.S: Likewise.
76138 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76139 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76140 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76141 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76142 * powerpc/powerpc32/memset.S: Likewise.
76143 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76144 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76145 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76146 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76147 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76148 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76149 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76150 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76151 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76152 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76153 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76154 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76155 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76156
76157 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76158
76159 * math/libm-test.inc: Added more nearbyint tests.
76160 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76164
76165 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
76166
76167 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76168 FD_CLOEXEC.
76169
76170 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76171
76172 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76173 Add wcscpy-ssse3 wcscpy-c.
76174 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76175 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76176 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76177 * sysdeps/x86_64/wcschr.S: New file.
76178 * sysdeps/x86_64/wcsrchr.S: New file.
76179 * string/test-strcmp.c: Remove checking of wcscmp function for
76180 wrong alignments.
76181 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76182 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76183 wcsrchr-sse2 wcsrchr-c.
76184 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76185 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76186 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76187 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76188 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76189 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76190 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76191 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76192 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76193 * wcsmbc/wcschr.c (WCSCHR): New macro.
76194
76195 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76196
76197 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76198 * wcsmbs/test-wcsrchr.c: New file.
76199 * string/test-strrchr.c: Add wcsrchr support.
76200 (WIDE): New macro.
76201 * wcsmbs/test-wcscpy.c: New file.
76202 * string/test-strcpy.c: Add wcscpy support.
76203 (WIDE): New macro.
76204
76205 2011-12-10 Ulrich Drepper <drepper@gmail.com>
76206
76207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76208 the inner loop.
76209
76210 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
76211
76212 [BZ #13472]
76213 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76214
76215 2011-12-04 Ulrich Drepper <drepper@gmail.com>
76216
76217 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76218 Minor optimizations.
76219
76220 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76221 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76222 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76223
76224 2011-12-03 Ulrich Drepper <drepper@gmail.com>
76225
76226 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76227 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76228 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76229 for gcc to avoid warnings.
76230 * inet/Makefile (tests): Add tst-checks.
76231 * inet/tst-checks.c: New file.
76232
76233 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76234 warning.
76235
76236 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76237 __wmemcmp_sse2.
76238
76239 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76240 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76241
76242 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76243
76244 2011-12-02 Ulrich Drepper <drepper@gmail.com>
76245
76246 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76247 problem.
76248
76249 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76250
76251 2011-11-29 Joseph Myers <joseph@codesourcery.com>
76252
76253 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76254 conditional on GCC version.
76255 (__arch_compare_and_exchange_val_8_acq)
76256 (__arch_compare_and_exchange_val_16_acq)
76257 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76258 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76259 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76260
76261 2011-12-02 Joseph Myers <joseph@codesourcery.com>
76262
76263 * sysdeps/sh/backtrace.c: New file.
76264
76265 2011-12-02 Andreas Schwab <schwab@redhat.com>
76266
76267 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
76268 parenthesis.
76269
76270 2011-12-01 Andreas Schwab <schwab@redhat.com>
76271
76272 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76273 falling back to utime.
76274
76275 2011-11-30 Andreas Schwab <schwab@redhat.com>
76276
76277 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76278 expectations for float.
76279
76280 2011-11-29 Andreas Schwab <schwab@redhat.com>
76281
76282 * locale/weight.h (findidx): Add parameter len.
76283 * locale/weightwc.h (findidx): Likewise.
76284 * posix/fnmatch_loop.c (FCT): Adjust caller.
76285 * posix/regcomp.c (build_equiv_class): Likewise.
76286 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76287 * posix/regexec.c (check_node_accept_bytes): Likewise.
76288 * string/strcoll_l.c (STRCOLL): Likewise.
76289 * string/strxfrm_l.c (STRXFRM): Likewise.
76290
76291 2011-11-17 Ulrich Drepper <drepper@gmail.com>
76292
76293 * Makefile.in: Remove CVSOPT handling.
76294 * configure.in: Remove use of AC_REVISION.
76295 * iconvdata/Makefile (distribute): No need to filter out CVS.
76296 * scripts/list-sources.sh: Remove CVS, subversion and monotone
76297 handling.
76298
76299 2011-11-16 Andreas Schwab <schwab@redhat.com>
76300
76301 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76302 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76303 [USE_AS_STRNCASECMP_L]: Likewise.
76304 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76305 NO_TLS_DIRECT_SEG_REFS.
76306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76307 Fix argument offsets for non-PIC.
76308 [USE_AS_STRNCASECMP_L]: Likewise.
76309 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76310 NO_TLS_DIRECT_SEG_REFS.
76311
76312 2011-11-15 Ulrich Drepper <drepper@gmail.com>
76313
76314 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76315 O_CLOEXEC.
76316 * locale/loadlocale.c (_nl_load_locale): Likewise.
76317
76318 2011-11-15 Andreas Schwab <schwab@redhat.com>
76319
76320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76321 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76322 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76323 (SYSCALL_GETTIME): Set errno on error.
76324
76325 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76326 count references to noai6ai_cached.
76327
76328 2011-11-15 Ulrich Drepper <drepper@gmail.com>
76329
76330 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76331
76332 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76333 FD_CLOEXEC for /proc/self/maps.
76334
76335 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76336 FD_CLOEXEC for /proc/meminfo.
76337
76338 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76339 gai.conf.
76340
76341 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
76342 FD_CLOEXEC for given file.
76343
76344 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76345
76346 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76347 FD_CLOEXEC for /etc/hosts.
76348 (_gethtent): Likewise.
76349
76350 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76351
76352 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76353 cancellation and set FD_CLOEXEC for /etc/netgroup.
76354
76355 * nss/nss_files/files-key.c (search): Don't allow cancellation when
76356 reading /etc/publickey.
76357
76358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76359 allow cancellation when reading /etc/group.
76360
76361 * nss/nss_files/files-alias.c (internal_setent): Don't allow
76362 cancellation.
76363 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
76364
76365 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76366 when using data file.
76367
76368 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76369
76370 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76371 (write_nis_obj): Use "c" and "e" in fopen.
76372
76373 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76374
76375 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76376
76377 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76378
76379 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76380
76381 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76382 locale.alias.
76383
76384 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76385
76386 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76387
76388 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76389
76390 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76391 file parsing and set FD_CLOEXEC.
76392
76393 2011-11-14 Ulrich Drepper <drepper@gmail.com>
76394
76395 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76396
76397 2011-11-14 Andreas Schwab <schwab@redhat.com>
76398
76399 * malloc/arena.c (arena_get2): Don't call reused_arena when
76400 _int_new_arena failed.
76401
76402 2011-11-14 Ulrich Drepper <drepper@gmail.com>
76403
76404 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76405 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76407 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76409 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76410 to compile strcasecmp and strncasecmp.
76411 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76412 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76413
76414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76415
76416 2011-11-13 Ulrich Drepper <drepper@gmail.com>
76417
76418 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76419 locale-defines.sym to gen-as-const-headers.
76420 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76421 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76423 to compile strcasecmp and strncasecmp.
76424 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76425 strcasecmp_l and strncasecmp_l.
76426 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76427 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76428 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76429 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76430 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76431 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76432 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76433 * sysdeps/i386/i686/multiarch/strncase.S: New file.
76434 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76435 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76436 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76437
76438 2011-11-12 Ulrich Drepper <drepper@gmail.com>
76439
76440 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76441 result of SYSDEP_GETTIME_CPU to retval.
76442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76443 parameter list to macro. Remove trailing semicolon. Adjust users.
76444
76445 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76446 variable.
76447
76448 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76449 mantissa words.
76450 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76451
76452 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76453 from unused variable.
76454
76455 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76456 DWARF definitions.
76457 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76458 for assembling.
76459
76460 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76461 over namespaces.
76462
76463 * sunrpc/rpc_prot.c (rejected): Fix case value.
76464
76465 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76466 unsigned long long int to avoid warnings in shift.
76467
76468 * posix/regex_internal.c (re_string_reconstruct): Actually use result
76469 of use of trans.
76470 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76471 variable tmp.
76472
76473 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76474 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76475 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76476
76477 * nis/nis_table.c (nis_list): Use variable of correct type for
76478 result of __follow_path call.
76479
76480 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76481
76482 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76483 of math functions ceil, trunc, floor, round, and sqrt, when
76484 avaliable on the platform.
76485 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76486 name clash.
76487 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76488 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76489 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76490
76491 2011-10-30 Marek Polacek <mpolacek@redhat.com>
76492
76493 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76494 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76495
76496 2011-11-11 Roland McGrath <roland@hack.frob.com>
76497
76498 * include/unistd.h: Fix __readlink return type.
76499 Reported by Chris Metcalf <cmetcalf@tilera.com>.
76500
76501 2011-11-11 Ulrich Drepper <drepper@gmail.com>
76502
76503 * stdlib/ucontext.h: Undo last change for makecontext.
76504
76505 2011-11-11 Andreas Schwab <schwab@redhat.com>
76506
76507 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76508
76509 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76510 * setjmp/setjmp.h: Mark functions as non-leaf.
76511 * setjmp/bits/setjmp2.h: Likewise.
76512 * stdlib/ucontext.h: Likewise.
76513
76514 2011-11-10 Andreas Schwab <schwab@redhat.com>
76515
76516 * malloc/arena.c (_int_new_arena): Don't increment narenas.
76517 (reused_arena): Don't check arena limit.
76518 (arena_get2): Atomically check arena limit.
76519
76520 2011-11-08 Ulrich Drepper <drepper@gmail.com>
76521
76522 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76523 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76524
76525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76526 instructions.
76527
76528 2011-11-07 Andreas Schwab <schwab@redhat.com>
76529
76530 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76531 handler when locking.
76532
76533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76534 Fix size of allocated buffer.
76535
76536 2011-11-04 Andreas Schwab <schwab@redhat.com>
76537
76538 [BZ #10103]
76539 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76540 declarations for long double functions.
76541 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76542
76543 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76544
76545 2011-11-03 Andreas Schwab <schwab@redhat.com>
76546
76547 * nscd/nscd.c (main): Don't start AVC thread until credentials are
76548 installed.
76549
76550 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76551 is disabled.
76552
76553 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
76554
76555 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76556
76557 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
76558
76559 * include/alloca.h (stackinfo_alloca_round): Define.
76560 (extend_alloca): Use it.
76561 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76562 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76563 here.
76564
76565 * scripts/check-local-headers.sh: Ignore libaudit.h.
76566
76567 * nscd/Makefile (extra-objs): Make recursively expanded.
76568
76569 2011-11-01 Ulrich Drepper <drepper@gmail.com>
76570
76571 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76573
76574 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76575 * posix/tst-rfc3484-2.c: Likewise.
76576 * posix/tst-rfc3484-3.c: Likewise.
76577
76578 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76579 process_vm_writev.
76580 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76581 process_vm_writev.
76582 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76583 process_vm_writev from libc using GLIBC_2.15 version.
76584
76585 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76586
76587 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
76588
76589 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76590 stack usage.
76591
76592 2011-10-31 Ulrich Drepper <drepper@gmail.com>
76593
76594 [BZ #13367]
76595 * nss/getent.c (initgroups_keys): Show error message in case no group
76596 names are given.
76597
76598 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76599 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76600 __bump_nl_timestamp.
76601 * nscd/connections (nscd_init): When host database is served open
76602 netlink socket and request notification about configuration changes.
76603 (main_loop_poll): Track netlink file descriptor and bump timestamp
76604 in case data becomes available.
76605 (main_loop_epoll): Likewise.
76606 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76607 (database_pers_head): Add extra_data fileds.
76608 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76609 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76610 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76611 Adjust caller.
76612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76613 in6ai data, call __free_in6ai.
76614 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76615 Add -DHAVE_NETLINK.
76616 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
76617 interface information. Reuse previous data if netlink timestamp
76618 is not changed.
76619 (__bump_nl_timestamp): New function.
76620 (__free_in6ai): New function.
76621
76622 2011-10-30 Ulrich Drepper <drepper@gmail.com>
76623
76624 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76625 close_not_cancel_no_status here.
76626 (__check_pf): Reorganize code a bit to not call close twice if OOM.
76627
76628 2011-10-29 Ulrich Drepper <drepper@gmail.com>
76629
76630 [BZ #13276]
76631 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76632 return value.
76633
76634 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76635 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76636 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76637
76638 2011-07-03 Andreas Jaeger <aj@suse.de>
76639
76640 [BZ #10709]
76641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76642 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76643 * math/libm-test.inc (sin_test): Add test case.
76644
76645 2011-10-29 Ulrich Drepper <drepper@gmail.com>
76646
76647 [BZ #13337]
76648 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76650
76651 * elf/chroot_canon.c (chroot_canon): Cleanups.
76652
76653 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76654
76655 [BZ #13335]
76656 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76657 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76658
76659 * string/test-strchr.c: Make usable for strchrnul testing.
76660 * string/test-strchrnul.c: New file.
76661 * string/Makefile (strop-tests): Add strchrnul.
76662
76663 * po/it.po: Update from translation team.
76664 * po/es.po: Likewise.
76665
76666 2011-10-28 Ulrich Drepper <drepper@gmail.com>
76667
76668 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76669 the three constants needed as parameters. Drop the others.
76670 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76671 __m128i_strloadu_tolower.
76672 Create and initialize variable zero and use it in all the places
76673 where _mm_setzero_si128 was used.
76674
76675 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76676 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76677 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76679 anymore.
76680 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76681 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76682 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76683 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76684 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76685 __mpranred, __mptan.
76686 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76687 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76688 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76689 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76690 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76691 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76692 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76693 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76694 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76695
76696 2011-10-28 Andreas Schwab <schwab@redhat.com>
76697
76698 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76699 redefine if SHARED.
76700 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76701
76702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76703 wide char related routines to wcsmbs subdir.
76704
76705 2011-10-27 Andreas Schwab <schwab@redhat.com>
76706
76707 [BZ #13344]
76708 * misc/sys/cdefs.h (__THROWNL): Define.
76709 * posix/unistd.h: Use __THREADNL instead of __THREAD
76710 for memory synchronization functions.
76711
76712 2011-10-26 Roland McGrath <roland@hack.frob.com>
76713
76714 [BZ #13349]
76715 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76716 doesn't exist.
76717 * manual/stdio.texi (Obstack Streams): Node removed.
76718
76719 2011-10-26 Andreas Schwab <schwab@redhat.com>
76720
76721 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76722 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76723 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76724
76725 * math/math_private.h (math_force_eval): Allow non-addressable
76726 arguments.
76727 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76728
76729 2011-10-25 Ulrich Drepper <drepper@gmail.com>
76730
76731 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76732 file is not needed.
76733
76734 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76737 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76741 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76742 Add AVX variants.
76743 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76744 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76745 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76746 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76747 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76748 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76749 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76750 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76751 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76752 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76753 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76754 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76756 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76758 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76759 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76760 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76761 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76762
76763 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76764 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
76765
76766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76767 place. Use VEX encoding when compiling for AVX.
76768
76769 2011-10-25 Andreas Schwab <schwab@redhat.com>
76770
76771 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76772 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76773
76774 * string/test-strchr.c (do_test): Don't generate NUL bytes.
76775
76776 2011-10-25 Ulrich Drepper <drepper@gmail.com>
76777
76778 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76779 useless if() expression.
76780 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76781 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76782 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76784 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76785 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76786 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76787 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76788 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76790 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76791 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76792 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76793 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76794 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76795 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76796 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76797 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76798 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76799
76800 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76801
76802 2011-10-25 Andreas Schwab <schwab@redhat.com>
76803
76804 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76805 condition.
76806 * elf/dl-fini.c (_dl_sort_fini): Likewise.
76807
76808 2011-10-25 Ulrich Drepper <drepper@gmail.com>
76809
76810 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76811 .text section. Avoid duplicate constants.
76812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76814 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76820 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76821 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76822 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76824 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76825 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76826 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76828 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76829 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76832 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76833 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76834 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76839 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76840 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76841 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76842 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76843 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76844 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76845 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76846 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76847 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76848 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76849 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76850 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76851 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76852 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76853 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76854 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76855 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76856 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76857
76858 2011-10-24 Ulrich Drepper <drepper@gmail.com>
76859
76860 * sysdeps/x86_64/dla.h: Move to ...
76861 * sysdeps/x86_64/fpu/dla.h: ...here.
76862 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76863 situations. Use __builtin_fma only for gcc 4.6 and up.
76864
76865 * config.make.in: Add have-mfma4 entry.
76866 * configure.in: Substitute libc_cv_cc_fma4.
76867 * math/Makefile (dbl-only-routines): Add sincostab.
76868 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76869 Use __sincostab not sincos.
76870 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76871 name is a macro.
76872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76874 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
76876 using __copysign.
76877 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
76878 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
76879 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76880 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76881 and __inv.
76882 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76883 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76884 __copysign.
76885 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
76886 define aliases when function name is a macro.
76887 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76888 sysdeps/ieee754/dbl-64/sincos.tbl.
76889 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76890 fma4-enabled routines.
76891 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76892 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76893 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76894 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76896 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76897 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76898 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76900 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76901 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76902 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76903 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76904 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76906 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76907 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76908 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76909 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76911 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76912 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76913 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76914 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76917 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76918 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76919 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76920 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76921
76922 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76923 rename.
76924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76925 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76932
76933 2011-10-24 Andreas Schwab <schwab@redhat.com>
76934
76935 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76936
76937 2011-10-23 Ulrich Drepper <drepper@gmail.com>
76938
76939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76940
76941 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76942 prediction.
76943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76944
76945 * string/strnlen.c: Don't define STRNLEN, reverse logic.
76946 Remove unused variable magic_bits.
76947 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76948
76949 * string/strnlen.c: Define and use STRNLEN macro.
76950 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76951 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76953 * wcsmbs/wcslen.c: Define and use WCSLEN.
76954 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76955 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76956 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76957 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76958 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76959 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76960 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76961
76962 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76963
76964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76965 strnlen-sse2-no-bsf.
76966 Rename strlen-no-bsf to strlen-sse2-no-bsf.
76967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76968 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76969 Add strnlen support.
76970 (USE_AS_STRNLEN): New macro.
76971 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76972 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76973 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76974 * sysdeps/x86_64/wcslen.S: New file.
76975
76976 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
76977
76978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76979 XMM-moves are used for copying on small sizes.
76980
76981 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76982
76983 * wcsmbs/Makefile (strop-tests): Add wcschr.
76984 * wcsmbs/test-wcschr.c: New file.
76985 * string/test-strchr.c: Update.
76986 Add wcschr support.
76987 (WIDE): New macro.
76988
76989 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76990
76991 * wcsmbs/Makefile (strop-tests): Add wcslen.
76992 * wcsmbs/test-wcslen.c: New file.
76993 * string/test-strlen.c: Update.
76994 Add wcslen support.
76995 (WIDE): New macro.
76996
76997 2011-10-23 Ulrich Drepper <drepper@gmail.com>
76998
76999 * po/it.po: Update from translation team.
77000
77001 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77002
77003 * sysdeps/x86_64/wcscmp.S: Update.
77004 Fix wrong comparison semantics.
77005 wcscmp shall use signed comparison not unsigned.
77006 Don't use substraction to avoid overflow bug.
77007 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77008 * wcsmbc/wcscmp.c: Likewise.
77009 * string/test-strcmp.c: Likewise.
77010 Add new tests to check cases with negative values.
77011
77012 2011-10-23 Ulrich Drepper <drepper@gmail.com>
77013
77014 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77015 * sysdeps/x86_64/dla.h: ...here. New file.
77016 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77021 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77023 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77025
77026 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
77027
77028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77029 __ynl_finite aliases.
77030
77031 2011-10-22 Ulrich Drepper <drepper@gmail.com>
77032
77033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77034
77035 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77036 define DLA_FMA.
77037 [DLA_FMA] (EMULV): Use DLA_FMA.
77038 [DLA_FMA] (MUL12): Use EMULV.
77039 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77040 that are not needed.
77041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77048
77049 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
77050
77051 * math/s_nan.c: Undef __nan.
77052 * math/s_nanf.c: Undef __nanf.
77053 * math/s_nanl.c: Undef __nanl.
77054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77055 "math_private.h".
77056
77057 2011-10-22 Ulrich Drepper <drepper@gmail.com>
77058
77059 * math/s_catan.c: Add branch predictions.
77060 * math/s_catanf.c: Likewise.
77061 * math/s_catanh.c: Likewise.
77062 * math/s_catanhf.c: Likewise.
77063 * math/s_catanhl.c: Likewise.
77064 * math/s_catanl.c: Likewise.
77065 * math/s_cexp.c: Likewise.
77066 * math/s_cexpf.c: Likewise.
77067 * math/s_cexpl.c: Likewise.
77068 * math/s_clog.c: Likewise.
77069 * math/s_clog10.c: Likewise.
77070 * math/s_clog10f.c: Likewise.
77071 * math/s_clog10l.c: Likewise.
77072 * math/s_clogf.c: Likewise.
77073 * math/s_clogl.c: Likewise.
77074 * math/s_csqrt.c: Likewise.
77075 * math/s_csqrtf.c: Likewise.
77076 * math/s_csqrtl.c: Likewise.
77077 * math/s_ctanf.c: Likewise.
77078 * math/s_ctanh.c: Likewise.
77079 * math/s_ctanhf.c: Likewise.
77080 * math/s_ctanhl.c: Likewise.
77081 * math/s_ctanl.c: Likewise.
77082
77083 * math/math_private.h: Define __nan, __nanf, __nanl.
77084 * math/s_cacosh.c: Include <math_private.h>.
77085 * math/s_cacoshl.c: Likewise.
77086 * math/s_casinh.c: Likewise.
77087 * math/s_casinhf.c: Likewise.
77088 * math/s_casinhl.c: Likewise.
77089 * math/s_ccos.c: Rely entire on ccosh.
77090 * math/s_ccosf.c: Rely entire on ccoshf.
77091 * math/s_ccosl.c: Rely entirely on ccoshl.
77092 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
77093 Remove tests for FE_INVALID.
77094 * math/s_ccoshf.c: Likewise.
77095 * math/s_ccoshl.c: Likewise.
77096 * math/s_csin.c: Likewise.
77097 * math/s_csinf.c: Likewise.
77098 * math/s_csinh.c Likewise.
77099 * math/s_csinhf.c: Likewise.
77100 * math/s_csinhl.c: Likewise.
77101 * math/s_csinl.c: Likewise.
77102 * math/s_ctan.c: Likewise.
77103 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77104 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77105 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77106
77107 2011-10-21 Ulrich Drepper <drepper@gmail.com>
77108
77109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77110 compilation problems.
77111
77112 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77113 __builtin_expect.
77114
77115 2011-10-20 Ulrich Drepper <drepper@gmail.com>
77116
77117 * sysdeps/i386/configure.in: Test for -mfma4 option.
77118 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77119 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77120 COMMON_CPUID_INDEX_80000001.
77121 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77122 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77123 use it if FMA3 is not supported.
77124 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77125
77126 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77127 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77128
77129 2011-10-20 Andreas Schwab <schwab@redhat.com>
77130
77131 [BZ #12892]
77132 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77133 it would create a cycle with a link time dependency.
77134
77135 2011-10-19 Ulrich Drepper <drepper@gmail.com>
77136
77137 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77138 instruction.
77139 * string/Makefile (strop-tests): Add rawmemchr.
77140 * string/test-rawmemchr.c: New file.
77141
77142 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
77144 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
77145 when compiling str{,n}casecmp and when AVX is available. Hook up
77146 new optimized code in initializers.
77147
77148 2011-10-19 Andreas Schwab <schwab@redhat.com>
77149
77150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77151 __feraiseexcept instead of feraiseexcept.
77152
77153 2011-10-18 Ulrich Drepper <drepper@gmail.com>
77154
77155 * math/math_private.h: Define defaults for libc_fetestexcept and
77156 libc_feupdateenv.
77157 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77158 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77160 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77161 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77162 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77163 libc_fetestexcept and libc_feupdateenv.
77164
77165 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77166 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77167 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77168 * sysdeps/x86_64/fpu/math_private.h: Define special version of
77169 libc_feholdexcept_setround.
77170
77171 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77172 Add s_nearbyint-c and s_nearbyintf-c.
77173 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77174 nearbyintf inlines.
77175 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77176 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77177 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77178 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77179
77180 * math/math_private.h: Define defaults for libc_fegetround,
77181 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77182 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77183 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77185 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77186 standard functions.
77187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77188 Remove comments and hacks for old compiler versions.
77189 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77190 libc_fegetround, libc_fesetround, libc_feholdexcept, and
77191 libc_feholdexceptl.
77192
77193 2011-10-18 Andreas Schwab <schwab@redhat.com>
77194
77195 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77196 (__feraiseexcept_renamed): Add __NTH.
77197 (feraiseexcept): Add __NTH. Rename local variables to fix
77198 namespace violations.
77199
77200 2011-10-17 Ulrich Drepper <drepper@gmail.com>
77201
77202 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77203
77204 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77205
77206 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77207 recently added interfaces.
77208 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77209
77210 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77211 about macro parameter expansion.
77212
77213 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77214 __NO_MATH_INLINES is defined. Cleanups.
77215
77216 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77217 and __floorf is target has SSE4.1.
77218 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77219 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77221 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77222
77223 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77224 name.
77225 (floorf): Likewise.
77226
77227 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77228
77229 2011-10-17 Andreas Schwab <schwab@redhat.com>
77230
77231 * misc/sys/cdefs.h: Fix last change.
77232
77233 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77234 database lookup.
77235
77236 2011-10-16 Ulrich Drepper <drepper@gmail.com>
77237
77238 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77239
77240 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77241 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77242 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77243 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77244 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77246 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77247 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77248 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77249 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77250 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77251 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77252 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77253 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77254 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77255 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77257 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77258 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77259 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77260 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77261 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77262
77263 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77264 ceil, ceilf, floor, floorf.
77265
77266 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77267 Perform IRELATIVE relocations last.
77268
77269 * elf/do-rel.h: Add another parameter nrelative, replacing the
77270 local variable with the same name. Change name of the function
77271 to end in Rel or Rela (uppercase).
77272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77273 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
77274 elf_dynamic_do_##reloc function.
77275
77276 2011-10-15 Ulrich Drepper <drepper@gmail.com>
77277
77278 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77279 is sufficient, at least on modern CPUs.
77280
77281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77282
77283 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77285
77286 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77287 __expl_finite.
77288 * math/bits/math-finite.h: Add entries for exp.
77289 * math/e_expl.c: Add __*_finite alias.
77290 * sysdeps/i386/fpu/e_exp.S: Likewise.
77291 * sysdeps/i386/fpu/e_expf.S: Likewise.
77292 * sysdeps/i386/fpu/e_expl.c: Likewise.
77293 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77294 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77295 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77297 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77298 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77299 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77300
77301 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77302 is sufficient, at least on modern CPUs.
77303
77304 * ctype/ctype-info.c (__ctype_init): Define.
77305 * include/ctype.h (__ctype_init): Declare.
77306 (__ctype_b_loc): The variable is always initialized.
77307 (__ctype_toupper_loc): Likewise.
77308 (__ctype_tolower_loc): Likewise.
77309 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77310 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77311
77312 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
77313
77314 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77315
77316 * configure.in: Also look in $cxxmachine/include for C++ system
77317 headers.
77318
77319 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77320
77321 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77322 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77323 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77324 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
77325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77326 (USE_AS_WMEMCMP): New macro.
77327 Fixing indents.
77328 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77329 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77330 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77331 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77333 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77334 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77335 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77336 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77337 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77338 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77339 (USE_AS_WMEMCMP): New macro.
77340 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77341 * sysdeps/string/test-memcmp.c: Update.
77342 Fix simple_wmemcmp.
77343 Add new tests.
77344 * wcsmbs/wmemcmp.c: Update.
77345 (WMEMCMP): New macro.
77346 Fix overflow bug.
77347
77348 2011-10-12 Andreas Jaeger <aj@suse.de>
77349
77350 [BZ #13268]
77351 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77352
77353 2011-10-15 Ulrich Drepper <drepper@gmail.com>
77354
77355 * libio/iofwide.c (do_length): Avoid warning.
77356
77357 * ctype/ctype.h (__isctype_f): Add missing __THROW.
77358
77359 2011-10-14 Ulrich Drepper <drepper@gmail.com>
77360
77361 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77362
77363 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77364 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77365 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77366 * sysdeps/i386/i686/fpu/e_log.S: New file.
77367 * sysdeps/i386/i686/fpu/e_logf.S: New file.
77368 * sysdeps/i386/i686/fpu/e_logl.S: New file.
77369
77370 * ctype/ctype.h: Add support for inlined isXXX functions when
77371 compiling C++ code.
77372
77373 2011-10-14 Andreas Schwab <schwab@redhat.com>
77374
77375 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77376
77377 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77378
77379 2011-10-13 Roland McGrath <roland@hack.frob.com>
77380
77381 [BZ #13291]
77382 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77383
77384 2011-10-13 Andreas Schwab <schwab@redhat.com>
77385
77386 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77387 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77388 feraiseexcept.
77389
77390 * sysdeps/x86_64/memrchr.S: Check for zero size.
77391
77392 * string/stratcliff.c: Add memrchr tests.
77393
77394 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77395
77396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77397 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77398 rawmemchr-sse2 rawmemchr-sse2-bsf.
77399 * sysdeps/i386/i686/multiarch/memchr.S: New file.
77400 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77401 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77402 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77403 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77404 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77405 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77406 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77407 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77408 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77409 * string/memrchr.c (MEMRCHR): New macro.
77410
77411 2011-10-12 Ulrich Drepper <drepper@gmail.com>
77412
77413 Add integration with gcc's -ffinite-math-only and optimize wrapper
77414 functions in libm.
77415 * Versions.def: Define GLIBC_2.15 version for libm.
77416 * math/Makefile (headers): Add bits/math-finite.h.
77417 * math/bits/math-finite.h: New file.
77418 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77419 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77420 * math/e_acoshl.c: Add __*_finite alias.
77421 * math/e_acosl.c: Likewise.
77422 * math/e_asinl.c: Likewise.
77423 * math/e_atan2l.c: Likewise.
77424 * math/e_atanhl.c: Likewise.
77425 * math/e_coshl.c: Likewise.
77426 * math/e_exp10.c: Likewise.
77427 * math/e_exp10f.c: Likewise.
77428 * math/e_exp10l.c: Likewise.
77429 * math/e_exp2l.c: Likewise.
77430 * math/e_fmodl.c: Likewise.
77431 * math/e_gammal_r.c: Likewise.
77432 * math/e_hypotl.c: Likewise.
77433 * math/e_j0l.c: Likewise.
77434 * math/e_j1l.c: Likewise.
77435 * math/e_jnl.c: Likewise.
77436 * math/e_lgammal_r.c: Likewise.
77437 * math/e_log10l.c: Likewise.
77438 * math/e_log2l.c: Likewise.
77439 * math/e_logl.c: Likewise.
77440 * math/e_powl.c: Likewise.
77441 * math/e_sinhl.c: Likewise.
77442 * math/e_sqrtl.c: Likewise.
77443 * math/e_scalb.c: Completely rewritten and optimized.
77444 * math/e_scalbf.c: Likewise.
77445 * math/e_scalbl.c: Likewise.
77446 * math/w_acos.c: Likewise.
77447 * math/w_acosf.c: Likewise.
77448 * math/w_acosl.c: Likewise.
77449 * math/w_acosh.c: Likewise.
77450 * math/w_acoshf.c: Likewise.
77451 * math/w_acoshl.c: Likewise.
77452 * math/w_asin.c: Likewise.
77453 * math/w_asinf.c: Likewise.
77454 * math/w_asinl.c: Likewise.
77455 * math/w_atan2.c: Likewise.
77456 * math/w_atan2f.c: Likewise.
77457 * math/w_atan2l.c: Likewise.
77458 * math/w_atanh.c: Likewise.
77459 * math/w_atanhf.c: Likewise.
77460 * math/w_atanhl.c: Likewise.
77461 * math/w_exp10.c: Likewise.
77462 * math/w_exp10f.c: Likewise.
77463 * math/w_exp10l.c: Likewise.
77464 * math/w_fmod.c: Likewise.
77465 * math/w_fmodf.c: Likewise.
77466 * math/w_fmodl.c: Likewise.
77467 * math/w_j0.c: Likewise.
77468 * math/w_j0f.c: Likewise.
77469 * math/w_j0l.c: Likewise.
77470 * math/w_j1.c: Likewise.
77471 * math/w_j1f.c: Likewise.
77472 * math/w_j1l.c: Likewise.
77473 * math/w_jn.c: Likewise.
77474 * math/w_jnf.c: Likewise.
77475 * math/w_log.c: Likewise.
77476 * math/w_logf.c: Likewise.
77477 * math/w_logl.c: Likewise.
77478 * math/w_log10.c: Likewise.
77479 * math/w_log10f.c: Likewise.
77480 * math/w_log10l.c: Likewise.
77481 * math/w_log2.c: Likewise.
77482 * math/w_log2f.c: Likewise.
77483 * math/w_log2l.c: Likewise.
77484 * math/w_pow.c: Likewise.
77485 * math/w_powf.c: Likewise.
77486 * math/w_powl.c: Likewise.
77487 * math/w_remainder.c: Likewise.
77488 * math/w_remainderf.c: Likewise.
77489 * math/w_remainderl.c: Likewise.
77490 * math/w_scalb.c: Likewise.
77491 * math/w_scalbf.c: Likewise.
77492 * math/w_scalbl.c: Likewise.
77493 * math/w_sqrt.c: Likewise.
77494 * math/w_sqrtf.c: Likewise.
77495 * math/w_sqrtl.c: Likewise.
77496 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77497 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
77498 used.
77499 * math/math_private.h: Declare __kernel_standard_f.
77500 * math/w_cosh.c: Remove cruft and optimize a bit.
77501 * math/w_coshf.c: Likewise.
77502 * math/w_coshl.c: Likewise.
77503 * math/w_exp2.c: Likewise.
77504 * math/w_exp2f.c: Likewise.
77505 * math/w_exp2l.c: Likewise.
77506 * math/w_hypot.c: Likewise.
77507 * math/w_hypotf.c: Likewise.
77508 * math/w_hypotl.c: Likewise.
77509 * math/w_lgamma.c: Likewise.
77510 * math/w_lgamma_r.c: Likewise.
77511 * math/w_lgammaf.c: Likewise.
77512 * math/w_lgammaf_r.c: Likewise.
77513 * math/w_lgammal.c: Likewise.
77514 * math/w_lgammal_r.c: Likewise.
77515 * math/w_sinh.c: Likewise.
77516 * math/w_sinhf.c: Likewise.
77517 * math/w_sinhl.c: Likewise.
77518 * math/w_tgamma.c: Likewise.
77519 * math/w_tgammaf.c: Likewise.
77520 * math/w_tgammal.c: Likewise.
77521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77523 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77524 Minor optimizations. Pretty printing. Remove cruft.
77525 * sysdeps/i386/fpu/e_acosf.S: Likewise.
77526 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77528 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77529 * sysdeps/i386/fpu/e_acosl.c: Likewise.
77530 * sysdeps/i386/fpu/e_asin.S: Likewise.
77531 * sysdeps/i386/fpu/e_asinf.S: Likewise.
77532 * sysdeps/i386/fpu/e_atan2.S: Likewise.
77533 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77534 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77535 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77536 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77537 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77538 * sysdeps/i386/fpu/e_exp10.S: Likewise.
77539 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77540 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77541 * sysdeps/i386/fpu/e_exp2.S: Likewise.
77542 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77543 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77544 * sysdeps/i386/fpu/e_fmod.S: Likewise.
77545 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77546 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77547 * sysdeps/i386/fpu/e_hypot.S: Likewise.
77548 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77549 * sysdeps/i386/fpu/e_log.S: Likewise.
77550 * sysdeps/i386/fpu/e_log10.S: Likewise.
77551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77552 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77553 * sysdeps/i386/fpu/e_log2.S: Likewise.
77554 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77555 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77556 * sysdeps/i386/fpu/e_logf.S: Likewise.
77557 * sysdeps/i386/fpu/e_logl.S: Likewise.
77558 * sysdeps/i386/fpu/e_pow.S: Likewise.
77559 * sysdeps/i386/fpu/e_powf.S: Likewise.
77560 * sysdeps/i386/fpu/e_powl.S: Likewise.
77561 * sysdeps/i386/fpu/e_remainder.S: Likewise.
77562 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77563 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77564 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77565 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77566 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77567 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77568 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77569 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77573 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77574 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77575 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77576 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77577 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77583 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77584 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77586 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77587 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77588 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77590 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77591 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77594 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77595 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77596 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77597 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77598 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77599 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77604 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77605 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77606 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77607 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77608 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77609 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77610 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77611 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77612 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77613 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77615 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77616 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77617 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77618 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77619 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77620 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77621 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77622 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77623 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77625 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77626 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77627 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77628 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77629 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77630 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77634 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77635 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77636 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77641 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77644 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77651 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77652 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77653 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77654 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77655 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77656 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77657 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77658 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77659 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77661 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77662 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77663 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77664 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77665 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77666 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77667 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77668 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77669 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77670 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77671 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77672 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77673 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77674 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77675 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77676 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77677 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77678 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77679 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77680 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
77681 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77682 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77683 (__isnanf): Likewise.
77684 (__isinf_ns): Likewise.
77685 (__isinf_nsf): Likewise.
77686 (__finite): Likewise.
77687 (__finitef): Likewise.
77688 (__ieee754_sqrt): Define as macro.
77689 (__ieee754_sqrtf): Define as macro.
77690 (__ieee754_sqrtl): Define as macro.
77691 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77692 inlined copy.
77693 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77694 __FINITE_MATH_ONLY__ consistent.
77695 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77696
77697 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
77698
77699 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77700 of rawmemchr.
77701
77702 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77703
77704 2011-10-09 Ulrich Drepper <drepper@gmail.com>
77705
77706 * po/ja.po: Update from translation team.
77707
77708 2011-10-08 Roland McGrath <roland@hack.frob.com>
77709
77710 * locale/programs/locarchive.c (prepare_address_space): New function.
77711 (create_archive, enlarge_archive, open_archive): Use it.
77712
77713 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77714 inside [SHARED], where it is used.
77715
77716 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77717
77718 * nss/getent.c (netgroup_keys): Remove unused variable.
77719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77720
77721 2011-10-08 Ulrich Drepper <drepper@gmail.com>
77722
77723 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77724 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77726 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77727 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77728 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77729 * math/Makefile (libm-calls): Add s_isinf_ns.
77730 * math/divtc3.c: Use __isinf_nsl instead of isinf.
77731 * math/multc3.c: Likewise.
77732 * math/s_casin.c: Likewise.
77733 * math/s_casinf.c: Likewise.
77734 * math/s_casinl.c: Likewise.
77735 * math/s_ccos.c: Likewise.
77736 * math/s_ccosf.c: Likewise.
77737 * math/s_ccosl.c: Likewise.
77738 * math/s_ctan.c: Likewise.
77739 * math/s_ctanf.c: Likewise.
77740 * math/s_ctanh.c: Likewise.
77741 * math/s_ctanhf.c: Likewise.
77742 * math/s_ctanhl.c: Likewise.
77743 * math/s_ctanl.c: Likewise.
77744 * math/w_fmod.c: Likewise.
77745 * math/w_fmodf.c: Likewise.
77746 * math/w_fmodl.c: Likewise.
77747 * math/w_remainder.c: Likewise.
77748 * math/w_remainderf.c: Likewise.
77749 * math/w_remainderl.c: Likewise.
77750 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77751 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77754 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77755 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77756 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77757 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77758
77759 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77760 of the number.
77761 * stdio-common/printf_fphex.c: Likewise.
77762 * stdio-common/printf_size.c: Likewise.
77763
77764 * math/e_exp10.c: Include math_private.h using <...> not "...".
77765 * math/e_exp10f.c: Likewise.
77766 * math/e_exp10l.c: Likewise.
77767 * math/e_exp2l.c: Likewise.
77768 * math/e_j0l.c: Likewise.
77769 * math/e_j1l.c: Likewise.
77770 * math/e_jnl.c: Likewise.
77771 * math/e_lgammal_r.c: Likewise.
77772 * math/e_rem_pio2l.c: Likewise.
77773 * math/e_scalb.c: Likewise.
77774 * math/e_scalbf.c: Likewise.
77775 * math/e_scalbl.c: Likewise.
77776 * math/k_cosl.c: Likewise.
77777 * math/k_sinl.c: Likewise.
77778 * math/k_tanl.c: Likewise.
77779 * math/s_cacoshf.c: Likewise.
77780 * math/s_catan.c: Likewise.
77781 * math/s_catanf.c: Likewise.
77782 * math/s_catanh.c: Likewise.
77783 * math/s_catanhf.c: Likewise.
77784 * math/s_catanhl.c: Likewise.
77785 * math/s_catanl.c: Likewise.
77786 * math/s_ccosh.c: Likewise.
77787 * math/s_ccoshf.c: Likewise.
77788 * math/s_ccoshl.c: Likewise.
77789 * math/s_cexp.c: Likewise.
77790 * math/s_cexpf.c: Likewise.
77791 * math/s_cexpl.c: Likewise.
77792 * math/s_clog.c: Likewise.
77793 * math/s_clog10.c: Likewise.
77794 * math/s_clog10f.c: Likewise.
77795 * math/s_clog10l.c: Likewise.
77796 * math/s_clogf.c: Likewise.
77797 * math/s_clogl.c: Likewise.
77798 * math/s_csin.c: Likewise.
77799 * math/s_csinf.c: Likewise.
77800 * math/s_csinh.c: Likewise.
77801 * math/s_csinhf.c: Likewise.
77802 * math/s_csinhl.c: Likewise.
77803 * math/s_csinl.c: Likewise.
77804 * math/s_csqrt.c: Likewise.
77805 * math/s_csqrtf.c: Likewise.
77806 * math/s_csqrtl.c: Likewise.
77807 * math/s_ctan.c: Likewise.
77808 * math/s_ctanf.c: Likewise.
77809 * math/s_ctanh.c: Likewise.
77810 * math/s_ctanhf.c: Likewise.
77811 * math/s_ctanhl.c: Likewise.
77812 * math/s_ctanl.c: Likewise.
77813 * math/s_ldexp.c: Likewise.
77814 * math/s_ldexpf.c: Likewise.
77815 * math/s_ldexpl.c: Likewise.
77816 * math/s_significand.c: Likewise.
77817 * math/s_significandf.c: Likewise.
77818 * math/s_significandl.c: Likewise.
77819 * math/w_acos.c: Likewise.
77820 * math/w_acosf.c: Likewise.
77821 * math/w_acosh.c: Likewise.
77822 * math/w_acoshf.c: Likewise.
77823 * math/w_acoshl.c: Likewise.
77824 * math/w_acosl.c: Likewise.
77825 * math/w_asin.c: Likewise.
77826 * math/w_asinf.c: Likewise.
77827 * math/w_asinl.c: Likewise.
77828 * math/w_atan2.c: Likewise.
77829 * math/w_atan2f.c: Likewise.
77830 * math/w_atan2l.c: Likewise.
77831 * math/w_atanh.c: Likewise.
77832 * math/w_atanhf.c: Likewise.
77833 * math/w_atanhl.c: Likewise.
77834 * math/w_cosh.c: Likewise.
77835 * math/w_coshf.c: Likewise.
77836 * math/w_coshl.c: Likewise.
77837 * math/w_dremf.c: Likewise.
77838 * math/w_exp10.c: Likewise.
77839 * math/w_exp10f.c: Likewise.
77840 * math/w_exp10l.c: Likewise.
77841 * math/w_exp2.c: Likewise.
77842 * math/w_exp2f.c: Likewise.
77843 * math/w_fmod.c: Likewise.
77844 * math/w_fmodf.c: Likewise.
77845 * math/w_fmodl.c: Likewise.
77846 * math/w_hypot.c: Likewise.
77847 * math/w_hypotf.c: Likewise.
77848 * math/w_hypotl.c: Likewise.
77849 * math/w_j0.c: Likewise.
77850 * math/w_j0f.c: Likewise.
77851 * math/w_j0l.c: Likewise.
77852 * math/w_j1.c: Likewise.
77853 * math/w_j1f.c: Likewise.
77854 * math/w_j1l.c: Likewise.
77855 * math/w_jn.c: Likewise.
77856 * math/w_jnf.c: Likewise.
77857 * math/w_jnl.c: Likewise.
77858 * math/w_lgamma.c: Likewise.
77859 * math/w_lgamma_r.c: Likewise.
77860 * math/w_lgammaf.c: Likewise.
77861 * math/w_lgammaf_r.c: Likewise.
77862 * math/w_lgammal.c: Likewise.
77863 * math/w_lgammal_r.c: Likewise.
77864 * math/w_log.c: Likewise.
77865 * math/w_log10.c: Likewise.
77866 * math/w_log10f.c: Likewise.
77867 * math/w_log10l.c: Likewise.
77868 * math/w_log2.c: Likewise.
77869 * math/w_log2f.c: Likewise.
77870 * math/w_log2l.c: Likewise.
77871 * math/w_logf.c: Likewise.
77872 * math/w_logl.c: Likewise.
77873 * math/w_pow.c: Likewise.
77874 * math/w_powf.c: Likewise.
77875 * math/w_powl.c: Likewise.
77876 * math/w_remainder.c: Likewise.
77877 * math/w_remainderf.c: Likewise.
77878 * math/w_remainderl.c: Likewise.
77879 * math/w_scalb.c: Likewise.
77880 * math/w_scalbf.c: Likewise.
77881 * math/w_scalbl.c: Likewise.
77882 * math/w_sinh.c: Likewise.
77883 * math/w_sinhf.c: Likewise.
77884 * math/w_sinhl.c: Likewise.
77885 * math/w_sqrt.c: Likewise.
77886 * math/w_sqrtf.c: Likewise.
77887 * math/w_sqrtl.c: Likewise.
77888 * math/w_tgamma.c: Likewise.
77889 * math/w_tgammaf.c: Likewise.
77890 * math/w_tgammal.c: Likewise.
77891
77892 * po/ja.po: Update from translation team.
77893
77894 2011-09-29 Andreas Jaeger <aj@suse.de>
77895
77896 [BZ #13179]
77897 * sunrpc/netname.c (netname2host): Fix logic.
77898
77899 [BZ #6779]
77900 [BZ #6783]
77901 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77902 correctly.
77903 * math/w_remainder.c (__remainder): Likewise.
77904 * math/w_remainderf.c (__remainderf): Likewise.
77905 * math/libm-test.inc (remainder_test): Add test cases.
77906
77907 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77908
77909 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
77910 sdiv_qrnnd.
77911
77912 2011-10-07 Ulrich Drepper <drepper@gmail.com>
77913
77914 * string/test-memcmp.c: Avoid unncessary #defines.
77915 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77916
77917 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77918
77919 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77920 Use new sse2 version for core i3 - i7 as it's faster
77921 than sse42 version.
77922 (bit_Prefer_PMINUB_for_stringop): New.
77923 * sysdeps/x86_64/rawmemchr.S: Update.
77924 Replace with faster SSE2 version.
77925 * sysdeps/x86_64/memrchr.S: New file.
77926 * sysdeps/x86_64/memchr.S: Update.
77927 Replace with faster SSE2 version.
77928
77929 2011-09-12 Marek Polacek <mpolacek@redhat.com>
77930
77931 * elf/dl-load.c (lose): Add cast to avoid warning.
77932
77933 2011-10-07 Ulrich Drepper <drepper@gmail.com>
77934
77935 * po/ca.po: Update from translation team.
77936
77937 * inet/getnetgrent_r.c: Hook up nscd.
77938 * nscd/Makefile (routines): Add nscd_netgroup.
77939 (nscd-modules): Add netgroupcache.
77940 (CFLAGS-netgroupcache.c): Define.
77941 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77942 (cache_search): Add const to second parameter.
77943 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77944 INNETGR.
77945 (dbs): Add netgrdb entry.
77946 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77947 (verify_persistent_db): Handle netgrdb.
77948 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77949 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77950 GETFDNETGR.
77951 (netgroup_response_header): Define.
77952 (innetgroup_response_header): Define.
77953 (datahead): Add netgroup_response_header and innetgroup_response_header
77954 elements.
77955 * nscd/nscd.conf: Add entries for netgroup cache.
77956 * nscd/nscd.h (dbtype): Add netgrdb.
77957 (_PATH_NSCD_NETGROUP_DB): Define.
77958 (netgroup_iov_disabled): Declare.
77959 (xmalloc, xcalloc, xrealloc): Move declarations here.
77960 (cache_search): Adjust prototype.
77961 Add netgroup-related prototypes.
77962 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77963 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77964 (__nscd_innetgr): Declare.
77965 * nscd/selinux.c (perms): Use access_vector_t as element type and
77966 add netgroup-related initializers.
77967 * nscd/netgroupcache.c: New file.
77968 * nscd/nscd_netgroup.c: New file.
77969 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77970 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77971 For four parameters use innetgr.
77972 * nss/nss_files/files-init.c: Add definition and callback for netgr.
77973 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77974 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77975 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77976
77977 * nscd/connections.c (register_traced_file): Don't register file
77978 for disabled databases.
77979
77980 2011-10-06 Ulrich Drepper <drepper@gmail.com>
77981
77982 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77983
77984 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77985 from tree and freeing node.
77986
77987 2011-09-25 Jiri Olsa <jolsa@redhat.com>
77988
77989 * nss/nsswitch.c (__nss_database_lookup): Handle
77990 nss_parse_service_list out of memory case.
77991
77992 2011-09-15 Jiri Olsa <jolsa@redhat.com>
77993
77994 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77995 out of memory case.
77996
77997 2011-10-04 Andreas Schwab <schwab@redhat.com>
77998
77999 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78000 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78001 pass it down.
78002 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78003 elf_machine_rela, elf_machine_lazy_rel.
78004 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78005 (ELF_DYNAMIC_DO_REL): Likewise.
78006 (ELF_DYNAMIC_DO_RELA): Likewise.
78007 (ELF_DYNAMIC_RELOCATE): Likewise.
78008 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78009 to ELF_DYNAMIC_DO_REL.
78010 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78011 (dl_main): In trace mode always set __RTLD_NOIFUNC.
78012 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78013 elf_machine_rela.
78014 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78015 skip_ifunc, don't call ifunc function if non-zero.
78016 (elf_machine_rela): Likewise.
78017 (elf_machine_lazy_rel): Likewise.
78018 (elf_machine_lazy_rela): Likewise.
78019 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78020 (elf_machine_lazy_rel): Likewise.
78021 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78022 Likewise.
78023 (elf_machine_lazy_rel): Likewise.
78024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78025 Likewise.
78026 (elf_machine_lazy_rel): Likewise.
78027 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78028 (elf_machine_lazy_rel): Likewise.
78029 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78030 (elf_machine_lazy_rel): Likewise.
78031 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78032 (elf_machine_lazy_rel): Likewise.
78033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78034 (elf_machine_lazy_rel): Likewise.
78035 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78036 (elf_machine_lazy_rel): Likewise.
78037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78038 (elf_machine_lazy_rel): Likewise.
78039
78040 2011-09-28 Ulrich Drepper <drepper@gmail.com>
78041
78042 * nss/nss_files/files-init.c (_nss_files_init): Use static
78043 initialization for all the *_traced_file variables.
78044
78045 2011-09-28 Andreas Schwab <schwab@redhat.com>
78046
78047 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78048
78049 2011-09-27 Roland McGrath <roland@hack.frob.com>
78050
78051 [BZ #13226]
78052 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78053
78054 2011-09-27 Andreas Schwab <schwab@redhat.com>
78055
78056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78057 Reread the line before reparsing it.
78058
78059 2011-09-26 Andreas Schwab <schwab@redhat.com>
78060
78061 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78062
78063 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
78064 Maxim Kuvyrkov <maxim@codesourcery.com>
78065 Joseph Myers <joseph@codesourcery.com>
78066
78067 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78068 if needed for __stack_chk_guard.
78069
78070 2011-09-19 Roland McGrath <roland@hack.frob.com>
78071
78072 * sysdeps/posix/spawni.c (script_execute): Always define it.
78073 It will be optimized away if unused.
78074 (maybe_script_execute): New function.
78075 (__spawni): Call it.
78076
78077 * Makerules: Don't include tls.make.
78078 (config-tls): Always set to thread.
78079 * tls.make.c: File removed.
78080
78081 2011-09-19 Mike Frysinger <vapier@gentoo.org>
78082
78083 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78084 * config.make.in (CPPFLAGS-config): New substituted variable.
78085
78086 2011-09-15 Ulrich Drepper <drepper@gmail.com>
78087
78088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78089
78090 [BZ #13192]
78091 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78092 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78093
78094 2011-09-15 Roland McGrath <roland@hack.frob.com>
78095
78096 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78097 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78099 (CALL_FAIL): Likewise.
78100 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78101 (CALL_FAIL): Macro removed.
78102 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78103
78104 2011-09-15 Ulrich Drepper <drepper@gmail.com>
78105
78106 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78107 for __FINITE_MATH_ONLY__ == 1.
78108
78109 2011-09-15 Andreas Schwab <schwab@redhat.com>
78110
78111 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78112 __ieee754_sqrt instead of sqrt.
78113 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78114 __ieee754_sqrtf instead of sqrtf.
78115 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78116 __floorf instead of floorf.
78117 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78118 __floorf, __truncf instead of floorf, truncf.
78119
78120 2011-09-14 Ulrich Drepper <drepper@gmail.com>
78121
78122 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78123
78124 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78125 __extern_always_inline.
78126 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78127 32-bit.
78128
78129 2011-09-14 Andreas Schwab <schwab@redhat.com>
78130
78131 * elf/rtld.c (dl_main): Also relocate in dependency order when
78132 doing symbol dependency testing.
78133
78134 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
78135
78136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78137 Always define `refsym'.
78138
78139 2011-09-13 Andreas Schwab <schwab@redhat.com>
78140
78141 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78142 (__FD_ELT): Renamed from __FDELT.
78143 * misc/bits/select2.h (__FD_ELT): Likewise.
78144 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78145 __FD_MASK instead of __FDELT, __FDMASK.
78146 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78147 Likewise.
78148 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78149 Likewise.
78150
78151 * elf/Makefile (gen-ldd): Fix pattern.
78152
78153 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78154 (init_tls): Likewise.
78155
78156 2011-09-12 Ulrich Drepper <drepper@gmail.com>
78157
78158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78159
78160 2011-09-12 Andreas Schwab <schwab@redhat.com>
78161
78162 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78163 `struct cmsghdr *' instead of `void *'.
78164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78165 Likewise.
78166
78167 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
78168
78169 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78170 if non-absolute.
78171 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78172 ldd_rewrite_script.
78173
78174 2011-09-11 Ulrich Drepper <drepper@gmail.com>
78175
78176 * configure.in: Remove --with-tls option.
78177 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78178 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78179 out in case it is missing.
78180 * sysdeps/ia64/elf/configure.in: Likewise.
78181 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78182 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78183 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78184 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78185 * sysdeps/sh/elf/configure.in: Likewise.
78186 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78187 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78188 * sysdeps/x86_64/elf/configure.in: Likewise.
78189 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78190 * sysdeps/mach/hurd/tls.h: Likewise.
78191
78192 [BZ #13067]
78193 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78194
78195 [BZ #13090]
78196 * configure.in: Fix use of AC_INIT.
78197
78198 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78199
78200 2011-09-10 Ulrich Drepper <drepper@gmail.com>
78201
78202 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78203 __set_errno.
78204 * malloc/hooks.c: Likewise.
78205
78206 [BZ #11929]
78207 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
78208 variables statically.
78209 (narenas): Initialize.
78210 (list_lock): Initialize.
78211 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
78212 initializtion of main_arena and list_lock. Small cleanups.
78213 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78214 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
78215 Add initializers to main_arena and mp_.
78216 (malloc_state): Remove pagesize member. Change all users to use
78217 GLRO(dl_pagesize).
78218
78219 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78220 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
78221 is always initialized.
78222
78223 * malloc/malloc.c: Removed unused configurations and dead code.
78224 * malloc/arena.c: Likewise.
78225 * malloc/hooks.c: Likewise.
78226 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78227
78228 * include/tls.h: Removed. USE___THREAD must always be defined.
78229 * bits/libc-tsd.h: Don't handle !USE___THREAD.
78230 * elf/dl-libc.c: Likewise.
78231 * elf/dl-tsd.c: Likewise.
78232 * include/errno.h: Likewise.
78233 * include/netdb.h: Likewise.
78234 * include/resolv.h: Likewise.
78235 * inet/herrno-loc.c: Likewise.
78236 * inet/herrno.c: Likewise.
78237 * malloc/arena.c: Likewise.
78238 * malloc/hooks.c: Likewise.
78239 * malloc/malloc.c: Likewise.
78240 * resolv/res-state.c: Likewise.
78241 * resolv/res_libc.c: Likewise.
78242 * sysdeps/i386/dl-machine.h: Likewise.
78243 * sysdeps/ia64/dl-machine.h: Likewise.
78244 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78245 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78246 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78247 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78248 * sysdeps/sh/dl-machine.h: Likewise.
78249 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78250 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78251 * sysdeps/unix/i386/sysdep.S: Likewise.
78252 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78253 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78258 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78263 * sysdeps/x86_64/dl-machine.h: Likewise.
78264 * tls.make.c: Likewise.
78265
78266 * configure.in: Remove --with-__thread option. Make tests for
78267 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78268 tls_model attribute fail if no support is available. Remove
78269 USE_IN_LIBIO.
78270 * Makeconfig: Adjust for dropped configure option. All features are
78271 now mandatory.
78272 * Makerules: Likewise.
78273 * Versions.def: Likewise.
78274 * argp/argp-fmtstream.c: Likewise.
78275 * argp/argp-fmtstream.h: Likewise.
78276 * argp/argp-help.c: Likewise.
78277 * assert/assert.c: Likewise.
78278 * config.h.in: Likewise.
78279 * config.make.in: Likewise.
78280 * configure: Likewise.
78281 * configure.in: Likewise.
78282 * csu/Versions: Likewise.
78283 * csu/init.c: Likewise.
78284 * elf/tst-audit2.c: Likewise.
78285 * elf/tst-tls10.c: Likewise.
78286 * elf/tst-tls10.h: Likewise.
78287 * elf/tst-tls11.c: Likewise.
78288 * elf/tst-tls12.c: Likewise.
78289 * elf/tst-tls14.c: Likewise.
78290 * elf/tst-tlsmod11.c: Likewise.
78291 * elf/tst-tlsmod12.c: Likewise.
78292 * elf/tst-tlsmod13.c: Likewise.
78293 * elf/tst-tlsmod13a.c: Likewise.
78294 * elf/tst-tlsmod14a.c: Likewise.
78295 * elf/tst-tlsmod15b.c: Likewise.
78296 * elf/tst-tlsmod16a.c: Likewise.
78297 * elf/tst-tlsmod16b.c: Likewise.
78298 * elf/tst-tlsmod7.c: Likewise.
78299 * elf/tst-tlsmod8.c: Likewise.
78300 * elf/tst-tlsmod9.c: Likewise.
78301 * gmon/gmon.c: Likewise.
78302 * grp/fgetgrent_r.c: Likewise.
78303 * grp/putgrent.c: Likewise.
78304 * hurd/fopenport.c: Likewise.
78305 * include/libc-symbols.h: Likewise.
78306 * include/tls.h: Likewise.
78307 * intl/gettextP.h: Likewise.
78308 * intl/loadinfo.h: Likewise.
78309 * locale/global-locale.c: Likewise.
78310 * locale/localeinfo.h: Likewise.
78311 * mach/devstream.c: Likewise.
78312 * malloc/arena.c: Likewise.
78313 * malloc/set-freeres.c: Likewise.
78314 * misc/err.c: Likewise.
78315 * misc/getttyent.c: Likewise.
78316 * misc/mntent_r.c: Likewise.
78317 * posix/getopt.c: Likewise.
78318 * posix/wordexp.c: Likewise.
78319 * pwd/fgetpwent_r.c: Likewise.
78320 * resolv/Versions: Likewise.
78321 * resolv/res_hconf.c: Likewise.
78322 * shadow/fgetspent_r.c: Likewise.
78323 * shadow/putspent.c: Likewise.
78324 * stdio-common/printf_fphex.c: Likewise.
78325 * stdio-common/tmpfile.c: Likewise.
78326 * stdlib/abort.c: Likewise.
78327 * stdlib/fmtmsg.c: Likewise.
78328 * sunrpc/auth_unix.c: Likewise.
78329 * sunrpc/clnt_perr.c: Likewise.
78330 * sunrpc/clnt_tcp.c: Likewise.
78331 * sunrpc/clnt_udp.c: Likewise.
78332 * sunrpc/clnt_unix.c: Likewise.
78333 * sunrpc/openchild.c: Likewise.
78334 * sunrpc/svc_simple.c: Likewise.
78335 * sunrpc/svc_tcp.c: Likewise.
78336 * sunrpc/svc_udp.c: Likewise.
78337 * sunrpc/svc_unix.c: Likewise.
78338 * sunrpc/xdr.c: Likewise.
78339 * sunrpc/xdr_array.c: Likewise.
78340 * sunrpc/xdr_rec.c: Likewise.
78341 * sunrpc/xdr_ref.c: Likewise.
78342 * sunrpc/xdr_stdio.c: Likewise.
78343
78344 2011-09-09 Ulrich Drepper <drepper@gmail.com>
78345
78346 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78347
78348 2011-07-03 Andreas Jaeger <aj@suse.de>
78349
78350 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78351 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78352 regenerate with gen-libm-tests.pl.
78353
78354 2010-05-12 Petr Baudis <pasky@suse.cz>
78355
78356 [BZ #11589]
78357 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78358 around j0() zero points by switching to j1().
78359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78360 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78363
78364 2011-09-09 Ulrich Drepper <drepper@gmail.com>
78365
78366 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78367 instead of 0.
78368 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78369 instead of 0.
78370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78371 Patch in part by Pavel Roskin <proski@gnu.org>.
78372
78373 [BZ #13138]
78374 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78375 realloc.
78376 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
78377 Free memory block if necessary.
78378
78379 [BZ #12847]
78380 * libio/genops.c (INTDEF): For string streams the _lock pointer can
78381 be NULL. Don't lock in this case.
78382
78383 2011-09-09 Roland McGrath <roland@hack.frob.com>
78384
78385 * elf/elf.h (ELFOSABI_GNU): New macro.
78386 (ELFOSABI_LINUX): Define to that.
78387
78388 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
78389
78390 * string/strncat.c (strncat): Undef the symbol in case it has been
78391 defined in bits/string.h.
78392
78393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
78394
78395 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78396
78397 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78398 link map.
78399
78400 2011-08-17 Andreas Jaeger <aj@suse.de>
78401
78402 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78403
78404 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
78405 Ian Lance Taylor <iant@google.com>
78406
78407 * math/libm-test.inc (lround_test): New testcase.
78408 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78409
78410 2011-09-08 Ulrich Drepper <drepper@gmail.com>
78411
78412 * Makefile: Remove support for automatic cvs check-ins.
78413 * Makerules: Likewise.
78414 * config.make.in: Likewise.
78415 * configure.in: Likewise.
78416 * intl/Makefile: Likewise.
78417 * locale/Makefile: Likewise.
78418 * po/Makefile: Likewise.
78419 * posix/Makefile: Likewise.
78420 * sysdeps/gnu/Makefile: Likewise.
78421 * sysdeps/mach/hurd/Makefile: Likewise.
78422 * sysdeps/sparc/sparc32/Makefile: Likewise.
78423
78424 [BZ #13118]
78425 * posix/Makefile (bug-regex32-ENV): Define.
78426 Patch by John Stanley <jpsinthemix@verizon.net>.
78427
78428 * misc/Makefile (headers): Add bits/select2.h.
78429 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78430 * misc/bits/select2.h: New file.
78431 * include/bits/select2.h: New file.
78432 * debug/Makefile (routines): Add fdelt_chk.
78433 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78434 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78435 FD_ISSET.
78436 * debug/fdelt_chk.c: New file.
78437
78438 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
78439 * wcsmbs/test-wmemcmp.c: Likewise.
78440 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78441 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78442
78443 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78444
78445 * string/Makefile (strop-tests): Add memcmp.
78446 * string/test-wmemcmp.c: New file.
78447 * string/test-memcmp.c: Add wmemcmp support.
78448
78449 2011-09-08 Roland McGrath <roland@hack.frob.com>
78450
78451 [BZ #13153]
78452 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78453 2011-07-19 change.
78454
78455 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78456 garbage value in a __mach_port_mod_refs call in the cases of the
78457 task-self and thread-self ports.
78458
78459 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
78460
78461 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78462
78463 2011-09-08 Andreas Schwab <schwab@redhat.com>
78464
78465 * elf/dl-load.c (lose): Check for non-null L.
78466
78467 2011-09-07 Ulrich Drepper <drepper@gmail.com>
78468
78469 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78470
78471 * elf/dl-libc.c (dlerror_run): Pass back error code from
78472 dl_catch_error.
78473
78474 [BZ #13123]
78475 * elf/dl-load.c (lose): Free l_origin if it is valid.
78476
78477 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78478 names.
78479 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78480 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78481 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78484 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78485
78486 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78487
78488 * sysdeps/powerpc/fpu/e_hypot.c: New file.
78489 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78490 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78491 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78492 * sysdeps/powerpc/fpu/k_cosf.c: New file.
78493 * sysdeps/powerpc/fpu/k_sinf.c: New file.
78494 * sysdeps/powerpc/fpu/s_cosf.c: New file.
78495 * sysdeps/powerpc/fpu/s_sinf.c: New file.
78496 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78497 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78498
78499 2011-08-15 Alan Modra <amodra@gmail.com>
78500
78501 [BZ #13092]
78502 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78503 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78504 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
78505 ppc_mcount to static-only-routines.
78506 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78507 __mcount_internal.
78508 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78509 __mcount_internal with usual JUMPTARGET. Remove useless nop.
78510
78511 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
78512
78513 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78514 for finite and infinity parameters.
78515
78516 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78517
78518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78519 and add nop instructions for throughput optimization.
78520 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78521
78522 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
78523
78524 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78525 aligned copy for power7 with vector-scalar instructions.
78526 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78527
78528 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
78529
78530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78531 AVX check.
78532
78533 2011-09-07 Andreas Schwab <schwab@redhat.com>
78534
78535 [BZ #13144]
78536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78537 last change.
78538
78539 2011-09-07 Ulrich Drepper <drepper@gmail.com>
78540
78541 * sysdeps/unix/sysv/linux/x86_64/init-first.c
78542 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78543 syscall wrapper around clock_gettime in __vdso_clock_gettime.
78544 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78545 clock_gettime.
78546
78547 2011-09-06 Ulrich Drepper <drepper@gmail.com>
78548
78549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78550 Forgot to demangle the pointer.
78551
78552 * sysdeps/i386/sysdep.h: Define atom_text_section.
78553 * sysdeps/x86_64/sysdep.h: Likewise.
78554 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78555 section with atom_text_section.
78556 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78558 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78560 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78561
78562 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78564 already be defined. Change to take two parameters and don't assign
78565 result to variable. Adjust all users.
78566 Define INTERNAL_GETTIME if not already defined.
78567 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78568 call.
78569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78570 HAVE_CLOCK_GETTIME_VSYSCALL.
78571 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78572
78573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78574 gettimeofday vsyscall, just use time.
78575
78576 2011-09-06 Andreas Schwab <schwab@redhat.com>
78577
78578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78579 <errno.h>.
78580
78581 2011-09-06 Ulrich Drepper <drepper@gmail.com>
78582
78583 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78584 syscall on x86-64.
78585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78586 syscall.
78587 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78589 syscall if possible.
78590
78591 2011-09-05 Ulrich Drepper <drepper@gmail.com>
78592
78593 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78594 e_ident. Don't pass to find_mapsXX.
78595 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78596
78597 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
78598
78599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78600 strchr-sse2-no-bsf strrchr-sse2-no-bsf
78601 * sysdeps/x86_64/multiarch/strchr.S: Update.
78602 Check bit_slow_BSF bit.
78603 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78604 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78605 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78606
78607 2011-09-05 Ulrich Drepper <drepper@gmail.com>
78608
78609 [BZ #13134]
78610 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78611 before glibc 2.15.
78612 (tryshell): Define.
78613 (__spawni): Change last parameter to be flag. Test
78614 SPAWN_XFLAGS_USE_PATH flag to use path or not.
78615 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78616 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78617 * posix/spawni.c: Likewise.
78618 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78619 * posix/spawnp.c: Likewise. Change normal version to use
78620 SPAWN_XFLAGS_USE_PATH.
78621 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78622 SPAWN_XFLAGS_TRY_SHELL.
78623
78624 [BZ #13150]
78625 * posix/glob.h: Remove gcc 1.x support.
78626
78627 [BZ #13068]
78628 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78629
78630 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
78631
78632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78633 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78634 strrchr-sse2-bsf
78635 * sysdeps/i386/i686/multiarch/strchr.S: New file.
78636 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78637 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78639 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78640 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78641
78642 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78643
78644 * sysdeps/x86_64/wcscmp.S: New file.
78645
78646 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78647 wcscmp-c wcscmp-sse2
78648 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78649 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78650 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78651 * wcsmbs/wcscmp.c: Allow renaming.
78652
78653 2011-09-05 David S. Miller <davem@davemloft.net>
78654
78655 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78656 stack slot, rather than the struct return pointer slot.
78657 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78658 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78660 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78661
78662 2011-09-05 Ulrich Drepper <drepper@gmail.com>
78663
78664 * po/ja.po: Update from translation team.
78665
78666 [BZ #13144]
78667 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78668 kernel in 64-bit binaries.
78669
78670 2011-09-01 David S. Miller <davem@davemloft.net>
78671
78672 * elf/elf.h (HWCAP_SPARC_*): Move to..
78673 * sysdeps/sparc/sysdep.h: this new file and add new values.
78674 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78675 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78676 _DL_HWCAP_COUNT to 24.
78677 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78678 entries.
78679 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78680 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78681 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78683 instead of magic constants.
78684 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78685
78686 2011-08-31 David S. Miller <davem@davemloft.net>
78687
78688 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78690 Reimplement to do errno handling inline.
78691 (SYSCALL_ERROR_HANDLER): New macro.
78692 (__SYSCALL_STRING): Do not do errno handling in asm.
78693 (__CLONE_SYSCALL_STRING): Delete.
78694 (__INTERNAL_SYSCALL_STRING): Delete.
78695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78696 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78697 (PSEUDO): Reimplement to do errno handling inline.
78698 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78699 (SYSCALL_ERROR_HANDLER): New macro.
78700 (__SYSCALL_STRING): Do not do errno handling in asm.
78701 (__CLONE_SYSCALL_STRING): Delete.
78702 (__INTERNAL_SYSCALL_STRING): Delete.
78703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78704 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78705 i386.
78706 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78707 (inline_syscall*): Add 'err' argument.
78708 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78709 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78710 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78711 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78712
78713 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78714 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78715
78716 2011-08-30 Andreas Schwab <schwab@redhat.com>
78717
78718 * elf/rtld.c (dl_main): Relocate objects in dependency order.
78719
78720 2011-08-29 Jiri Olsa <jolsa@redhat.com>
78721
78722 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78723 directive.
78724
78725 2011-08-24 David S. Miller <davem@davemloft.net>
78726
78727 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78728
78729 2011-08-24 Andreas Schwab <schwab@redhat.com>
78730
78731 * elf/Makefile: Add rules to build and run unload8 test.
78732 * elf/unload8.c: New file.
78733 * elf/unload8mod1.c: New file.
78734 * elf/unload8mod1x.c: New file.
78735 * elf/unload8mod2.c: New file.
78736 * elf/unload8mod3.c: New file.
78737
78738 * elf/dl-close.c (_dl_close_worker): Reset private search list if
78739 it wasn't used.
78740
78741 2011-08-23 David S. Miller <davem@davemloft.net>
78742
78743 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78744 subtract stack bias.
78745 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78746 %sp not %fp in calculations.
78747 (_JMPBUF_UNWINDS_ADJ): Likewise.
78748
78749 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78750 (aio_suspend): Call it to force an exception region around the
78751 AIO_MISC_WAIT() invocation.
78752
78753 2011-08-23 Andreas Schwab <schwab@redhat.com>
78754
78755 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78756 backslash.
78757
78758 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
78759
78760 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78761 protection macro.
78762 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78763 and <dl-machine.h>.
78764 (Elf64_FuncDesc): Remove.
78765
78766 2011-08-22 David S. Miller <davem@davemloft.net>
78767
78768 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78769 sigaltstack check, add missing cfi directives.
78770 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78771 missing cfi directives, and sigaltstack handling.
78772
78773 2011-08-16 Andreas Schwab <schwab@redhat.com>
78774
78775 [BZ #11724]
78776 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78777 object is seen twice.
78778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
78779
78780 * elf/Makefile (distribute): Add tst-initorder2.c.
78781 (tests): Add tst-initorder2.
78782 (modules-names): Add tst-initorder2a tst-initorder2b
78783 tst-initorder2c tst-initorder2d. Add rules to build them.
78784 ($(objpfx)tst-initorder2.out): New rule.
78785 * elf/tst-initorder2.c: New file.
78786 * elf/tst-initorder2.exp: New file.
78787
78788 2011-08-22 Andreas Schwab <schwab@redhat.com>
78789
78790 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78791
78792 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78793 dependencies back to end of function.
78794
78795 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78796 $(elfobjdir)/ld.so.
78797
78798 2011-08-21 Ulrich Drepper <drepper@gmail.com>
78799
78800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78801 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78803 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78804 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78805 of __vdso_gettimeofday.
78806 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78807 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
78808 attribute_hidden.
78809 (_libc_vdso_platform_setup): Remove initialization of
78810 __vdso_gettimeofday and __vdso_time.
78811
78812 2011-08-20 Ulrich Drepper <drepper@gmail.com>
78813
78814 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78815 and fgetc_unlocked.
78816 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78817 getc_unlocked.
78818
78819 * elf/dl-open.c (add_to_global): Report additions to the global scope
78820 for LD_DEBUG=scopes.
78821 (dl_open_worker): Also print scope of newly loaded dependencies.
78822 (_dl_show_scope): Indicate if there is no scope.
78823
78824 [BZ #13114]
78825 * stdio-common/Makefile (tests): Add bug24.
78826 * stdio-common/bug24.c: New file.
78827
78828 2011-08-19 Andreas Jaeger <aj@suse.de>
78829
78830 [BZ #13114]
78831 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78832 non-existant file when using close-on-exec mode.
78833
78834 2011-08-20 Ulrich Drepper <drepper@gmail.com>
78835
78836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78837 the very first instruction.
78838
78839 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78840 the CFI state in the end.
78841 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78842 inclusion of dl-trampoline.h.
78843 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78844
78845 2011-08-19 Andreas Schwab <schwab@redhat.com>
78846
78847 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78848 expectations for long double.
78849
78850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78851 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78852
78853 2011-08-14 David S. Miller <davem@davemloft.net>
78854
78855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78856 artificual limit depends upon the system page size.
78857
78858 2011-08-17 Ulrich Drepper <drepper@gmail.com>
78859
78860 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78861 * resolv/Makefile: Define CFLAGS-libresolv.
78862
78863 2011-08-17 Andreas Schwab <schwab@redhat.com>
78864
78865 * nss/makedb.c (compute_tables): Make variables used in nested
78866 function static.
78867
78868 2011-08-17 Ulrich Drepper <drepper@gmail.com>
78869
78870 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78871 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78872 if buffer was too small.
78873
78874 * elf/pldd.c (main): Attach to all threads in the process.
78875 Rewrite /proc handling to use *at functions.
78876
78877 2011-08-16 Ulrich Drepper <drepper@gmail.com>
78878
78879 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78880 specifies first scope to show.
78881 (dl_open_worker): Update callers. Move printing scope of new
78882 object to before the relocation.
78883 * elf/rtld.c (dl_main): Update _dl_show_scope call.
78884 * sysdeps/generic/ldsodefs.h: Update declaration.
78885
78886 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78887 string for the scope number.
78888
78889 2011-08-14 Ulrich Drepper <drepper@gmail.com>
78890
78891 * nscd/servicescache.c (cache_addserv): Make sure written is always
78892 initialized.
78893
78894 2011-08-14 Roland McGrath <roland@hack.frob.com>
78895
78896 * sysdeps/i386/i486/bits/atomic.h
78897 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78898 statement expression, so as to suppress "set but not used" warning.
78899 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78900
78901 * string/strncat.c (STRNCAT): Use prototype definition.
78902
78903 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78904 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78905 -Iprograms here.
78906 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78907 (localedef-modules): Add localedef.
78908 (locale-modules): Add locale.
78909
78910 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78911 * elf/rtld.c (dl_main): Invert order of assignment in last change,
78912 to avoid a warning.
78913
78914 2011-08-14 David S. Miller <davem@davemloft.net>
78915
78916 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78917 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78918
78919 2011-08-13 Ulrich Drepper <drepper@gmail.com>
78920
78921 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78922 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78923 * elf/rtld.c (dl_main): Set l_name of vDSO.
78924 Call _dl_show_scope when DL_DEBUG_SCOPES.
78925 (process_dl_debug): Recognize scopes flag and also set it for all.
78926 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78927 Declare _dl_show_scope.
78928
78929 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78930 (do_dlopen): Pass caller_dlopen to dl_open.
78931 (__libc_dlopen_mode): Initialize caller_dlopen.
78932
78933 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78934 of libc. Make tolower call locale-independent. Optimize a bit by
78935 using isdigit instead of isalnum.
78936 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78937
78938 2011-08-12 Ulrich Drepper <drepper@gmail.com>
78939
78940 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78941 was a dependency or dynamically loaded.
78942
78943 2011-08-11 Ulrich Drepper <drepper@gmail.com>
78944
78945 * intl/l10nflist.c: Allow architecture-specific pop function.
78946 * sysdeps/x86_64/l10nflist.c: New file.
78947
78948 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78949 classification.
78950
78951 2011-08-10 Andreas Schwab <schwab@redhat.com>
78952
78953 * include/dirent.h: Add libc_hidden_proto for scandirat and
78954 scandirat64. Don't declare __scandirat64.
78955 * dirent/scandirat.c: Add libc_hidden_def.
78956 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78957 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78958
78959 2011-08-10 David S. Miller <davem@davemloft.net>
78960
78961 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78962 enum.
78963 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78966
78967 2011-08-09 Ulrich Drepper <drepper@gmail.com>
78968
78969 * Versions.def [libc]: Add GLIBC_2.15.
78970 * dirent/Makefile (routines): Add scandirat and scandirat64.
78971 * dirent/Versions [libc]: Export scandirat and scandirat64 for
78972 GLIBC_2.15.
78973 * dirent/dirent.h: Declare scandirat and scandirat64.
78974 * dirent/scandirat.c: New file.
78975 * dirent/scandirat64.c: New file.
78976 * sysdeps/wordsize-64/scandirat.c: New file.
78977 * sysdeps/wordsize-64/scandirat64.c: New file.
78978 * dirent/opendir.c: Define opendirat.
78979 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
78980 using scandirat.
78981 * dirent/scandir64.c: Adjust for scandir.c change.
78982 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
78983 __scandirat64, and __scandir_cancel_handler.
78984 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
78985 additional parameter and use openat instead of open (outside of ld.so).
78986 Add new __opendir as wrapper around __opendirat.
78987 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78988 here without requiring old scandirat implementation.
78989
78990 2011-08-08 Ulrich Drepper <drepper@gmail.com>
78991
78992 * dirent/scandir.c (cancel_handler): Renamed to
78993 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
78994 defined. Adjust users.
78995 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78996 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78997
78998 2011-08-04 Ulrich Drepper <drepper@gmail.com>
78999
79000 * string/test-string.h (IMPL): Use __STRING to expand name and then
79001 stringify it.
79002
79003 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
79004 of cleanups.
79005
79006 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79007
79008 * string/Makefile: Update.
79009 (strop-tests): Append strncat.
79010 * string/test-wcscmp.c: New file.
79011 New comprehensive test for wcscmp.
79012 * string/test-strcmp.c: Update.
79013 (WIDE): New define.
79014
79015 2011-07-22 Andreas Schwab <schwab@redhat.com>
79016
79017 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79018 line.
79019
79020 2011-07-26 Andreas Schwab <schwab@redhat.com>
79021
79022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79023 encoding to ACE if AI_IDN.
79024
79025 2011-08-01 Jakub Jelinek <jakub@redhat.com>
79026
79027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79028 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79029
79030 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
79031
79032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79033 Fix overflow bug in strncat.
79034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79035
79036 * string/test-strncat.c: Update.
79037 Add new tests for checking overflow bugs.
79038
79039 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
79040
79041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79042 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79043 * sysdeps/i386/i686/multiarch/strcat.S: New file.
79044 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79046 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79047 * sysdeps/i386/i686/multiarch/strncat.S: New file.
79048 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79049 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79050
79051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79052 (USE_AS_STRCAT): Define.
79053 Add strcat and strncat support.
79054 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79055
79056 2011-07-25 Andreas Schwab <schwab@redhat.com>
79057
79058 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79059 __n bigger than INT_MAX+1.
79060 (__strncmp_g): Likewise.
79061
79062 2011-07-23 Ulrich Drepper <drepper@gmail.com>
79063
79064 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79065 * libio/stido.h: Likewise.
79066
79067 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79068 (AF_NFC): Define.
79069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79070 (AF_NFC): Define.
79071
79072 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79074 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79075 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79076 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79077
79078 [BZ #13021]
79079 * scripts/test-installation.pl: Don't expect libnss_test1 to be
79080 installed.
79081
79082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79083 typo.
79084 (_dl_x86_64_save_sse): Likewise.
79085
79086 2011-07-22 Ulrich Drepper <drepper@gmail.com>
79087
79088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79089 OSXSAVE.
79090 (_dl_x86_64_save_sse): Likewise.
79091
79092 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79093
79094 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79095
79096 2011-07-21 Andreas Schwab <schwab@redhat.com>
79097
79098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79099 change.
79100 (_dl_x86_64_save_sse): Use correct AVX check.
79101
79102 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79103
79104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79105 bug in strncpy/strncat.
79106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79107
79108 2011-07-21 Ulrich Drepper <drepper@gmail.com>
79109
79110 * string/tester.c (test_strcat): Add tests for different alignments
79111 of source and destination.
79112 (test_strncat): Likewise.
79113
79114 2011-07-20 Ulrich Drepper <drepper@gmail.com>
79115
79116 [BZ #12852]
79117 * posix/glob.c (glob): Check passed in values before using them in
79118 expressions to avoid some overflows.
79119 (glob_in_dir): Likewise.
79120
79121 [BZ #13007]
79122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79123 check for AVX enablement so that we don't crash with old kernels and
79124 new hardware.
79125 * elf/tst-audit4.c: Add same checks here.
79126 * elf/tst-audit6.c: Likewise.
79127
79128 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79129
79130 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
79131
79132 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79133
79134 2011-07-20 Ulrich Drepper <drepper@gmail.com>
79135
79136 * po/cs.po: Update from translation team.
79137 * po/bg.po: Likewise.
79138
79139 2011-07-12 Marek Polacek <mpolacek@redhat.com>
79140
79141 * misc/sys/cdefs.h: Add support for const attribute.
79142 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79143 to gnu_dev_{major,minor,makedev} functions.
79144
79145 2011-07-20 Marek Polacek <mpolacek@redhat.com>
79146
79147 * intl/dcigettext.c (get_output_charset): Add missing bracket.
79148
79149 2011-07-20 Andreas Schwab <schwab@redhat.com>
79150
79151 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79152 strlen results.
79153
79154 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79155
79156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79157 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79158 register in order to avoid conflicts with the soft frame pointer
79159 being held in r11 when necessary.
79160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79161 (INTERNAL_VSYSCALL_NCS): Likewise.
79162
79163 2011-07-14 Marek Polacek <mpolacek@redhat.com>
79164
79165 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79166 * elf/dl-fini.c (_dl_fini): Adjust caller.
79167 * elf/dl-close.c (_dl_close_worker): Likewise.
79168 * sysdeps/generic/ldsodefs.h: Adjust declaration.
79169
79170 2011-07-15 Marek Polacek <mpolacek@redhat.com>
79171
79172 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79173 "aux_cache->nlibs < 0".
79174
79175 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79176 in the reload-count case.
79177
79178 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
79179
79180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79181 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79182 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79183 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79184 * sysdeps/x86_64/multiarch/strcat.S: New file.
79185 * sysdeps/x86_64/multiarch/strncat.S: New file.
79186 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79187 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79188 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79189 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79191 (USE_AS_STRCAT): Define.
79192 Add strcat and strncat support.
79193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79195 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79196 * string/strncat.c: Update.
79197 (USE_AS_STRNCAT): Define.
79198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79199 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79200 and i7.
79201 * sysdeps/x86_64/multiarch/init-arch.h
79202 (bit_Prefer_PMINUB_for_stringop): New.
79203 (index_Prefer_PMINUB_for_stringop): Likewise.
79204 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79205 bit_Prefer_PMINUB_for_stringop.
79206
79207 2011-07-19 Ulrich Drepper <drepper@gmail.com>
79208
79209 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79210 buffer64.
79211 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79212 of casting of buffer.
79213 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79214 buffer32 and buffer64.
79215 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79216 writes instead of casting of buffer.
79217 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79218 buffer32.
79219 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79220 casting of buffer.
79221
79222 2011-07-19 Andreas Schwab <schwab@redhat.com>
79223
79224 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79225
79226 2011-07-19 Ulrich Drepper <drepper@gmail.com>
79227
79228 * nscd/nscd.c (termination_handler): Don't do anything for a database
79229 if it has not yet been initialized.
79230
79231 2011-07-18 Ulrich Drepper <drepper@gmail.com>
79232
79233 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79234
79235 2011-07-15 Marek Polacek <mpolacek@redhat.com>
79236
79237 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79238
79239 2011-07-18 Ulrich Drepper <drepper@gmail.com>
79240
79241 * po/nl.po: Update from translation team.
79242 * po/sv.po: Likewise.
79243
79244 2011-07-16 Roland McGrath <roland@hack.frob.com>
79245
79246 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79247 now disallowed by GCC.
79248
79249 * configure.in (use-default-link): Default to yes if a test -shared
79250 link meets our qualifications.
79251 * configure: Regenerated.
79252
79253 * config.make.in (output-format): New variable.
79254 * configure.in: Check for ld --print-output-format support.
79255 * configure: Regenerated.
79256 * Makerules ($(common-objpfx)format.lds)
79257 [$(output-format) != unknown]: Just use $(output-format),
79258 instead of the linker-script munging.
79259
79260 2011-07-14 Roland McGrath <roland@hack.frob.com>
79261
79262 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79263 of $(common-objpfx)shlib.lds.
79264 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79265
79266 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79267 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79268
79269 * configure.in (-z relro check): Adjust test code to add a large
79270 writable data section after it.
79271 * configure: Regenerated.
79272
79273 2011-07-11 Roland McGrath <roland@hack.frob.com>
79274
79275 * configure.in (-z relro check): Fix test code to make the variable
79276 truly const.
79277 * configure: Regenerated.
79278
79279 2011-07-11 Ulrich Drepper <drepper@gmail.com>
79280
79281 * nscd/nscd.h (struct traced_file): Define.
79282 (struct database_dyn): Remove inotify_descr, reset_res, and filename
79283 elements. Add traced_files.
79284 (inotify_fd): Declare.
79285 (register_traced_file): Declare.
79286 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79287 (inotify_fd): Export.
79288 (resolv_conf_descr): Remove.
79289 (nscd_init): Move inotify descriptor creation to main.
79290 Don't register files for notification here.
79291 (register_traced_file): New function.
79292 (invalidate_cache): Don't use reset_res to determine whether to call
79293 res_init, go through the list of registered files.
79294 (main_loop_poll): The inotify descriptors are now stored in the
79295 structures for the traced files.
79296 (main_loop_epoll): Likewise.
79297 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
79298 to __nss_disable_nscd.
79299 * nscd/cache.c (prune_cache): There is no single inotify descriptor
79300 for a database anymore. Check the records for all the registered
79301 files instead.
79302 * nss/Makefile (libnss_files-routines): Add files-init.
79303 (libnss_db-routines): Add db-init.
79304 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79305 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79306 * nss/nss_db/db-init.c: New file.
79307 * nss/nss_files/files-init.c: New file.
79308 * nss/nsswitch.c (nss_load_library): New function. Broken out of
79309 __nss_lookup_function.
79310 (__nss_lookup_function): Call nss_load_library.
79311 (nss_load_all_libraries): New function.
79312 (__nss_disable_nscd): Take parameter with callback function for files
79313 to register. Set is_nscd. Load all the DSOs for the NSS modules
79314 used for the cached services.
79315 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79316 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79317 options for features to all the files in nscd.
79318
79319 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79320
79321 2011-07-10 Roland McGrath <roland@hack.frob.com>
79322
79323 * csu/elf-init.c (__libc_csu_init): Comment typo.
79324
79325 2011-07-09 Ulrich Drepper <drepper@gmail.com>
79326
79327 * po/pl.po: Update from translation team.
79328 * po/ja.po: Likewise.
79329 * po/ru.po: Likewise.
79330 * po/ko.po: Likewise.
79331 * po/fr.po: Likewise.
79332
79333 2011-07-09 Roland McGrath <roland@hack.frob.com>
79334
79335 * configure.in (.ctors/.dtors header and trailer check):
79336 Use an empirical test on a built program.
79337 * configure: Regenerated.
79338
79339 * configure.in (-z relro check): Use an empirical test on a built DSO.
79340 Detect, but do not require, on ia64.
79341 * configure: Regenerated.
79342
79343 * configure.in (READELF): Find it with AC_CHECK_TOOL.
79344 Update tests that use readelf to use $READELF instead.
79345 * configure: Regenerated.
79346
79347 2011-07-08 Ulrich Drepper <drepper@gmail.com>
79348
79349 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79350 if the result is not used.
79351
79352 2011-07-05 Andreas Jaeger <aj@suse.de>
79353
79354 [BZ#9696]
79355 * stdlib/tst-strtod.c: Add testcase.
79356
79357 2011-07-07 Ulrich Drepper <drepper@gmail.com>
79358
79359 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79360 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79361 The latter has a higher limit. Take additional parameter to pass to
79362 the new function.
79363 (__pathconf): Pass file to __statfs_link_max.
79364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79365 __statfs_link_max.
79366 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79367 __statfs_link_max.
79368
79369 [BZ #12868]
79370 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79371 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79372 Handle Lustre.
79373 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79374 (__statfs_filesize_max): Likewise.
79375 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79376
79377 2011-07-05 Andreas Jaeger <aj@suse.de>
79378
79379 * resolv/res_comp.c (dn_skipname): Remove unused variable.
79380
79381 2011-07-06 Marek Polacek <mpolacek@redhat.com>
79382
79383 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79384 `status' variable.
79385 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79386 Likewise.
79387
79388 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
79389
79390 * Makefile (strop-tests): Add strncat.
79391 * string/test-strncat.c: New file.
79392
79393 2011-06-30 Marek Polacek <mpolacek@redhat.com>
79394
79395 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79396
79397 2011-06-21 Andreas Jaeger <aj@suse.de>
79398
79399 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79400 Copy rule from iconvdata/Makefile.
79401
79402 2011-07-06 Ulrich Drepper <drepper@gmail.com>
79403
79404 [BZ #12922]
79405 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79406 but no long options are defined, just return 'W'.
79407
79408 2011-06-22 Marek Polacek <mpolacek@redhat.com>
79409
79410 [BZ #9696]
79411 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79412
79413 2011-07-06 Ulrich Drepper <drepper@gmail.com>
79414
79415 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79416 netgroups to read.
79417 (innetgr): Likewise.
79418
79419 2011-07-05 Roland McGrath <roland@hack.frob.com>
79420
79421 * config.make.in (install_root): Default to $(DESTDIR).
79422
79423 2011-07-05 Ulrich Drepper <drepper@gmail.com>
79424
79425 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79426
79427 2011-07-02 Roland McGrath <roland@hack.frob.com>
79428
79429 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79430
79431 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79432 containing directory rather than embedding absolute directory names.
79433
79434 * scripts/check-local-headers.sh: Rewritten using awk.
79435 Match by word, not by line. Print error messages for matches.
79436 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79437
79438 * Makerules [shlib-lds-flags empty]:
79439 ($(common-objpfx)libc_pic.opts): New target.
79440 ($(common-objpfx)libc_pic.os.clean): New target.
79441 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79442
79443 * config.make.in (OBJCOPY): New variable.
79444 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79445 * configure: Regenerated.
79446
79447 * config.make.in (use-default-link): New variable.
79448 * configure.in (use_default_link): Grok --with-default-link to set it.
79449 * configure: Regenerated.
79450 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79451 (shlib-lds, shlib-lds-flags): Define to empty.
79452
79453 * Makerules (shlib-lds): New variable.
79454 (shlib-lds-flags): New variable.
79455 (build-shlib, build-moduile, build-module-asneeded): Use it.
79456 ($(common-objpfx)libc.so): Use $(shlib-lds).
79457 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79458 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79459
79460 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79461 DT_FLAGS/DT_FLAGS_1 with zero flags.
79462
79463 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79464 linker script munging.
79465
79466 2011-07-02 Ulrich Drepper <drepper@gmail.com>
79467
79468 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79469 as 128-bit value.
79470 * crypt/sha512.c (sha512_process_block): Perform total addition using
79471 128-bit if possible.
79472 (__sha512_finish_ctx): Likewise.
79473 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79474 as 64-bit value.
79475 * crypt/sha256.c (SWAP64): Define.
79476 (sha256_process_block): Perform total addition using 64-bit if
79477 possible.
79478 (__sha256_finish_ctx): Likewise.
79479
79480 2011-07-01 Ulrich Drepper <drepper@gmail.com>
79481
79482 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
79483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
79484 * nscd/hstcache.c (cache_addhst): Likewise.
79485 * nscd/grpcache.c (cache_addgr): Likewise.
79486 * nscd/aicache.c (addhstaiX): Likewise.
79487 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79488
79489 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
79490
79491 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
79493 * nscd/hstcache.c (cache_addhst): Likewise.
79494 * nscd/grpcache.c (cache_addgr): Likewise.
79495 * nscd/aicache.c (addhstaiX): Likewise.
79496
79497 2011-07-01 Andreas Schwab <schwab@redhat.com>
79498
79499 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79500 domain only when needed.
79501
79502 2011-06-30 Andreas Schwab <schwab@redhat.com>
79503
79504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79505 is always restored.
79506
79507 2011-06-29 Ulrich Drepper <drepper@gmail.com>
79508
79509 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79510 are re-adding the entry.
79511 * nscd/servicescache.c (cache_addserv): Likewise.
79512
79513 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
79514
79515 * sysdeps/generic/dl-irel.h: fix protection against multiple
79516 inclusions.
79517 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79518
79519 2011-06-28 Ulrich Drepper <drepper@gmail.com>
79520
79521 [BZ #12935]
79522 * malloc/memusage.sh: Fix quoting in message.
79523 * debug/xtrace.sh: Likewise.
79524
79525 * configure.in: Remove support for --experimental-malloc option, make
79526 it the default.
79527 * config.make.in: Likewise.
79528 * malloc/Makefile: Likewise.
79529
79530 2011-06-27 Andreas Schwab <schwab@redhat.com>
79531
79532 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79533 two-byte characters.
79534
79535 2011-06-27 Roland McGrath <roland@hack.frob.com>
79536
79537 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79538 AC_CACHE_CHECK invocation.
79539 * configure: Regenerated.
79540
79541 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79542
79543 2011-06-27 Ulrich Drepper <drepper@gmail.com>
79544
79545 [BZ #12350]
79546 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
79547 bit from old_res_options.
79548
79549 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79550
79551 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79552 value type for setfct.
79553
79554 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
79555
79556 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79557 __gettimeofday instead of gettimeofday.
79558
79559 2011-06-26 Ulrich Drepper <drepper@gmail.com>
79560
79561 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79562
79563 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
79564
79565 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79566
79567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79568 info.
79569
79570 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
79571
79572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79573 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79574 strcpy-sse2-unaligned strncpy-sse2-unaligned
79575 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79576 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79577 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79578 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79579 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79582 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79583 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79584 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79585 (STRCPY): Support SSE2 and SSSE3 versions.
79586
79587 2011-06-24 Ulrich Drepper <drepper@gmail.com>
79588
79589 [BZ #12874]
79590 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79591 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79592 kernels which artificially limit size of requests.
79593
79594 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
79595
79596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79597 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79598 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79599 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79600 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79601 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79602 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79603 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79606 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79607 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79608 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79609 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79610 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79612 Enable unaligned load optimization for Intel Core i3, i5 and i7
79613 processors.
79614 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79615 Define.
79616 (index_Fast_Unaligned_Load): Define.
79617 (HAS_FAST_UNALIGNED_LOAD): Define.
79618
79619 2011-06-23 Marek Polacek <mpolacek@redhat.com>
79620
79621 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79622
79623 2011-06-22 Ulrich Drepper <drepper@gmail.com>
79624
79625 [BZ #12907]
79626 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79627 until it is clear that the information is realy needed.
79628 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79629
79630 2011-06-22 Andreas Schwab <schwab@redhat.com>
79631
79632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79633
79634 2011-06-22 Ulrich Drepper <drepper@gmail.com>
79635
79636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79637 /sys/devices/system/cpu/online if it is usable.
79638
79639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79640 reading the information from the /proc filesystem to once a second.
79641
79642 2011-06-21 Andreas Jaeger <aj@suse.de>
79643
79644 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79645 NULL after inclusion of kernel headers.
79646
79647 2011-06-21 Ulrich Drepper <drepper@gmail.com>
79648
79649 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79650 calls to internal_setent.
79651
79652 [BZ #12885]
79653 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79654 addresses using gethostbyname4_r ignore IPv4 addresses.
79655
79656 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79657 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
79658
79659 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79660
79661 2011-06-20 David S. Miller <davem@davemloft.net>
79662
79663 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79664 inclusions.
79665 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79666
79667 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79668 (elf_irel): Use it.
79669 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79670 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79671 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79672 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79673 * sysdeps/x86_64/dl-irel.h: Likewise.
79674
79675 * elf/dl-runtime.c: Use elf_ifunc_invoke.
79676 * elf/dl-sym.c: Likewise.
79677
79678 2011-06-15 Ulrich Drepper <drepper@gmail.com>
79679
79680 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
79681 need to dereference resplen2.
79682
79683 2011-06-14 Andreas Schwab <schwab@redhat.com>
79684
79685 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79686
79687 2011-06-15 Ulrich Drepper <drepper@gmail.com>
79688
79689 * Makeconfig: Define vardbdir and inst_vardbdir.
79690 * nss/Makefile: Add rules to install db-Makefile.
79691
79692 * nss/nss_db/db-XXX.c: Cleanup.
79693
79694 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79695 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79696 GLIBC_PRIVATE.
79697 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79698 * nss/makedb.c: Implement -g option to specify that value strings
79699 are generated and should not be added to table iterated over for
79700 get*ent calls.
79701 * nss/nss_db/db-initgroups.c: New file.
79702
79703 * nss/getent.c: Add support for initgroups lookups through getgrouplist
79704 interface.
79705
79706 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79707 (internal_getgrouplist): Adjust to name change.
79708 Update use_initgroups_entry if this is not the first call.
79709 * nss/databases.def: Add initgroups entry.
79710
79711 * nss/makedb.c (compute_tables): Check result of multiple hash table
79712 sizes to minimize maximum chain length.
79713
79714 2011-06-14 Ulrich Drepper <drepper@gmail.com>
79715
79716 * Versions.def: Add entry for libnss_db.
79717 * shlib-versions: Likewise.
79718 * nss/Makefile: Add rules to build libnss_db.
79719 * nss/Versions: Add libnss_db information. Organize libnss_files
79720 entries better.
79721 * nss/db-Makefile: Add gshadow support. Change rules for the new
79722 makedb progra. Some minor improvements to generate smaller files.
79723 * nss/nss_db/nss_db.h: Move NSS database header data structures to
79724 here from...
79725 * nss/makedb.c: ...here.
79726 Improve database format to be smaller and require less memory at
79727 runtime.
79728 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
79729 db anymore.
79730 * nss/nss_db/db-netgrp.c: Likewise.
79731 * nss/nss_db/db-open.c: Likewise.
79732 * nss/nss_files/flies-XXX.x: Adjust comments.
79733 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79734 * nss/nss_files/files-grp.c: Likewise.
79735 * nss/nss_files/files-hosts.c: Likewise.
79736 * nss/nss_files/files-network.c: Likewise.
79737 * nss/nss_files/files-proto.c: Likewise.
79738 * nss/nss_files/files-pwd.c: Likewise.
79739 * nss/nss_files/files-rpc.c: Likewise.
79740 * nss/nss_files/files-service.c: Likewise.
79741 * nss/nss_files/files-sgrp.c: Likewise.
79742 * nss/nss_files/files-spwd.c: Likewise.
79743 * nss/nss_db/db-alias.c: Removed.
79744 * nss/nss_db/dummy-db.h: Removed.
79745
79746 2011-06-02 Ulrich Drepper <drepper@gmail.com>
79747
79748 * nss/makedb.c: Rewritten to not use database library.
79749 * nss/Makefile: Update to build new makedb program.
79750
79751 2011-06-14 Andreas Jaeger <aj@suse.de>
79752
79753 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79754 memset declaration.
79755
79756 2011-06-10 Andreas Schwab <schwab@redhat.com>
79757
79758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79759 tmpbuf.
79760
79761 2011-06-10 Roland McGrath <roland@hack.frob.com>
79762
79763 * Makerules (shlib.lds): Fail if the linker script comes out empty.
79764 * elf/Makefile ($(objpfx)ld.so): Likewise.
79765
79766 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79767 Don't list ld.so twice in dependencies.
79768
79769 * posix/bug-regex31.c: Include <stdlib.h>.
79770
79771 * nscd/hstcache.c (cache_addhst): Remove unused variable.
79772
79773 * nis/nss_compat/compat-spwd.c
79774 (getspent_next_nss_netgr): Remove unused variable.
79775 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79776
79777 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79778 nonmembers" output to use the right array.
79779
79780 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79781
79782 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79783
79784 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79785 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79786 * catgets/gencat.c (read_input_file): Likewise.
79787 * locale/programs/locarchive.c (enlarge_archive): Likewise.
79788
79789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79790 variable definition inside #if's controlling its use.
79791
79792 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79793
79794 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79795
79796 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79797
79798 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79799 unreachable code.
79800
79801 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79802
79803 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79804 * configure: Regenerated.
79805
79806 * Makerules: Revert last change.
79807 * elf/Makefile: Likewise.
79808
79809 2011-06-09 Roland McGrath <roland@hack.frob.com>
79810
79811 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79812 * elf/Makefile ($(objpfx)librtld.os): Likewise.
79813 (reloc-link): Likewise.
79814
79815 2011-06-09 Ulrich Drepper <drepper@gmail.com>
79816
79817 * elf/Makefile: Add rules to build pldd.
79818 * elf/pldd.c: New file.
79819 * elf/pldd-xx.c: New file.
79820
79821 2011-06-07 Ulrich Drepper <drepper@gmail.com>
79822
79823 * version.h: Update for 2.15 development version.
79824
79825 2011-06-07 David S. Miller <davem@davemloft.net>
79826
79827 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79828 ifuncs.
79829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79830 elf_machine_lazy_rel): Likewise.
79831 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79833 elf_machine_lazy_rel): Likewise.
79834 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79835 dl_hwcap via passed in argument.
79836 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79837 Likewise.
79838
79839 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79840
79841 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
79842
79843 2011-06-06 Roland McGrath <roland@hack.frob.com>
79844
79845 [BZ #12849]
79846 * manual/fdl-1.1.texi: New file, verbatim from:
79847 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79848 * manual/lgpl-2.1.texi: New file, verbatim from:
79849 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79850 * manual/Makefile (licenses): New variable, list those new file names.
79851 (texis): Use it.
79852 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79853
79854 * manual/fdl.texi: File removed.
79855 * manual/lesser.texi: File removed.
79856 * manual/libc.texinfo (Copying, Documentation License):
79857 Use new @include file names, put @appendix directive before @include.
79858
79859 2011-06-04 Jakub Jelinek <jakub@redhat.com>
79860
79861 [BZ #12841]
79862 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79863 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79864 (mq_open): Add __NTH.
79865
79866 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
79867
79868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79869 Assume Intel Core i3/i5/i7 processor if AVX is available.
79870
79871 2011-05-31 Ulrich Drepper <drepper@gmail.com>
79872
79873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79874 typo.
79875
79876 2011-05-31 Andreas Schwab <schwab@redhat.com>
79877
79878 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79879 memory. Use alloca_account. Fix memory leak when retrying.
79880
79881 2011-05-31 Ulrich Drepper <drepper@gmail.com>
79882
79883 * version.h (RELEASE): Bump for 2.14 release.
79884 * include/features.h (__GLIBC_MINOR__): Bump to 14.
79885
79886 * config.make.in (RANLIB): Remove entry.
79887
79888 2011-05-30 Ulrich Drepper <drepper@gmail.com>
79889
79890 * po/Makefile (po-sed-cmd): Add ksh to extensions.
79891 (libc.pot): Work around missing support for .ksh extension in xgettext.
79892
79893 [BZ #12684]
79894 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79895 if both request failed.
79896 (send_dg): In case of server errors clear resplen or *resplen2.
79897
79898 [BZ #12454]
79899 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79900 when there are multiple maps.
79901 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79902 (_dl_fini): Remove test here.
79903
79904 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79905
79906 2011-05-29 Ulrich Drepper <drepper@gmail.com>
79907
79908 [BZ #12350]
79909 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79910 bit from old_res_options.
79911 (gaih_inet): Likewise.
79912
79913 [BZ #11099]
79914 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79915 as signed.
79916
79917 * resolv/res_init.c (res_setoptions): Make the code more compact.
79918
79919 [BZ #11558]
79920 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79921 set RES_USEVC.
79922
79923 [BZ #11634]
79924 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79925
79926 * malloc/malloc.h: Mark malloc hook variables as deprecated.
79927
79928 [BZ #11781]
79929 * malloc/malloc.h: Declare malloc hook variables as volatile.
79930
79931 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79932 in last patch.
79933
79934 [BZ #11799]
79935 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79936 raise in the comment.
79937 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79938 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79939 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79940
79941 2011-05-28 Ulrich Drepper <drepper@gmail.com>
79942
79943 [BZ #12811]
79944 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79945 grow the buffers more if it already has to be sufficient.
79946 (build_wcs_upper_buffer): Likewise.
79947 * posix/regexec.c (check_matching): Likewise.
79948 (clean_state_log_if_needed): Likewise.
79949 (extend_buffers): Don't enlarge buffers beyond size of the input
79950 buffer.
79951 Patches mostly by Emil Wojak <emil@wojak.eu>.
79952 * posix/bug-regex32.c: New file.
79953 * posix/Makefile (tests): Add bug-regex32.
79954
79955 * locale/findlocale.c (_nl_find_locale): Return right away if
79956 _nl_explode_name failed.
79957 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79958
79959 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79960
79961 * debug/xtrace.sh: Unify messages.
79962 * malloc/memusage.sh: Likewise.
79963
79964 [BZ #12813]
79965 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79966 time symbol from vDSO. Substitute with vsyscall if not available.
79967 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79968 __vdso_time.
79969
79970 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79971 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79972 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79973 Add sendmmsg and internal_sendmmsg.
79974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79975 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79976 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79977
79978 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79979 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79981
79982 2011-05-27 Ulrich Drepper <drepper@gmail.com>
79983
79984 [BZ #12813]
79985 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79986 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
79987 available.
79988 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79989 __vdso_getcpu.
79990
79991 [BZ #12814]
79992 * iconvdata/Makefile (tests): Add bug-iconv9.
79993 * iconvdata/bug-iconv9.c: New file.
79994
79995 2011-05-27 Andreas Schwab <schwab@redhat.com>
79996
79997 [BZ #12814]
79998 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79999
80000 2011-05-25 Jakub Jelinek <jakub@redhat.com>
80001
80002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80003 (struct user_regs_struct): Change intcs field back to cs.
80004
80005 2011-05-25 Ulrich Drepper <drepper@gmail.com>
80006
80007 * po/ja.po: Update from translation team.
80008
80009 2011-05-23 Ulrich Drepper <drepper@gmail.com>
80010
80011 [BZ #12795]
80012 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80013 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80014
80015 2011-05-20 Andreas Schwab <schwab@redhat.com>
80016
80017 * stdlib/longlong.h: Update from GCC.
80018
80019 2011-05-23 Andreas Schwab <schwab@redhat.com>
80020
80021 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80022 parameter name.
80023 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80024 Add parameter name.
80025 (__sysconf): Pass it down.
80026
80027 2011-05-22 Ulrich Drepper <drepper@gmail.com>
80028
80029 [BZ #12671]
80030 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80031 some situations.
80032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80033 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80034 add in in __libc_use_alloca calls. Adjust callers.
80035 (glob): Use malloc in some situations.
80036
80037 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80038 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80039 pltexit.
80040
80041 2011-05-21 Ulrich Drepper <drepper@gmail.com>
80042
80043 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80044 and CLOCK_BOOTTIME_ALARM.
80045
80046 [BZ #12782]
80047 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80048 is returned.
80049
80050 * string/_strerror.c (__strerror_r): Print negative errors as signed
80051 numbers.
80052
80053 [BZ #12777]
80054 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80055 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80056 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80057
80058 * configure.in: Fix typo in redirection and correct removal of test
80059 files in two cases.
80060
80061 [BZ #12788]
80062 * locale/setlocale.c (new_composite_name): Fix test to check for
80063 identical name of all categories.
80064
80065 [BZ #12792]
80066 * libio/filedoalloc.c (local_isatty): New function.
80067 (_IO_file_doallocate): Use local_isatty.
80068 * stdio-common/perror.c (perror): In case a new stream is used
80069 forward the stream error.
80070 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80071 error flag.
80072
80073 2011-05-20 Ulrich Drepper <drepper@gmail.com>
80074
80075 [BZ #11884]
80076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80077 alloca.
80078 * include/alloca.h (extend_alloca_account): Define.
80079
80080 [BZ #11857]
80081 * posix/regex.h: Fix comments with documentation of user-accessible
80082 fields after compilation and describe correct free'ing of pattern
80083 after re_compile_pattern.
80084 Patch by Reuben Thomas <rrt@sc3d.org>.
80085
80086 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
80087
80088 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80089 and -mno-altivec to prevent the compiler from using Altivec and/or
80090 VSX instructions when the corresponding registers are not available.
80091
80092 2011-05-19 Andreas Schwab <schwab@redhat.com>
80093
80094 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80095
80096 2011-05-19 Ulrich Drepper <drepper@gmail.com>
80097
80098 * libio/freopen.c (freopen): Use __dup2, not dup2.
80099 * libio/freopen64.c (freopen64): Likewise.
80100
80101 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
80102
80103 [BZ #12775]
80104 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80105 * math/Makefile (tests): Add test-powl.
80106 (CFLAGS-test-powl.c): Define.
80107 * math/test-powl.c: New file.
80108
80109 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
80110
80111 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80112
80113 2011-05-17 Ulrich Drepper <drepper@gmail.com>
80114
80115 [BZ #11837]
80116 * iconvdata/gb18030.c: Update to GB18020-2005.
80117
80118 2011-05-16 Ulrich Drepper <drepper@gmail.com>
80119
80120 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80121 RE_SYNTAX_POSIX_AWK): Update to match recent development.
80122 Patch by Aharon Robbins <arnold@skeeve.com>.
80123
80124 [BZ #11892]
80125 * stdlib/putenv.c (putenv): Don't always create copy of the variable
80126 on the stack.
80127
80128 [BZ #11895]
80129 * misc/pselect.c (__pselect): Handle timeout value errors hidden
80130 through underflows.
80131
80132 [BZ #12766]
80133 * misc/error.c (error_at_line): Ensure file_name and old_file_name
80134 point to strings before performing equality test for error_one_per_line
80135 mode.
80136
80137 [BZ #11697]
80138 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80139
80140 [BZ #11820]
80141 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80142 (struct user_fpregs_struct): Avoid __uint*_t types.
80143
80144 [BZ #6420]
80145 * malloc/mtrace.c (tr_where): Add additional parameter to point to
80146 symbol info. Use it instead of calling _dl_addr locally.
80147 (lock_and_info): New function.
80148 (tr_freehook): Call lock_and_info and pass symbol info as additional
80149 parameter to tr_where.
80150 (tr_mallochook): Likewise.
80151 (tr_reallochook): Likewise.
80152 (tr_memalignhook): Likewise.
80153
80154 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
80155 used and couldn't be at all thread-safe.
80156
80157 2011-05-15 Ulrich Drepper <drepper@gmail.com>
80158
80159 * libio/freopen.c (freopen): Don't close old file descriptor
80160 before the new one is opened. Instead dup the new file descriptor
80161 to the old one after the new stream is created.
80162 * libio/freopen64.c (freopen64): Likewise.
80163 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80164 * libio/fileops.c (_IO_new_file_close_it): Handle new
80165 _IO_FLAGS2_NOCLOSE flag.
80166 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80167 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80168 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80169 _IO_FLAGS2_NOCLOSE flag.
80170 * include/unistd.h: Add hidden_proto for dup3.
80171 Define __have_dup3.
80172 * io/dup3.c: Define hidden symbol.
80173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80174
80175 [BZ #7101]
80176 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80177 when an incomplete long option is used.
80178 * posix/tst-getopt_long1.c: New file.
80179 * posix/Makefile (tests): Add tst-getopt_long1.
80180
80181 [BZ #10138]
80182 * scripts/config.guess: Update from autoconf-2.68.
80183 * scripts/config.sub: Likewise.
80184
80185 [BZ #10157]
80186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80187 tests into ...
80188 (has_cpuclock): ...this. New function.
80189 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80190 macro here based on has_cpuclock code.
80191
80192 [BZ #10149]
80193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80194 First byte (not low byte) is now always NUL.
80195 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80196
80197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80198 Use non-cancelable interfaces.
80199
80200 [BZ #9809]
80201 * locale/iso-639.def: Add entry for Sorani.
80202
80203 [BZ #11901]
80204 * include/stdlib.h: Move include protection to the right place.
80205 Define abort_msg_s. Declare __abort_msg with it.
80206 * stdlib/abort.c (__abort_msg): Adjust type.
80207 * assert/assert.c (__assert_fail_base): New function. Majority
80208 of code from __assert_fail. Allocate memory for __abort_msg with
80209 mmap.
80210 (__assert_fail): Now call __assert_fail_base.
80211 * assert/assert-perr.c: Remove bulk of implementation. Use
80212 __assert_fail_base.
80213 * include/assert.hL Declare __assert_fail_base.
80214 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80215 mmap.
80216 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80217
80218 2011-05-14 Ulrich Drepper <drepper@gmail.com>
80219
80220 [BZ #11952]
80221 [BZ #12453]
80222 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80223 until all modules are registered in the DTV.
80224 * elf/Makefile: Add rules to build and run tst-tls19.
80225 * elf/tst-tls19.c: New file.
80226 * elf/tst-tls19mod1.c: New file.
80227 * elf/tst-tls19mod2.c: New file.
80228 * elf/tst-tls19mod3.c: New file.
80229 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80230
80231 [BZ #12083]
80232 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80233 correctly.
80234
80235 [BZ #12601]
80236 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80237 two-byte sequence errors.
80238 * iconvdata/Makefile (tests): Add bug-iconv8.
80239 * iconvdata/bug-iconv8.c: New file.
80240
80241 [BZ #12626]
80242 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80243 buf2 definition.
80244
80245 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80246
80247 [BZ #12432]
80248 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80249 (dummy_getcfa): New function.
80250 (init): Get _Unwind_GetCFA address, use dummy if not found.
80251 (backtrace_helper): In recursion check, also check whether CFA changes.
80252 (__backtrace): Completely initialize arg.
80253
80254 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80255 storing incomplete byte sequence in state object. Avoid testing for
80256 guaranteed too small input if we know there is enough data available.
80257
80258 2011-05-11 Andreas Schwab <schwab@redhat.com>
80259
80260 * Makeconfig (+link-pie): Indent.
80261 * Rules (binaries-pie): Define if $(have-fpie) and
80262 $(build-shared).
80263 (binaries-shared): Also filter out $(binaries-pie).
80264 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80265 * nscd/Makefile (others-pie): Add nscd.
80266 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80267 ($(objpfx)nscd): Remove command override.
80268 * login/Makefile (others-pie): Add pt_chown.
80269 ($(objpfx)pt_chown): Remove command override.
80270 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80271 remove command overrides.
80272
80273 2011-05-13 Ulrich Drepper <drepper@gmail.com>
80274
80275 * libio/tst_putwc.c: Fix error messages.
80276
80277 [BZ #12724]
80278 * libio/fileops.c (_IO_new_file_close_it): Always flush when
80279 currently writing and seek to current position when not.
80280 * libio/Makefile (tests): Add bug-fclose1.
80281 * libio/bug-fclose1.c: New file.
80282
80283 2011-05-12 Ulrich Drepper <drepper@gmail.com>
80284
80285 [BZ #12511]
80286 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80287 don't set DF_1_NODELETE here.
80288 (do_lookup_x): When entering new entry test for copy relocation
80289 and if necessary set DF_1_NODELETE flag.
80290 * elf/tst-unique4.cc: New file.
80291 * elf/tst-unique4.h: New file.
80292 * elf/tst-unique4lib.cc: New file.
80293 * elf/Makefile: Add rules to build and run tst-unique4.
80294 Patch by Piotr Bury <pbury@goahead.com>.
80295
80296 2011-05-11 Ulrich Drepper <drepper@gmail.com>
80297
80298 [BZ #12052]
80299 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80300
80301 [BZ #12625]
80302 * misc/mntent_r.c (addmntent): Flush the stream after the output
80303
80304 [BZ #12393]
80305 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80306 (is_trusted_path_normalize): Skip initial colon. Append slash
80307 to empty buffer. Duplicate is_trusted_path code but allow
80308 constructed patch to be prefix.
80309 (is_dst): Allow $ORIGIN followed by /.
80310 (_dl_dst_substitute): Correct clearing of check_for_trusted.
80311 Correct testing of result of is_trusted_path_normalize
80312 (decompose_rpath): Fix warning.
80313
80314 2011-05-10 Ulrich Drepper <drepper@gmail.com>
80315
80316 [BZ #11257]
80317 * grp/initgroups.c (internal_getgrouplist): When we found the service
80318 list through the initgroups entry in nsswitch.conf do not always
80319 continue on a successful lookup. Don't always use the
80320 __nss_group_database value if it is set.
80321 * nss/nsswitch.conf (initgroups): Change action for successful db
80322 lookup to continue for compatibility.
80323
80324 2011-05-09 Ulrich Drepper <drepper@gmail.com>
80325
80326 [BZ #11532]
80327 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80328 and CP774 modules.
80329 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80330 and CP774 modules.
80331 * iconvdata/tst-tables.sh: Likewise.
80332 * iconvdata/cp770.c: New file.
80333 * iconvdata/cp771.c: New file.
80334 * iconvdata/cp772.c: New file.
80335 * iconvdata/cp773.c: New file.
80336 * iconvdata/cp774.c: New file.
80337 * iconvdata/testdata/CP770: New file.
80338 * iconvdata/testdata/CP770..UTF8: New file.
80339 * iconvdata/testdata/CP771: New file.
80340 * iconvdata/testdata/CP771..UTF8: New file.
80341 * iconvdata/testdata/CP772: New file.
80342 * iconvdata/testdata/CP772..UTF8: New file.
80343 * iconvdata/testdata/CP773: New file.
80344 * iconvdata/testdata/CP773..UTF8: New file.
80345 * iconvdata/testdata/CP774: New file.
80346 * iconvdata/testdata/CP774..UTF8: New file.
80347
80348 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80349 END CHARMAP line.
80350 * iconvdata/gen-8bit-gap.sh: Likewise.
80351 * iconvdata/gen-8bit.sh: Likewise.
80352
80353 * locale/iso-639.def: Add ary entry.
80354
80355 [BZ #11258]
80356 * locale/C-translit.h.in: Add U20A1 transliteration.
80357
80358 [BZ #12178]
80359 * locale/iso-639.def: Add wae entry.
80360 Patch by Kevin Bortis <bortis@translate-wae.ch>.
80361
80362 [BZ #12545]
80363 * locale/programs/localedef.c (construct_output_path): Use ssize_t
80364 for n.
80365
80366 [BZ #12711]
80367 * locale/C-translit.h.in: Add entry for U20B9.
80368 Patch by pravin.d.s@gmail.com.
80369
80370 2011-05-08 Ulrich Drepper <drepper@gmail.com>
80371
80372 [BZ #12713]
80373 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80374 ENAMETOOLONG use generic getcwd.
80375 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
80376 in rtld. Use *stat64.
80377 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80378 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80379 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80380 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80381 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80382 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80383 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80384 __fstatat64 macros.
80385 * include/dirent.h: Add libc_hidden_proto for rewinddir.
80386 * dirent/rewinddir.c: Add libc_hidden_def.
80387 * sysdeps/mach/hurd/rewinddir.c: Likewise.
80388 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
80389
80390 * include/dirent.h (__alloc_dir): Add flags parameter.
80391 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80392 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80393 __alloc_dir.
80394 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
80395 from fdopendir if O_CLOEXEC is already set.
80396
80397 2011-03-15 Alan Modra <amodra@gmail.com>
80398
80399 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80400 l_tls_firstbyte_offset non-zero. Save padding offset in
80401 l_tls_firstbyte_offset for later use.
80402 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80403 freeing static tls block.
80404
80405 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
80406
80407 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80408 where #ifdef was intended. The intent is to prevent ARG_MAX from
80409 being defined by the kernel headers.
80410
80411 2011-05-07 Ulrich Drepper <drepper@gmail.com>
80412
80413 [BZ #12734]
80414 * resolv/resolv.h: Define RES_NOTLDQUERY.
80415 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80416 no-tld-query and set RES_NOTLDQUERY.
80417 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80418 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80419 modern BIND to search name as TLD unless forbidden.
80420
80421 2011-05-07 Petr Baudis <pasky@suse.cz>
80422 Ulrich Drepper <drepper@gmail.com>
80423
80424 [BZ #12393]
80425 * elf/dl-load.c (fillin_rpath): Move trusted path check...
80426 (is_trusted_path): ...to here.
80427 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80428 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80429 using is_trusted_path_normalize() in setuid scripts.
80430
80431 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
80432
80433 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80434 __BEGIN/__END_DECLS.
80435
80436 2011-05-06 Ulrich Drepper <drepper@gmail.com>
80437
80438 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80439 NSS_STATUS_NOTFOUND if no record was found.
80440
80441 2011-05-05 Andreas Schwab <schwab@redhat.com>
80442
80443 * sunrpc/Makefile (headers): Add rpc/netdb.h.
80444 (headers-not-in-tirpc): Remove rpc/netdb.h
80445 * resolv/netdb.h: Revert last change.
80446
80447 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
80448
80449 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80450 circular dependency between libgcc.a and libc.a.
80451
80452 2011-05-05 Andreas Schwab <schwab@redhat.com>
80453
80454 * resolv/netdb.h: Don't include <rpc/netdb.h>.
80455 * nis/Makefile: Don't install rpcsvc/*.
80456 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80457 instead of <rpc/types.h>.
80458 (MAXHOSTNAMELEN): Define.
80459
80460 2011-05-03 Andreas Schwab <schwab@redhat.com>
80461
80462 * elf/ldconfig.c (add_dir): Don't crash on empty path.
80463
80464 2011-04-28 Maciej Babinski <mbabinski@google.com>
80465
80466 [BZ #12714]
80467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80468 gethostbyname4_r when IPv6 results are possible.
80469
80470 2011-05-02 Ulrich Drepper <drepper@gmail.com>
80471
80472 [BZ #12723]
80473 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80474 _PC_PIPE_BUF handling.
80475
80476 2011-04-30 Bruno Haible <bruno@clisp.org>
80477
80478 [BZ #12717]
80479 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80480 * resolv/netdb.h (getnameinfo): Change type of flags parameter
80481 to 'int'.
80482 * inet/getnameinfo.c (getnameinfo): Likewise.
80483
80484 2011-04-29 Ulrich Drepper <drepper@gmail.com>
80485
80486 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80487 to groups setting in database lookup.
80488 * nss/nsswitch.conf: Add initgroups entry.
80489
80490 2011-04-22 Ulrich Drepper <drepper@gmail.com>
80491
80492 [BZ #12685]
80493 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80494 mode string.
80495 Patch by Eric Blake <eblake@redhat.com>.
80496
80497 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
80498
80499 * sunrpc/Makefile (need-export-routines): Add svc_run.
80500 (routines): Remove svc_run.
80501 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80502 * sunrpc/clnt_perr.c (clnt_perrno): Export.
80503 * sunrpc/svc_run.c (svc_run): Likewise.
80504 * sunrpc/svc_udp.c (svcudp_create): Likewise.
80505
80506 2011-04-21 Ulrich Drepper <drepper@gmail.com>
80507
80508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80509 problem in reallocation in last patch.
80510
80511 2011-04-20 Ulrich Drepper <drepper@gmail.com>
80512
80513 * sunrpc/Makefile: Move inclusion of Rules.
80514
80515 2011-04-19 Ulrich Drepper <drepper@gmail.com>
80516
80517 * nss/nss_files/files-initgroups.c: New file.
80518 * nss/Makefile (libnss_files-routines): Add files-initgroups.
80519 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80520 _nss_files_initgroups_dyn.
80521
80522 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
80523
80524 * elf/elf.h (R_ARM_IRELATIVE): Define.
80525
80526 2011-04-19 Ulrich Drepper <drepper@gmail.com>
80527
80528 * po/ru.po: Update from translation team.
80529
80530 2011-04-17 Ulrich Drepper <drepper@gmail.com>
80531
80532 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80533 dependencies.
80534
80535 2011-02-06 Mike Frysinger <vapier@gentoo.org>
80536
80537 [BZ #12653]
80538 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80539 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80541 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80543
80544 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
80545
80546 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80547 differing bytes.
80548 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80551
80552 2011-04-17 Ulrich Drepper <drepper@gmail.com>
80553
80554 [BZ #12420]
80555 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80556 storing it.
80557 * stdlib/bug-getcontext.c: New file.
80558 * stdlib/Makefile: Add rules to build and run bug-getcontext.
80559
80560 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80561
80562 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80563 instructions into .machine "z9-109".
80564 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80565 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80566
80567 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80568
80569 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80570 between environment variables and auxiliary vector.
80571
80572 2011-04-16 Ulrich Drepper <drepper@gmail.com>
80573
80574 * Makefile: Add rules to build linkobj/libc.so.
80575 * include/libc-symbols.h: Define libc_hidden_nolink.
80576 * include/rpc/auth.h: Mark functions which are to be hidden.
80577 * include/rpc/auth_des.h: Likewise.
80578 * include/rpc/auth_unix.h: Likewise.
80579 * include/rpc/clnt.h: Likewise.
80580 * include/rpc/des_crypt.h: Likewise.
80581 * include/rpc/key_prot.h: Likewise.
80582 * include/rpc/pmap_clnt.h: Likewise.
80583 * include/rpc/pmap_prot.h: Likewise.
80584 * include/rpc/pmap_rmt.h: Likewise.
80585 * include/rpc/rpc_msg.h: Likewise.
80586 * include/rpc/svc.h: Likewise.
80587 * include/rpc/svc_auth.h: Likewise.
80588 * include/rpc/xdr.h: Likewise.
80589 * nis/Makefile: Link all DSOs against linkobj/libc.so.
80590 * nss/Makefile: Likewise.
80591 * sunrpc/Makefile: Don't install headers. Build library with normal
80592 entry points. Don't build rpcinfo. Link RPC tests appropriately.
80593 * sunrpc/auth_des.c: Hide exported symbols by default, export some
80594 for the compat linking library. Remove use of INTDEF/INTUSE.
80595 * sunrpc/auth_none.c: Likewise.
80596 * sunrpc/auth_unix.c: Likewise.
80597 * sunrpc/authdes_prot.c: Likewise.
80598 * sunrpc/authuxprot.c: Likewise.
80599 * sunrpc/clnt_gen.c: Likewise.
80600 * sunrpc/clnt_perr.c: Likewise.
80601 * sunrpc/clnt_raw.c: Likewise.
80602 * sunrpc/clnt_simp.c: Likewise.
80603 * sunrpc/clnt_tcp.c: Likewise.
80604 * sunrpc/clnt_udp.c: Likewise.
80605 * sunrpc/clnt_unix.c: Likewise.
80606 * sunrpc/des_crypt.c: Likewise.
80607 * sunrpc/des_soft.c: Likewise.
80608 * sunrpc/get_myaddr.c: Likewise.
80609 * sunrpc/key_call.c: Likewise.
80610 * sunrpc/key_prot.c: Likewise.
80611 * sunrpc/netname.c: Likewise.
80612 * sunrpc/pm_getmaps.c: Likewise.
80613 * sunrpc/pm_getport.c: Likewise.
80614 * sunrpc/pmap_clnt.c: Likewise.
80615 * sunrpc/pmap_prot.c: Likewise.
80616 * sunrpc/pmap_prot2.c: Likewise.
80617 * sunrpc/pmap_rmt.c: Likewise.
80618 * sunrpc/publickey.c: Likewise.
80619 * sunrpc/rpc_cmsg.c: Likewise.
80620 * sunrpc/rpc_common.c: Likewise.
80621 * sunrpc/rpc_dtable.c: Likewise.
80622 * sunrpc/rpc_prot.c: Likewise.
80623 * sunrpc/rpc_thread.c: Likewise.
80624 * sunrpc/rtime.c: Likewise.
80625 * sunrpc/svc.c: Likewise.
80626 * sunrpc/svc_auth.c: Likewise.
80627 * sunrpc/svc_authux.c: Likewise.
80628 * sunrpc/svc_raw.c: Likewise.
80629 * sunrpc/svc_run.c: Likewise.
80630 * sunrpc/svc_simple.c: Likewise.
80631 * sunrpc/svc_tcp.c: Likewise.
80632 * sunrpc/svc_udp.c: Likewise.
80633 * sunrpc/svc_unix.c: Likewise.
80634 * sunrpc/svcauth_des.c: Likewise.
80635 * sunrpc/xcrypt.c: Likewise.
80636 * sunrpc/xdr.c: Likewise.
80637 * sunrpc/xdr_array.c: Likewise.
80638 * sunrpc/xdr_float.c: Likewise.
80639 * sunrpc/xdr_intXX_t.c: Likewise.
80640 * sunrpc/xdr_mem.c: Likewise.
80641 * sunrpc/xdr_rec.c: Likewise.
80642 * sunrpc/xdr_ref.c: Likewise.
80643 * sunrpc/xdr_sizeof.c: Likewise.
80644 * sunrpc/xdr_stdio.c: Likewise.
80645
80646 2011-04-10 Ulrich Drepper <drepper@gmail.com>
80647
80648 [BZ #12650]
80649 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80650 * sysdeps/ia64/dl-tls.h: Likewise.
80651 * sysdeps/powerpc/dl-tls.h: Likewise.
80652 * sysdeps/s390/dl-tls.h: Likewise.
80653 * sysdeps/sh/dl-tls.h: Likewise.
80654 * sysdeps/sparc/dl-tls.h: Likewise.
80655 * sysdeps/x86_64/dl-tls.h: Likewise.
80656 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80657
80658 2011-03-14 Andreas Schwab <schwab@redhat.com>
80659
80660 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80661 rpath element also skip the following colon.
80662 (expand_dynamic_string_token): Add is_path parameter and pass
80663 down to DL_DST_REQUIRED and _dl_dst_substitute.
80664 (decompose_rpath): Call expand_dynamic_string_token with
80665 non-zero is_path. Ignore empty rpaths.
80666 (_dl_map_object_from_fd): Call expand_dynamic_string_token
80667 with zero is_path.
80668
80669 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
80670
80671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80672 Make cancelable.
80673
80674 2011-04-09 Ulrich Drepper <drepper@gmail.com>
80675
80676 [BZ #12655]
80677 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80678 Patch by Filipe David Manana <fdmanana@apache.org>.
80679
80680 2011-04-07 Andreas Schwab <schwab@redhat.com>
80681
80682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80683 Maintain aligned stack.
80684 (CHECK_RSP): Remove unused macro.
80685
80686 2011-04-03 Ulrich Drepper <drepper@gmail.com>
80687
80688 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80689 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80690
80691 2011-04-02 Ulrich Drepper <drepper@gmail.com>
80692
80693 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80694
80695 * include/features.h: Mention __USE_XOPEN2K8 in comment.
80696
80697 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
80698
80699 [BZ #12518]
80700 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80701 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80702 * sysdeps/x86_64/memmove.c: New file.
80703 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80704 (memcpy): Renamed to ...
80705 (__new_memcpy): This.
80706 (memcpy): Provide GLIBC_2_14 memcpy.
80707 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80708 (memcpy): Provide GLIBC_2_2_5 memcpy.
80709
80710 2011-04-01 Ulrich Drepper <drepper@gmail.com>
80711
80712 [BZ #12631]
80713 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80714
80715 2011-03-30 Andreas Schwab <schwab@redhat.com>
80716
80717 * misc/syncfs.c: New file.
80718 * misc/Makefile (routines): Add syncfs.
80719 * posix/unistd.h: Declare syncfs.
80720 * sysdeps/unix/syscalls.list: Add syncfs.
80721
80722 2011-04-01 Andreas Schwab <schwab@redhat.com>
80723
80724 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80725 open_by_handle_at.
80726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80731 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80733
80734 2011-04-01 Ulrich Drepper <drepper@gmail.com>
80735
80736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80737 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80738 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80743
80744 * io/Makefile: Compile fallocate.c, fallocate64.c, and
80745 sync_file_range.c with -fexceptions.
80746 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80747 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80748 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80749 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80750 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80751 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80753 sync_file_range as cancellation point
80754 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
80755 now a wrapper around __call_sync_file_range with cancellation handling.
80756 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80757 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
80758 function name to __call_sync_file_range.
80759 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80760 Add call_sync_file_range.
80761
80762 2011-04-01 Andreas Schwab <schwab@redhat.com>
80763
80764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80765 bits/timex.h.
80766
80767 2011-04-01 Ulrich Drepper <drepper@gmail.com>
80768
80769 * iconv/iconv.h: Fix typo in comment.
80770 * io/fcntl.h: Likewise.
80771 * libio/stdio.h: Likewise.
80772 * posix/spawn.h: Likewise.
80773 * posix/unistd.h: Likewise.
80774 * stdlib/stdlib.h: Likewise.
80775 * time/time.h: Likewise.
80776 * wcsmbs/wchar.h: Likewise.
80777
80778 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80779 open_by_handle): Add.
80780 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80781 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
80782 Augment a few comments.
80783 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80788 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80789 open_by_handle.
80790
80791 * io/fcntl.h (AT_EMPTY_PATH): Define.
80792
80793 2011-03-30 Ulrich Drepper <drepper@gmail.com>
80794
80795 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80796 * sysdeps/unix/sysv/linux/bits/time.h: New file.
80797 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80798 to...
80799 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
80800 * Versions.def: Add GLIBC_2.14.
80801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80802 Export.
80803
80804 2011-03-22 Ulrich Drepper <drepper@gmail.com>
80805
80806 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80807 round counter.
80808 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80809
80810 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
80811
80812 [BZ #12597]
80813 * string/test-strncmp.c (do_page_test): New function.
80814 (check2): Likewise.
80815 (test_main): Call check2.
80816 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80817
80818 2011-03-20 Ulrich Drepper <drepper@gmail.com>
80819
80820 [BZ #12587]
80821 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80822 Handle cache information in CPU leaf 4.
80823 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80824
80825 2011-03-18 Ulrich Drepper <drepper@gmail.com>
80826
80827 [BZ #12583]
80828 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80829 character representation.
80830 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80831
80832 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
80833
80834 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80835 END(__isnan) to END(__isnanf) to match function entry point/label
80836 EALIGN(__isnanf,...).
80837
80838 2011-03-10 Jakub Jelinek <jakub@redhat.com>
80839
80840 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80841
80842 2011-03-10 Ulrich Drepper <drepper@gmail.com>
80843
80844 [BZ #12510]
80845 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80846 copy from the symbol referenced in the relocation to initialize the
80847 used variable.
80848 Patch by Piotr Bury <pbury@goahead.com>.
80849 * elf/Makefile: Add rules to build and tst-unique3.
80850 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80851 * elf/tst-unique3.cc: New file.
80852 * elf/tst-unique3.h: New file.
80853 * elf/tst-unique3lib.cc: New file.
80854 * elf/tst-unique3lib2.cc: New file.
80855
80856 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80857
80858 2011-03-10 Mike Frysinger <vapier@gentoo.org>
80859
80860 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80861 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
80862 to _start.
80863
80864 2011-03-06 Ulrich Drepper <drepper@gmail.com>
80865
80866 * elf/dl-load.c (_dl_map_object): If we are looking for the first
80867 to-be-loaded object along a path to loader is ld.so.
80868
80869 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
80870 Ulrich Drepper <drepper@gmail.com>
80871
80872 * sysdeps/x86_64/memset.S: After aligning destination, code
80873 branches to different locations depending on the value of
80874 misalignment, when multiarch is enabled. Fix this.
80875
80876 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
80877
80878 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80879 Set _x86_64_preferred_memory_instruction for AMD processsors.
80880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80881 Set bit_Prefer_SSE_for_memop for AMD processors.
80882
80883 2011-03-04 Ulrich Drepper <drepper@gmail.com>
80884
80885 * libio/fmemopen.c (fmemopen): Optimize a bit.
80886
80887 2011-03-03 Andreas Schwab <schwab@redhat.com>
80888
80889 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80890
80891 2011-03-03 Roland McGrath <roland@redhat.com>
80892
80893 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80894
80895 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
80896
80897 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80898 __bzero_ultra1 instead of __memset_ultra1.
80899
80900 2011-02-23 Andreas Schwab <schwab@redhat.com>
80901 Ulrich Drepper <drepper@gmail.com>
80902
80903 [BZ #12509]
80904 * include/link.h (struct link_map): Add l_orig_initfini.
80905 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80906 returning unsuccessfully.
80907 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80908 close of a file loaded at startup, restore the original l_initfini
80909 list.
80910 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80911 list, store the pointer.
80912 * elf/Makefile ($(objpfx)noload-mem): New rule.
80913 (noload-ENV): Define.
80914 (tests): Add $(objpfx)noload-mem.
80915 * elf/noload.c: Include <memcheck.h>.
80916 (main): Call mtrace. Close all opened handles.
80917
80918 2011-02-17 Andreas Schwab <schwab@redhat.com>
80919
80920 [BZ #12454]
80921 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80922 dependencies are missing.
80923
80924 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
80925
80926 Fix __if_freereq crash: Unlike the generic version which uses free,
80927 Hurd needs munmap.
80928 * sysdeps/mach/hurd/ifreq.h: New file.
80929
80930 2011-01-27 Petr Baudis <pasky@suse.cz>
80931 Ulrich Drepper <drepper@gmail.com>
80932
80933 [BZ 12445]#
80934 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80935 to extend_alloca().
80936 * stdio-common/bug23.c: New file.
80937 * stdio-common/Makefile (tests): Add bug23.
80938
80939 2010-09-28 Andreas Schwab <schwab@redhat.com>
80940 Ulrich Drepper <drepper@gmail.com>
80941
80942 [BZ #12489]
80943 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80944 before performing relro protection. At old place add assertion
80945 to make sure nothing changed.
80946
80947 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
80948 Glauber de Oliveira Costa <glommer@gmail.com>
80949
80950 * elf/elf.h: Add new ARM TLS relocs.
80951
80952 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
80953
80954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80955 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80956 cast from r3.
80957 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
80958 'tests' variable.
80959 * sysdeps/wordsize-64/tst-writev.c: New file.
80960
80961 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
80962
80963 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80964 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80965 insns in _dl_start to prevent a TOC reference before relocs are
80966 resolved.
80967
80968 2011-02-15 Ulrich Drepper <drepper@gmail.com>
80969
80970 [BZ #12469]
80971 * Makeconfig: Remove RANLIB definition.
80972 * Makerules: Don't use RANLIB.
80973 * aclocal.m4: Remove ranlib test.
80974 * configure.in: No need to check for ranlib.
80975 * elf/rtld-Rules: Don't use RANLIB.
80976
80977 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
80978
80979 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80980 protection macro.
80981 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80982 inclusion protection macro.
80983
80984 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80985 SIGRTMIN and SIGRTMAX and print information in that case only when
80986 SIGRTMIN is defined.
80987
80988 2011-02-11 Jakub Jelinek <jakub@redhat.com>
80989
80990 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80991 arginfo fn returning -1.
80992
80993 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80994 and thousands string is zero terminated.
80995
80996 2011-02-03 Andreas Schwab <schwab@redhat.com>
80997
80998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80999 sysdeps/unix/sysv/linux/bits/socket.h.
81000
81001 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
81002
81003 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81004 (__CPU_COUNT): Remove old macros.
81005 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81006 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81007 (__CPU_ALLOC, __CPU_FREE): Add macros.
81008 (__sched_cpualloc, __sched_cpufree): Add declarations.
81009
81010 2011-02-05 Ulrich Drepper <drepper@gmail.com>
81011
81012 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81013 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81014 * nscd/aicache.c (addhstaiX): Return timeout of added value.
81015 (readdhstai): Return value of addhstaiX call.
81016 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81017 (addgrbyX): Return value returned by cache_addgr.
81018 (readdgrbyname): Return value returned by addgrbyX.
81019 (readdgrbygid): Likewise.
81020 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81021 (addpwbyX): Return value returned by cache_addpw.
81022 (readdpwbyname): Return value returned by addhstbyX.
81023 (readdpwbyuid): Likewise.
81024 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81025 (addservbyX): Return value returned by cache_addserv.
81026 (readdservbyname): Return value returned by addservbyX:
81027 (readdservbyport): Likewise.
81028 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81029 (addhstbyX): Return value returned by cache_addhst.
81030 (readdhstbyname): Return value returned by addhstbyX.
81031 (readdhstbyaddr): Likewise.
81032 (readdhstbynamev6): Likewise.
81033 (readdhstbyaddrv6): Likewise.
81034 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81035 (readdinitgroups): Return value returned by addinitgroupsX.
81036 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81037 (prune_cache): Keep track of timeout value of re-added entries.
81038 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81039 * nscd/nscd.h: Adjust prototypes of readd* functions.
81040
81041 2011-02-04 Roland McGrath <roland@redhat.com>
81042
81043 * nis/nis_server.c (nis_servstate): Use the right name for 0.
81044 (nis_stats): Likewise.
81045 * nis/nis_modify.c (nis_modify): Likewise.
81046 * nis/nis_remove.c (nis_remove): Likewise.
81047 * nis/nis_add.c (nis_add): Likewise.
81048
81049 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81050
81051 * posix/fnmatch_loop.c: Add some consts.
81052
81053 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81054
81055 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
81056
81057 [BZ #12460]
81058 * config.make.in (config-cflags-novzeroupper): Define.
81059 * configure.in: Substitute libc_cv_cc_novzeroupper.
81060 * elf/Makefile (AVX-CFLAGS): Define.
81061 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81062 (CFLAGS-tst-auditmod4a.c): Likewise.
81063 (CFLAGS-tst-auditmod4b.c): Likewise.
81064 (CFLAGS-tst-auditmod6b.c): Likewise.
81065 (CFLAGS-tst-auditmod6c.c): Likewise.
81066 (CFLAGS-tst-auditmod7b.c): Likewise.
81067 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81068
81069 2011-02-02 Ulrich Drepper <drepper@gmail.com>
81070
81071 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81072 function to the callback.
81073 Patch partly by Jiri Olsa <jolsa@redhat.com>.
81074
81075 2011-02-02 Andreas Schwab <schwab@redhat.com>
81076
81077 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81078 of errno.
81079
81080 2011-01-19 Ulrich Drepper <drepper@gmail.com>
81081
81082 [BZ #11724]
81083 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81084 of constructors.
81085 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81086 of destructors.
81087 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81088
81089 [BZ #11724]
81090 * elf/Makefile: Add rules to build and run new test.
81091 * elf/tst-initorder.c: New file.
81092 * elf/tst-initorder.exp: New file.
81093 * elf/tst-initordera1.c: New file.
81094 * elf/tst-initordera2.c: New file.
81095 * elf/tst-initordera3.c: New file.
81096 * elf/tst-initordera4.c: New file.
81097 * elf/tst-initorderb1.c: New file.
81098 * elf/tst-initorderb2.c: New file.
81099 * elf/tst-order-a1.c: New file.
81100 * elf/tst-order-a2.c: New file.
81101 * elf/tst-order-a3.c: New file.
81102 * elf/tst-order-a4.c: New file.
81103 * elf/tst-order-b1.c: New file.
81104 * elf/tst-order-b2.c: New file.
81105 * elf/tst-order-main.c: New file.
81106 New test case by George Gensure <werkt0@gmail.com>.
81107
81108 2010-10-01 Andreas Schwab <schwab@redhat.com>
81109
81110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81111 decoding ACE if AI_CANONIDN.
81112
81113 2011-01-18 Ulrich Drepper <drepper@gmail.com>
81114
81115 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81116
81117 2011-01-17 Ulrich Drepper <drepper@gmail.com>
81118
81119 * version.h (RELEASE): Bump for 2.13 release.
81120 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81121
81122 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81123
81124 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81125 MADV_NOHUGEPAGE.
81126 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81129 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81132
81133 * posix/getconf.c: Update copyright year.
81134 * catgets/gencat.c: Likewise.
81135 * csu/version.c: Likewise.
81136 * debug/catchsegv.sh: Likewise.
81137 * debug/xtrace.sh: Likewise.
81138 * elf/ldconfig.c: Likewise.
81139 * elf/ldd.bash.in: Likewise.
81140 * elf/sprof.c (print_version): Likewise.
81141 * iconv/iconv_prog.c: Likewise.
81142 * iconv/iconvconfig.c: Likewise.
81143 * locale/programs/locale.c: Likewise.
81144 * locale/programs/localedef.c: Likewise.
81145 * malloc/memusage.sh: Likewise.
81146 * malloc/mtrace.pl: Likewise.
81147 * nscd/nscd.c (print_version): Likewise.
81148 * nss/getent.c: Likewise.
81149
81150 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81151 PF_CAIF, and PF_ALG.
81152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81153
81154 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
81155
81156 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81157 (modules-names): Use them.
81158 (ifunc-test-modules, ifunc-pie-tests): Define.
81159 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81160 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81161 (test-extras): Likewise.
81162 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81163 $(compile-command.c).
81164 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81165 (all-built-dso): Define.
81166 (check-textrel.out, check-execstack.out): Depend on it.
81167
81168 * configure.in: Don't override --enable-multi-arch.
81169
81170 2011-01-15 Ulrich Drepper <drepper@gmail.com>
81171
81172 [BZ #6812]
81173 * nscd/hstcache.c (tryagain): Define.
81174 (cache_addhst): Return tryagain not notfound for temporary errors.
81175 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81176 failed.
81177
81178 2011-01-14 Ulrich Drepper <drepper@gmail.com>
81179
81180 [BZ #10563]
81181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81182 to make the syscall.
81183 * sysdeps/unix/sysv/linux/setgroups.c: New file.
81184
81185 [BZ #12378]
81186 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81187 and fall back to matching as normal character if the string ends before
81188 the matching ']' is found. This is what POSIX requires.
81189 * posix/testfnm.c: Adjust test result.
81190 * posix/globtest.sh: Adjust test result. Add new test.
81191 * posix/tst-fnmatch.input: Likewise.
81192 * posix/tst-fnmatch2.c: Add new test.
81193
81194 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
81195
81196 * elf/Makefile (check-execstack): Revert last change. Depend on
81197 check-execstack.h.
81198 (check-execstack.h): New target.
81199 (generated): Add check-execstack.h.
81200 * elf/check-execstack.c: Include "check-execstack.h".
81201 (main): Revert last change.
81202 (handle_file): Return zero if GNU_STACK is absent and
81203 DEFAULT_STACK_PERMS doesn't include PF_X.
81204
81205 2011-01-13 Ulrich Drepper <drepper@gmail.com>
81206
81207 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81208 in child fails because the descriptor is already closed.
81209 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81210 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81211 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81212
81213 [BZ #12397]
81214 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81215 syscall.
81216
81217 [BZ #10484]
81218 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81219 temporary buffer used to handle multi lookups locally.
81220 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81221
81222 2011-01-12 Ulrich Drepper <drepper@gmail.com>
81223
81224 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81225 loader is ld.so.
81226
81227 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
81228
81229 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81230 alignment for SSE2.
81231
81232 2011-01-12 Ulrich Drepper <drepper@gmail.com>
81233
81234 [BZ #12394]
81235 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81236 characters. When rounding increased number of integer digits recompute
81237 number of groups.
81238 * stdio-common/tst-grouping.c: New file.
81239 * stdio-common/Makefile: Add rules to build and run tst-grouping.
81240
81241 2011-01-09 Ulrich Drepper <drepper@gmail.com>
81242
81243 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81244 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
81245
81246 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81247 void.
81248 * bits/select.h: Likewise.
81249
81250 2011-01-08 Ulrich Drepper <drepper@gmail.com>
81251
81252 * po/ja.po: Update from translation team.
81253
81254 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
81255
81256 [BZ #11155]
81257 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81258 implementation just like for lxstat, fxstatat, et al.
81259
81260 2010-12-27 Jim Meyering <meyering@redhat.com>
81261
81262 [BZ #12348]
81263 * posix/regexec.c (build_trtable): Return failure indication upon
81264 calloc failure. Otherwise, re_search_internal could infloop on OOM.
81265
81266 2010-12-25 Ulrich Drepper <drepper@gmail.com>
81267
81268 [BZ #12201]
81269 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81270 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81271 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81273
81274 [BZ #12207]
81275 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81276
81277 [BZ #12204]
81278 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81279 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81280
81281 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
81282
81283 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81284 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81285 script has SORT_BY_INIT_PRIORITY.
81286 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81287 NO_CTORS_DTORS_SECTIONS is defined.
81288 * elf/soinit.c: Likewise.
81289 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81290 NO_CTORS_DTORS_SECTIONS is defined.
81291 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81292 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81293 * sysdeps/sh/init-first.c: Likewise.
81294 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81295
81296 2010-12-24 Ulrich Drepper <drepper@gmail.com>
81297
81298 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81299 always use the slow path.
81300
81301 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
81302
81303 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81304 similar rule which adds the sysdep directories to the header search in
81305 order to pick up the correct platform stackinfo.h.
81306 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81307 perform test if it is, otherwise return successfully without testing.
81308 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81309 DEFAULT_STACK_PERMS define in stackinfo.h.
81310 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81311 defined in stackinfo.h.
81312 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81313 DEFAULT_STACK_PERMS defined in stackinfo.h.
81314 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81315 * sysdeps/ia64/stackinfo.h: Likewise.
81316 * sysdeps/s390/stackinfo.h: Likewise.
81317 * sysdeps/sh/stackinfo.h: Likewise.
81318 * sysdeps/sparc/stackinfo.h: Likewise.
81319 * sysdeps/x86_64/stackinfo.h: Likewise.
81320 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81321 PF_X for powerpc64. Retain PF_X for powerpc32.
81322
81323 2010-12-19 Ulrich Drepper <drepper@gmail.com>
81324
81325 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81326 accurately.
81327 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81328 GETDENTS_64BIT_ALIGNED.
81329
81330 2010-12-14 Ulrich Drepper <dreper@gmail.com>
81331
81332 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81333
81334 2010-12-10 Andreas Schwab <schwab@redhat.com>
81335
81336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81337 _GNU_SOURCE.
81338
81339 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81340 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81341 Remove __restrict.
81342 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81343 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81344
81345 2010-12-09 Ulrich Drepper <drepper@gmail.com>
81346
81347 [BZ #11655]
81348 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81349 are initialized.
81350
81351 2010-12-09 Jakub Jelinek <jakub@redhat.com>
81352
81353 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81354
81355 2010-12-03 Ulrich Drepper <drepper@gmail.com>
81356
81357 * po/it.po: Update from translation team.
81358
81359 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
81360
81361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81362 unused codes.
81363
81364 2010-11-30 Ulrich Drepper <drepper@gmail.com>
81365
81366 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81367
81368 2010-11-24 Andreas Schwab <schwab@redhat.com>
81369
81370 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81371 specially.
81372 (gaih_getanswer_slice): Likewise.
81373
81374 2010-10-20 Jakub Jelinek <jakub@redhat.com>
81375
81376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81377
81378 2010-05-31 Petr Baudis <pasky@suse.cz>
81379
81380 [BZ #11149]
81381 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81382 silently even in the chroot mode.
81383
81384 2010-11-22 Ulrich Drepper <drepper@gmail.com>
81385
81386 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81387 last patch a bit. Pretty printing
81388
81389 2010-05-31 Petr Baudis <pasky@suse.cz>
81390
81391 [BZ #10085]
81392 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81393 initialization of skip_initgroups_dyn.
81394
81395 2010-11-19 Ulrich Drepper <drepper@gmail.com>
81396
81397 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81398 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81399
81400 2010-11-16 Ulrich Drepper <drepper@gmail.com>
81401
81402 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81403
81404 2010-11-11 Andreas Schwab <schwab@redhat.com>
81405
81406 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81407 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81408 (tst-fnmatch-ENV): Set MALLOC_TRACE.
81409 ($(objpfx)tst-fnmatch-mem): New rule.
81410 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81411 * posix/tst-fnmatch.c (main): Call mtrace.
81412
81413 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
81414
81415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81416 Support Intel processor model 6 and model 0x2c.
81417
81418 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
81419
81420 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81421 signed comparison.
81422
81423 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
81424
81425 [BZ #12205]
81426 * string/test-strncasecmp.c (check_result): New function.
81427 (do_one_test): Use it.
81428 (check1): New function.
81429 (test_main): Use it.
81430 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81431 Support strcasecmp and strncasecmp.
81432
81433 2010-11-08 Ulrich Drepper <drepper@gmail.com>
81434
81435 [BZ #12194]
81436 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
81438
81439 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
81440
81441 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81442 IFUNC support.
81443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81444 memset-x86-64.
81445 * sysdeps/x86_64/multiarch/bzero.S: New file.
81446 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81447 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81448 * sysdeps/x86_64/multiarch/memset.S: New file.
81449 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81451 Set bit_Prefer_SSE_for_memop for Intel processors.
81452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81453 Define.
81454 (index_Prefer_SSE_for_memop): Define.
81455 (HAS_PREFER_SSE_FOR_MEMOP): Define.
81456
81457 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
81458
81459 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81460 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81461
81462 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
81463
81464 [BZ #12191]
81465 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81466 (__x86_64_raw_data_cache_size_half): Likewise.
81467 (__x86_64_raw_shared_cache_size): Likewise.
81468 (__x86_64_raw_shared_cache_size_half): Likewise.
81469
81470 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81471 (__x86_64_raw_data_cache_size_half): Likewise.
81472 (__x86_64_raw_shared_cache_size): Likewise.
81473 (__x86_64_raw_shared_cache_size_half): Likewise.
81474 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81475 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81476 and __x86_64_raw_shared_cache_size_half. Round
81477 __x86_64_data_cache_size_half, __x86_64_data_cache_size
81478 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81479 to multiple of 256 bytes.
81480
81481 2010-11-03 Ulrich Drepper <drepper@gmail.com>
81482
81483 [BZ #12167]
81484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81485 of inacessible symlinks. Verify result of symlink before returning it.
81486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81487 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81488
81489 2010-10-28 Erich Ritz <erichritz@gmail.com>
81490
81491 * math/math.h (isinf): Fix typo in comment.
81492
81493 2010-11-01 Ulrich Drepper <drepper@gmail.com>
81494
81495 * po/da.po: Update from translation team.
81496
81497 2010-10-26 Ulrich Drepper <drepper@gmail.com>
81498
81499 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81500 is added to the list.
81501
81502 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81503 Ulrich Drepper <drepper@gmail.com>
81504
81505 * elf/dl-object.c (_dl_new_object): Don't append the new object to
81506 the global list here. Move code to...
81507 (_dl_add_to_namespace_list): ...here. New function.
81508 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81509 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81510 * elf/dl-load.c (lose): Don't remove the element from the list.
81511 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81512 (_dl_map_object): Likewise.
81513
81514 2010-10-25 Ulrich Drepper <drepper@gmail.com>
81515
81516 [BZ #12159]
81517 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81518 into all bytes of SSE register.
81519 Patch by Richard Li <richardpku@gmail.com>.
81520
81521 2010-10-24 Ulrich Drepper <drepper@gmail.com>
81522
81523 [BZ #12140]
81524 * malloc/malloc.c (_int_free): Fill correct number of bytes when
81525 perturbing.
81526
81527 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
81528
81529 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81530 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81531 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81532 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81534 submachine.
81535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81536
81537 2010-10-22 Andreas Schwab <schwab@redhat.com>
81538
81539 * include/dlfcn.h (__RTLD_SECURE): Define.
81540 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
81541 mode & __RTLD_SECURE instead.
81542 (open_path): Rename preloaded parameter to secure.
81543 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81544 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81545 * elf/dl-deps.c (openaux): Likewise.
81546 * elf/rtld.c (struct map_args): Remove is_preloaded.
81547 (map_doit): Don't use it.
81548 (dl_main): Likewise.
81549 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81550 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81551
81552 2010-09-09 Andreas Schwab <schwab@redhat.com>
81553
81554 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81555 (sysd-rules-targets): Remove duplicates.
81556 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81557 rtld-%.$o dependency.
81558
81559 2010-10-18 Andreas Schwab <schwab@redhat.com>
81560
81561 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81562 _dl_map_object do it.
81563
81564 2010-10-19 Ulrich Drepper <drepper@gmail.com>
81565
81566 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81567 fast fma builtins, define the macros in the C99 standard.
81568 (FP_FAST_FMAF): Likewise.
81569 (FP_FAST_FMAL): Likewise.
81570 * sysdeps/x86_64/bits/mathdef.h: Likewise.
81571
81572 * bits/mathdef.h: Update copyright year.
81573 * sysdeps/powerpc/bits/mathdef.h: Likewise.
81574
81575 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
81576
81577 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81578 builtins, define the macros in the C99 standard.
81579 (FP_FAST_FMAF): Likewise.
81580 (FP_FAST_FMAL): Likewise.
81581 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81582 multiply/add.
81583 (FP_FAST_FMAF): Likewise.
81584
81585 2010-10-15 Jakub Jelinek <jakub@redhat.com>
81586
81587 [BZ #3268]
81588 * math/libm-test.inc (fma_test): Some new testcases.
81589 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81590 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81591 y and infinite z. Do multiplication by C already in long double.
81592 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81594 y and infinite z. Do bitwise or of inexact bit into u.d.
81595 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81596 * sysdeps/i386/fpu/s_fmaf.S: Removed.
81597 * sysdeps/i386/fpu/s_fma.S: Removed.
81598 * sysdeps/i386/fpu/s_fmal.S: Removed.
81599
81600 2010-10-16 Jakub Jelinek <jakub@redhat.com>
81601
81602 [BZ #3268]
81603 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81605 computation is not scheduled after fetestexcept. Fix value
81606 of minimum denormal long double.
81607
81608 2010-10-14 Jakub Jelinek <jakub@redhat.com>
81609
81610 [BZ #3268]
81611 * math/libm-test.inc (fma_test): Add some more tests.
81612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81613 correctly.
81614
81615 2010-10-15 Andreas Schwab <schwab@redhat.com>
81616
81617 * scripts/data/localplt-s390-linux-gnu.data: New file.
81618 * scripts/data/localplt-s390x-linux-gnu.data: New file.
81619
81620 2010-10-13 Jakub Jelinek <jakub@redhat.com>
81621
81622 [BZ #3268]
81623 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81624 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81625 instead of dbl-64.
81626 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81627 inlines.
81628 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81630 if one of x and y is very large and the other is subnormal.
81631 * sysdeps/s390/fpu/s_fmaf.c: New file.
81632 * sysdeps/s390/fpu/s_fma.c: New file.
81633 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81634 * sysdeps/powerpc/fpu/s_fma.S: New file.
81635 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81636 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81637 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81638
81639 2010-10-12 Jakub Jelinek <jakub@redhat.com>
81640
81641 [BZ #3268]
81642 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81643 fma tests.
81644 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81645 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81646 * sysdeps/i386/i686/multiarch/s_fma.c: Include
81647 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81648 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81649 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81650 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81651
81652 2010-10-12 Ulrich Drepper <drepper@redhat.com>
81653
81654 [BZ #12078]
81655 * posix/regcomp.c (parse_branch): One more memory leak plugged.
81656 * posix/bug-regex31.input: Add test case.
81657
81658 2010-10-11 Ulrich Drepper <drepper@gmail.com>
81659
81660 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81661 * posix/bug-regex31.input: New file.
81662
81663 [BZ #12078]
81664 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81665 (parse_sub_exp): Fix last change, use postorder.
81666
81667 * posix/bug-regex31.c: New file.
81668 * posix/Makefile: Add rules to build and run bug-regex31.
81669
81670 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81671
81672 [BZ #12078]
81673 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81674
81675 [BZ #12108]
81676 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81677 to have entries in sys_siglist.
81678
81679 [BZ #12093]
81680 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81681 be NULL.
81682
81683 2010-10-07 Jakub Jelinek <jakub@redhat.com>
81684
81685 [BZ #3268]
81686 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81687 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81688 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81689 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81691 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81692 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81693 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81694 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81695 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81696 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81697 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81698 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81699 * math/ftestexcept.c (fetestexcept): Likewise.
81700 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81701 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81702 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81703 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81704 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81705 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81706 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81707
81708 2010-10-11 Ulrich Drepper <drepper@gmail.com>
81709
81710 [BZ #12107]
81711 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81712 newline.
81713
81714 2010-10-06 Ulrich Drepper <drepper@gmail.com>
81715
81716 * string/bug-strstr1.c: New file.
81717 * string/Makefile: Add rules to build and run bug-strstr1.
81718
81719 2010-10-05 Eric Blake <eblake@redhat.com>
81720
81721 [BZ #12092]
81722 * string/str-two-way.h (two_way_long_needle): Always clear memory
81723 when skipping input due to the shift table.
81724
81725 2010-10-03 Ulrich Drepper <drepper@gmail.com>
81726
81727 [BZ #12005]
81728 * malloc/mcheck.c: Handle large requests.
81729
81730 [BZ #12077]
81731 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81732 for strncmp and strncasecmp.
81733 * string/stratcliff.c: Add tests for strcmp and strncmp.
81734 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81735
81736 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
81737
81738 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81739 __set_fpscr.
81740
81741 2010-09-30 Andreas Jaeger <aj@suse.de>
81742
81743 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81744 (CGROUP_SUPER_MAGIC): Define.
81745 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81746 Handle btrfs and cgroup file systems.
81747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81748 Likewise.
81749
81750 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
81751
81752 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81753 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81754
81755 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81756
81757 [BZ #12067]
81758 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81759 trying to locate the ELF header.
81760
81761 2010-09-27 Andreas Schwab <schwab@redhat.com>
81762
81763 [BZ #11611]
81764 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81765 Mask out sign-bit copies when constructing f_fsid.
81766
81767 2010-09-24 Petr Baudis <pasky@suse.cz>
81768
81769 * debug/stack_chk_fail_local.c: Add missing licence exception.
81770 * debug/warning-nop.c: Likewise.
81771
81772 2010-09-15 Joseph Myers <joseph@codesourcery.com>
81773
81774 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81775 implementing getdents64 using getdents syscall, set d_type if
81776 __ASSUME_GETDENTS32_D_TYPE.
81777
81778 2010-09-16 Andreas Schwab <schwab@redhat.com>
81779
81780 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81781 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81782
81783 2010-09-21 Ulrich Drepper <drepper@redhat.com>
81784
81785 [BZ #12037]
81786 * posix/unistd.h: Undo change of feature selection for ftruncate from
81787 2010-01-11.
81788
81789 2010-09-20 Ulrich Drepper <drepper@redhat.com>
81790
81791 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81792 detection.
81793
81794 2010-09-20 Andreas Schwab <schwab@redhat.com>
81795
81796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81797 fanotify_mark.
81798 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81799
81800 2010-09-14 Andreas Schwab <schwab@redhat.com>
81801
81802 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81803 variables after CHECK_SP call.
81804 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81805
81806 2010-09-13 Andreas Schwab <schwab@redhat.com>
81807 Ulrich Drepper <drepper@redhat.com>
81808
81809 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81810 re-relocationg ld.so.
81811 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81812 _dl_init_paths call.
81813 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
81814 here anymore.
81815
81816 2010-09-14 Ulrich Drepper <drepper@redhat.com>
81817
81818 * resolv/res_init.c (__res_vinit): Count the default server we added.
81819
81820 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
81821 Ulrich Drepper <drepper@redhat.com>
81822
81823 [BZ #11968]
81824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81825 (____longjmp_chk): Use %ebx for saving value across system call.
81826 Add unwind info.
81827
81828 2010-09-06 Andreas Schwab <schwab@redhat.com>
81829
81830 * manual/Makefile: Don't mix pattern rules with normal rules.
81831
81832 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
81833
81834 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81835 operation.
81836 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81837 * libio/iofopncook.c (_IO_cookie_init): Likewise.
81838 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81839 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81841 Likewise.
81842
81843 2010-09-04 Ulrich Drepper <drepper@redhat.com>
81844
81845 [BZ #11979]
81846 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81847 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81848
81849 2010-09-02 Ulrich Drepper <drepper@redhat.com>
81850
81851 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81852 * sysdeps/x86_64/addmul_1.S: Likewise.
81853 * sysdeps/x86_64/lshift.S: Likewise.
81854 * sysdeps/x86_64/mul_1.S: Likewise.
81855 * sysdeps/x86_64/rshift.S: Likewise.
81856 * sysdeps/x86_64/sub_n.S: Likewise.
81857 * sysdeps/x86_64/submul_1.S: Likewise.
81858
81859 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
81860
81861 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81862 Define __sched_param instead of SCHED_* and sched_param when
81863 <bits/sched.h> is included with __need_schedparam defined.
81864 * bits/sched.h [__need_schedparam]
81865 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81866 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81867 (__defined_schedparam): Define to 1.
81868 (__sched_param): New structure, identical to sched_param.
81869 (__need_schedparam): Undefine.
81870
81871 2010-08-31 Mike Frysinger <vapier@gentoo.org>
81872
81873 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81874 (epoll_create1): Declare.
81875
81876 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81877
81878 2010-08-31 Andreas Schwab <schwab@redhat.com>
81879
81880 [BZ #7066]
81881 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81882 shifting retval into place.
81883
81884 2010-09-01 Ulrich Drepper <drepper@redhat.com>
81885
81886 * nis/rpcsvc/nis.h: Update copyright notice.
81887 * nis/rpcsvc/nis.x: Likewise.
81888 * nis/rpcsvc/nis_callback.h: Likewise.
81889 * nis/rpcsvc/nis_callback.x: Likewise.
81890 * nis/rpcsvc/nis_object.x: Likewise.
81891 * nis/rpcsvc/nis_tags.h: Likewise.
81892 * nis/rpcsvc/yp.h: Likewise.
81893 * nis/rpcsvc/yp.x: Likewise.
81894 * nis/rpcsvc/ypupd.h: Likewise.
81895 * nis/yp_xdr.c: Likewise.
81896 * nis/ypupdate_xdr.c: Likewise.
81897
81898 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
81899 mainly the body of pmap_getport. Add parameters to specify timeouts.
81900 (pmap_getport): Use __libc_rpc_getport.
81901 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81902 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81903 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81904
81905 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
81906
81907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81908 fanotify_mark.
81909
81910 2010-08-27 Roland McGrath <roland@redhat.com>
81911
81912 * sysdeps/i386/i686/multiarch/Makefile
81913 (CFLAGS-varshift.c): New variable.
81914
81915 2010-08-27 Ulrich Drepper <drepper@redhat.com>
81916
81917 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81918 * sysdeps/i386/i686/multiarch/varshift.c: New file.
81919
81920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81921
81922 * sysdeps/x86_64/strlen.S: Minimal code improvement.
81923
81924 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
81925
81926 * sysdeps/x86_64/strlen.S: Unroll the loop.
81927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81928 strlen-sse2 strlen-sse2-bsf.
81929 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81930 __strlen_no_bsf if bit_Slow_BSF is set.
81931 (__strlen_sse42): Removed.
81932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81933 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81934
81935 2010-08-25 Roland McGrath <roland@redhat.com>
81936
81937 * sysdeps/x86_64/multiarch/varshift.S: File removed.
81938 * sysdeps/x86_64/multiarch/varshift.c: New file.
81939 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81940 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81941 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81942 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81943
81944 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
81945
81946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81947 strlen-sse2 strlen-sse2-bsf.
81948 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81949 __strlen_sse2_bsf if bit_Slow_BSF is unset.
81950 (__strlen_sse2): Removed.
81951 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81954 bit_Slow_BSF for Atom.
81955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81956 (index_Slow_BSF): Define.
81957 (HAS_SLOW_BSF): Define.
81958
81959 2010-08-25 Ulrich Drepper <drepper@redhat.com>
81960
81961 [BZ #10851]
81962 * resolv/res_init.c (__res_vinit): When no server address at all
81963 is given default to loopback.
81964
81965 2010-08-24 Roland McGrath <roland@redhat.com>
81966
81967 * configure.in: Remove config-name.h generation.
81968 * configure: Regenerated.
81969 * config-name.in: File removed.
81970 * scripts/config-uname.sh: New file.
81971 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81972 ($(objdir)config-name.h): New target.
81973
81974 * sunrpc/rpc_parse.h: Avoid nested comment.
81975
81976 2010-08-24 Richard Henderson <rth@redhat.com>
81977 Ulrich Drepper <drepper@redhat.com>
81978 H.J. Lu <hongjiu.lu@intel.com>
81979
81980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81982 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81983 Replace _mm_srli_si128 with __m128i_shift_right. Replace
81984 _mm_alignr_epi8 with _mm_loadu_si128.
81985 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81986 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81987 (__m128i_shift_right): Removed.
81988 * sysdeps/i386/i686/multiarch/varshift.h: New file.
81989 * sysdeps/i386/i686/multiarch/varshift.S: New file.
81990 * sysdeps/x86_64/multiarch/varshift.h: New file.
81991 * sysdeps/x86_64/multiarch/varshift.S: New file.
81992
81993 2010-08-21 Mike Frysinger <vapier@gentoo.org>
81994
81995 * configure.in: Move assembler checks to before sysdep dir checking.
81996
81997 2010-08-20 Petr Baudis <pasky@suse.cz>
81998
81999 * LICENSES: Sync the sunrpc license.
82000
82001 2010-08-19 Ulrich Drepper <drepper@redhat.com>
82002
82003 * sunrpc/auth_des.c: Update copyright notice once again.
82004 * sunrpc/auth_none.c: Likewise.
82005 * sunrpc/auth_unix.c: Likewise.
82006 * sunrpc/authdes_prot.c: Likewise.
82007 * sunrpc/authuxprot.c: Likewise.
82008 * sunrpc/bindrsvprt.c: Likewise.
82009 * sunrpc/clnt_gen.c: Likewise.
82010 * sunrpc/clnt_perr.c: Likewise.
82011 * sunrpc/clnt_raw.c: Likewise.
82012 * sunrpc/clnt_simp.c: Likewise.
82013 * sunrpc/clnt_tcp.c: Likewise.
82014 * sunrpc/clnt_udp.c: Likewise.
82015 * sunrpc/clnt_unix.c: Likewise.
82016 * sunrpc/des_crypt.c: Likewise.
82017 * sunrpc/des_soft.c: Likewise.
82018 * sunrpc/get_myaddr.c: Likewise.
82019 * sunrpc/getrpcport.c: Likewise.
82020 * sunrpc/key_call.c: Likewise.
82021 * sunrpc/key_prot.c: Likewise.
82022 * sunrpc/openchild.c: Likewise.
82023 * sunrpc/pm_getmaps.c: Likewise.
82024 * sunrpc/pm_getport.c: Likewise.
82025 * sunrpc/pmap_clnt.c: Likewise.
82026 * sunrpc/pmap_prot.c: Likewise.
82027 * sunrpc/pmap_prot2.c: Likewise.
82028 * sunrpc/pmap_rmt.c: Likewise.
82029 * sunrpc/rpc/auth.h: Likewise.
82030 * sunrpc/rpc/auth_unix.h: Likewise.
82031 * sunrpc/rpc/clnt.h: Likewise.
82032 * sunrpc/rpc/des_crypt.h: Likewise.
82033 * sunrpc/rpc/key_prot.h: Likewise.
82034 * sunrpc/rpc/netdb.h: Likewise.
82035 * sunrpc/rpc/pmap_clnt.h: Likewise.
82036 * sunrpc/rpc/pmap_prot.h: Likewise.
82037 * sunrpc/rpc/pmap_rmt.h: Likewise.
82038 * sunrpc/rpc/rpc.h: Likewise.
82039 * sunrpc/rpc/rpc_des.h: Likewise.
82040 * sunrpc/rpc/rpc_msg.h: Likewise.
82041 * sunrpc/rpc/svc.h: Likewise.
82042 * sunrpc/rpc/svc_auth.h: Likewise.
82043 * sunrpc/rpc/types.h: Likewise.
82044 * sunrpc/rpc/xdr.h: Likewise.
82045 * sunrpc/rpc_clntout.c: Likewise.
82046 * sunrpc/rpc_cmsg.c: Likewise.
82047 * sunrpc/rpc_common.c: Likewise.
82048 * sunrpc/rpc_cout.c: Likewise.
82049 * sunrpc/rpc_dtable.c: Likewise.
82050 * sunrpc/rpc_hout.c: Likewise.
82051 * sunrpc/rpc_main.c: Likewise.
82052 * sunrpc/rpc_parse.c: Likewise.
82053 * sunrpc/rpc_parse.h: Likewise.
82054 * sunrpc/rpc_prot.c: Likewise.
82055 * sunrpc/rpc_sample.c: Likewise.
82056 * sunrpc/rpc_scan.c: Likewise.
82057 * sunrpc/rpc_scan.h: Likewise.
82058 * sunrpc/rpc_svcout.c: Likewise.
82059 * sunrpc/rpc_tblout.c: Likewise.
82060 * sunrpc/rpc_util.c: Likewise.
82061 * sunrpc/rpc_util.h: Likewise.
82062 * sunrpc/rpcinfo.c: Likewise.
82063 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82064 * sunrpc/rpcsvc/key_prot.x: Likewise.
82065 * sunrpc/rpcsvc/klm_prot.x: Likewise.
82066 * sunrpc/rpcsvc/mount.x: Likewise.
82067 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82068 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82069 * sunrpc/rpcsvc/rex.x: Likewise.
82070 * sunrpc/rpcsvc/rstat.x: Likewise.
82071 * sunrpc/rpcsvc/rusers.x: Likewise.
82072 * sunrpc/rpcsvc/sm_inter.x: Likewise.
82073 * sunrpc/rpcsvc/spray.x: Likewise.
82074 * sunrpc/rpcsvc/yppasswd.x: Likewise.
82075 * sunrpc/rtime.c: Likewise.
82076 * sunrpc/svc.c: Likewise.
82077 * sunrpc/svc_auth.c: Likewise.
82078 * sunrpc/svc_authux.c: Likewise.
82079 * sunrpc/svc_raw.c: Likewise.
82080 * sunrpc/svc_run.c: Likewise.
82081 * sunrpc/svc_simple.c: Likewise.
82082 * sunrpc/svc_tcp.c: Likewise.
82083 * sunrpc/svc_udp.c: Likewise.
82084 * sunrpc/svc_unix.c: Likewise.
82085 * sunrpc/svcauth_des.c: Likewise.
82086 * sunrpc/xcrypt.c: Likewise.
82087 * sunrpc/xdr.c: Likewise.
82088 * sunrpc/xdr_array.c: Likewise.
82089 * sunrpc/xdr_float.c: Likewise.
82090 * sunrpc/xdr_mem.c: Likewise.
82091 * sunrpc/xdr_rec.c: Likewise.
82092 * sunrpc/xdr_ref.c: Likewise.
82093 * sunrpc/xdr_sizeof.c: Likewise.
82094 * sunrpc/xdr_stdio.c: Likewise.
82095
82096 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82097 handling.
82098
82099 2010-08-19 Andreas Schwab <schwab@redhat.com>
82100
82101 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82102
82103 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
82104
82105 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82106 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82107 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82108 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82109 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82110 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82111 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82112 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82113 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82114 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82115 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82116 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82117 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82118 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82119
82120 2010-07-26 Anton Blanchard <anton@samba.org>
82121
82122 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82123 * malloc/arena.c (heap_trim): Likewise.
82124
82125 2010-08-16 Ulrich Drepper <drepper@redhat.com>
82126
82127 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82128 here. Not...
82129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82130 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82131
82132 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
82133
82134 * sysdeps/i386/elf/Makefile: New file.
82135
82136 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
82137
82138 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82139 from fanotify_init.
82140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82142
82143 2010-08-15 Ulrich Drepper <drepper@redhat.com>
82144
82145 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82146 of strncasecmp_l.
82147 * sysdeps/multiarch/strcmp.S: Likewise.
82148
82149 2010-08-14 Ulrich Drepper <drepper@redhat.com>
82150
82151 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82152 strncase_l-nonascii.
82153 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82154 Add strncase_l-ssse3.
82155 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82156 * sysdeps/x86_64/strcmp.S: Likewise.
82157 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82158 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82159 * sysdeps/x86_64/strncase.S: New file.
82160 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82161 * sysdeps/x86_64/strncase_l.S: New file.
82162 * string/Makefile (strop-tests): Add strncasecmp.
82163 * string/test-strncasecmp.c: New file.
82164
82165 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82166 warning.
82167
82168 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82169 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82170
82171 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
82172
82173 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82174
82175 2010-08-12 Ulrich Drepper <drepper@redhat.com>
82176
82177 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82178 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82179 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82180
82181 2010-05-01 Alan Modra <amodra@gmail.com>
82182
82183 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82184 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82185 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82186 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82187 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82188 tidying. Don't tail-call __sigjmp_save for static lib.
82189 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82190 save location.
82191 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82192 (CALL_MCOUNT): Add eh info, and nop after bl.
82193 (TAIL_CALL_SYSCALL_ERROR): New macro.
82194 (PSEUDO_RET): Use it.
82195 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82196 Correct save location of integer regs and cr.
82197 (_dl_profile_resolve): Correct cr save location. Delete nops
82198 after bl when SHARED. Reduce cfi size a little by better
82199 placement of cfi directives.
82200 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82201 make a stack frame. Instead use parm save area as a temp.
82202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82203 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
82204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82205 Don't make a stack frame for parent, use parm save area.
82206 Increase child stack frame to 112 bytes. Don't save unused reg,
82207 and adjust reg usage. Set up cfi on error recovery and
82208 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82210 (__makecontext): Add dummy nop after jump to exit.
82211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82212 Use correct parm save area and cr save, reduce stack frame.
82213 Correct cfi for possible PSEUDO_RET frame setup.
82214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82215 Branch to local label emitted by PSEUDO_RET rather than
82216 __syscall_error.
82217
82218 2010-08-12 Andreas Schwab <schwab@redhat.com>
82219
82220 [BZ #11904]
82221 * locale/programs/locale.c (print_assignment): New function.
82222 (show_locale_vars): Use it.
82223
82224 2010-08-11 Ulrich Drepper <drepper@redhat.com>
82225
82226 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82227 field.
82228 (struct statfs64): Likewise.
82229 (_STATFS_F_FLAGS): Define.
82230 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82231 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82232 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82233 (ST_VALID): Define locally.
82234 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82235 __statvfs_getflags, use the provided value.
82236 * sysdeps/unix/sysv/linux/kernel-features.h: Define
82237 __ASSUME_STATFS_F_FLAGS.
82238
82239 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82240
82241 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82242 Add sys/fanotify.h.
82243 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82244 fanotify_mask for GLIBC_2.13.
82245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82246 fanotify_init and fanotify_mark.
82247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82248 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82249
82250 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82251 Add prlimit.
82252 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82253 prlimit64 for GLIBC_2.13.
82254 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82255 prlimit64.
82256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82257 syscall.
82258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82259 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82260 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82261 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
82263 add prlimit alias.
82264 * sysdeps/unix/sysv/linux/prlimit.c: New file.
82265
82266 [BZ #11903]
82267 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82268 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82269
82270 * nss/Makefile: Add rules to build and run tst-nss-test1.
82271 * shlib-versions: Add entry for libnss_test1.
82272 * nss/nss_test1.c: New file.
82273 * nss/tst-nss-test1.c: New file.
82274
82275 * nss/nsswitch.c (__nss_database_custom): Define new variable.
82276 (__nss_configure_lookup): Set appropriate entry in
82277 __nss_configure_lookup to true.
82278 * nss/nsswitch.h: Define enum with indeces of databases in
82279 databases and __nss_database_custom arrays. Declare
82280 __nss_database_custom.
82281 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82282 to avoid using nscd when custom rules are installed.
82283 * nss/getXXbyYY_r.c: Likewise.
82284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82285
82286 * nss/nss_files/files-parse.c: Whitespace fixes.
82287
82288 2010-08-09 Ulrich Drepper <drepper@redhat.com>
82289
82290 [BZ #11883]
82291 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82292 * posix/fnmatch_loop.c: Likewise.
82293
82294 2010-07-17 Andi Kleen <ak@linux.intel.com>
82295
82296 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82297 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82298 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82299 * Versions.def [GLIBC_2.13]: Add.
82300
82301 2010-08-06 Ulrich Drepper <drepper@redhat.com>
82302
82303 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82304 Also fail if tpwd after pwuid call is NULL.
82305
82306 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
82307
82308 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82309 when converting to ms.
82310
82311 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
82312
82313 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82314 EOPNOTSUPP errors with ENOTTY.
82315 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82316 EOPNOTSUPP errors with ENOTTY.
82317
82318 2010-07-31 Ulrich Drepper <drepper@redhat.com>
82319
82320 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82321 Add strcasecmp_l-ssse3.
82322 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82323 strcasecmp.
82324 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82325 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82326 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82327
82328 2010-07-30 Ulrich Drepper <drepper@redhat.com>
82329
82330 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82331
82332 * string/Makefile (strop-tests): Add strcasecmp.
82333 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82334 strcasecmp_l-nonascii.
82335 (gen-as-const-headers): Add locale-defines.sym.
82336 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82337 * sysdeps/x86_64/strcasecmp.S: New file.
82338 * sysdeps/x86_64/strcasecmp_l.S: New file.
82339 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82340 * sysdeps/x86_64/locale-defines.sym: New file.
82341 * string/test-strcasecmp.c: New file.
82342
82343 * string/test-strcasestr.c: Test both ends of the range of characters.
82344 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82345
82346 2010-07-29 Roland McGrath <roland@redhat.com>
82347
82348 [BZ #11856]
82349 * manual/locale.texi (Yes-or-No Questions): Fix example code.
82350
82351 2010-07-27 Ulrich Drepper <drepper@redhat.com>
82352
82353 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82354 for ld.so.
82355
82356 2010-07-27 Andreas Schwab <schwab@redhat.com>
82357
82358 * manual/memory.texi (Malloc Tunable Parameters): Document
82359 M_PERTURB.
82360
82361 2010-07-26 Roland McGrath <roland@redhat.com>
82362
82363 [BZ #11840]
82364 * configure.in (-fgnu89-inline check): Set and substitute
82365 gnu89_inline, not libc_cv_gnu89_inline.
82366 * configure: Regenerated.
82367 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82368
82369 2010-07-26 Ulrich Drepper <drepper@redhat.com>
82370
82371 * string/test-strnlen.c: New file.
82372 * string/Makefile (strop-tests): Add strnlen.
82373 * string/tester.c (test_strnlen): Add a few more test cases.
82374 * string/tst-strlen.c: Better error reporting.
82375
82376 * sysdeps/x86_64/strnlen.S: New file.
82377
82378 2010-07-24 Ulrich Drepper <drepper@redhat.com>
82379
82380 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82381 lower-latency instructions.
82382
82383 2010-07-23 Ulrich Drepper <drepper@redhat.com>
82384
82385 * string/test-strcasestr.c: New file.
82386 * string/test-strstr.c: New file.
82387 * string/Makefile (strop-tests): Add strstr and strcasestr.
82388 * string/str-two-way.h: Don't undefine MAX.
82389 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82390
82391 2010-07-21 Andreas Schwab <schwab@redhat.com>
82392
82393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82394 strcasestr-nonascii.
82395 (CFLAGS-strcasestr-nonascii.c): Define.
82396 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82398 Remove unused attribute.
82399
82400 2010-07-20 Roland McGrath <roland@redhat.com>
82401
82402 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82403 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
82404 ld.so.cache was broken. With it, there is no way to disable dsocaps
82405 like LD_HWCAP_MASK can disable hwcaps.
82406
82407 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
82408
82409 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82410
82411 2010-07-16 Ulrich Drepper <drepper@redhat.com>
82412
82413 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82414 call in strcasestr.
82415 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82416 __strcasestr_sse42_nonascii.
82417 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82418 strcasestr-nonascii.c.
82419 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82420
82421 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
82422
82423 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82424 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82425 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82426 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82427
82428 2010-07-09 Ulrich Drepper <drepper@redhat.com>
82429
82430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82431 fcntl.
82432
82433 2010-07-06 Andreas Schwab <schwab@redhat.com>
82434
82435 [BZ #11577]
82436 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82437 dl_signal_cerror.
82438
82439 2010-07-06 Ulrich Drepper <drepper@redhat.com>
82440
82441 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82442 _PC_PIPE_BUF using F_GETPIPE_SZ.
82443
82444 2010-07-05 Roland McGrath <roland@redhat.com>
82445
82446 * manual/arith.texi (Rounding Functions): Fix rint description
82447 implicit in round description.
82448
82449 2010-07-02 Ulrich Drepper <drepper@redhat.com>
82450
82451 * elf/Makefile: Fix linking for a few tests to make recent linker
82452 happy.
82453
82454 2010-06-30 Andreas Schwab <schwab@redhat.com>
82455
82456 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82457 $(common-objpfx)libc_nonshared.a.
82458
82459 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
82460
82461 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82462 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82463 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82464 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82465 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82466 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82467 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82468 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82483 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82484 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82485 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82486 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82487 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82488 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82489 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82490 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82491 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82492 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82493 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82494 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82509
82510 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
82511
82512 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82513 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
82514 * string/memmove.c (memmove): Renamed to ...
82515 (MEMMOVE): ...this. Default to memmove.
82516 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82517 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82518 (END_CHK): Define.
82519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82520 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82521 mempcpy-ssse3-back memmove-ssse3-back.
82522 * sysdeps/x86_64/multiarch/bcopy.S: New file .
82523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82525 * sysdeps/x86_64/multiarch/memcpy.S: New file.
82526 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82527 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82528 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82529 * sysdeps/x86_64/multiarch/memmove.c: New file.
82530 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82531 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82532 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82533 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82534 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82535 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82536 Define.
82537 (index_Fast_Copy_Backward): Define.
82538 (HAS_ARCH_FEATURE): Define.
82539 (HAS_FAST_REP_STRING): Define.
82540 (HAS_FAST_COPY_BACKWARD): Define.
82541
82542 2010-06-21 Andreas Schwab <schwab@redhat.com>
82543
82544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82545 Restore proper fallback handling.
82546
82547 2010-06-19 Ulrich Drepper <drepper@redhat.com>
82548
82549 [BZ #11701]
82550 * posix/group_member.c (__group_member): Correct checking loop.
82551
82552 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82553 OOM in getpwuid_r correctly. Return error number when the caller
82554 should return, otherwise -1.
82555 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82556 call returning > 0 value.
82557 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82558
82559 2010-06-07 Andreas Schwab <schwab@redhat.com>
82560
82561 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82562 libc_nonshared.a from targets in modules-names.
82563
82564 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
82565
82566 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82567 requires it.
82568
82569 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
82570
82571 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82574 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82575
82576 2010-06-02 Andreas Schwab <schwab@redhat.com>
82577
82578 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82579
82580 2010-06-14 Ulrich Drepper <drepper@redhat.com>
82581
82582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82583 and F_GETPIPE_SZ.
82584 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82590
82591 2010-06-14 Roland McGrath <roland@redhat.com>
82592
82593 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82594
82595 2010-06-07 Jakub Jelinek <jakub@redhat.com>
82596
82597 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82598 __REDIRECT followed by __THROW.
82599 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82600 * posix/getopt.h (getopt): Likewise.
82601
82602 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
82603
82604 * hurd/lookup-at.c (__file_name_lookup_at): Accept
82605 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
82606 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82607 in AT_FLAGS.
82608 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82609 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82610
82611 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
82612
82613 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82614
82615 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
82616
82617 [BZ #11640]
82618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82619 Properly check family and model.
82620
82621 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
82622
82623 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82624
82625 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
82626
82627 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82628
82629 2010-05-21 Ulrich Drepper <drepper@redhat.com>
82630
82631 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82632 symbol reference.
82633
82634 2010-05-19 Andreas Schwab <schwab@redhat.com>
82635
82636 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82637 symbol reference.
82638
82639 2010-05-21 Andreas Schwab <schwab@redhat.com>
82640
82641 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82642 and internal_recvmmsg.
82643 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82644 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82645 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82646 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82647
82648 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82649 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82650 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82651
82652 2010-05-20 Andreas Schwab <schwab@redhat.com>
82653
82654 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82655
82656 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
82657
82658 POWER7 optimizations.
82659 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82660 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82661
82662 2010-05-19 Ulrich Drepper <drepper@redhat.com>
82663
82664 * version.h: Update for 2.13 development version.
82665
82666 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
82667
82668 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82669 exceptions. Return 0.
82670
82671 2010-05-07 Roland McGrath <roland@redhat.com>
82672
82673 * elf/ldconfig.c (main): Add a const.
82674
82675 2010-05-06 Ulrich Drepper <drepper@redhat.com>
82676
82677 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82678 (args_options): Add no-idn option.
82679 (ahosts_keys_int): Add idn_flags to ai_flags.
82680 (parse_option): Handle 'i' option to clear idn_flags.
82681
82682 * malloc/malloc.c (_int_free): Possible race in the most recently
82683 added check. Only act on the data if no current modification
82684 happened.
82685
82686 See ChangeLog.17 for earlier changes.