]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
powerpc: Optimized st{r,p}ncpy for POWER8/PPC64
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4 Add strncpy-power8 and stpncpy-power8 objects.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7 implementations.
8 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10 __stpncpy_power8 implementation.
11 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13 __strncpy_power8 implementation.
14 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16 * NEWS: Update.
17
18 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21
22 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23 strncat-power8 object.
24 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25 __strcat_power8 implementation.
26 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29 optimized strcat for power8.
30
31 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32 strcpy-power8 and stpcpy-power8 objects.
33 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35 implementations.
36 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37 multiarch stpcpy implementation for POWER8.
38 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39 multiarch strcpy implementation for POWER8.
40 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41 __strcpy_power8 function.
42 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
43 stpcpy for POWER8.
44 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
45 strcpy for POWER8.
46 * NEWS: Update.
47
482015-01-13 Leonhard Holz <leonhard.holz@web.de>
49
50 [BZ #16009]
51 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
52 weights and rules. Use do_xfrm_cached if data fits in cache,
53 do_xfrm otherwise. Moved former main loop to...
54 * (do_xfrm_cached): New function.
55 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
56 find_idx, find_position and stack_push.
57 * (find_idx): New function.
58 * (find_position): Likewise.
59 * localedata/sort-test.sh: Added test run for do_xfrm.
60 * localedata/xfrm-test.c (main): Added command line option
61 -nocache to run the test with strings that are too large for
62 the STRXFRM cache.
63
642015-01-13 Torvald Riegel <triegel@redhat.com>
65
66 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
67 variable to lll_futex_wake call, not the value itself.
68
692015-01-12 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #17803]
72 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
73 twom64. Adjust value to 0x1p-64L.
74 (__scalblnl): Only return standard underflowing result for K <=
75 -64 not K <= -63; adjust exponent for underflowing result by 64
76 not 63.
77 * math/libm-test.inc (scalbn_test_data): Add more tests.
78 (scalbln_test_data): Likewise.
79
80 [BZ #17834]
81 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
82 0x1p63L.
83 (__scalblnl): Get new exponent of adjusted subnormal value from ES
84 not HX.
85 * math/libm-test.inc (scalbn_test_data): Add more tests.
86 (scalbln_test_data): Likewise.
87
882015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89 Stefani Seibold <stefani@seibold.net>
90
91 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
92 (sysdep_routines): Add dl-vdso here, ...
93 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
94 (sysdep_routines): ... not here.
95 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
96 fallback when vDSO is not presented.
97 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
98 Define with libc_hidden_proto/libc_hidden_data_def definitions.
99 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
100 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
101 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
103 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
105 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
107 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
108 fallback configurable symbol when vDSO is not available.
109 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
110 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
111 be able to redefine fallback symbol when vDSO is not available.
112 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
113 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
114
1152015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
118 (TLS_INIT_TP): Add tm_capable initialization.
119 (TLS_DEFINE_INIT_TP): Likewise.
120 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
121 TCB.
122 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
123 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
124 calculation.
125 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
126 transactoion is lock elision is built and TCB tm_capable is set.
127 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
129 (INTERNAL_SYSCALL_NCS): Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
131 (INTERNAL_SYSCALL_NCS): Likewise.
132 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
133
134 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
135 for powerpc.
136 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
137 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
138 and remove it for 32 bits case.
139 [pthread_rwlock_t] (__rwelision): New field for lock elision.
140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
141 initialization.
142 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
143 Disable lock elision with rdlocks if elision is not available.
144
145 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
146 (sysdep_routines): Add lock elision objects.
147 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
148 [pthread_mutex_t] (__spins): Rework to add lock elision field.
149 [pthread_mutex_t] (__elision): Add field.
150 [__PTHREAD_SPINS]: Adjust to init lock elision field.
151 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
152 elision definitions for powerpc.
153 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
154 implementation of lock elision for powerpc.
155 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
156 implementation of timed lock elision for powerpc.
157 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
158 implementation of trylock with lock elision for powerpc.
159 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
160 implementaion of unlock for lock elision for powerpc.
161 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
162 automatic enable lock elision for mutexes.
163 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
164 transaction execution definitions for powerpc.
165 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
166 definitions.
167 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
168 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
169 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
171 * NEWS: Update.
172
1732015-01-09 Roland McGrath <roland@hack.frob.com>
174
175 * sysdeps/posix/shm-directory.c: Use <> rather than ""
176 for #include of <shm-directory.h>.
177
1782015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
179
180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
181 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
182
1832015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
184
185 [BZ #17791]
186 * NEWS: Mention bug fix.
187 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
188 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
189 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
190
1912015-01-09 Torvald Riegel <triegel@redhat.com>
192
193 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
194
1952015-01-09 Torvald Riegel <triegel@redhat.com>
196
197 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
198
1992015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
200
201 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
202 pointer and cast to uintptr_t.
203
2042015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
205
206 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
207 removed.
208 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
209
2102015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
211
212 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
213 of 0.
214
2152015-01-08 Roland McGrath <roland@hack.frob.com>
216
217 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
218 <nptl/pthreadP.h> instead.
219 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
220
221 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
222 already defined.
223 [__SIGRTMIN] (init): Function removed.
224 [__SIGRTMIN] (initialized): Variable removed.
225 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
226 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
227 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
228 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
229 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
230 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
231 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
232 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
233 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
234 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
235 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
236 * sysdeps/nptl/allocrtsig.c: New file.
237 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
238 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
239 * sysdeps/generic/testrtsig.h: File removed.
240
241 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
242 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
243
244 * nptl/nptl-init.c (pthread_functions): Conditionalize
245 .ptr__nptl_setxid initialization on [SIGSETXID].
246
247 * sysdeps/nptl/sys/procfs.h: New file.
248 * nptl_db/Makefile (headers): Add it.
249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
250
251 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
252 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
253 * nptl/pthread_attr_setaffinity.c: Include it.
254 * nptl/pthread_setattr_default_np.c: Likewise.
255 * nptl/check-cpuset.h: New file.
256
2572015-01-08 Richard Henderson <rth@redhat.com>
258
259 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
260 (CFLAGS-tst-execstack-prog.c): Likewise.
261 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
262
2632015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
264 Sandra Loosemore <sandra@codesourcery.com>
265 Andrew Jenner <andrew@codesourcery.com>
266 Joseph Myers <joseph@codesourcery.com>
267 Nathan Sidwell <nathan@codesourcery.com>
268
269 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
270 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
271 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
272 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
273 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
274 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
275 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
276 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
277 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
278 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
279 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
280 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
281 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
282 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
283 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
284 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
285 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
286
2872015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288
289 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
290 timespec struct member in syscall macro.
291 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
292 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
293 first timeval struct member in syscall macro.
294 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
295
2962015-01-07 Joseph Myers <joseph@codesourcery.com>
297
298 [BZ #17748]
299 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
300 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
301 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
302 __feupdateenv and define as weak alias of __feupdateenv. Use
303 libm_hidden_weak.
304 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
305 libm_hidden_def.
306 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
307 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
308 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
309 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
310 libm_hidden_def.
311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
312 __feupdateenv and define as weak alias of __feupdateenv. Use
313 libm_hidden_weak.
314 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
315 libm_hidden_def.
316 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
317 __feupdateenv and define as weak alias of __feupdateenv. Use
318 libm_hidden_weak.
319 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
320 libm_hidden_def.
321 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
322 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
323 (__feupdateenv): Likewise.
324 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
325 __feupdateenv and define as weak alias of __feupdateenv. Use
326 libm_hidden_weak.
327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
328 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
329 libm_hidden_def.
330 * sysdeps/tile/math_private.h (__feupdateenv): New inline
331 function.
332 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
333 libm_hidden_def.
334 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
335 __feupdateenv instead of feupdateenv.
336 (default_libc_feupdateenv_test): Likewise.
337 (libc_feresetround_ctx): Likewise.
338
3392015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
342 prototype.
343
3442015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
345
346 * posix/regcomp.c (parse_bracket_exp): Initialize type to
347 COLL_SYM in a couple of places to avoid uninitialized variable
348 wanings on tilegx gcc 4.8.2.
349
3502015-01-07 Richard Earnshaw <rearnsha@arm.com>
351
352 * sysdeps/aarch64/strcpy.S: New file.
353 * sysdeps/aarch64/stpcpy.S: New file.
354 * NEWS: Updated.
355
3562015-01-07 Richard Earnshaw <rearnsha@arm.com>
357
358 * sysdeps/aarch64/strrchr.S: New file.
359 * NEWS: Updated.
360
3612015-01-07 Eric Biggers <ebiggers3@gmail.com>
362
363 [BZ #17658]
364 * stdlib/setenv.c: Fix memory leak when setting large,
365 duplicate string.
366
3672015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
368
369 [BZ #17273]
370 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
371 and tabs from buffer before parsing fstab entry.
372 * misc/tst-mntent.c (main): Add test for mount entry with
373 trailing spaces and tabs.
374
3752015-01-06 Joseph Myers <joseph@codesourcery.com>
376
377 [BZ #17748]
378 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
379 * math/fesetround.c (fesetround): Rename to __fesetround and
380 define as weak alias of __fesetround. Use libm_hidden_weak.
381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
382 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
383 * sysdeps/arm/fesetround.c (fesetround): Likewise.
384 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
385 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
386 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
387 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
388 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
389 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
390 __fesetround_inline.
391 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
392 __fesetround_inline instead of __fesetround.
393 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
394 __fesetround and define as weak alias of __fesetround. Use
395 libm_hidden_weak. Call __fesetround_inline instead of
396 __fesetround.
397 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
398 __fesetround and define as weak alias of __fesetround. Use
399 libm_hidden_weak.
400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
401 Likewise.
402 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
404 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
405 * sysdeps/tile/math_private.h (__fesetround): New inline function.
406 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
407 __fesetround and define as weak alias of __fesetround. Use
408 libm_hidden_weak.
409 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
410 __fesetround instead of fesetround.
411 (default_libc_feholdexcept_setround): Likewise.
412 (libc_feholdsetround_ctx): Likewise.
413 (libc_feholdsetround_noex_ctx): Likewise.
414
415 [BZ #17748]
416 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
417 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
418 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
419 and define as weak alias of __fesetenv. Use libm_hidden_weak.
420 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
421 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
422 define as weak alias of __fesetenv. Use libm_hidden_weak.
423 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
424 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
425 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
426 define as weak alias of __fesetenv. Use libm_hidden_weak.
427 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
428 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
429 define as weak alias of __fesetenv. Use libm_hidden_weak.
430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
431 libm_hidden_def.
432 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
433 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
434 Likewise.
435 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
436 define as weak alias of __fesetenv. Use libm_hidden_weak.
437 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
438 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
439 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
440 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
441 and define as weak alias of __fesetenv. Use libm_hidden_weak.
442 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
443 __fesetenv instead of fesetenv.
444 (libc_feresetround_noex_ctx): Likewise.
445 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
446 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
447 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
448 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
449 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
450 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
451 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
452 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
453 (__feupdateenv): Likewise.
454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
455 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
456 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
457 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
458
4592015-01-06 Aurelien Jarno <aurelien@aurel32.net>
460
461 [BZ #17806]
462 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
463 addresses have been freed.
464
4652015-01-06 Aurelien Jarno <aurelien@aurel32.net>
466
467 * resolv/res_init.c (__res_vinit): Improve comments about nserv
468 and nservall.
469
4702015-01-06 Ondřej Bílka <neleai@seznam.cz>
471
472 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
473 Clean up check_pf allocation pattern. addresses
474
4752015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
477 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
478 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
479 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
480 * nptl/pthread_exit.c (__pthread_exit): Likewise.
481 * nptl/pthread_join.c (pthread_join): Likewise.
482 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
483 * sysdeps/posix/waitid.c (__waitid): Likewise.
484 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
485 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
486 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
487 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
489 Likewise.
490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
491 (__libc_pread64): Likewise.
492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
493 (__libc_pwrite): Likewise.
494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
495 (__libc_pwrite64): Likewsie.
496 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
497 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
498 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
499 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
500 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
501 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
502 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
504 Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
506 (__libc_pread64): Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
508 Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
510 (__libc_pwrite64): Likewise.
511 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
512 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
513 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
514 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
515 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
516 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
517 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
518 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
519 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
520 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
521 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
522 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
523 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
524 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
525 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
527 Likewise.
528
5292015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
530
531 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
532 (CFLAGS-test-double.c): Likewise.
533 (CFLAGS-test-ldouble.c): Likewise.
534 (CPPFLAGS-test-ifloat.c): Likewise.
535 (CPPFLAGS-test-idouble.c): Likewise.
536 (CPPFLAGS-test-ildoubl.c): Likewise.
537 (CFLAGS-test-test-fenv.c): Remove variable.
538 (CFLAGS-test-misc.c): Likewise.
539
5402015-01-06 H.J. Lu <hongjiu.lu@intel.com>
541
542 [BZ #17797]
543 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
544 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
545 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
546 CLOCKS_PER_SEC == 1000000.
547 * time/clocktest.c (main): Replace %ld with %jd and cast to
548 intmax_t.
549
5502015-01-05 Roland McGrath <roland@hack.frob.com>
551
552 * sysdeps/generic/unwind-resume.h: New file.
553 * sysdeps/gnu/unwind-resume.c: Include it.
554 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
555 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
556 argument list.
557 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
558 global rather than static.
559 (_Unwind_Resume): Update user.
560 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
561 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
562 rather than static. Add __attribute__ ((cold)).
563 (_Unwind_Resume, __gcc_personality_v0): Update callers.
564 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
565 * sysdeps/arm/arm-unwind-resume.S: New file.
566 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
567 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
568 * sysdeps/arm/Makefile [$(subdir) = csu]
569 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
570 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
571 Add rt-arm-unwind-resume.
572 [$(subdir) = nptl]
573 (libpthread-sysdep_routines, libpthread-shared-only-routines):
574 Add pt-arm-unwind-resume.
575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
576 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
577
5782015-01-05 Joseph Myers <joseph@codesourcery.com>
579
580 [BZ #17748]
581 * include/fenv.h (__feholdexcept): Declare. Use
582 libm_hidden_proto.
583 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
584 define as weak alias of __feholdexcept. Use libm_hidden_weak.
585 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
586 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
587 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
588 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
589 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
590 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
591 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
592 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
593 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
594 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
595 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
596 (feholdexcept): Likewise.
597 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
598 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
599 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
600 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
601 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
602 __feholdexcept instead of feholdexcept.
603 (default_libc_feholdexcept_setround): Likewise.
604
6052015-01-05 Steve Ellcey <sellcey@imgtec.com>
606
607 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
608 to avoid using stl/str to align destination.
609
6102015-01-05 Steve Ellcey <sellcey@imgtec.com>
611
612 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
613
6142015-01-05 Joseph Myers <joseph@codesourcery.com>
615
616 [BZ #17796]
617 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
618 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
619 Define as weak alias not strong alias.
620
6212015-01-05 Steve Ellcey <sellcey@imgtec.com>
622
623 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
624 bltzal with addiupc.
625 (RTLD_START): Ditto.
626
6272015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
628
629 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
630 for __vdso_* functions in declarations.
631 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
632 definitions.
633 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
634 INTERNAL_VSYSCALL): Use struct return types to check for error.
635
636 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
637 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
638 function with cast from llround().
639 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
640 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
641 Define.
642
6432015-01-05 Joseph Myers <joseph@codesourcery.com>
644
645 [BZ #17793]
646 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
647 Define as weak alias not strong alias.
648
649 [BZ #17635]
650 * ctype/ctype-c99.c: New file. isblank implementation moved from
651 ...
652 * ctype/ctype-extn.c: ... here.
653 (__isblank_l): Move to ...
654 * ctype/ctype-c99_l.c: ... here. New file.
655 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
656 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
657 Remove variable.
658 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
659 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
660 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
661 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
662 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
663
664 [BZ #17777]
665 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
666 (posix_fadvise64): Define as weak alias not strong alias.
667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
668 (posix_fallocate64): Likewise.
669 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
670 Remove variable.
671 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
672 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
673 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
674 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
675 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
676
6772015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
678
679 [BZ #16191]
680 * NEWS: Mention bug fix.
681 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
682 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
683 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
684 (HOST_STACK_END_ADDR): Likewise.
685
6862015-01-02 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #17748]
689 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
690 * math/fegetround.c (fegetround): Rename to __fegetround and
691 define as weak alias of __fegetround. Use libm_hidden_weak.
692 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
693 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
694 * sysdeps/arm/fegetround.c (fegetround): Likewise.
695 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
696 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
697 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
698 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
699 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
700 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
701 Undefine after rather than before function definition; use
702 parentheses around function name in definition.
703 (__fegetround): Also undefine macro after function definition.
704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
705 __fegetround and define as weak alias of __fegetround. Use
706 libm_hidden_weak. Do not undefine as macro.
707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
708 Likewise.
709 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
710 __fegetround and define as weak alias of __fegetround. Use
711 libm_hidden_weak.
712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
713 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
714 * sysdeps/tile/math_private.h (__fegetround): New inline function.
715 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
716 __fegetround and define as weak alias of __fegetround. Use
717 libm_hidden_weak.
718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
719 __fegetround instead of fegetround.
720
721 [BZ #17782]
722 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
723 Condition macro definition on [__USE_MISC].
724
725 [BZ #17781]
726 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
727 (struct sigaction): Change type of sa_flags field to int.
728
729 [BZ #17780]
730 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
731 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
732 __glibc_reserved0.
733
734 * nptl/version.c (banner): Use single year in copyright notice.
735
736 * NEWS: Update copyright dates.
737 * catgets/gencat.c (print_version): Likewise.
738 * csu/version.c (banner): Likewise.
739 * debug/catchsegv.sh: Likewise.
740 * debug/pcprofiledump.c (print_version): Likewise.
741 * debug/xtrace.sh (do_version): Likewise.
742 * elf/ldconfig.c (print_version): Likewise.
743 * elf/ldd.bash.in: Likewise.
744 * elf/pldd.c (print_version): Likewise.
745 * elf/sotruss.sh: Likewise.
746 * elf/sprof.c (print_version): Likewise.
747 * iconv/iconv_prog.c (print_version): Likewise.
748 * iconv/iconvconfig.c (print_version): Likewise.
749 * locale/programs/locale.c (print_version): Likewise.
750 * locale/programs/localedef.c (print_version): Likewise.
751 * login/programs/pt_chown.c (print_version): Likewise.
752 * malloc/memusage.sh (do_version): Likewise.
753 * malloc/memusagestat.c (print_version): Likewise.
754 * malloc/mtrace.pl: Likewise.
755 * manual/libc.texinfo: Likewise.
756 * nptl/version.c (banner): Likewise.
757 * nscd/nscd.c (print_version): Likewise.
758 * nss/getent.c (print_version): Likewise.
759 * nss/makedb.c (print_version): Likewise.
760 * posix/getconf.c (main): Likewise.
761 * scripts/test-installation.pl: Likewise.
762 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
763
7642015-01-02 Will Newton <will.newton@linaro.org>
765
766 * sysdeps/arm/armv7/configure: Removed.
767 * sysdeps/arm/armv7/configure.ac: Likewise.
768
7692015-01-02 Joseph Myers <joseph@codesourcery.com>
770
771 * All files with FSF copyright notices: Update copyright dates
772 using scripts/update-copyrights.
773 * intl/plural.c: Regenerated.
774 * locale/programs/charmap-kw.h: Likewise.
775 * locale/programs/locfile-kw.h: Likewise.
776
7772015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
778
779 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
780
7812014-12-31 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #17748]
784 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
785 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
786 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
787 and define as weak alias of __fegetenv. Use libm_hidden_weak.
788 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
789 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
790 define as weak alias of __fegetenv. Use libm_hidden_weak.
791 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
792 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
793 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
794 define as weak alias of __fegetenv. Use libm_hidden_weak.
795 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
796 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
797 define as weak alias of __fegetenv. Use libm_hidden_weak.
798 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
799 libm_hidden_def.
800 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
801 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
802 Likewise.
803 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
804 define as weak alias of __fegetenv. Use libm_hidden_weak.
805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
806 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
807 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
808 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
809 and define as weak alias of __fegetenv. Use libm_hidden_weak.
810 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
811 __fegetenv instead of fegetenv.
812 (libc_feholdsetround_noex_ctx): Likewise.
813
8142014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
815
816 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
817 (Elf_MIPS_ABIFlags_v0): New structure.
818 (EF_MIPS_FP64): Define.
819 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
820 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
821 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
822 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
823 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
824 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
825 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
826 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
827 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
828 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
829 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
830 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
831 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
832 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
833 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
834 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
835 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
836 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
837 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
838 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
839 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
840 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
841 field.
842 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
843 EF_MIPS_FP64.
844 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
845 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
846 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
847 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
848 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
849 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
850 * sysdeps/mips/tst-abi-interlink.c: Likewise.
851 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
852 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
853 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
854 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
855 record the current FP ABI extension.
856 (mips-mode-switch): Define to show if kernel headers support mode
857 switching.
858 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
859 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
860 supported SYSV ABI version to 3.
861 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
862 feature.
863
8642014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
865 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866
867 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
868 path.
869 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
870
8712014-12-31 Joseph Myers <joseph@codesourcery.com>
872
873 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
874 __fegetround and redefine to call __fegetround. Remove condition
875 on [!__NO_MATH_INLINES].
876 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
877 function.
878 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
880 Remove macro.
881 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
882 instead of <fenv_libc.h>.
883 (__llrintl): Call fegetround instead of __fegetround.
884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
885 instead of <fenv_libc.h>.
886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
887 (__lrintl): Call fegetround instead of __fegetround.
888 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
889 instead of <fenv_libc.h>.
890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
891 (__rintl): Call fegetround instead of __fegetround.
892
8932014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
894
895 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
896 arrays.
897
8982014-12-30 H.J. Lu <hongjiu.lu@intel.com>
899
900 [BZ #17775]
901 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
902 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
903 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
904
9052014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
906
907 * sysdeps/i386/tls-macros.h: Include <features.h>.
908 (TLS_LE): Use non-PIC version for GCC >= 5.0.
909 (TLS_IE): Likewise.
910 (TLS_LD): Likewise.
911 (TLS_GD): Likewise.
912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
913 define for GCC >= 5.0.
914
9152014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
916
917 * math/test-fenv.c (test_single_exception, set_single_exc,
918 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
919 feexcp_mask_test, feenable_test, fe_single_test): Add
920 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
921 case where they are not used.
922 * math/libm-test.inc: Likewise.
923 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
924 unused in the absence of FP rounding/exception support.
925 * stdio-common/tst-printf-round.c: Likewise.
926 * stdlib/tst-strtod-round.c: Likewise.
927 * stdlib/tst-strtod-underflow.c: Likewise.
928
9292014-12-30 Joseph Myers <joseph@codesourcery.com>
930
931 [BZ #17723]
932 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
933 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
934 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
935 __feraiseexcept and define as weak alias of __feraiseexcept. Use
936 libm_hidden_weak.
937 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
938 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
939 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
940 libm_hidden_def.
941 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
942 __feraiseexcept and define as weak alias of __feraiseexcept. Use
943 libm_hidden_weak.
944 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
945 Likewise.
946 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
947 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
948 __feraiseexcept and define as weak alias of __feraiseexcept. Use
949 libm_hidden_weak.
950 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
951 libm_hidden_def.
952 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
954 (__feraiseexcept): Likewise.
955 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
956 __feraiseexcept and define as weak alias of __feraiseexcept. Use
957 libm_hidden_weak.
958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
959 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
960 libm_hidden_def.
961 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
962 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
963 Use libm_hidden_def.
964 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
965 libm_hidden_def.
966 (feraiseexcept): Define as weak not strong alias. Use
967 libm_hidden_weak.
968 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
969 New inline function. Factored out of ...
970 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
971 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
972 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
973 feraiseexcept.
974 * math/w_acos.c (__acos): Likewise.
975 * math/w_asin.c (__asin): Likewise.
976 * math/w_ilogb.c (__ilogb): Likewise.
977 * math/w_j0.c (y0): Likewise.
978 * math/w_j1.c (y1): Likewise.
979 * math/w_jn.c (yn): Likewise.
980 * math/w_log.c (__log): Likewise.
981 * math/w_log10.c (__log10): Likewise.
982 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
983 * sysdeps/aarch64/fpu/math_private.h
984 (libc_feupdateenv_test_aarch64): Likewise.
985 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
986 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
987 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
989 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
990 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
991 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
992 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
993 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
994 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
995
9962014-12-30 H.J. Lu <hongjiu.lu@intel.com>
997
998 [BZ #17732]
999 * io/test-utime.c (main): Replace %ld with %jd and cast to
1000 intmax_t.
1001 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1002 * nptl/tst-mutex5.c: Include <stdint.h>.
1003 (do_test): Replace %ld with %jd and cast to intmax_t.
1004 * posix/tst-regex.c (run_test): Likewise.
1005 (run_test_backwards): Likewise.
1006 * rt/tst-clock.c: Include <stdint.h>.
1007 (clock_test): Replace %ld with %jd and cast to intmax_t.
1008 * rt/tst-cpuclock1.c: Include <stdint.h>.
1009 (do_test): Replace %lu with %ju and cast to uintmax_t.
1010 * rt/tst-cpuclock2.c: Include <stdint.h>.
1011 (do_test): Replace %lu with %ju and cast to uintmax_t.
1012 * rt/tst-mqueue1.c: Include <stdint.h>.
1013 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1014 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1015 intmax_t.
1016 * rt/tst-mqueue4.c (do_test): Likewise.
1017 * rt/tst-timer4.c: Include <stdint.h>.
1018 (check_ts): Replace %ld with %jd and cast to intmax_t.
1019 (do_test): Likewise.
1020 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1021 and cast to intmax_t.
1022 * sysdeps/pthread/tst-timer.c (main): Likewise.
1023 * time/clocktest.c (main): Likewise.
1024 * time/tst-posixtz.c (do_test): Likewise.
1025 * timezone/tst-timezone.c (main): Likewise.
1026
10272014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1028 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1031 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1032 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1033 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1034 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1035 version if bit_Fast_Unaligned_Load is set.
1036 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1037 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1038 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1039 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1040 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1043 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1044 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1046 to 4.
1047 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1048 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1049 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1050 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1051
10522014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1053
1054 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1055 instead of #if to avoid a Wundef warning.
1056 * stdlib/tst-limits.c (do_test): Likewise.
1057
1058 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1059 parallel other exception macros.
1060 (fegetenv): Convert from macro to extern inline so that it applies
1061 retroactively to inline functions already seen by the compiler.
1062 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1063
1064 * posix/Makefile (before-compile): Use $(objpfx) for
1065 posix-conf-vars-def.h.
1066
10672014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1068
1069 * posix/getconf.c (main): Use size_t for type of I.
1070 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1071 NSPEC.
1072
1073 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1074 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1075 * posix/posix-envs.def: Likewise.
1076 * sysdeps/posix/sysconf.c: Likewise.
1077 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1078 (specs): Remove array.
1079 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1080 array.
1081
1082 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1083 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1084 (__sysconf): Use CONF_IS_* macros.
1085
1086 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1087 ($(objpfx)posix-conf-vars-def.h): New target.
1088 * posix/posix-conf-vars.list: New file.
1089 * posix/posix-conf-vars.h: New file.
1090 * posix/confstr.c: Include posix-conf-vars.h.
1091 (confstr): Use CONF_IS_* macros.
1092 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1093 CONF_IS_* macros.
1094 * scripts/gen-posix-conf-vars.awk: New file.
1095
10962014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1097
1098 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1099 fegetround): Add no-op macros to avoid linknamespace issues.
1100
1101 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1102 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1103
1104 * sysdeps/unix/sysv/linux/tile/sysdep.h
1105 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1106 assembly-specific section to avoid a redefinition warning.
1107
1108 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1109 long before casting to pointer to avoid a cast warning.
1110
11112014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1112
1113 * sysdeps/tile/tilegx/Implies: New file.
1114
11152014-12-23 Richard Earnshaw <rearnsha@arm.com>
1116
1117 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1118
11192014-12-23 Florian Weimer <fweimer@redhat.com>
1120
1121 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1122
11232014-12-22 Joseph Myers <joseph@codesourcery.com>
1124
1125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1126 not define.
1127 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1128 <kernel-features.h>.
1129 (__utimes) [__NR_utimes]: Make code unconditional.
1130 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1132 (__ASSUME_UTIMES): Do not undefine.
1133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1134 (__ASSUME_UTIMES): Likewise.
1135 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1136 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1137 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1138 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1139
11402014-12-22 Steve Ellcey <sellcey@imgtec.com>
1141
1142 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1143
11442014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1145
1146 [BZ #17747]
1147 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1148 alias to weak alias for j0l, y0l.
1149 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1150 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1151
1152 [BZ #17746]
1153 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1154 conversion.
1155
11562014-12-22 Steve Ellcey <sellcey@imgtec.com>
1157
1158 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1159 to zero if not already defined.
1160
11612014-12-22 Joseph Myers <joseph@codesourcery.com>
1162
1163 [BZ #17724]
1164 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1165 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1166 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1167 (char *) casts added.
1168 * sysdeps/ieee754/k_standardf.c: New file.
1169 * sysdeps/ieee754/k_standardl.c: Likewise.
1170 * math/Makefile (libm-support): Remove k_standard.
1171 (libm-calls): Add k_standard.
1172
11732014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1174
1175 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1176 Optimize to avoid an unnecessary FPCR read.
1177
11782014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1179
1180 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1181 Optimize to reduce FPCR/FPSR accesses.
1182
11832014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1184
1185 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1186 Call libc_fetestexcept_aarch64.
1187
11882014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1189
1190 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1191 Call libc_fesetround_aarch64.
1192
11932014-12-22 Joseph Myers <joseph@codesourcery.com>
1194
1195 [BZ #17733]
1196 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1197 (__bind): Do not define as weak alias.
1198 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1199 define.
1200 (__getsockname): Do not define as weak alias.
1201
12022014-12-22 Will Newton <will.newton@linaro.org>
1203
1204 * manual/install.texi: Document that we require bison 2.7
1205 or above.
1206 * INSTALL: Regenerate.
1207 * configure.ac: Use AC_CHECK_PROG_VER instead of
1208 AC_PATH_PROG when checking for bison and check for
1209 version 2.7 or above.
1210 * configure: Regenerate.
1211
12122014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1213
1214 [BZ #17745]
1215 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1216 * sysdeps/tile/ffsll.c (ffsll): To here.
1217
1218 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1219
12202014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1223 if not defined.
1224 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1225 definition.
1226 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1227 hidden ___tls_get_addr.
1228 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1229 hidden __tls_get_addr.
1230 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1231 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1232 Likewise.
1233
12342014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1235
1236 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1237 _dl_init call.
1238
12392014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1242 from "call _dl_init@PLT".
1243 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1244
12452014-12-21 Anders Kaseorg <andersk@mit.edu>
1246
1247 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1248 guarantees.
1249
12502014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1251
1252 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1253
12542014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1255
1256 [BZ #17744]
1257 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1258 strnlen.
1259
12602014-12-19 Steve Ellcey <sellcey@imgtec.com>
1261
1262 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1263 of multu on MIPSr6.
1264 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1265 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1266 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1267 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1268 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1269
12702014-12-19 Steve Ellcey <sellcey@imgtec.com>
1271
1272 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1273 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1274 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1275 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1276 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1277 mips32r6/mips64r6.
1278 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1279
12802014-12-19 Ondřej Bílka <neleai@seznam.cz>
1281
1282 * string/strncat.c (STRNCAT): Simplify implementation.
1283
12842014-12-19 David S. Miller <davem@davemloft.net>
1285
1286 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1287 access the quad as both a long double and as a series of 4 words.
1288
1289 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1290 link_map->l_info array access.
1291
12922014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1293
1294 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1295
1296 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1297 * math/atest-exp2.c (TIMEOUT): Likewise.
1298 * math/atest-sincos.c (TIMEOUT): Likewise.
1299
13002014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1303 -Wno-error with -fno-builtin-lround.
1304
13052014-12-19 Torvald Riegel <triegel@redhat.com>
1306
1307 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1308 Contains futex constants and functions moved over from ...
1309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1310 <lowlevellock-futex.h>.
1311 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1312 (lll_timedwait_tid): Add comments and parentheses around macro
1313 arguments.
1314
13152014-12-19 Torvald Riegel <triegel@redhat.com>
1316
1317 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1318 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1319 (__lll_private_flag): Remove.
1320 (lll_futex_wait): Likewise.
1321 (lll_futex_timed_wait): Likewise.
1322 (lll_futex_wake): Likewise.
1323 (lll_futex_requeue): Likewise.
1324 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1325 (__lll_timedwait_tid): Spell out argument names.
1326 (lll_timedwait_tid): Add comments and parentheses around macro
1327 arguments.
1328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1329 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1330
13312014-12-19 Torvald Riegel <triegel@redhat.com>
1332
1333 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1336 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1337 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1338 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1339 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1340 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1341 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1347 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1348 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1349 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1350 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1351 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1352
13532014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 * sysdeps/x86_64/x32/Makefile: New file.
1356
13572014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1360 1L with (mp_limb_t) 1.
1361
13622014-12-17 Roland McGrath <roland@hack.frob.com>
1363
1364 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1365 * nptl/libc_pthread_init.c: ... here.
1366 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1367 * nptl/register-atfork.c: ... here.
1368
1369 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1370 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1371 Use assert_perror to check its return value.
1372 (__gai_create_helper_thread): Likewise.
1373
1374 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1375
1376 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1377
13782014-12-17 Joseph Myers <joseph@codesourcery.com>
1379
1380 [BZ #17725]
1381 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1382 __profil_counter.
1383 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1384 Likewise.
1385 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1386 Likewise.
1387 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1388 Likewise.
1389 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1390 (profil_counter): Likewise.
1391 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1392 (profil_counter): Likewise.
1393 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1394 Likewise.
1395 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1396 Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1398 (profil_counter): Likewise.
1399 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1400 Likewise.
1401 [!__profil_counter] (profil_counter): Define as weak alias of
1402 __profil_counter.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1404 (profil_counter): Rename to __profil_counter.
1405 [!__profil_counter] (profil_counter): Define as weak alias of
1406 __profil_counter.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1408 (profil_counter): Rename to __profil_counter.
1409 [!__profil_counter] (profil_counter): Define as weak alias of
1410 __profil_counter.
1411 * sysdeps/posix/profil.c: Update comment referring to
1412 profil_counter.
1413 (__profil): Use __profil_counter instead of profil_counter.
1414 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1415 __profil_counter. Use __profil_counter_ushort and
1416 __profil_counter_uint in definitions.
1417 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1418 instead of profil_counter_uint and profil_counter_ushort.
1419
1420 [BZ #17722]
1421 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1422 define as weak alias of __inet_makeaddr.
1423 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1424 as weak alias of __inet_addr.
1425 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1426 as weak alias of __inet_pton. Use libc_hidden_weak.
1427 * include/arpa/inet.h (__inet_pton): Declare. Use
1428 libc_hidden_proto.
1429 (inet_makeaddr): Don't use libc_hidden_proto.
1430 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1431 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1432 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1433 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1434 Remove variable.
1435 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1436 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1437
14382014-12-17 Steve Ellcey <sellcey@imgtec.com>
1439
1440 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1441
14422014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1443
1444 * stdio-common/bug-vfprintf-nargs.c (do_test):
1445 Cast value to intptr_t to avoid format warning
1446 for usage with PRIdPTR printing macro.
1447
14482014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1449
1450 * libio/tst-widetext.c (do_test):
1451 Use format type %td instead of %Zd for ptrdiff_t
1452 in order to avoid format warning.
1453
14542014-12-17 Andreas Schwab <schwab@suse.de>
1455
1456 * nscd/mem.c (gc): Add size_t cast to match printf format.
1457
14582014-12-16 Roland McGrath <roland@hack.frob.com>
1459
1460 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1461 (init): Apply PTR_MANGLE to pointers before storing them.
1462 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1463 before using them.
1464
14652014-12-16 Joseph Myers <joseph@codesourcery.com>
1466
1467 [BZ #17719]
1468 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1469 define as weak alias of __memrchr.
1470 (__memrchr): Do not define as strong alias of memrchr.
1471 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1472 Remove variable.
1473 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1474 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1475 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1476
1477 [BZ #17717]
1478 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1479 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1480 (if_indextoname): Rename to __if_indextoname and define as weak
1481 alias of __if_indextoname. Use libc_hidden_weak.
1482 (if_freenameindex): Rename to __if_freenameindex and define as
1483 weak alias of __if_freenameindex.
1484 (if_nameindex): Rename to __if_nameindex and define as weak alias
1485 of __if_nameindex.
1486 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1487 __if_nametoindex and define as weak alias of __if_nametoindex.
1488 Use libc_hidden_weak.
1489 (if_freenameindex): Rename to __if_freenameindex and define as
1490 weak alias of __if_freenameindex.
1491 (if_nameindex): Rename to __if_nameindex and define as weak alias
1492 of __if_nameindex.
1493 (if_indextoname): Rename to __if_indextoname and define as weak
1494 alias of __if_indextoname. Use libc_hidden_weak.
1495 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1496 __if_nametoindex and define as weak alias of __if_nametoindex.
1497 Use libc_hidden_weak.
1498 (if_freenameindex): Rename to __if_freenameindex and define as
1499 weak alias of __if_freenameindex. Use libc_hidden_weak.
1500 (if_nameindex_netlink): Use __if_freenameindex instead of
1501 if_freenameindex.
1502 (if_nameindex): Rename to __if_nameindex and define as weak alias
1503 of __if_nameindex. Use libc_hidden_weak.
1504 (if_indextoname): Rename to __if_indextoname and define as weak
1505 alias of __if_indextoname. Use libc_hidden_weak.
1506 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1507 libc_hidden_proto.
1508 [!_ISOMAC] (__if_freenameindex): Likewise.
1509 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1510 if_nametoindex.
1511 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1512 variable.
1513 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1514 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1515 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1516 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1517 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1518 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1519 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1520
1521 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1522 Remove variable.
1523 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1524 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1525
15262014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1527
1528 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1529 subscript above bounds'
1530
1531 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1532 bounds.
1533
15342014-12-16 Arjun Shankar <arjun.is@lostca.se>
1535
1536 * libio/tst-fopenloc.c: Use test-skeleton.c.
1537
1538 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1539 (entry): Rename to ITEM.
1540 (do_test, comp): Adjust.
1541
1542 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1543
15442014-12-16 Torvald Riegel <triegel@redhat.com>
1545
1546 * string/tester.c: Include <libc-internal.h>.
1547 (test_memset): Ignore -Wmemset-transposed-args.
1548
15492014-12-16 Torvald Riegel <triegel@redhat.com>
1550
1551 * misc/tst-mntent2.c (do_test): Fix warning.
1552
15532014-12-16 Torvald Riegel <triegel@redhat.com>
1554
1555 * elf/tst-unique4lib.cc(a): Mark as used.
1556
15572014-12-16 Florian Weimer <fweimer@redhat.com>
1558
1559 [BZ #17630]
1560 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1561 names.
1562
15632014-12-16 Allan McRae <allan@archlinux.org>
1564
1565 * stdio-common/Makefile (tests): Re-add bug26.
1566
15672014-12-15 Ondřej Bílka <neleai@seznam.cz>
1568
1569 [BZ #17657]
1570 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1571 static array.
1572
15732014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1574
1575 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1576 (__lll_lock_wait): Likewise.
1577 (__lll_timedlock_wait): Likewise.
1578 (__lll_timedwait_tid): Likewise.
1579 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1580 (__lll_robust_timedlock_wait): Likewise.
1581 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1582 (lll_cond_trylock): Likewise.
1583 (__lll_lock): Likewise.
1584 (__lll_robust_lock): Likewise.
1585 (__lll_cond_lock): Likewise.
1586 (lll_robust_cond_lock): Likewise.
1587 (__lll_timedlock): Likewise.
1588 (__lll_robust_timedlock): Likewise.
1589 (__lll_unlock): Likewise.
1590 (__lll_robust_unlock): Likewise.
1591 (lll_wait_tid): Likewise.
1592 (lll_timedwait_tid): Likewise.
1593
15942014-12-15 Torvald Riegel <triegel@redhat.com>
1595
1596 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1597
15982014-12-15 Torvald Riegel <triegel@redhat.com>
1599
1600 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1601
16022014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1603
1604 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1605 * stdio-common/tst-sprintf.c: Likewise.
1606
16072014-12-15 Torvald Riegel <triegel@redhat.com>
1608
1609 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1610
16112014-12-15 Jeff Law <law@redhat.com>
1612
1613 [BZ #16617]
1614 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1615 on the heap. (CVE-2012-3406)
1616 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1617 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1618 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1619
16202014-12-15 Will Newton <will.newton@linaro.org>
1621
1622 * manual/install.texi: Bump required version of texinfo
1623 to 4.7 from 4.5.
1624 * INSTALL: Regenerated.
1625 * configure.ac: Check for makeinfo version 4.7 and above.
1626 * configure: Regenerated.
1627
16282014-12-12 Roland McGrath <roland@hack.frob.com>
1629
1630 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1631 PREFIX, string constant to insert between directory and name.
1632 * sysdeps/posix/shm_open.c: Update caller.
1633 * sysdeps/posix/shm_unlink.c: Likewise.
1634 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1635 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1636 (SEM_SHM_PREFIX): New macro.
1637 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1638 [$(have-thread-library) = no].
1639 * nptl/Makefile (libpthread-routines): Add shm-directory.
1640 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1641 * sysdeps/nptl/shm-directory.h: New file.
1642 * sysdeps/posix/shm-directory.c
1643 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1644 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1645 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1646 INTERNAL_SYSCALL.
1647 (__where_is_shmfs): Function removed.
1648 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1649 Variables removed.
1650 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1651 Use SHM_GET_NAME.
1652 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1653
1654 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1655 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1656 unconditional for use inside libpthread.
1657 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1658
16592014-12-12 Roland McGrath <roland@hack.frob.com>
1660
1661 * nptl/pthread_getaffinity.c: New file.
1662 * nptl/pthread_setaffinity.c: New file.
1663 * nptl/pthread_getname.c: New file.
1664 * nptl/pthread_setname.c: New file.
1665
1666 * nptl/pthread_create.c (START_THREAD_DEFN)
1667 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1668
16692014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1670 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671
1672 * resolv/res_send.c (send_vc): Disable warning resplen may
1673 be used uninitialized.
1674
16752014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1676
1677 * nptl/tst-mutex6.c
1678 (ATTR_NULL): New define checks ATTR against NULL.
1679 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1680 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1681
16822014-12-11 James Lemke <jwlemke@codesourcery.com>
1683
1684 [BZ #17581]
1685 * malloc/hooks.c
1686 (mem2mem_check): Revert my previous change.
1687 (malloc_check_get_size): Revert my previous change.
1688 (mem2chunk_check): Revert my previous change.
1689
16902014-12-11 Roland McGrath <roland@hack.frob.com>
1691
1692 * sysdeps/posix/shm-directory.c: New file.
1693 * sysdeps/posix/shm-directory.h: New file.
1694 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1695 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1696 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1697 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1698 Transmute EPERM to EACCES.
1699 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1700 from ...
1701 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1702 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1703
17042014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1705
1706 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1707 pointer and cast to uintptr_t.
1708 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1710 Add cast to avoid warning.
1711 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1712
17132014-12-11 Joseph Myers <joseph@codesourcery.com>
1714
1715 * nptl/semaphore.h: Move to ...
1716 * sysdeps/pthread/semaphore.h: ... here.
1717 * Makefile (installed-headers): Change nptl/semaphore.h to
1718 sysdeps/pthread/semaphore.h.
1719
17202014-12-11 Roland McGrath <roland@hack.frob.com>
1721
1722 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1723 generated error format strings.
1724
1725 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1726 -Wformat-extra-args warnings for scanf formats.
1727 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1728 test of zero-length format (duh).
1729 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1730 corner-case scanf format test.
1731 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1732 generated fprintf format string.
1733 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1734 corner-case sprintf format tests.
1735 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1736 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1737 -Wformat-extra-args warnings throughout.
1738 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1739 (CFLAGS-scanf4.c): Likewise.
1740 (CFLAGS-scanf7.c): Likewise.
1741 (CFLAGS-tst-sprintf.c): Likewise.
1742 (CFLAGS-tst-printf.c): Likewise.
1743 (CFLAGS-tst-printfsz.c): Likewise.
1744
17452014-12-11 Joseph Myers <joseph@codesourcery.com>
1746
1747 * include/cpio.h: New file.
1748 * include/fmtmsg.h: Likewise.
1749
1750 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1751 corresponding format argument to size_t.
1752 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1753 arguments.
1754 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1755 corresponding format argument to size_t.
1756 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1757 arguments.
1758 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1759 corresponding format argument to size_t.
1760 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1761 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1762 (CFLAGS-tst-mbswcs2.c): Likewise.
1763 (CFLAGS-tst-mbswcs3.c): Likewise.
1764 (CFLAGS-tst-mbswcs4.c): Likewise.
1765 (CFLAGS-tst-mbswcs5.c): Likewise.
1766 (CFLAGS-tst-trans.c): Likewise
1767
17682014-12-11 Roland McGrath <roland@hack.frob.com>
1769
1770 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1771 rather than assuming they won't contain any '%'s.
1772
17732014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1774
1775 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1776 inhibit_loop_to_libcall to avoid recursive calls.
1777 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1778 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1779
17802014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1781
1782 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1783 prototype.
1784
17852014-12-11 Steve Ellcey <sellcey@imgtec.com>
1786
1787 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1788 integer value instead of boolean.
1789
17902014-12-11 Steve Ellcey <sellcey@imgtec.com>
1791
1792 * malloc/malloc.c: Fix powerof2 check.
1793
17942014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1795
1796 * locale/programs/locfile.h (maybe_swap_uint32):
1797 Remove inline and add unused attribute.
1798
17992014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1800
1801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1802 Truncating assembler expression to a .long expression.
1803
18042014-12-11 Andreas Schwab <schwab@suse.de>
1805
1806 * elf/rtld.c (struct map_args): Constify str member.
1807 (do_preload): Constify fname argument.
1808
18092014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1810
1811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1812 constants definition.
1813
18142014-12-11 Andreas Schwab <schwab@suse.de>
1815
1816 [BZ #16657]
1817 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1818 FORCE_ELISION instead of DO_ELISION.
1819 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1820 Remove.
1821 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1822 Likewise.
1823
1824 * iconvdata/gconv-modules: Remove duplicate entry.
1825
18262014-12-11 Will Newton <will.newton@linaro.org>
1827
1828 Merge gettext 0.19.3 into intl/.
1829
1830 This involves a number of cosmetic changes to comments
1831 and ANSI function definitions and prototypes throughout
1832 all the files. The gettext copyright header is used but
1833 with the date ranges taken from the glibc copy.
1834
1835 * NEWS: Add gettext merge to 2.21.
1836 * intl/bindtextdom.c: Switch to gettext copyright.
1837 Use ANSI definitions and prototypes.
1838 Use gl_* locking primitives rather than __libc_* ones.
1839 Use __builtin_expect rather than __glibc_likely/unlikely.
1840 * intl/dcgettext.c: Switch to gettext copyright.
1841 Use ANSI definitions and prototypes.
1842 * intl/dcigettext.c: Switch to gettext copyright.
1843 Use ANSI definitions and prototypes.
1844 (INTDIV0_RAISES_SIGFPE): New define.
1845 Use gl_* locking primitives rather than __libc_* ones.
1846 Include eval-plural.h instead of plural-eval.c.
1847 Use __builtin_expect rather than __glibc_likely/unlikely.
1848 * intl/dcngettext.c: Switch to gettext copyright.
1849 Use ANSI definitions and prototypes.
1850 * intl/dgettext.c: Likewise.
1851 * intl/dngettext.c: Likewise.
1852 * intl/plural-eval.c: Renamed to...
1853 * intl/eval-plural.h: ...this.
1854 * intl/explodename.c: Switch to gettext copyright.
1855 Use ANSI definitions and prototypes.
1856 (_nl_explode_name): Use strchr instead of __rawmemchr.
1857 * intl/finddomain.c: Switch to gettext copyright.
1858 Use ANSI definitions and prototypes.
1859 Use gl_* locking primitives rather than __libc_* ones.
1860 (_nl_find_domain): Use malloc rather than alloca for
1861 allocation of temporary locale name.
1862 * intl/gettext.c: Switch to gettext copyright.
1863 Use ANSI definitions and prototypes.
1864 * intl/gettextP.h: Switch to gettext copyright.
1865 Use ANSI definitions and prototypes.
1866 Use gl_* locking primitives rather than __libc_* ones.
1867 * intl/gmo.h: Switch to gettext copyright.
1868 (struct sysdep_string): Move struct segment_pair outside of
1869 struct definition.
1870 * intl/hash-string.c: Use ANSI definitions and prototypes.
1871 * intl/hash-string.h: Switch to gettext copyright.
1872 Use ANSI definitions and prototypes.
1873 * intl/l10nflist.c: Switch to gettext copyright.
1874 Use ANSI definitions and prototypes.
1875 (_nl_normalize_codeset): Avoid integer overflow.
1876 * intl/loadinfo.h: Switch to gettext copyright.
1877 Use ANSI definitions and prototypes.
1878 (LIBINTL_DLL_EXPORTED): New define.
1879 (PATH_SEPARATOR): New define.
1880 * intl/loadmsgcat.c: Switch to gettext copyright.
1881 * intl/localealias.c: Switch to gettext copyright.
1882 Use ANSI definitions and prototypes.
1883 (_nl_expand_alias): Use PATH_SEPARATOR.
1884 * intl/ngettext.c: Switch to gettext copyright.
1885 Use ANSI definitions and prototypes.
1886 * intl/plural-exp.c: Likewise.
1887 * intl/plural-exp.h: Switch to gettext copyright.
1888 Use ANSI definitions and prototypes.
1889 (struct expression): Move definition of enum operator outside
1890 of struct definition.
1891 * intl/plural.c: Regenerate.
1892 * intl/plural.y: Switch to gettext copyright.
1893 Use ANSI definitions and prototypes.
1894 Port to bison 3.0.
1895 * intl/textdomain.c: Switch to gettext copyright.
1896 Use ANSI definitions and prototypes.
1897 Use gl_* locking primitives rather than __libc_* ones.
1898
18992014-12-10 Steve Ellcey <sellcey@imgtec.com>
1900
1901 * debug/warning-nop.c: Add used atrribute.
1902
19032014-12-10 Joseph Myers <joseph@codesourcery.com>
1904
1905 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1906
1907 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1908 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1909 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1910
19112014-12-10 Joseph Myers <joseph@codesourcery.com>
1912 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 [BZ #17634]
1915 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1916 Undefine after defining function. Define as weak alias of
1917 __wcschr. Use libc_hidden_weak.
1918 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1919 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1920 (libc_hidden_def): Also define __GI___wcschr alias.
1921 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1922 __wcschr and define as weak alias of __wcschr.
1923 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1924 __wcschr.
1925 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1926 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1927 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1928 libc_hidden_weak. Do not use libc_hidden_def.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1930 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1931 __GI___wcschr alias.
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1933 [IS_IN (libc)] (wcschr): Define as macro expanding to
1934 __redirect_wcschr.
1935 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1936 [IS_IN (libc)] (__wcschr_power6): Likewise.
1937 [IS_IN (libc)] (__wcschr_power7): Likewise.
1938 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1939 instead of wcschr.
1940 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1941 __libc_wcschr.
1942 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1943 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1944 __wcschr and define as weak alias of __wcschr. Use
1945 libc_hidden_builtin_def.
1946 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1947 as weak alias of __wcschr. Use libc_hidden_weak.
1948 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1949 wcschr.
1950 * time/era.c (_nl_init_era_entries): Likewise.
1951 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1952 variable.
1953 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1954 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1955
19562014-12-10 Joseph Myers <joseph@codesourcery.com>
1957
1958 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1959 format for long int variable.
1960
19612014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1962
1963 [BZ #10672]
1964 * manual/search.texi: (Array Sort Function): Remove claim how to make
1965 qsort stable.
1966
19672014-12-10 Andreas Schwab <schwab@suse.de>
1968
1969 [BZ #12847]
1970 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1971 user-controlled locks.
1972
19732014-12-10 Richard Earnshaw <rearnsha@arm.com>
1974
1975 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1976 register.
1977
19782014-12-10 Joseph Myers <joseph@codesourcery.com>
1979
1980 * configure.ac (--disable-werror): New configure option.
1981 (enable_werror): New AC_SUBST.
1982 * configure: Regenerated.
1983 * config.make.in (enable-werror): New variable.
1984 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1985 -Wno-error=undef.
1986 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1987 * manual/install.texi (Configuring and compiling): Document
1988 --disable-werror.
1989 * INSTALL: Regenerated.
1990 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1991 (CFLAGS-tst-chk2.c): Likewise.
1992 (CFLAGS-tst-chk3.c): Likewise.
1993 (CFLAGS-tst-chk4.cc): Likewise.
1994 (CFLAGS-tst-chk5.cc): Likewise.
1995 (CFLAGS-tst-chk6.cc): Likewise.
1996 (CFLAGS-tst-lfschk1.c): Likewise.
1997 (CFLAGS-tst-lfschk2.c): Likewise.
1998 (CFLAGS-tst-lfschk3.c): Likewise.
1999 (CFLAGS-tst-lfschk4.cc): Likewise.
2000 (CFLAGS-tst-lfschk5.cc): Likewise.
2001 (CFLAGS-tst-lfschk6.cc): Likewise.
2002
2003 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2004 (main): Disable -Wdeprecated-declarations around calls to
2005 register_printf_function.
2006
2007 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2008 (do_test): Disable -Wdiv-by-zero around some calls to
2009 fwrite_unlocked and fread_unlocked.
2010
2011 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2012 (DIAG_POP_NEEDS_COMMENT): Likewise.
2013 (_DIAG_STR1): Likewise.
2014 (_DIAG_STR): Likewise.
2015 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2016 * stdio-common/bug21.c: Include <libc-internal.h>.
2017 (do_test): Disable -Wformat around call to sscanf.
2018 * stdio-common/scanf14.c: Include <libc-internal.h>.
2019 (main): Disable -Wformat around some calls to scanf functions.
2020
20212014-12-09 Torvald Riegel <triegel@redhat.com>
2022
2023 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2024
20252014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026
2027 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2028 stack variable alignment.
2029
20302014-12-06 Joseph Myers <joseph@codesourcery.com>
2031
2032 [BZ #17682]
2033 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2034 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2035 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2036 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2037 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2038 __getrlimit instead of getrlimit.
2039 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2040 __gettimeofday instead of gettimeofday.
2041 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2042 Likewise.
2043 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2044 Likewise.
2045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2046 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2047 Remove variable.
2048 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2049 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2050
20512014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2054 for wide-character tests.
2055
20562014-12-04 Roland McGrath <roland@hack.frob.com>
2057
2058 * io/openat64.c: #include <libc-internal.h>
2059 (__openat64): Prototypify. Use ignore_value on MODE.
2060 * io/openat.c: Likewise.
2061 * misc/reboot.c: #include <libc-internal.h>
2062 (reboot): Prototypify. Use ignore_value on HOWTO.
2063 * misc/ptrace.c: #include <libc-internal.h>
2064 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2065
20662014-12-04 Joseph Myers <joseph@codesourcery.com>
2067
2068 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2069 XPG4, UNIX98 and XOPEN2K.
2070 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2071 Remove variable.
2072 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2073
20742014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2075
2076 * libio/fileops.c: Use ISO C style for function definitions.
2077 * libio/iofopen.c: Likewise.
2078 * libio/wfileops.c: Likewise.
2079
2080 [BZ #17653]
2081 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2082 offset on EOF.
2083 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2084 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2085 (fgets_func): Function pointer to fgets and fgetws.
2086 (do_ftell_test): Add test to verify ftell value after read
2087 EOF.
2088 (do_test): Set fgets_func.
2089
2090 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2091 O_TRUNC flag for w and w+ modes.
2092 (do_rewind_test): Likewise.
2093 (do_ftell_test): Likewise.
2094 (do_write_test): Likewise.
2095
2096 [BZ #17647]
2097 * libio/fileops.c (do_ftell): Seek only when there are
2098 unflushed writes.
2099 * libio/wfileops.c (do_ftell_wide): Likewise.
2100 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2101 test case.
2102 (do_one_test): Call it.
2103
21042014-12-03 Joseph Myers <joseph@codesourcery.com>
2105
2106 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2107 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2108 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2109 Remove variable.
2110 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2111 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2112 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2113
21142014-12-02 Joseph Myers <joseph@codesourcery.com>
2115
2116 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2117 Remove variable.
2118 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2119
2120 [BZ #17668]
2121 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2122 as weak alias of __getifaddrs. Use libc_hidden_weak.
2123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2124 __freeifaddrs. Use libc_hidden_weak.
2125 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2126 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2127 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2128 __freeifaddrs. Use libc_hidden_weak.
2129 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2130 __getifaddrs and define as weak alias of __getifaddrs. Use
2131 libc_hidden_weak.
2132 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2133 __freeifaddrs. Use libc_hidden_weak.
2134 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2135 Remove variable.
2136 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2137 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2138
21392014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2140
2141 [BZ #17601]
2142 * sysdeps/mips/start.S (__start): Use indirect jump to call
2143 __libc_start_main.
2144
21452014-12-02 Joseph Myers <joseph@codesourcery.com>
2146
2147 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2148
2149 * nptl/tst-mutex1.c: Include <stdbool.h>.
2150 [!ATTR] (ATTR_NULL): New macro.
2151 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2152 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2153 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2154
2155 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2156 to char *.
2157
2158 [BZ #17665]
2159 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2160 Change conditional to [__USE_MISC].
2161
2162 [BZ #17664]
2163 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2164 fgets_unlocked.
2165 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2166 __fgets_unlocked.
2167 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2168 fgets_unlocked.
2169 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2170 Remove variable.
2171 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2172 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2173 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2174 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2175 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2176 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2177 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2178 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2179 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2180
2181 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2182
21832014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2184
2185 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2186 Remove strpbrk objects.
2187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2188 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2189 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2191 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2192 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2193
2194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2195 Remove strcspn objects.
2196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2197 (__libc_ifunc_impl_list): Remove strcspn implementation.
2198 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2199 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2201 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2202
2203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2204 Remove strspn objetcs.
2205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2206 (__libc_ifunc_impl_list): Remove strspn implementation.
2207 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2208 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2210 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2211
22122014-12-01 James Lemke <jwlemke@codesourcery.com>
2213
2214 [BZ #17581]
2215 * malloc/hooks.c
2216 (mem2mem_check): Add a terminator to the chain of checking blocks.
2217 (malloc_check_get_size): Use it here.
2218 (mem2chunk_check): Ditto.
2219
22202014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2221
2222 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2223 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2224
22252014-11-29 Carlos O'Donell <carlos@redhat.com>
2226
2227 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2228
2229 * nptl/nptl-init.c: Include libc-internal.h.
2230 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2231
2232 * elf/ldconfig.c (search_dir): Expand comment.
2233
22342014-11-29 Joseph Myers <joseph@codesourcery.com>
2235
2236 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2237 variable.
2238 (linknamespace-symlist-stdlibs-tests): Likewise.
2239 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2240 instead of $(objpfx)symlist-stdlibs.
2241 (linknamespace-libs-isoc): New variable.
2242 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2243 (linknamespace-libs-ISO): New variable.
2244 (linknamespace-libs-ISO99): Likewise.
2245 (linknamespace-libs-ISO11): Likewise.
2246 (linknamespace-libs-XPG3): Likewise.
2247 (linknamespace-libs-XPG4): Likewise.
2248 (linknamespace-libs-POSIX): Likewise.
2249 (linknamespace-libs-UNIX98): Likewise.
2250 (linknamespace-libs-XOPEN2K): Likewise.
2251 (linknamespace-libs-POSIX2008): Likewise.
2252 (linknamespace-libs-XOPEN2K8): Likewise.
2253 ($(objpfx)symlist-stdlibs): Replace by
2254 $(linknamespace-symlist-stdlibs-tests). Use
2255 $(linknamespace-libs-$*) as set of libraries.
2256 ($(linknamespace-header-tests)): Update dependencies. Use
2257 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2258 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2259 * conform/linknamespace.pl: Remove comment about considering
2260 definitions of symbols from irrelevant libraries.
2261
22622014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 [BZ #13862]
2265 * elf/dl-tls.c: Include <atomic.h>.
2266 (oom): Remove #ifdef SHARED/#endif.
2267 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2268 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2269 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2270 big enough.
2271 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2272 * nptl/Makefile (tests): Add tst-stack4.
2273 (modules-names): Add tst-stack4mod.
2274 ($(objpfx)tst-stack4): New.
2275 (tst-stack4mod.sos): Likewise.
2276 ($(objpfx)tst-stack4.out): Likewise.
2277 ($(tst-stack4mod.sos)): Likewise.
2278 (clean): Likewise.
2279 * nptl/tst-stack4.c: New file.
2280 * nptl/tst-stack4mod.c: Likewise.
2281
22822014-11-27 J. Brown <jb999@gmx.de>
2283
2284 * sysdeps/x86/bits/string.h: Add recent CPUs.
2285
22862014-11-27 Joseph Myers <joseph@codesourcery.com>
2287
2288 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2289 sigblock.
2290
2291 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2292 feof.
2293
2294 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2295 variable.
2296
22972014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2298
2299 * nscd/connections.c: Include libc-internal.h because of macro
2300 usage ignore_value.
2301
23022014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2303
2304 * string/bits/string3.h (__warn_memset_zero_len): Don't
2305 declare for gcc newer than 5.0.
2306 (memset): Don't test for zero-length __LEN for gcc newer than
2307 5.0.
2308
23092014-11-27 Joseph Myers <joseph@codesourcery.com>
2310
2311 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2312 size_t for %zu format.
2313
2314 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2315 difference, not %ju.
2316
23172014-11-26 Joseph Myers <joseph@codesourcery.com>
2318
2319 * include/libc-internal.h (ignore_value): New macro.
2320 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2321 with ignore_value.
2322
2323 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2324 definition.
2325
2326 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2327 pthread_cleanup_push to void *.
2328
2329 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2330 Undefine.
2331
2332 [BZ #16619]
2333 [BZ #16740]
2334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2335 instead of 1L << 52.
2336
2337 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2338 * libio/bug-rewind2.c (do_test): Likewise.
2339
2340 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2341 * debug/test-strcpy_chk-ifunc.c: Likewise.
2342 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2343 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2344 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2345 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2346 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2347 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2348 * Rules [$(multi-arch) = no] (tests): Do not filter out
2349 $(tests-ifunc).
2350 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2351 * debug/Makefile (tests-ifunc): Remove variable.
2352 (tests): Do not add $(tests-ifunc).
2353 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2354 (tests): Do not add $(tests-ifunc).
2355 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2356 [TEST_IFUNC]: Remove conditionals.
2357 * string/test-string.h (TEST_IFUNC): Remove macro.
2358 [TEST_IFUNC]: Remove conditionals.
2359
2360 * string/test-strchr.c [!WIDE] (L): New macro.
2361 [WIDE] (L): Likewise.
2362 (check1): Use CHAR instead of char. Use L on string and character
2363 constants.
2364
23652014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2366
2367 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2368 tests.
2369 * sysdeps/powerpc/bits/atomic.h
2370 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2371 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2372 (atomic_exchange_and_add_acq): Likewise.
2373 (atomic_exchange_and_add_rel): Likewise.
2374 * sysdeps/powerpc/powerpc32/bits/atomic.h
2375 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2376 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2377 * sysdeps/powerpc/powerpc64/bits/atomic.h
2378 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2379 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2380
23812014-11-26 Torvald Riegel <triegel@redhat.com>
2382
2383 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2384 Change synchronization of __sched_fifo_min_prio and
2385 __sched_fifo_max_prio.
2386 * nptl/pthread_mutexattr_getprioceiling.c
2387 (pthread_mutexattr_getprioceiling): Likewise.
2388 * nptl/pthread_mutexattr_setprioceiling.c
2389 (pthread_mutexattr_setprioceiling): Likewise.
2390 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2391 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2392 Likewise.
2393
23942014-11-26 Joseph Myers <joseph@codesourcery.com>
2395
2396 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2397 void.
2398
23992014-11-25 Joseph Myers <joseph@codesourcery.com>
2400
2401 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2402 third argument const.
2403
24042014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2405
2406 fnmatch: work around GCC compiler warning bug with uninit var
2407 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2408 This works around a bug with x86-64 GCC 4.9.2 and earlier
2409 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2410 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2411 used uninitialized in this function [-Wmaybe-uninitialized]".
2412
24132014-11-25 Joseph Myers <joseph@codesourcery.com>
2414
2415 * posix/bug-regex31.c (main): Return RES not 0.
2416
24172014-11-25 Anton Blanchard <anton@samba.org>
2418
2419 * sysdeps/powerpc/bits/atomic.h
2420 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2421
24222014-11-24 Sterling Augustine <saugustine@google.com>
2423
2424 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2425
24262014-11-24 Ryan Cumming <etaoins@gmail.com>
2427
2428 [BZ #17608]
2429 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2430
24312014-11-24 Joseph Myers <joseph@codesourcery.com>
2432
2433 [BZ #17633]
2434 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2435 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2436 variable.
2437 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2438 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2439
24402014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2441
2442 * string/strncpy.c (strncpy): Improve performance by using memset.
2443
24442014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2445
2446 * string/strcpy.c (strcpy):
2447 Improve performance by using strlen and memcpy.
2448
24492014-11-24 Leonhard Holz <leonhard.holz@web.de>
2450
2451 * string/strcoll_l.c (get_next_seq): __always_inline.
2452 * string/strcoll_l.c (do_compare): __always_inline.
2453
24542014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2455
2456 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2457 defined.
2458 * include/mqueue.h: Likewise.
2459 * include/stdlib.h: Likewise.
2460
2461 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2462 (get_null_defines): Adjust.
2463 * sunrpc/Makefile: Adjust comment.
2464 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2465 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2466 (CFLAGS-interp.c): Likewise.
2467 (CFLAGS-ldconfig.c): Likewise.
2468 (CPPFLAGS-.os): Likewise.
2469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2470 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2471 * extra-modules.mk (extra-modules.mk): Likewise.
2472 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2473 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2474 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2475 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2476 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2477 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2478 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2479 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2480 * iconvdata/Makefile (CPPFLAGS): Likewise.
2481 (cpp-srcs-left): Add libof for all iconvdata routines.
2482 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2483 * include/assert.h: Likewise.
2484 * include/ctype.h: Likewise.
2485 * include/errno.h: Likewise.
2486 * include/libc-symbols.h: Likewise.
2487 * include/math.h: Likewise.
2488 * include/netdb.h: Likewise.
2489 * include/resolv.h: Likewise.
2490 * include/stdio.h: Likewise.
2491 * include/stdlib.h: Likewise.
2492 * include/string.h: Likewise.
2493 * include/sys/stat.h: Likewise.
2494 * include/wctype.h: Likewise.
2495 * intl/l10nflist.c: Likewise.
2496 * libidn/idn-stub.c: Likewise.
2497 * libio/libioP.h: Likewise.
2498 * nptl/libc_multiple_threads.c: Likewise.
2499 * nptl/pthreadP.h: Likewise.
2500 * posix/regex_internal.h: Likewise.
2501 * resolv/res_hconf.c: Likewise.
2502 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2503 * sysdeps/arm/memmove.S: Likewise.
2504 * sysdeps/arm/sysdep.h: Likewise.
2505 * sysdeps/generic/_itoa.h: Likewise.
2506 * sysdeps/generic/symbol-hacks.h: Likewise.
2507 * sysdeps/gnu/errlist.awk: Likewise.
2508 * sysdeps/gnu/errlist.c: Likewise.
2509 * sysdeps/i386/i586/memcpy.S: Likewise.
2510 * sysdeps/i386/i586/memset.S: Likewise.
2511 * sysdeps/i386/i686/memcpy.S: Likewise.
2512 * sysdeps/i386/i686/memmove.S: Likewise.
2513 * sysdeps/i386/i686/mempcpy.S: Likewise.
2514 * sysdeps/i386/i686/memset.S: Likewise.
2515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2521 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2531 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2532 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2535 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2536 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2541 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2561 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2570 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2577 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2578 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2579 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2580 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2581 * sysdeps/posix/closedir.c: Likewise.
2582 * sysdeps/posix/opendir.c: Likewise.
2583 * sysdeps/posix/readdir.c: Likewise.
2584 * sysdeps/posix/rewinddir.c: Likewise.
2585 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2586 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2597 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2599 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2607 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2611 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2625 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2626 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2627 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2630 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2631 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2642 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2649 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2652 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2654 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2657 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2658 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2660 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2661 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2662 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2663 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2664 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2669 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2672 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2673 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2675 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2676 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2677 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2681 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2683 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2684 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2686 * sysdeps/unix/alpha/sysdep.S: Likewise.
2687 * sysdeps/unix/alpha/sysdep.h: Likewise.
2688 * sysdeps/unix/make-syscalls.sh: Likewise.
2689 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2691 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2692 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2694 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2695 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2697 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2704 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2706 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2707 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2708 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2709 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2713 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2714 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2718 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2719 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2723 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2727 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2728 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2730 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2740 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2741 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2742 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2747 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2748 * sysdeps/x86_64/memcpy.S: Likewise.
2749 * sysdeps/x86_64/memmove.c: Likewise.
2750 * sysdeps/x86_64/memset.S: Likewise.
2751 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2752 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2753 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2754 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2755 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2758 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2759 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2761 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2762 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2763 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2769 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2770 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2771 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2772 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2778 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2779 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2780 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2781 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2783 * sysdeps/x86_64/strcmp.S: Likewise.
2784
2785 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2786
2787 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2788 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2789 * elf/rtld-Rules: Likewise.
2790 * elf/setup-vdso.h: Likewise.
2791 * include/assert.h: Likewise.
2792 * include/bits/stdlib-float.h: Likewise.
2793 * include/errno.h: Likewise.
2794 * include/sys/stat.h: Likewise.
2795 * include/unistd.h: Likewise.
2796 * sysdeps/aarch64/setjmp.S: Likewise.
2797 * sysdeps/alpha/setjmp.S: Likewise.
2798 * sysdeps/arm/__longjmp.S: Likewise.
2799 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2800 * sysdeps/arm/setjmp.S: Likewise.
2801 * sysdeps/arm/sysdep.h: Likewise.
2802 * sysdeps/generic/_itoa.h: Likewise.
2803 * sysdeps/generic/dl-sysdep.h: Likewise.
2804 * sysdeps/generic/ldsodefs.h: Likewise.
2805 * sysdeps/i386/dl-tls.h: Likewise.
2806 * sysdeps/i386/setjmp.S: Likewise.
2807 * sysdeps/m68k/setjmp.c: Likewise.
2808 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2809 * sysdeps/mach/hurd/opendir.c: Likewise.
2810 * sysdeps/posix/getcwd.c: Likewise.
2811 * sysdeps/posix/opendir.c: Likewise.
2812 * sysdeps/posix/profil.c: Likewise.
2813 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2817 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2820 * sysdeps/s390/dl-tls.h: Likewise.
2821 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2822 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2823 * sysdeps/sh/sh3/setjmp.S: Likewise.
2824 * sysdeps/sh/sh4/setjmp.S: Likewise.
2825 * sysdeps/unix/alpha/sysdep.h: Likewise.
2826 * sysdeps/unix/arm/sysdep.S: Likewise.
2827 * sysdeps/unix/i386/sysdep.S: Likewise.
2828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2829 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2830 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2831 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2833 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2834 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2835 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2836 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2837 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2838 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2839 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2851 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2852 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2856 * sysdeps/x86_64/setjmp.S: Likewise.
2857
2858 * include/math.h: Use IS_IN instead of IS_IN_libm.
2859 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2871 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2879 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2880 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2881 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2882 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2883 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2884 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2886 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2887 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2888 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2889 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2893 Likewise.
2894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2895 Likewise.
2896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2897 Likewise.
2898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2899 Likewise.
2900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2901 Likewise.
2902 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2904 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2914 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2926 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2928 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2929
2930 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2931 * nptl/pthreadP.h: Likewise.
2932 * nptl_db/structs.def: Likewise.
2933 * sysdeps/arm/sysdep.h: Likewise.
2934 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2935 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2936 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2937 * sysdeps/unix/alpha/sysdep.h: Likewise.
2938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2942 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2945 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2946 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2947 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2948 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2950 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2951 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2956 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2959 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2960 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2961 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2962 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2964
2965 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2966 * nptl/pthreadP.h: Likewise.
2967 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2968 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2969 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2970 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2971 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2973 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2975 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2976 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2978 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2980 Likewise.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2982 Likewise.
2983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2985 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2988 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2989 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2991
2992 * dlfcn/dladdr.c: Use IS_IN.
2993 * dlfcn/dladdr1.c: Likewise.
2994 * dlfcn/dlclose.c: Likewise.
2995 * dlfcn/dlerror.c: Likewise.
2996 * dlfcn/dlinfo.c: Likewise.
2997 * dlfcn/dlmopen.c: Likewise.
2998 * dlfcn/dlopen.c: Likewise.
2999 * dlfcn/dlsym.c: Likewise.
3000 * dlfcn/dlvsym.c: Likewise.
3001
3002 * include/ifaddrs.h: Use IS_IN.
3003 * inet/check_pf.c: Likewise.
3004 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3005 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3006
3007 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3008 IS_IN_ldconfig.
3009 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3010 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3011
3012 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3013 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3014 IS_IN (libc).
3015
3016 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3017
3018 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3019 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3020 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3021 * include/libc-symbols.h (IS_IN_LIB): New macro.
3022 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3023 * include/netdb.h: Likewise.
3024 * include/stap-probe.h: Remove all uses of IN_LIB.
3025
3026 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3027 instead of IN_MODULE.
3028 * include/libc-symbols.h (IN_MODULE): Define using
3029 MODULE_NAME.
3030 (PASTE_NAME, PASTE_NAME1): New macros.
3031 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3032 of IN_LIB.
3033 (STAP_PROBE_ASM): Likewise.
3034
30352014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3036
3037 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3038 __mach_init in dlopened libc.
3039
30402014-11-22 Mike Frysinger <vapier@gentoo.org>
3041
3042 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3043 * sysdeps/arm/preconfigure: Regenerate.
3044
30452014-11-21 Roland McGrath <roland@hack.frob.com>
3046
3047 * nptl/pthread_create.c (__pthread_create_2_1): Set
3048 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3049 when copying values from IATTR into PD.
3050
30512014-11-21 Will Newton <will.newton@linaro.org>
3052 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3053
3054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3055 Refactor inline-asm. Also add comment.
3056
3057 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3058 ElfW macro instead of hardcoded Elf64 types.
3059 (la_aarch64_gnu_pltenter): Likewise.
3060 * sysdeps/aarch64/dl-machine.h
3061 (elf_machine_runtime_setup): Use ElfW(Addr).
3062
3063 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3064 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3065 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3066 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3067 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3068 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3069 (R_AARCH64_TLS_DTPMOD): This.
3070 (R_AARCH64_TLS_DTPREL64): Rename to ...
3071 (R_AARCH64_TLS_DTPREL): This.
3072 (R_AARCH64_TLS_TPREL64): Rename to ...
3073 (R_AARCH64_TLS_TPREL): This.
3074 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3075 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3076 R_AARCH64_TLS_TPREL64.
3077 (elf_machine_rela): Likewise.
3078
30792014-11-21 Torvald Riegel <triegel@redhat.com>
3080
3081 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3082 by setting it to 0. 64b atomics are not supported currently.
3083
30842014-11-21 Alexandre Oliva <aoliva@redhat.com>
3085
3086 [BZ #16469]
3087 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3088 search domain names.
3089
30902014-11-21 Alexandre Oliva <aoliva@redhat.com>
3091
3092 [BZ #16469]
3093 * NEWS: Update.
3094 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3095 trailing dot.
3096 * posix/tst-getaddrinfo5.c: New.
3097 * posix/Makefile (tests): Add it.
3098
30992014-11-21 Alexandre Oliva <aoliva@redhat.com>
3100
3101 [BZ #14498]
3102 * NEWS: Fixed.
3103 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3104 after parsing line but before break_if_match.
3105 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3106 if there is a protocol mismatch.
3107
31082014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3109
3110 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3111 because the potential race is on the user-supplied stream.
3112
31132014-11-21 Alexandre Oliva <aoliva@redhat.com>
3114
3115 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3116 string literal if not passed a buffer.
3117 * manual/job.texi (ctermid): Update reasoning, note deviation
3118 from posix, suggest mtasurace when not passed a buffer, for
3119 future non-preliminary safety notes.
3120
31212014-11-21 Alexandre Oliva <aoliva@redhat.com>
3122
3123 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3124 of not passing it a buffer.
3125 Reported by Peng Haitao.
3126
31272014-11-21 Alexandre Oliva <aoliva@redhat.com>
3128
3129 * manual/Makefile ($(objpfx)stamp-summary): Require
3130 check-safety.sh to pass.
3131 * manual/check-safety.sh: Wish for verification that every
3132 @deftypefn and @deftypefun is followed by a @safety remark.
3133
31342014-11-20 Roland McGrath <roland@hack.frob.com>
3135
3136 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3137
3138 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3139 PTHREAD_CANCEL_ASYNCHRONOUS.
3140 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3141 send SIGCANCEL.
3142
3143 * nptl/default-sched.h: New file.
3144 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3145 * nptl/pthread_create.c: Include it.
3146 (__pthread_create_2_1): Use collect_default_sched instead of making
3147 Linux syscalls here directly.
3148
31492014-11-20 Torvald Riegel <triegel@redhat.com>
3150
3151 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3152 __pthread_once): Use C11 atomics.
3153
31542014-11-20 Torvald Riegel <triegel@redhat.com>
3155
3156 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3157
31582014-11-20 Torvald Riegel <triegel@redhat.com>
3159
3160 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3161 atomic_thread_fence_acquire, atomic_thread_fence_release,
3162 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3163 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3164 atomic_compare_exchange_weak_relaxed,
3165 atomic_compare_exchange_weak_acquire,
3166 atomic_compare_exchange_weak_release,
3167 atomic_exchange_acquire, atomic_exchange_release,
3168 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3169 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3170 atomic_fetch_and_acquire,
3171 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3172
31732014-11-20 Torvald Riegel <triegel@redhat.com>
3174
3175 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3176 USE_ATOMIC_COMPILER_BUILTINS): Define.
3177 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3179 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3181 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3183 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3185 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3187 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3189 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3191 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3193 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3195 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3197 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3199 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3201 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3203 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3205 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3207 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3209 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3211 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3212 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3213 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3215 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3217
32182014-11-19 Roland McGrath <roland@hack.frob.com>
3219
3220 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3221 the sched_priority value here. It was already checked when the user
3222 called pthread_attr_setschedparam.
3223
3224 * nptl/tst-bad-schedattr.c: New file.
3225 * nptl/Makefile (tests): Add it.
3226
32272014-11-19 Carlos O'Donell <carlos@redhat.com>
3228 Florian Weimer <fweimer@redhat.com>
3229 Joseph Myers <joseph@codesourcery.com>
3230 Adam Conrad <adconrad@0c3.net>
3231 Andreas Schwab <schwab@suse.de>
3232 Brooks <bmoses@google.com>
3233
3234 [BZ #17625]
3235 * wordexp-test.c (__dso_handle): Add prototype.
3236 (__register_atfork): Likewise.
3237 (__app_register_atfork): New function.
3238 (registered_forks): New global.
3239 (register_fork): New function.
3240 (test_case): Add 3 new tests for WRDE_CMDSUB.
3241 (main): Call __app_register_atfork.
3242 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3243 fork count is non-zero fail the test.
3244 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3245 is set.
3246 (parse_dollars): Remove check for WRDE_NOCMD.
3247 (parse_dquote): Likewise.
3248
32492014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3250
3251 * Makeconfig (built-modules): List non-library modules to be
3252 built.
3253 (module-cppflags): Include libc-modules.h for
3254 everything except shlib-versions.v.i.
3255 (CPPFLAGS): Use it.
3256 (before-compile): Add libc-modules.h.
3257 ($(common-objpfx)libc-modules.h,
3258 $(common-objpfx)libc-modules.stmp): New targets.
3259 (common-generated): Add libc-modules.h and libc-modules.stmp.
3260 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3261 * include/libc-symbols.h: Don't include libc-modules.h.
3262 * include/libc-modules.h: Remove file.
3263 * scripts/gen-libc-modules.awk: New script to generate
3264 libc-modules.h.
3265 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3266 Depend on libc-modules.stmp.
3267
3268 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3269
3270 * Makeconfig (in-module): Get value of libof set for the
3271 translation unit.
3272 (CPPFLAGS): Use $(in-module).
3273 * Makerules: Don't suffix routine names for nonlib.
3274 * include/libc-modules.h: New file.
3275 * include/libc-symbols.h: Include libc-modules.h
3276 (IS_IN): New macro to replace IS_IN_* macros.
3277 * elf/Makefile: Set libof-* for each routine.
3278 * elf/rtld-Rules: Likewise.
3279 * extra-modules.mk: Likewise.
3280 * iconv/Makefile: Likewise.
3281 * iconvdata/Makefile: Likewise.
3282 * locale/Makefile: Likewise.
3283 * malloc/Makefile: Likewise.
3284 * nss/Makefile: Likewise.
3285 * sysdeps/gnu/Makefile: Likewise.
3286 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3287 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3288 * sysdeps/s390/s390-64/Makefile: Likewise.
3289 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3290 CPPFLAGS for nscd instead of nonlib.
3291
32922014-11-18 Roland McGrath <roland@hack.frob.com>
3293
3294 * nptl/createthread.c: New file.
3295
3296 * nptl/createthread.c: Moved ...
3297 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3298
3299 * nptl/createthread.c: Add proper top-line comment.
3300 (do_clone): Folded into ...
3301 (create_thread): ... here. Take new arguments STOPPED_START and
3302 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3303 increment __nptl_threads, do event-reporting logic, do
3304 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3305 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3306 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3307 just send SIGCANCEL.
3308 * nptl/pthread_create.c: Forward-declare create_thread before
3309 including createthread.c.
3310 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3311 declaration, and new macro START_THREAD_SELF to replace argument.
3312 Remove return statement.
3313 (report_thread_creation): New function.
3314 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3315 synchronization logic, and __nptl_nthreads increment here, around
3316 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3317 PD->parent_cancelhandling here, before create_thread. When
3318 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3319 __deallocate_stack, and ENOMEM translation here.
3320
33212014-11-18 Joseph Myers <joseph@codesourcery.com>
3322
3323 [BZ #17616]
3324 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3325 (mptwo): Rename to __mptwo.
3326 (__inv): Use __mptwo instead of mptwo.
3327 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3328 (mptwo): Rename to __mptwo.
3329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3330 of mpone and __mptwo instead of mptwo.
3331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3332 instead of mpone.
3333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3335 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3336 of mpone and __mptwo instead of mptwo.
3337 (__mpranred): Use __mpone instead of mpone.
3338 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3339 variable.
3340 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3341 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3342 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3343 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3344 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3345 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3346 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3347 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3348 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3349 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3351 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3352 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3353 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3354 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3355 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3356 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3357 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3358 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3359
33602014-11-18 Tom de Vries <tom@codesoucery.com>
3361
3362 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3363 replace BSD Handler xref with BSD Signal Handling.
3364
33652014-11-17 Richard Henderson <rth@redhat.com>
3366
3367 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3368 (_FP_PACK_RAW_2): Remove.
3369 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3370 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3371 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3372 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3373 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3374 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3375 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3376 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3377 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3378 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3379 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3380 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3381 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3382 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3383 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3384 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3385
33862014-11-14 Roland McGrath <roland@hack.frob.com>
3387
3388 * signal/signal.h [__USE_MISC]
3389 (struct sigvec): Remove type.
3390 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3391 (sigvec): Remove declaration.
3392 * sysdeps/posix/sigvec.c: Moved ...
3393 * signal/sigvec.c: ... here, replacing old file.
3394 (struct sigvec): New type, copied from old signal.h definition.
3395 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3396 (__sigvec): Convert definition to prototype.
3397 (sigvec): Replace weak_alias with compat_symbol.
3398 * signal/Versions (libc: GLIBC_2.21): New version set.
3399 * include/signal.h: Remove __sigvec declaration.
3400 * sysdeps/unix/bsd/sigvec.c: Remove file.
3401 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3402 * manual/signal.texi (BSD Handler): Remove subsection.
3403 Move siginterrupt up to ...
3404 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3405 (Blocking in BSD): Fold subsection into its parent.
3406 * NEWS: Mention sigvec removal.
3407
34082014-11-14 Joseph Myers <joseph@codesourcery.com>
3409
3410 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3411 (DLA_FMS): Make definition conditional only on [__FMA4__].
3412 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3413 definition.
3414
3415 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3416 Make definition conditional only on [PROF].
3417 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3418 definition.
3419 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3420 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3421
3422 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3423 !__GNUC__].
3424 * include/signal.h (__sigpause): Move declaration above call to
3425 libc_hidden_proto.
3426 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3427 variable.
3428 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3429 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3430
34312014-11-14 David S. Miller <davem@davemloft.net>
3432
3433 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3434 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3435
34362014-11-14 Joseph Myers <joseph@codesourcery.com>
3437
3438 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3439 * configure: Regenerated.
3440 * manual/install.texi (Tools for Compilation): Document a
3441 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3442 compiler verified to work.
3443 * INSTALL: Regenerated.
3444
3445 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3446 redeclare with asm name.
3447 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3448 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3449 including <string.h>.
3450 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3452 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3454 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3456 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3457
34582014-11-13 Joseph Myers <joseph@codesourcery.com>
3459
3460 * stdlib/strtol.c (__strtol): Use prototype definition.
3461
3462 [BZ #17594]
3463 * stdlib/strtol.c (SYM__): New macro.
3464 (SYM__1): Likewise.
3465 (__strtol): Likewise.
3466 (strtol): Rename to __strtol and define as weak alias of
3467 __strtol. Use libc_hidden_weak.
3468
34692014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3470
3471 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3472 Use numbered labels in inline assembly.
3473
34742014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3475
3476 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3477 Add setjmp LIBC_PROBE.
3478 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3479 Likewise.
3480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3481 Add longjmp, longjmp_target LIBC_PROBE.
3482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3483 Likewise.
3484
34852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3486
3487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3488 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3489 to get rid of unused variable warning.
3490
34912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3492
3493 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3494 Check for unwind_backtrace == NULL only in SHARED case.
3495 (__backchain_backtrace): Compile only in SHARED case.
3496 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3497 Likewise.
3498 (__backchain_backtrace): Declare as static.
3499
35002014-11-12 Roland McGrath <roland@hack.frob.com>
3501
3502 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3503 (__libc_multiple_threads_ptr): Variable moved ...
3504 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3505
35062014-11-12 Joseph Myers <joseph@codesourcery.com>
3507
3508 * conform/GlibcConform.pm: New file.
3509 * conform/conformtest.pl: Use GlibcConform module.
3510 * conform/linknamespace.pl: New file.
3511 * conform/list-header-symbols.pl: Likewise.
3512 * conform/Makefile (linknamespace-symlists-base): New variable.
3513 (linknamespace-symlists-tests): Likewise.
3514 (linknamespace-header-base): Likewise.
3515 (linknamespace-header-tests): Likewise.
3516 (tests-special): Add new tests.
3517 ($(linknamespace-symlists-tests)): New rule.
3518 (linknamespace-libs): New variable.
3519 ($(objpfx)symlist-stdlibs): New rule.
3520 ($(linknamespace-header-tests)): Likewise.
3521 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3522 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3523 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3524 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3525 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3526 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3527 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3528 (test-xfail-ISO/math.h/linknamespace): Likewise.
3529 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3530 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3531 (test-xfail-ISO/time.h/linknamespace): Likewise.
3532 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3533 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3534 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3535 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3536 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3537 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3538 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3539 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3540 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3541 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3542 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3543 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3544 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3545 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3546 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3547 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3548 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3549 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3550 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3551 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3552 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3553 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3554 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3555 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3556 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3557 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3558 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3559 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3560 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3561 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3562 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3563 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3564 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3565 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3566 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3567 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3568 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3569 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3570 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3571 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3572 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3573 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3574 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3575 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3576 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3577 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3578 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3579 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3580 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3581 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3582 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3583 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3584 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3585 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3587 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3588 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3589 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3590 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3591 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3592 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3593 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3594 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3595 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3596 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3597 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3598 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3599 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3600 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3601 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3602 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3603 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3604 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3605 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3606 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3607 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3608 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3609 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3610 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3611 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3612 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3613 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3614 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3615 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3616 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3617 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3618 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3619 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3620 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3621 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3622 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3623 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3624 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3625 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3626 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3627 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3628 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3629 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3630 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3631 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3632 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3633 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3634 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3635 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3636 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3637 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3638 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3639 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3640 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3641 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3642 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3643 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3644 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3645 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3646 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3647 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3648 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3649 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3650 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3651 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3652 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3653 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3654 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3655 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3656 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3657 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3658 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3659 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3660 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3661 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3662 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3663 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3664 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3665 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3666 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3667 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3668 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3669 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3671 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3672 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3673 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3674 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3675 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3676 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3677 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3678 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3679 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3680 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3681 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3682
3683 [BZ #17589]
3684 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3685 of fgets_unlocked.
3686
3687 [BZ #17585]
3688 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3689 (memmem): Rename to __memmem and define as weak alias of
3690 __memmem. Use libc_hidden_weak.
3691 (__memmem): Use libc_hidden_def.
3692 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3693 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3694 memmem.
3695
3696 [BZ #17582]
3697 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3698 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3699 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3700 and define as weak alias of __fgets_unlocked. Use
3701 libc_hidden_weak.
3702 (__fgets_unlocked): Use libc_hidden_def.
3703 * include/stdio.h (__fgets_unlocked): Declare. Use
3704 libc_hidden_proto.
3705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3706 __fgets_unlocked instead of fgets_unlocked.
3707 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3708 (GET_NPROCS_CONF_PARSER): Likewise.
3709 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3710 (GET_NPROCS_CONF_PARSER): Likewise.
3711
3712 [BZ #17574]
3713 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3714 weak alias of __wmemset. Use libc_hidden_weak.
3715 (__wmemset): Use libc_hidden_def.
3716 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3717 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3718 of wmemset.
3719
3720 [BZ #17573]
3721 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3722 with asm name __mempcpy.
3723 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3724
3725 [BZ #17572]
3726 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3727 and define as weak alias of __rawmemchr.
3728 (__rawmemchr): Do not define as strong alias of rawmemchr.
3729
3730 [BZ #17571]
3731 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3732 alias of __qsort_r.
3733 (qsort): Call __qsort_r instead of qsort_r.
3734 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3735 (__qsort_r): Declare. Call libc_hidden_proto.
3736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3737 instead of qsort_r.
3738 * nscd/gai.c (__qsort_r): Define to qsort_r.
3739 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3740 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3741 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3742
3743 [BZ #17570]
3744 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3745 define as weak alias of __malloc_info.
3746
3747 [BZ #17584]
3748 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3749 as weak alias of __rewinddir. Don't use libc_hidden_def.
3750 (__rewinddir): Use libc_hidden_def.
3751 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3752 as weak alias of __rewinddir. Don't use libc_hidden_def.
3753 (__rewinddir): Use libc_hidden_def.
3754 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3755 weak alias of __rewinddir. Don't use libc_hidden_def.
3756 (__rewinddir): Use libc_hidden_def.
3757 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3758 (__rewinddir): Use libc_hidden_proto.
3759 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3760 rewinddir.
3761 (__getcwd): Use __rewinddir instead of rewinddir.
3762
3763 [BZ #17583]
3764 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3765 alias of __fileno. Use libc_hidden_weak.
3766 (__fileno): Use libc_hidden_def.
3767 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3768 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3769 alias of __ftello.
3770 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3771 __ftello.
3772 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3773 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3774 libc_hidden_def.
3775 (fread_unlocked): Don't use libc_hidden_ver.
3776 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3777 and define as weak alias of __fread_unlocked. Don't use
3778 libc_hidden_def.
3779 (__fread_unlocked): Use libc_hidden_def.
3780 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3781 (ftello): Don't use libc_hidden_proto.
3782 (__ftello): Declare. Use libc_hidden_proto.
3783 (fread_unlocked): Don't use libc_hidden_proto.
3784 (__fread_unlocked): Declare. Use libc_hidden_proto.
3785 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3786 and __ftello instead of fileno, fread_unlocked and ftello.
3787
37882012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3789
3790 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3791 GOT12.
3792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3793 Likewise.
3794 (_dl_start_user): Likewise.
3795 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3796
37972014-11-12 Carlos O'Donell <carlos@redhat.com>
3798 Siddhesh Poyarekar <siddhesh@redhat.com>
3799
3800 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3801 Move argv and envp down instead of moving argc up.
3802 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3803
38042014-11-12 Leonhard Holz <leonhard.holz@web.de>
3805
3806 [BZ #17506]
3807 * test-skeleton.c (main): Return successful if one of
3808 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3809 * string/tst-strcoll-overflow.c: Define expected status.
3810
38112014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3812
3813 [BZ #17475]
3814 * locale/iso-639.def: Define Bhili and Tulu language codes.
3815
38162014-11-11 Alan Hayward <alan.hayward@arm.com>
3817
3818 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3819
38202014-11-10 Renlin Li <Renlin.Li@arm.com>
3821
3822 [BZ #17555]
3823 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3824
38252014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3826
3827 * configure.ac: Updated check of minimal required version to
3828 2.22.
3829 * manual/install.texi (Tools for Compilation): Updated version
3830 number.
3831 * configure: Regenerated.
3832 * INSTALL: Likewise.
3833
38342014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3835
3836 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3837 __tls_get_addr.
3838
38392014-11-07 Joseph Myers <joseph@codesourcery.com>
3840
3841 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3842 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3843 (__waitpid): Don't define as alias. Use libc_hidden_def not
3844 libc_hidden_weak.
3845 (waitpid): Define as alias of __waitpid.
3846 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3847 __waitpid.
3848 (__waitpid): Don't define as alias. Use libc_hidden_def not
3849 libc_hidden_weak.
3850 (waitpid): Define as alias of __waitpid.
3851 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3852 __libc_waitpid alias.
3853 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3854 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3858 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3859 alias.
3860 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3861 __waitpid.
3862 (__waitpid): Don't define as alias. Use libc_hidden_def not
3863 libc_hidden_weak.
3864 (waitpid): Define as alias of __waitpid.
3865
38662014-11-06 Carlos O'Donell <carlos@redhat.com>
3867
3868 * manual/llio.texi: Add comment that write safety has been
3869 fixed in Linux.
3870
3871 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3872 (localplt-build-dso): Add elf/ld.so.
3873 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3874 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3875 and free for ld.so.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3877 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3879 Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3881 Likewise.
3882 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3883 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3884 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3885 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3886 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3887 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3888 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3889 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3890 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3891 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3892 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3893
38942014-11-05 Joseph Myers <joseph@codesourcery.com>
3895
3896 [BZ #14132]
3897 * include/libc-symbols.h (INTUSE): Remove macro.
3898 (INTDEF): Likewise.
3899 (INTVARDEF): Likewise.
3900 (_INTVARDEF): Likewise.
3901 (INTDEF2): Likewise.
3902 (INTVARDEF2): Likewise.
3903 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3904 rtld_hidden_def instead of INTVARDEF.
3905 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3906 (_dl_starting_up_internal): Remove declaration.
3907 (_dl_starting_up): Use rtld_hidden_proto.
3908 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3909 declaration.
3910 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3911 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3912 _dl_starting_up.
3913 * elf/dl-writev.h (_dl_writev): Likewise.
3914 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3915 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3916 _dl_starting_up_internal.
3917
39182014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919
3920 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3921 test-skeleton.c.
3922
39232014-11-05 Will Newton <will.newton@linaro.org>
3924
3925 * benchtests/Makefile: (bench-malloc): Add malloc thread
3926 scalability benchmark.
3927 * benchtests/bench-malloc-threads.c: New file.
3928
39292014-11-05 Richard Earnshaw <rearnsha@arm.com>
3930
3931 * sysdeps/aarch64/strchrnul.S: New file.
3932
39332014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3934
3935 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3936 definition.
3937 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3938 Likwise.
3939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3940 Likewise.
3941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3942 Likewise.
3943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3944 Likewise.
3945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3946 Likewise.
3947
39482014-11-05 Arjun Shankar <arjun.is@lostca.se>
3949
3950 * catgets/test-gencat.c: Use test-skeleton.c.
3951 * catgets/tst-catgets.c: Likewise.
3952 * csu/tst-empty.c: Likewise.
3953 * elf/tst-audit2.c: Likewise.
3954 * elf/tst-global1.c: Likewise.
3955 * elf/tst-pathopt.c: Likewise.
3956 * elf/tst-piemod1.c: Likewise.
3957 * elf/tst-tls10.c: Likewise.
3958 * elf/tst-tls11.c: Likewise.
3959 * elf/tst-tls12.c: Likewise.
3960 * gnulib/tst-gcc.c: Likewise.
3961 * iconvdata/tst-e2big.c: Likewise.
3962 * iconvdata/tst-loading.c: Likewise.
3963 * iconv/tst-iconv1.c: Likewise.
3964 * iconv/tst-iconv2.c: Likewise.
3965 * inet/test-inet6_opt.c: Likewise.
3966 * inet/tst-gethnm.c: Likewise.
3967 * inet/tst-network.c: Likewise.
3968 * inet/tst-ntoa.c: Likewise.
3969 * intl/tst-codeset.c: Likewise.
3970 * intl/tst-gettext2.c: Likewise.
3971 * intl/tst-gettext3.c: Likewise.
3972 * intl/tst-ngettext.c: Likewise.
3973 * intl/tst-translit.c: Likewise.
3974 * io/test-stat.c: Likewise.
3975 * libio/test-fmemopen.c: Likewise.
3976 * libio/tst-freopen.c: Likewise.
3977 * libio/tst-sscanf.c: Likewise.
3978 * libio/tst-ungetwc1.c: Likewise.
3979 * libio/tst-ungetwc2.c: Likewise.
3980 * libio/tst-widetext.c: Likewise.
3981 * localedata/tst-ctype.c: Likewise.
3982 * localedata/tst-digits.c: Likewise.
3983 * localedata/tst-leaks.c: Likewise.
3984 * localedata/tst-mbswcs1.c: Likewise.
3985 * localedata/tst-mbswcs2.c: Likewise.
3986 * localedata/tst-mbswcs3.c: Likewise.
3987 * localedata/tst-mbswcs4.c: Likewise.
3988 * localedata/tst-mbswcs5.c: Likewise.
3989 * localedata/tst-setlocale.c: Likewise.
3990 * localedata/tst-trans.c: Likewise.
3991 * localedata/tst-wctype.c: Likewise.
3992 * localedata/tst-xlocale1.c: Likewise.
3993 * login/tst-grantpt.c: Likewise.
3994 * malloc/tst-calloc.c: Likewise.
3995 * malloc/tst-malloc.c: Likewise.
3996 * malloc/tst-mallocstate.c: Likewise.
3997 * malloc/tst-mcheck.c: Likewise.
3998 * malloc/tst-mtrace.c: Likewise.
3999 * malloc/tst-obstack.c: Likewise.
4000 * math/atest-exp2.c: Likewise.
4001 * math/atest-exp.c: Likewise.
4002 * math/atest-sincos.c: Likewise.
4003 * math/test-matherr.c: Likewise.
4004 * math/test-misc.c: Likewise.
4005 * math/test-powl.c: Likewise.
4006 * math/tst-definitions.c: Likewise.
4007 * misc/tst-dirname.c: Likewise.
4008 * misc/tst-efgcvt.c: Likewise.
4009 * misc/tst-fdset.c: Likewise.
4010 * misc/tst-hsearch.c: Likewise.
4011 * misc/tst-mntent2.c: Likewise.
4012 * nptl/tst-sem7.c: Likewise.
4013 * nptl/tst-sem8.c: Likewise.
4014 * nptl/tst-sem9.c: Likewise.
4015 * nss/test-netdb.c: Likewise.
4016 * posix/tst-fnmatch.c: Likewise.
4017 * posix/tst-getlogin.c: Likewise.
4018 * posix/tst-gnuglob.c: Likewise.
4019 * posix/tst-mmap.c: Likewise.
4020 * pwd/tst-getpw.c: Likewise.
4021 * resolv/tst-inet_ntop.c: Likewise.
4022 * rt/tst-timer.c: Likewise.
4023 * stdio-common/test-fseek.c: Likewise.
4024 * stdio-common/test-popen.c: Likewise.
4025 * stdio-common/test-vfprintf.c: Likewise.
4026 * stdio-common/tst-cookie.c: Likewise.
4027 * stdio-common/tst-fileno.c: Likewise.
4028 * stdio-common/tst-gets.c: Likewise.
4029 * stdio-common/tst-obprintf.c: Likewise.
4030 * stdio-common/tst-perror.c: Likewise.
4031 * stdio-common/tst-sprintf2.c: Likewise.
4032 * stdio-common/tst-sprintf3.c: Likewise.
4033 * stdio-common/tst-sprintf.c: Likewise.
4034 * stdio-common/tst-swprintf.c: Likewise.
4035 * stdio-common/tst-tmpnam.c: Likewise.
4036 * stdio-common/tst-unbputc.c: Likewise.
4037 * stdio-common/tst-wc-printf.c: Likewise.
4038 * stdlib/tst-environ.c: Likewise.
4039 * stdlib/tst-fmtmsg.c: Likewise.
4040 * stdlib/tst-limits.c: Likewise.
4041 * stdlib/tst-rand48-2.c: Likewise.
4042 * stdlib/tst-rand48.c: Likewise.
4043 * stdlib/tst-random2.c: Likewise.
4044 * stdlib/tst-random.c: Likewise.
4045 * stdlib/tst-strtol.c: Likewise.
4046 * stdlib/tst-strtoll.c: Likewise.
4047 * stdlib/tst-tls-atexit.c: Likewise.
4048 * stdlib/tst-xpg-basename.c: Likewise.
4049 * string/test-ffs.c: Likewise.
4050 * string/tst-bswap.c: Likewise.
4051 * string/tst-inlcall.c: Likewise.
4052 * string/tst-strtok.c: Likewise.
4053 * string/tst-strxfrm.c: Likewise.
4054 * sysdeps/x86_64/tst-audit10.c: Likewise.
4055 * sysdeps/x86_64/tst-audit3.c: Likewise.
4056 * sysdeps/x86_64/tst-audit4.c: Likewise.
4057 * sysdeps/x86_64/tst-audit5.c: Likewise.
4058 * time/tst-ftime_l.c: Likewise.
4059 * time/tst-getdate.c: Likewise.
4060 * time/tst-mktime3.c: Likewise.
4061 * time/tst-mktime.c: Likewise.
4062 * time/tst-posixtz.c: Likewise.
4063 * time/tst-strptime2.c: Likewise.
4064 * time/tst-strptime3.c: Likewise.
4065 * wcsmbs/tst-btowc.c: Likewise.
4066 * wcsmbs/tst-mbrtowc.c: Likewise.
4067 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4068 * wcsmbs/tst-wchar-h.c: Likewise.
4069 * wcsmbs/tst-wcpncpy.c: Likewise.
4070 * wcsmbs/tst-wcrtomb.c: Likewise.
4071 * wcsmbs/tst-wcsnlen.c: Likewise.
4072 * wcsmbs/tst-wcstof.c: Likewise.
4073
40742014-11-04 Joseph Myers <joseph@codesourcery.com>
4075
4076 [BZ #14132]
4077 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4078 INTDEF.
4079 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4080 declaration.
4081 (_dl_mcount): Use rtld_hidden_proto.
4082 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4083 _dl_mcount.
4084 * elf/rtld.c (_rtld_global_ro): Likewise.
4085
4086 [BZ #14132]
4087 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4088 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4089 of _dl_init_internal.
4090 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4091 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4092 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4093 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4094 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4095 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4096 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4097 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4098 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4099 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4100 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4101 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4102 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4104 * sysdeps/tile/dl-start.S (_start): Likewise.
4105 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4106 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4107
4108 [BZ #14132]
4109 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4110 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4111 (rtld_progname): Make macro definition unconditional.
4112 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4113 INTDEF.
4114 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4115 (dl_main): Likewise.
4116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4117 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4118 instead of _dl_argv_internal.
4119 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4120 __GI__dl_argv instead of INTUSE(_dl_argv).
4121 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4122 __GI__dl_argv instead of _dl_argv_internal.
4123
4124 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4125 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4126 macro.
4127 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4128 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4129 New macro.
4130 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4131 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4132 macro.
4133 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4134 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4135
41362014-11-04 Andreas Schwab <schwab@suse.de>
4137
4138 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4139
41402014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4141
4142 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4143 mtvsrd instruction in binary form.
4144
41452014-11-03 Andreas Schwab <schwab@suse.de>
4146
4147 [BZ #17522]
4148 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4149 for less than MB_LEN_MAX use a local buffer of that size.
4150 * libio/tst-fputws.c: New file.
4151 * libio/Makefile (tests): Add tst-fputws.
4152
41532014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4154
4155 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4156 the size of the fpu_fr.fpu_dregs[] array.
4157
41582014-11-01 Joseph Myers <joseph@codesourcery.com>
4159
4160 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4161 (__nanosleep): Do not define as alias.
4162 (nanosleep): Define as alias of __nanosleep.
4163 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4164 __libc_nanosleep name.
4165
41662014-10-31 Joseph Myers <joseph@codesourcery.com>
4167
4168 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4169 install.texi in comment.
4170
41712014-10-31 Torvald Riegel <triegel@redhat.com>
4172
4173 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4174 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4175 ... add here and use lwsync or sync ...
4176 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4177 ... and add here using lwsync.
4178
41792014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4180
4181 * elf/dl-machine-reject-phdr.h: New file.
4182 * elf/dl-load.c: #include that.
4183 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4184 if that returned true.
4185
41862014-10-31 Roland McGrath <roland@hack.frob.com>
4187
4188 [BZ #17496]
4189 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4190 gen-as-const-headers chunk. Add a big scare comment after the last
4191 safe place to touch before-compile.
4192
41932014-10-31 Joseph Myers <joseph@codesourcery.com>
4194
4195 * manual/install.texi (Tools for Compilation): Update autoconf
4196 version requirements.
4197 * INSTALL: Regenerated.
4198
4199 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4200 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4201 (__libc_pselect): Likewise.
4202
4203 [BZ #14138]
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4208
42092014-10-31 Torvald Riegel <triegel@redhat.com>
4210
4211 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4212 correct barrier instruction.
4213 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4214 Likewise.
4215 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4216 Likewise.
4217
42182014-10-30 Roland McGrath <roland@hack.frob.com>
4219
4220 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4221 after defining inlines. Instead, just use parens to defeat macro
4222 expansion of __isctype in its declaration.
4223
42242014-10-30 Joseph Myers <joseph@codesourcery.com>
4225
4226 * include/sys/uio.h (__libc_readv): Remove declaration.
4227 (__libc_writev): Likewise.
4228 * misc/readv.c (__libc_readv): Rename to __readv.
4229 (__readv): Do not define as alias.
4230 (readv): Define as alias of __readv.
4231 * misc/writev.c (__libc_writev): Rename to __writev.
4232 (__writev): Do not define as alias.
4233 (writev): Define as alias of __writev.
4234 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4235 (__readv): Do not define as alias.
4236 (readv): Define unconditionally as alias of __readv.
4237 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4238 (__writev): Do not define as alias.
4239 (writev): Define unconditionally as alias of __writev.
4240 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4241 name.
4242 (writev): Do not define __libc_writev name.
4243
42442014-10-30 Roland McGrath <roland@hack.frob.com>
4245
4246 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4247 (convert_charseq): New function, broken out of ...
4248 (use_from_charmap): ... here. Call it.
4249 (use_to_charmap): Use convert_charseq and free instead of duplicating
4250 its code with a variable-length stack struct.
4251
42522014-10-30 Joseph Myers <joseph@codesourcery.com>
4253
4254 * include/fcntl.h (__libc_creat): Remove declaration.
4255 * io/creat.c (__libc_creat): Rename to creat.
4256 (creat): Do not define as alias.
4257 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4258 of creat instead of __libc_creat.
4259 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4260 to creat.
4261 (creat): Do not define as alias.
4262 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4263 __libc_creat.
4264 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4265 __libc_creat name.
4266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4267 Likewise.
4268
42692014-10-29 Carlos O'Donell <carlos@redhat.com>
4270
4271 * manual/llio.texi: Add comments discussing why write() may be
4272 considered MT-unsafe on Linux.
4273
42742014-10-28 Carlos O'Donell <carlos@redhat.com>
4275
4276 * dl-load.c (local_strdup): Remove.
4277 (expand_dynamic_string_token): Use __strdup.
4278 (decompose_rpath): Likewise.
4279 (_dl_map_object): Likewise.
4280
42812014-10-28 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #14132]
4284 * sysdeps/generic/unwind-dw2-fde.c
4285 (__register_frame_info_bases_internal): Do not declare.
4286 (__register_frame_info_table_bases_internal): Likewise.
4287 (__deregister_frame_info_bases_internal): Likewise.
4288 (__register_frame_info_bases): Declare and use hidden_proto before
4289 definition. Use hidden_def instead of INTDEF.
4290 (__register_frame_info_table_bases): Likewise.
4291 (__deregister_frame_info_bases): Likewise.
4292 (__register_frame_info): Do not use INTUSE.
4293 (__register_frame): Likewise.
4294 (__register_frame_info_table): Likewise.
4295 (__register_frame_table): Likewise.
4296 (__deregister_frame_info): Likewise.
4297 (__deregister_frame): Likewise.
4298
42992014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4300
4301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4303 not undefine.
4304 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4305 Likewise.
4306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4307 Likewise.
4308
43092014-10-27 Joseph Myers <joseph@codesourcery.com>
4310
4311 [BZ #14138]
4312 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4313 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4314 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4315 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4316 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4317 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4318 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4319 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4321 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4324 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4325 syscall.
4326 (setfsuid): Likewise.
4327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4328 (setfsuid): Likewise.
4329 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4330 (setfsuid): Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4332 Likewise.
4333 (setfsuid): Likewise.
4334 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4335 (setfsuid): Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4337 Likewise.
4338 (setfsuid): Likewise.
4339
43402014-10-27 Andreas Schwab <schwab@suse.de>
4341
4342 [BZ #17501]
4343 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4344 check for Slow_SSE4_2 feature bit.
4345 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4346 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4347 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4348 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4349
43502014-10-24 Roland McGrath <roland@hack.frob.com>
4351
4352 * configure.ac: Validate compiler version with a empirical test of
4353 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4354 $CC -v output.
4355 * configure: Regenerated.
4356
4357 * inet/htons.c (htons): Prototypify.
4358 * inet/htonl.c (htonl): Likewise.
4359
43602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4361
4362 * string/strncat.c (strncat): Improve performance by using strlen.
4363
43642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4365
4366 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4367
43682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4369
4370 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4371 Call libc_fetestexcept_aarch64.
4372
43732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4374
4375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4376 Call libc_feholdexcept_aarch64.
4377
43782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4379
4380 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4381 Call get_rounding_mode.
4382
43832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4384
4385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4386 Simplify logic.
4387
43882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4389
4390 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4391 Simplify logic.
4392
43932014-10-24 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #14138]
4396 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4397 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4398 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4399 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4400 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4401 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4402 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4403 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4404 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4405 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4407 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4408 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4409 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4410 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4411 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4412 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4413 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4414 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4415 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4416 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4418 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4419 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4422 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4423 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4424 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4425 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4426 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4427 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4428 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4429 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4430 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4436 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4437 syscall.
4438 (geteuid): Likewise.
4439 (getgid): Likewise.
4440 (getuid): Likewise.
4441 (getresgid): Likewise.
4442 (getresuid): Likewise.
4443 (getgroups): Likewise.
4444 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4445 (geteuid): Likewise.
4446 (getgid): Likewise.
4447 (getuid): Likewise.
4448 (getresgid): Likewise.
4449 (getresuid): Likewise.
4450 (getgroups): Likewise.
4451 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4452 (geteuid): Likewise.
4453 (getgid): Likewise.
4454 (getuid): Likewise.
4455 (getresgid): Likewise.
4456 (getresuid): Likewise.
4457 (getgroups): Likewise.
4458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4459 Likewise.
4460 (geteuid): Likewise.
4461 (getgid): Likewise.
4462 (getuid): Likewise.
4463 (getresgid): Likewise.
4464 (getresuid): Likewise.
4465 (getgroups): Likewise.
4466 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4467 (geteuid): Likewise.
4468 (getgid): Likewise.
4469 (getuid): Likewise.
4470 (getresgid): Likewise.
4471 (getresuid): Likewise.
4472 (getgroups): Likewise.
4473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4474 Likewise.
4475 (geteuid): Likewise.
4476 (getgid): Likewise.
4477 (getuid): Likewise.
4478 (getgroups): Likewise.
4479
4480 [BZ #14138]
4481 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4482 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4487 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4488 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4489 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4493 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4494 __chown.
4495 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4496 (lchown): Likewise.
4497 (fchown): Likewise.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4499 Likewise.
4500 (lchown): Likewise.
4501 (fchown): Likewise.
4502 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4503 (lchown): Likewise.
4504 (fchown): Likewise.
4505 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4506 Likewise.
4507 (lchown): Likewise.
4508 (fchown): Likewise.
4509
45102014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4511
4512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4513 Simplify logic.
4514
45152014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4516
4517 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4518 Cleanup logic.
4519
45202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4521
4522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4523 Remove unused include.
4524
45252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4526
4527 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4529 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4530 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4531
45322014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4533 Helge Deller <deller@gmx.de>
4534
4535 [BZ #17508]
4536 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4537 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4538 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4539
45402014-10-23 Joseph Myers <joseph@codesourcery.com>
4541
4542 [BZ #14132]
4543 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4544 Remove macro definition.
4545 (__ashrdi3_v_glibc20): Likewise.
4546 (__lshrdi3_v_glibc20): Likewise.
4547 (__cmpdi2_v_glibc20): Likewise.
4548 (__ucmpdi2_v_glibc20): Likewise.
4549 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4551 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4552 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4553 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4554 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4555
45562014-10-22 Roland McGrath <roland@hack.frob.com>
4557
4558 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4559 old GNU extension [0] syntax.
4560 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4561 alloca rather than an array member with variable length.
4562 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4563 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4564 (parse_opt): ... here. Likewise use alloca there.
4565 Validate the -i argument before checking for rootness.
4566 (send_shutdown): New function, broken out of ...
4567 (parse_opt): ... here.
4568
45692014-10-22 Roland McGrath <roland@hack.frob.com>
4570
4571 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4572 macro to get at the _rt_local_ro field.
4573 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4574 ([PIC] case) or _dl_hwcap ([!PIC] case).
4575 * sysdeps/arm/setjmp.S: Likewise.
4576
4577 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4578 * sysdeps/arm/configure.ac: New check to define it.
4579 * sysdeps/arm/configure: Regenerated.
4580 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4581 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4582 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4583 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4584 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4585 Use move/movt pair instead of a load.
4586 (LDST_GLOBAL): Macro removed.
4587 (LDR_GLOBAL): New macro replaces it.
4588 (LDR_HIDDEN): New macro.
4589 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4590 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4591
4592 * setjmp/tst-setjmp-static.c: New file.
4593 * setjmp/Makefile (tests): Add it.
4594 (tests-static): New variable.
4595
45962014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4597
4598 [BZ #17485]
4599 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4600
46012014-10-21 Joseph Myers <joseph@codesourcery.com>
4602
4603 [BZ #14132]
4604 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4605
46062014-10-21 Roland McGrath <roland@hack.frob.com>
4607
4608 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4609
46102014-10-20 Roland McGrath <roland@hack.frob.com>
4611
4612 * io/fts.c (dirent_not_directory): New function.
4613 (fts_build): Call it.
4614
46152014-10-20 Roland McGrath <roland@hack.frob.com>
4616
4617 * nptl/version.c (__nptl_main): Use normal __write rather than
4618 INTERNAL_SYSCALL.
4619 (banner): Update copyright years.
4620
4621 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4622 gettimeofday.
4623 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4624 * nptl/pthread_cond_timedwait.c: Likewise.
4625 * nptl/pthread_mutex_timedlock.c: Likewise.
4626 * nptl/sem_timedwait.c: Likewise.
4627
4628 * sysdeps/nptl/bits/libc-lock.h
4629 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4630 (__libc_lock_init_recursive): Return void, not 0.
4631 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4632 (__libc_rwlock_init): Likewise.
4633 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4634
46352014-10-20 Torvald Riegel <triegel@redhat.com>
4636
4637 [BZ #15215]
4638 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4639 (__pthread_once_slow): ... here.
4640 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4641 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4642
46432014-10-20 Torvald Riegel <triegel@redhat.com>
4644
4645 [BZ #15215]
4646 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4647 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4648 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4649 * nptl/pthread_once.c (__pthread_once): Likewise.
4650 Update comments.
4651
46522014-10-20 Joseph Myers <joseph@codesourcery.com>
4653
4654 [BZ #14138]
4655 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4656 name.
4657 (writev): Use __libc_writev as strong name.
4658 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4659 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4660
46612014-10-17 Roland McGrath <roland@hack.frob.com>
4662
4663 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4664
4665 * sysdeps/i386/nptl/tls.h
4666 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4667 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4668 New macros.
4669 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4670 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4671 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4672 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4673 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4674 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4675
4676 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4677 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4678 on [__NR_futex].
4679 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4680 broken out of ...
4681 (__pthread_mutex_init): ... here. Call it.
4682 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4683 Conditionalize PI cases on [__NR_futex].
4684 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4685 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4686 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4687
4688 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4689 conditional on [SIGSETXID].
4690 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4691 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4692 is defined. Likewise for SIGSETXID.
4693 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4694 Conditionalize definitions on [SIGSETXID].
4695 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4696 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4697 unblocking on [SIGCANCEL].
4698
4699 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4700 [__NR_set_robust_list].
4701
47022014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4703
4704 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4705 (do_compare): Likewise.
4706
47072014-10-17 Leonhard Holz <leonhard.holz@web.de>
4708
4709 [BZ #15884]
4710 * string/strcoll_l.c: Don't include stdio.h.
4711 (coll_seq): Remove members idxarr and rulearr.
4712 (get_next_seq_cached): Remove function.
4713 (get_next_seq): Likewise.
4714 (get_next_seq_nocache): Rename to get_next_seq.
4715 (do_compare): Remove function.
4716 (do_compare_nocache): Rename to do_compare.
4717 (STRCOLL): Remove weight and rules cache.
4718
47192014-10-16 Roland McGrath <roland@hack.frob.com>
4720
4721 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4722 * sysdeps/arm/sfp-machine.h: ... to here.
4723 * sysdeps/arm/Implies: Remove arm/soft-fp.
4724
47252014-10-14 Joseph Myers <joseph@codesourcery.com>
4726
4727 * conform/data/sys/utsname.h-data (*_t): Allow.
4728 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4729 [POSIX] (WEXITED): Do not expect constant.
4730 [POSIX] (WSTOPPED): Likewise.
4731 [POSIX] (WNOHANG): Likewise.
4732 [POSIX] (WNOWAIT): Likewise.
4733 [POSIX] (siginfo_t): Do not expect type or elements.
4734 [POSIX] (pid_t): Do not expect type.
4735 [POSIX] (signal.h): Do not allow header.
4736 [POSIX] (sys/resource.h): Likewise.
4737 [POSIX] (si_*): Do not allow pattern.
4738 [POSIX] (W*): Likewise.
4739 [POSIX] (P_*): Likewise.
4740 [POSIX] (BUS_*): Likewise.
4741 [POSIX] (CLD_*): Likewise.
4742 [POSIX] (FPE_*): Likewise.
4743 [POSIX] (ILL_*): Likewise.
4744 [POSIX] (POLL_*): Likewise.
4745 [POSIX] (SEGV_*): Likewise.
4746 [POSIX] (SI_*): Likewise.
4747 [POSIX] (TRAP_*): Likewise.
4748 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4749 variable.
4750
47512014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4752
4753 [BZ #12926]
4754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4755 infinite loop when __recvmsg returns 0.
4756
47572014-10-10 Joseph Myers <joseph@codesourcery.com>
4758
4759 * CANCEL-FCT-WAIVE: Remove file.
4760 * CANCEL-FILE-WAIVE: Likewise.
4761
4762 [BZ #14132]
4763 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4764 instead of INTVARDEF.
4765 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4767 rtld_hidden_data_def instead of INTVARDEF.
4768 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4769 * elf/dl-deps.c (expand_dst): Likewise.
4770 * elf/dl-load.c (_dl_dst_count): Likewise.
4771 (_dl_dst_substitute): Likewise.
4772 (decompose_rpath): Likewise.
4773 (_dl_init_paths): Likewise.
4774 (open_path): Likewise.
4775 (_dl_map_object): Likewise.
4776 * elf/rtld.c (dl_main): Likewise.
4777 (process_dl_audit): Likewise.
4778 (process_envvars): Likewise.
4779 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4780 Remove declaration.
4781 (__libc_enable_secure): Use rtld_hidden_proto.
4782
47832014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4784
4785 * elf/dl-load.c
4786 (add_path): New function broken out of _dl_rtld_di_serinfo.
4787 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4788
47892014-10-09 Joseph Myers <joseph@codesourcery.com>
4790
4791 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4792 parentheses around macro arguments.
4793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4804 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4808 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4809 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4822 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4826 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4827 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4828 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4829 Likewise.
4830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4832 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4835 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4837 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4839 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4840 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4841 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4842 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4851 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4855 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4856 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4857 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4858 (_FP_FRAC_SRS_1): Likewise.
4859 (_FP_FRAC_CLZ_1): Likewise.
4860 (_FP_MUL_MEAT_1_imm): Likewise.
4861 (_FP_MUL_MEAT_1_wide): Likewise.
4862 (_FP_MUL_MEAT_1_hard): Likewise.
4863 (_FP_SQRT_MEAT_1): Likewise.
4864 (_FP_FRAC_ASSEMBLE_1): Likewise.
4865 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4866 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4867 (__FP_CLZ_2): Likewise.
4868 (_FP_MUL_MEAT_2_wide): Likewise.
4869 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4870 (_FP_MUL_MEAT_2_gmp): Likewise.
4871 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4872 (_FP_SQRT_MEAT_2): Likewise.
4873 (_FP_FRAC_ASSEMBLE_2): Likewise.
4874 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4875 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4876 (_FP_FRAC_CLZ_4): Likewise.
4877 (_FP_MUL_MEAT_4_wide): Likewise.
4878 (_FP_MUL_MEAT_4_gmp): Likewise.
4879 (_FP_SQRT_MEAT_4): Likewise.
4880 (_FP_FRAC_ASSEMBLE_4): Likewise.
4881 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4882 * soft-fp/op-common.h (_FP_CMP): Likewise.
4883 (_FP_CMP_EQ): Likewise.
4884 (_FP_CMP_UNORD): Likewise.
4885 (_FP_TO_INT): Likewise.
4886 (_FP_FROM_INT): Likewise.
4887 [!__FP_CLZ] (__FP_CLZ): Likewise.
4888 (_FP_DIV_HELP_imm): Likewise.
4889 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4890 Likewise.
4891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4902 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4906 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4907 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4920 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4924 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4925 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4926 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4927 (FP_UNPACK_RAW_SP): Likewise.
4928 (FP_PACK_RAW_S): Likewise.
4929 (FP_PACK_RAW_SP): Likewise.
4930 (FP_UNPACK_S): Likewise.
4931 (FP_UNPACK_SP): Likewise.
4932 (FP_UNPACK_SEMIRAW_S): Likewise.
4933 (FP_UNPACK_SEMIRAW_SP): Likewise.
4934 (FP_PACK_S): Likewise.
4935 (FP_PACK_SP): Likewise.
4936 (FP_PACK_SEMIRAW_S): Likewise.
4937 (FP_PACK_SEMIRAW_SP): Likewise.
4938 (_FP_SQRT_MEAT_S): Likewise.
4939 (FP_CMP_S): Likewise.
4940 (FP_CMP_EQ_S): Likewise.
4941 (FP_CMP_UNORD_S): Likewise.
4942 (FP_TO_INT_S): Likewise.
4943 (FP_FROM_INT_S): Likewise.
4944
4945 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4946
4947 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4948 (FP_EX_INVALID_IMZ): Likewise.
4949 (FP_EX_INVALID_IMZ_FMA): Likewise.
4950 (FP_EX_INVALID_ISI): Likewise.
4951 (FP_EX_INVALID_ZDZ): Likewise.
4952 (FP_EX_INVALID_IDI): Likewise.
4953 (FP_EX_INVALID_SQRT): Likewise.
4954 (FP_EX_INVALID_CVI): Likewise.
4955 (FP_EX_INVALID_VC): Likewise.
4956 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4957 "invalid" exceptions.
4958 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4959 (_FP_ADD_INTERNAL): Likewise.
4960 (_FP_MUL): Likewise.
4961 (_FP_FMA): Likewise.
4962 (_FP_DIV): Likewise.
4963 (_FP_CMP_CHECK_NAN): Likewise.
4964 (_FP_SQRT): Likewise.
4965 (_FP_TO_INT): Likewise.
4966 (FP_EXTEND): Likewise.
4967
49682014-10-09 Allan McRae <allan@archlinux.org>
4969
4970 * po/fr.po: Update French translation from translation project.
4971
49722014-10-09 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #14132]
4975 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4976 of INTDEF.
4977 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4978 (__cxa_atexit): Use libc_hidden_proto.
4979 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4980
4981 [BZ #14132]
4982 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4983 declaration.
4984 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4985 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4986 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4987 [!_ISOMAC] (__iswctype_internal): Likewise.
4988 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4989 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4990 alias.
4991 (fcntl): Remove __fcntl_internal alias.
4992 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4993 __connect_internal alias.
4994 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4995 Likewise.
4996
4997 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4998 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4999 FP_DENORM_ZERO.
5000 (_FP_CHECK_FLUSH_ZERO): New macro.
5001 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5002 (_FP_CMP): Likewise.
5003 (_FP_CMP_EQ): Likewise.
5004 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5005 FP_DENORM_ZERO.
5006 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5007 (FP_TRUNC): Likewise.
5008
5009 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5010 treated as invalid conversion, not as normal exponent.
5011
5012 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5013 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5014 (_FP_CMP_EQ): Likewise.
5015 (_FP_CMP_UNORD): Likewise.
5016 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5017 (FP_CMP_EQ_D): Likewise.
5018 (FP_CMP_UNORD_D): Likewise.
5019 * soft-fp/extended.h (FP_CMP_E): Likewise.
5020 (FP_CMP_EQ_E): Likewise.
5021 (FP_CMP_UNORD_E): Likewise.
5022 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5023 (FP_CMP_EQ_Q): Likewise.
5024 (FP_CMP_UNORD_Q): Likewise.
5025 * soft-fp/single.h (FP_CMP_S): Likewise.
5026 (FP_CMP_EQ_S): Likewise.
5027 (FP_CMP_UNORD_S): Likewise.
5028 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5029 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5030 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5031 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5032 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5033 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5034 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5035 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5036 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5037 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5038 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5039 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5040 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5041 to FP_CMP_Q.
5042 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5043 FP_CMP_Q.
5044 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5045 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5046 FP_CMP_EQ_Q.
5047 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5048 FP_CMP_Q.
5049 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5050 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5051 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5052 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5053 FP_CMP_EQ_Q.
5054 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5055 FP_CMP_Q.
5056 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5057 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5058 FP_CMP_EQ_Q.
5059 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5060 FP_CMP_Q.
5061 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5062 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5063 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5064 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5065 FP_CMP_EQ_Q.
5066
5067 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5068 a subnormal result, set the underflow exception if trapping on
5069 underflow is enabled.
5070 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5071 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5072 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5073 redefine to 0.
5074 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5075 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5076 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5077 * soft-fp/extendxftf2.c (__extendxftf2): Use
5078 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5079
5080 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5081 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5082 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5083 FP_HANDLE_EXCEPTIONS.
5084 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5085 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5086 FP_HANDLE_EXCEPTIONS.
5087 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5088 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5089 FP_HANDLE_EXCEPTIONS.
5090 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5091 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5092 FP_HANDLE_EXCEPTIONS.
5093
50942014-10-08 Joseph Myers <joseph@codesourcery.com>
5095
5096 [BZ #14132]
5097 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5098 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5099 use INTUSE.
5100 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5101 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5102 Remove alias.
5103 (__adjtimex): Define using libc_hidden_ver.
5104 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5105 Remove declaration.
5106 (ntp_gettime): Call __adjtimex directly.
5107 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5108 Remove declaration.
5109 (ntp_gettimex): Call __adjtimex directly.
5110 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5111 __adjtimex_internal alias.
5112
51132014-10-08 Roland McGrath <roland@hack.frob.com>
5114
5115 [BZ #17460]
5116 * nscd/nscd.c (more_help): Rewrite list of tables collection
5117 using xstrdup and asprintf.
5118
5119 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5120
51212014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5122 Roland McGrath <roland@hack.frob.com>
5123
5124 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5125 (do_lookup_unique): ... local function 'enter' here; update callers.
5126
51272014-10-06 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5130 compat_symbol calls on [SHARED].
5131 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5132 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5133 Remove.
5134 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5135 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5136 (oldsetrlimit): Remove.
5137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5139 (lchown): New syscall entry.
5140 (oldsetrlimit): Remove.
5141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5143 (oldsetrlimit): Remove.
5144 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5145
5146 [BZ #14138]
5147 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5148 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5149 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5150 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5152 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5153 (fchown): Likewise.
5154 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5155 (fchown): Likewise.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5157 Likewise.
5158
51592014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5160
5161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5162 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5163 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5164 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5165 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5166 Likewise.
5167 (__old_sem_post): Likewise.
5168
51692014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5170
5171 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5172 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5173 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5174 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5175 Use INLINE_VSYSCALL macro.
5176 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5177 __vdso_clock_gettime.
5178 * sysdeps/unix/sysv/linux/tile/init-first.c
5179 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5180 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5181 __vdso_clock_gettime.
5182
5183 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5184 to set up frame more cleanly.
5185
5186 * sysdeps/tile/memcmp.c: New file.
5187
5188 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5189
5190 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5191 * sysdeps/tile/tilegx/strcasestr.c: New file.
5192 * sysdeps/tile/tilegx/strnlen.c: New file.
5193 * sysdeps/tile/tilegx/strstr.c: New file.
5194
5195 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5196
51972014-10-06 Arjun Shankar <arjun.is@lostca.se>
5198
5199 * nptl/tst-setuid3.c: Write errors to stdout.
5200
52012014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5202
5203 * elf/dl-deps.c
5204 (preload): New functions broken out of _dl_map_object_deps.
5205 (_dl_map_object_deps): Remove a nested function. Update call sites.
5206
52072014-10-01 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #14138]
5210 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5211 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5212
52132014-10-01 Steve Ellcey <sellcey@mips.com>
5214
5215 * sysdeps/mips/strcmp.S: New.
5216
52172014-09-30 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #14138]
5220 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5221 (linkat): Likewise.
5222 (mkdirat): Likewise.
5223 (readlinkat): Likewise.
5224 (renameat): Likewise.
5225 (symlinkat): Likewise.
5226 (unlinkat): Likewise.
5227 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5228 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5229 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5230 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5231 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5232 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5233 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5234
52352014-09-30 Will Newton <will.newton@linaro.org>
5236
5237 * math/math.h: Define long double math functions if
5238 _LIBC_TEST is defined.
5239 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5240
5241 * localedata/Makefile: Move assignment to tests-special
5242 into an ifdef testing run-built-tests.
5243 * timezone/Makefile: Likewise.
5244
52452014-09-29 Joseph Myers <joseph@codesourcery.com>
5246
5247 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5248 with $(BASH) not $(SHELL).
5249
52502014-09-29 Carlos O'Donell <carlos@redhat.com>
5251 Matthew LeGendre <legendre1@llnl.gov>
5252
5253 [BZ #17411]
5254 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5255 l_reloc_result.
5256
52572014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5258
5259 * stdio-common/printf_fp.c
5260 (hack_digit): New function, broken out of ...
5261 (__printf_fp): ... local function here. Update call sites.
5262 hack_digit now takes an additional parameter that is a pointer
5263 to a struct of the referenced locals. Those locals moved inside
5264 the struct and references updated.
5265
52662014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5267
5268 * aclocal.m4: Require autoconf 2.69.
5269 * configure: Regenerated.
5270 * sysdeps/aarch64/configure: Likewise.
5271 * sysdeps/alpha/configure: Likewise.
5272 * sysdeps/arm/armv7/configure: Likewise.
5273 * sysdeps/arm/configure: Likewise.
5274 * sysdeps/ia64/configure: Likewise.
5275 * sysdeps/mach/configure: Likewise.
5276 * sysdeps/mips/configure: Likewise.
5277 * sysdeps/s390/configure: Likewise.
5278 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5280
5281 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5282 file.
5283 * sysdeps/ia64/configure.ac: Likewise.
5284
52852014-09-26 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5288 specify symbol version for ld.so. Do not include entry for
5289 libpthread.
5290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5293
5294 [BZ #14171]
5295 * Makeconfig [$(build-shared) = yes]
5296 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5297 makefiles.
5298 [$(build-shared) = yes && $(soversions.mk-done) = t]
5299 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5300 [$(build-shared) = yes && $(soversions.mk-done) = t]
5301 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5302 to Makerules.
5303 [$(build-shared) = yes && $(soversions.mk-done) = t]
5304 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5305 here.
5306 [$(build-shared) = yes && $(soversions.mk-done) = t]
5307 (common-generated): Don't append gnu/lib-names.h and
5308 gnu/lib-names.stmp here.
5309 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5310 (lib-names-h-abi): New variable.
5311 [$(build-shared) = yes && $(soversions.mk-done) = t]
5312 (lib-names-stmp-abi): Likewise.
5313 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5314 abi-variants] (before-compile): Append
5315 $(common-objpfx)$(lib-names-h-abi).
5316 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5317 abi-variants] (common-generated): Append gnu/lib-names.h.
5318 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5319 abi-variants] (install-others-nosubdir): Depend on
5320 $(inst_includedir)/$(lib-names-h-abi).
5321 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5322 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5323 [$(build-shared) = yes && $(soversions.mk-done) = t]
5324 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5325 [$(build-shared) = yes && $(soversions.mk-done) = t]
5326 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5327 [$(build-shared) = yes && $(soversions.mk-done) = t]
5328 (common-generated): Append $(lib-names-h-abi) and
5329 $(lib-names-stmp-abi).
5330 * scripts/lib-names.awk: Do not handle multi being set.
5331 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5332 Remove variable.
5333 (abi-lp64_be-ld-soname): Likewise.
5334 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5335 Likewise.
5336 (abi-hard-ld-soname): Likewise.
5337 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5338 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5339 Remove variable.
5340 (abi-o32_hard-ld-soname): Likewise.
5341 (abi-o32_soft_2008-ld-soname): Likewise.
5342 (abi-o32_hard_2008-ld-soname): Likewise.
5343 (abi-n32_soft-ld-soname): Likewise.
5344 (abi-n32_hard-ld-soname): Likewise.
5345 (abi-n32_soft_2008-ld-soname): Likewise.
5346 (abi-n32_hard_2008-ld-soname): Likewise.
5347 (abi-n64_soft-ld-soname): Likewise.
5348 (abi-n64_hard-ld-soname): Likewise.
5349 (abi-n64_soft_2008-ld-soname): Likewise.
5350 (abi-n64_hard_2008-ld-soname): Likewise.
5351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5352 Likewise.
5353 (abi-64-v2-ld-soname): Likewise.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5355 ld.so entries.
5356 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5357 variable.
5358 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5359 entry.
5360 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5361 variable.
5362 (abi-64-ld-soname): Likewise.
5363 (abi-x32-ld-soname): Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5365 entry.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5367
53682014-09-23 Joseph Myers <joseph@codesourcery.com>
5369
5370 [BZ #14138]
5371 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5372 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5373 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5374 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5375 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5376 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5377 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5378 syscall entry for GLIBC_2.2 symbol version.
5379 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5380 Likewise.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5382 (setrlimit): Likewise.
5383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5384 Likewise.
5385
53862014-09-23 Will Newton <will.newton@linaro.org>
5387
5388 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5389 _LINUX_ARM_SYSDEP_H include guard too.
5390 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5391 define.
5392
53932014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5394
5395 * sysdeps/unix/sysv/linux/eventfd.c:
5396 Make first argument unsigned.
5397 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5399
54002014-09-20 Ondřej Bílka <neleai@seznam.cz>
5401
5402 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5403 * socket/sys/socket.h: Likewise
5404 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5405
54062014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5407
5408 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5409
54102014-09-17 Arjun Shankar <arjun.is@lostca.se>
5411
5412 * time/tst-ftime.c: New test.
5413 * time/Makefile (tests): Add tst-ftime.
5414
54152014-09-17 Joseph Myers <joseph@codesourcery.com>
5416
5417 * soft-fp/extended.h: Fix comment formatting.
5418 * soft-fp/op-1.h: Likewise.
5419 * soft-fp/op-2.h: Likewise.
5420 * soft-fp/op-4.h: Likewise.
5421 * soft-fp/op-8.h: Likewise.
5422 * soft-fp/op-common.h: Likewise.
5423 * soft-fp/soft-fp.h: Likewise.
5424
5425 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5426
54272014-09-16 Joseph Myers <joseph@codesourcery.com>
5428
5429 [BZ #6652]
5430 * Makeconfig (soversions-default-setname): Remove variable.
5431 ($(common-objpfx)soversions.i): Don't pass default_setname to
5432 soversions.awk.
5433 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5434 oldest_abi to abi-versions.awk.
5435 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5436 * config.make.in (oldest-abi): Remove variable.
5437 * configure.ac (--enable-oldest-abi): Remove configure option.
5438 * configure: Regenerated.
5439 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5440 text.
5441 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5442 * scripts/soversions.awk: Do not handle default_setname variable.
5443 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5444 variable.
5445 * sysdeps/mach/hurd/configure: Regenerated.
5446 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5447 variable.
5448 * sysdeps/unix/sysv/linux/configure: Regenerated.
5449
54502014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5451
5452 * elf/Makefile (CFLAGS-interp.c): Remove.
5453 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5454 path string.
5455 * elf/interp.c: Include generated runtime-linker.h
5456
5457 * Makerules (lib%.so): Don't include $(+interp) in
5458 prerequisites.
5459 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5460 * dlfcn/eval.c: Remove file.
5461
5462 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5463 macros.
5464
5465 [BZ #17266]
5466 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5467 4.2 and newer.
5468
5469 [BZ #17370]
5470 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5471
54722014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5473 Jakub Jelinek <jakub@redhat.com>
5474
5475 [BZ #17266]
5476 * libio/stdio.h: Check definition of __fortify_function
5477 instead of __extern_always_inline to include bits/stdio2.h.
5478 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5479 check if __extern_always_inline is defined.
5480 [__USE_MISC || __USE_XOPEN]: Likewise.
5481 [__USE_ISOC99] Likewise.
5482 * misc/sys/cdefs.h (__fortify_function): Define only if
5483 __extern_always_inline is defined.
5484 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5485 __extern_always_inline and __extern_inline only for g++-4.3
5486 and newer or a compatible gcc.
5487
54882014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5489
5490 [BZ #17371]
5491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5492 last change to handle zero prefix length.
5493
54942014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5495
5496 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5497 _SC_REGEX_VERSION.
5498
5499 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5500 _POSIX_RAW_SOCKETS.
5501
55022014-09-13 Allan McRae <allan@archlinux.org>
5503
5504 * po/ru.po: Update Russian translation from translation project.
5505
55062014-09-12 Roland McGrath <roland@hack.frob.com>
5507
5508 * locale/programs/locale.c (show_locale_vars): Inline local function
5509 into its sole call site. Clean up some style nits.
5510 (print_item): New function, broken out of ...
5511 (show_info): ... local function here. Clean up style nits.
5512
5513 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5514 out of ...
5515 (set_class_defaults): ... local function set_default here.
5516 Define set_default as a macro locally to pass constant parameters.
5517 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5518 rather than a shared local.
5519
5520 * stdlib/rpmatch.c (try): New function, broken out of ...
5521 (rpmatch): ... local function here. Also, prototypify definition.
5522
55232014-09-12 Joseph Myers <joseph@codesourcery.com>
5524
5525 * scripts/soversions.awk: Do not handle configuration names.
5526 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5527 vendor and os variables to soversions.awk.
5528 * configure.ac: Do not modify gnu-* host_os.
5529 * configure: Regenerated
5530 * shlib-versions: Remove first column with configuration names.
5531 * nptl/shlib-versions: Likewise.
5532 * nptl_db/shlib-versions: Likewise.
5533 * sysdeps/hppa/shlib-versions: Likewise.
5534 * sysdeps/m68k/shlib-versions: Likewise.
5535 * sysdeps/mach/hurd/shlib-versions: Likewise.
5536 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5537 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5538 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5539 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5540 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5541 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5542 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5543 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5545 Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5547 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5548 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5549 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5550 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5551 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5554
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5556 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5558 Regenerated.
5559 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5561 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5562
5563 * shlib-versions: Remove OS-specific entries. Moved to files in
5564 sysdeps.
5565 * sysdeps/mach/hurd/shlib-versions: New file.
5566 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5567
5568 * nptl/shlib-versions: Remove architecture-specific entries.
5569 Moved to files in sysdeps.
5570 * shlib-versions: Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5572 file.
5573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5574 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5577
5578 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5579 (UDP_NO_CHECK6_RX): Likewise.
5580
55812014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5582
5583 * sysdeps/posix/sysconf.c (__sysconf): Spell
5584 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5585
55862014-08-12 Florian Weimer <fweimer@redhat.com>
5587
5588 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5589 loading.
5590 * iconv/Versions (__gconv_transliterate): Export for use from
5591 gconv modules.
5592 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5593 (struct __gconv_trans_data, __gconv_trans_fct,
5594 __gconv_trans_context_fct, __gconv_trans_query_fct,
5595 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5596 definitions.
5597 (struct __gconv_step_data): Remove __trans member.
5598 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5599 longer hidden. Remove unused trans_data argument.
5600 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5601 (__gconv_translit_find): Remove declaration.
5602 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5603 prototype.
5604 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5605 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5606 trans_data argument. Add hidden definition.
5607 (__gconv_translit_find): Remove.
5608 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5609 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5610 * iconv/skeleton.c: Remove transliteration initialization.
5611 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5612 __gconv_step_data initialization.
5613 * libio/iofwide.c (__libio_translit_): Remove.
5614 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5615 * wcsmbs/btowc.c (__btowc): Likewise.
5616 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5617 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5618 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5619 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5620 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5621 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5622 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5623 * wcsmbs/wctob.c (wctob): Likewise.
5624
56252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5626
5627 [BZ #16194]
5628 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5629 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5630 register usage.
5631 * sysdeps/x86/Makefile: Adjust.
5632
56332014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5634 Roland McGrath <roland@hack.frob.com>
5635
5636 * locale/weight.h: Add include guard.
5637 (findidx): Make static rather than auto; take new parameters
5638 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5639 * locale/weightwc.h: Likewise.
5640 * posix/fnmatch_loop.c
5641 (FCT): Change type of EXTRA from int32_t to wint_t.
5642 Don't include either header inside the function.
5643 Call FINDIDX rather than findidx, and pass new arguments.
5644 #undef FINDIDX at the end of the file.
5645 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5646 FINDIDX before including fnmatch_loop.c for the non-wide version.
5647 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5648 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5649 for the wide version.
5650 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5651 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5652 Pass new arguments to findidx.
5653 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5654 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5655 Don't #include it inside the function. Pass new arguments to findidx.
5656 * posix/regex_internal.h
5657 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5658 (re_string_elem_size_at): Don't #include it inside the function.
5659 Pass new arguments to findidx.
5660 * string/strcoll_l.c: #include WEIGHT_H at top level.
5661 (get_next_seq): Don't #include it inside the function.
5662 Pass new arguments to findidx.
5663 (get_next_seq_nocache): Likewise.
5664 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5665 (STRXFRM): Don't #include it inside the function.
5666 Pass new arguments to findidx.
5667
56682014-09-11 Florian Weimer <fweimer@redhat.com>
5669
5670 [BZ #17344]
5671 * malloc/malloc.c (unlink): Turn asserts into a call to
5672 malloc_printerr.
5673
56742014-09-11 Tim Lammens <tim.lammens@gmail.com>
5675
5676 [BZ #17370]
5677 * libio/wfileops (do_ftell_wide): Free OUT.
5678
56792014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5680
5681 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5682
56832014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5684
5685 [BZ #17363]
5686 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5687 group if the current group is empty.
5688
56892014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690
5691 * benchtests/bench-memset.c (test_main): Add more test from size
5692 from 32 to 512 bytes.
5693 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5694 Add POWER8 memset object.
5695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5696 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5697 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5698 implementation.
5699 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5700 Likewise.
5701 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5702 multiarch POWER8 memset optimization.
5703 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5704 POWER8 memset optimization.
5705
5706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5707 Remove bzero multiarch objects.
5708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5711 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5712 Remove define.
5713 [__bzero]: Redefine to specific name.
5714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5716 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5717 define.
5718 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5719 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5720
57212014-09-10 Florian Weimer <fweimer@redhat.com>
5722
5723 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5724 warnings into errors.
5725
5726 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5727 __cxa_thread_atexit_impl prototype.
5728
57292014-09-09 Steve Ellcey <sellcey@mips.com>
5730
5731 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5732 Fix capitalization of error message.
5733
57342014-09-09 Steve Ellcey <sellcey@mips.com>
5735
5736 * sysdeps/mips/preconfigure: Modify ABI tests.
5737
57382014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5739
5740 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5741
57422014-09-07 Roland McGrath <roland@hack.frob.com>
5743 Carlos O'Donell <carlos@systemhalted.org>
5744
5745 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5746 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5747 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5748 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5749 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5751 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5752 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5753 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5766 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5767 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5768 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5769 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5770 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5771 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5772 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5773 Deconditionalize the code that was previously under [RESET_PID].
5774 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5775 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5776 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5777 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5778 include sysdep.h.
5779
57802014-09-08 Allan McRae <allan@archlinux.org>
5781
5782 * version.h (RELEASE): Set to "development".
5783 (VERSION): Set to "2.20.90"
5784
57852014-09-07 Allan McRae <allan@archlinux.org
5786
5787 * version.h (RELEASE): Set to "stable".
5788 (VERSION): Set to "2.20"
5789 * include/features.h (__GLIBC_MINOR__): Set to 20.
5790
5791 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5792 Liebler.
5793
5794 * po/ko.po: Update Korean translation from translation project.
5795
57962014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5797
5798 [BZ #17354]
5799 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5800 macro for handling signed relocations.
5801
58022014-09-03 Florian Weimer <fweimer@redhat.com>
5803
5804 [BZ #17325]
5805 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5806 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5807 assert.
5808 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5809 * iconvdata/ibm935.c (BODY): Likewise.
5810 * iconvdata/ibm937.c (BODY): Likewise.
5811 * iconvdata/ibm939.c (BODY): Likewise.
5812 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5813 assert.
5814 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5815 script.
5816 * iconvdata/run-iconv-test.sh: New test loop for checking for
5817 decoder crashers.
5818
58192014-09-02 Khem Raj <raj.khem@gmail.com>
5820
5821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5822 libm_hidden_ver.
5823
58242014-09-01 Allan McRae <allan@archlinux.org>
5825
5826 * po/eo.po: Update Esperanto translation from translation project.
5827
5828 * po/ca.po: Update Catalan translation from translation project.
5829
58302014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5831
5832 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5833 __proc_dostop call.
5834
58352014-08-27 Mark Wielaard <mjw@redhat.com>
5836
5837 [BZ #17319]
5838 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5839 to call set_thread_area instead of hand written asm.
5840 (__NR_set_thread_area): Removed define.
5841 (TLS_FLAG_WRITABLE): Likewise.
5842 (__ASSUME_SET_THREAD_AREA): Remove check.
5843 (TLS_EBX_ARG): Remove define.
5844 (TLS_LOAD_EBX): Likewise.
5845
58462014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5847
5848 Simplify atomicity of socket creation in bind.
5849
5850 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5851 looking up the name after linking the file.
5852
58532014-08-27 Allan McRae <allan@archlinux.org>
5854
5855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5856
58572014-08-26 Florian Weimer <fweimer@redhat.com>
5858
5859 [BZ #17187]
5860 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5861 trans_compare, open_translit, __gconv_translit_find):
5862 Remove module loading code.
5863
58642014-08-26 Allan McRae <allan@archlinux.org>
5865
5866 * po/vi.po: Update Vietnamese translation from translation project.
5867
5868 * po/uk.po: Update Ukrainian translation from translation project.
5869
5870 * po/fr.po: Update French translation from translation project.
5871
5872 * po/ru.po: Update Russian translation from translation project.
5873
5874 * po/pl.po: Update Polish translation from translation project.
5875
5876 * po/cs.po: Update Czech translation from translation project.
5877
5878 * po/de.po: Update German translation from translation project.
5879
5880 * po/bg.po: Update Bulgarian translation from translation project.
5881
5882 * po/sv.po: Update Sweedish translation from translation project.
5883
5884 * po/nl.po: Update Dutch translation from translation project.
5885
5886 * po/es.po: Update Spanish translation from translation project.
5887
58882014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5889
5890 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5891
5892 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5893 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5894 (CPPFLAGS-iconvconfig): Likewise.
5895 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5896
5897 * include/libc-symbols.h: Remove unnecessary check for
5898 NOT_IN_libc.
5899 * nptl/pthreadP.h: Likewise.
5900 * sysdeps/aarch64/setjmp.S: Likewise.
5901 * sysdeps/alpha/setjmp.S: Likewise.
5902 * sysdeps/arm/sysdep.h: Likewise.
5903 * sysdeps/i386/setjmp.S: Likewise.
5904 * sysdeps/m68k/setjmp.c: Likewise.
5905 * sysdeps/posix/getcwd.c: Likewise.
5906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5908 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5909 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5910 * sysdeps/sh/sh3/setjmp.S: Likewise.
5911 * sysdeps/sh/sh4/setjmp.S: Likewise.
5912 * sysdeps/unix/alpha/sysdep.h: Likewise.
5913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5915 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5916 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5926 * sysdeps/x86_64/setjmp.S: Likewise.
5927
59282014-08-13 Joseph Myers <joseph@codesourcery.com>
5929
5930 [BZ #17263]
5931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5932 <stdint.h>.
5933 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5934 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5935
59362014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5937
5938 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5939
5940 [BZ #17262]
5941 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5942 and __x86_64__ when disabling x87 inline functions.
5943
59442014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5945
5946 [BZ #17259]
5947 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5948 asm statement with __cpuid_count.
5949
59502014-08-12 Mike Frysinger <vapier@gentoo.org>
5951
5952 * configure.ac: Change __ehdr_start code to dereference the struct.
5953 Run readelf on the output to look for relocations.
5954 * configure: Regenerated.
5955
59562014-08-12 Joseph Myers <joseph@codesourcery.com>
5957
5958 [BZ #17261]
5959 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5960 value to 0.
5961 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5962
59632014-08-12 Roland McGrath <roland@hack.frob.com>
5964
5965 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5966
59672014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5968
5969 [BZ #16892]
5970 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5971 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5972
59732014-08-12 Sean Anderson <seanga2@gmail.com>
5974
5975 * malloc/malloc.c: Fix typo in comment.
5976
59772014-08-09 Allan McRae <allan@archlinux.org>
5978
5979 * Regenerate libc.po.
5980
59812014-08-08 Mike Frysinger <vapier@gentoo.org>
5982
5983 * intl/tst-gettext2.sh: Check every lang file for creation.
5984
59852014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5986
5987 * sysdeps/aarch64/fpu/math_private.h
5988 (libc_feholdsetround_noex_aarch64_ctx): New function.
5989
59902014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5991
5992 * sysdeps/arm/armv6/strcpy.S (strcpy):
5993 Fix performance issue in misaligned cases.
5994
59952014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5998 Move definition from termios.h.
5999 (struct termio): Likewise.
6000 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6002 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6003 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6004 Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6006 Move definition to ioctl-types.h
6007 (struct termio): Likewise.
6008 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6009 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6010 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6011 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6012 Likewise.
6013
60142014-08-05 Richard Henderson <rth@redhat.com>
6015
6016 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6017 exceptions.
6018 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6019 Add fraiseexcpt.
6020 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6021 Use __feraiseexcept.
6022 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6023 Protect libm symbols with IS_IN_libm.
6024
6025 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6026
60272014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6028
6029 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6030
60312014-08-04 Will Newton <will.newton@linaro.org>
6032
6033 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6034 file.
6035
60362014-08-04 Mike Frysinger <vapier@gentoo.org>
6037
6038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6039 variants for each function.
6040
60412014-08-04 Roland McGrath <roland@hack.frob.com>
6042
6043 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6044 appended ...
6045 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6046 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6047 appended ...
6048 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6049 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6050 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6051 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6052 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6053 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6054 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6055 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6056 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6057 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6058 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6059 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6060 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6061 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6062 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6063 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6067 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6068 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6069 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6070 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6071 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6072 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6073 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6075 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6076 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6077 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6078 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6079 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6080 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6081 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6082 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6083 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6084 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6085 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6086 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6087 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6090 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6092 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6094 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6096 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6098 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6099 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6100 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6101 Update #include.
6102 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6103 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6104
61052014-08-04 Roland McGrath <roland@hack.frob.com>
6106
6107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6108 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6110 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6112 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6113
61142014-08-04 Roland McGrath <roland@hack.frob.com>
6115
6116 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6117 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6118 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6119 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6120
61212014-08-04 Roland McGrath <roland@hack.frob.com>
6122
6123 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6124 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6125 (__libc_vfork): Define function under this name.
6126 (__vfork): Define as an alias.
6127 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6128 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6129
61302014-08-04 Roland McGrath <roland@hack.frob.com>
6131
6132 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6133 that was previously under [RESET_PID].
6134 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6135
61362014-08-04 Andreas Schwab <schwab@suse.de>
6137
6138 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6139
61402014-08-03 Mike Frysinger <vapier@gentoo.org>
6141
6142 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6143 (main): Likewise.
6144
61452014-08-01 Roland McGrath <roland@hack.frob.com>
6146
6147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6148
61492014-08-01 Richard Henderon <rth@redhat.com>
6150
6151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6152 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6153 typo in exact zero test.
6154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6157
61582014-08-01 Roland McGrath <roland@hack.frob.com>
6159
6160 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6161 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6162 * sysdeps/arm/sysdep.h: ... here.
6163 [!__ASSEMBLER__]: Include <stdint.h>.
6164
61652014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6166
6167 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6168 (HAVE_WCTYPE_H): Likewise.
6169 (HAVE_ISWCTYPE): Likewise.
6170 (ENABLE_NLS): Likewise.
6171 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6172 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6173
6174 * posix/regex_internal.c: Check if DEBUG is defined and is
6175 set.
6176
6177 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6178 (HAVE_MBSRTOWCS): Likewise.
6179 * posix/fnmatch.c: Include string.h unconditionally.
6180
61812014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6182
6183 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6184 reversal.
6185
61862014-07-31 Roland McGrath <roland@hack.frob.com>
6187
6188 * sysdeps/generic/safe-fatal.h: New file.
6189 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6190 * nptl/forward.c: Include it.
6191 (__pthread_unwind): Use __safe_fatal as default action, rather
6192 than a bogus use of INTERNAL_SYSCALL that could never work.
6193
6194 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6195 * configure.ac (libc_cv_builtin_trap): New test.
6196 * configure: Regenerated.
6197 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6198 (ABORT_INSTRUCTION): Define using __builtin_trap.
6199
6200 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6201 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6202 * sysdeps/nptl/nptl-signals.h: New file.
6203 * nptl/pthreadP.h: Include <nptl-signals.h>.
6204
62052014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6206
6207 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6208 (ONE_DIRECTION): Define.
6209 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6210 (ONE_DIRECTION): Define.
6211 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6212 (ONE_DIRECTION): Define.
6213
62142014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6215
6216 * sysdeps/s390/Makefile: Delete file.
6217 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6218 * sysdeps/s390/__longjmp.c: Delete file.
6219 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6220 Remove fields __flags and __reserved.
6221 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6222 and add versioning.
6223 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6224 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6225 * sysdeps/s390/rtld-setjmp.S: Likewise.
6226 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6227 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6228 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6229 * sysdeps/s390/s390-32/setjmp.S: ... here.
6230 Add versioning.
6231 (__sigsetjmp): Remove setting __flags field.
6232 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6233 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6234 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6235 * sysdeps/s390/s390-64/setjmp.S: ... here.
6236 Add versioning.
6237 (__sigsetjmp): Remove setting __flags field.
6238 * sysdeps/s390/setjmp.S: Delete file.
6239 * sysdeps/s390/sigjmp.c: Likewise.
6240 * sysdeps/s390/v1-longjmp.c: Likewise.
6241 * sysdeps/s390/v1-setjmp.h: Likewise.
6242 * sysdeps/s390/v1-sigjmp.c: Likewise.
6243 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6244 Remove v1-longjmp_chk.
6245 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6246 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6247 Include debug/longjmp_chk.c and add versioning.
6248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6249 Include nptl/pt-longjmp.c and add versioning.
6250 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6251 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6252 Include __longjmp.c.
6253 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6254 Move to ...
6255 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6256 (__getcontext): Remove setting __flags field.
6257 Add versioning.
6258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6259 Don't restore upper high grps.
6260 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6261 Likewise.
6262 (__swapcontext): Remove setting uc_flags field.
6263 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6264 Delete file.
6265 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6266 Include __longjmp.c.
6267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6268 Move to ...
6269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6270 (__getcontext): Remove setting __flags field.
6271 Add versioning.
6272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6273 (__swapcontext): Remove setting uc_flags field.
6274 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6275 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6276 Remove fields uc_high_gprs and __reserved.
6277 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6278 New file with reverted content.
6279 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6280 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6281 Regenerated.
6282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6283 Regenerated.
6284
62852014-07-31 Andreas Schwab <schwab@suse.de>
6286
6287 * config.h.in (HAVE_IFUNC): Define to 0.
6288 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6289 definedness.
6290
62912014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6292
6293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6294 memmove-avx-unaligned, memcpy-avx-unaligned and
6295 mempcpy-avx-unaligned.
6296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6297 Add tests for AVX memcpy functions.
6298 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6300 memcpy_chk.
6301 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6302 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6303 memmove_chk.
6304 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6306 mempcpy_chk.
6307 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6308 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6309 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6310
63112013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 [BZ #17213]
6314 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6315 powerpc64le.
6316
63172014-07-29 Jeff Layton <jlayton@poochiereds.net>
6318
6319 [BZ #16839]
6320 * manual/llio.texi: Add section about open file description locks.
6321 * manual/examples/ofdlocks.c: Example of open file description
6322 lock usage.
6323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6324 F_OFD_SETLK, and F_OFD_SETLKW.
6325
63262014-07-23 Allan McRae <allan@archlinux.org>
6327
6328 * po/es.po: Update Spanish translation from translation project.
6329
63302014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6331
6332 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6333
63342014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6335
6336 [BZ #17078]
6337 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6338 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6339 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6340
63412014-07-17 Joseph Myers <joseph@codesourcery.com>
6342
6343 [BZ #17088]
6344 * math/fesetenv.c (__fesetenv)
6345 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6346 * math/feupdateenv.c (__feupdateenv)
6347 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6348
6349 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6350 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6351 (__ASSUME_SOCKETCALL): Do not define.
6352
6353 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6354 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6355 (__ASSUME_SOCKETCALL): Do not define.
6356 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6357 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6358 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6359 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6361 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6363 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6364
6365 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6366 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6367 (__ASSUME_SOCKETCALL): Do not define.
6368 (__ASSUME_IPC64): Define unconditionally.
6369 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6370 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6371 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6373 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6375 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6376 Likewise.
6377
6378 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6379 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6380 (__ASSUME_SOCKETCALL): Do not define.
6381 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6382 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6384 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6385 (__ASSUME_REQUEUE_PI): Define unconditionally.
6386 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6387 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6388 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6389 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6391 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6392
6393 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6395 (__ASSUME_SOCKETCALL): Do not define.
6396 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6397 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6398 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6399 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6401 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6402
6403 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6404 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6405 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6406 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6407 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6408 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6409 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6410 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6411 (__ASSUME_GETCPU_SYSCALL): Likewise.
6412
6413 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6414 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6415 cases for individual architectures.
6416 * sysdeps/gnu/configure: Regenerated.
6417 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6418 LIBC_SLIBDIR_RTLDDIR.
6419 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6420 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6421 LIBC_SLIBDIR_RTLDDIR.
6422 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6424 LIBC_SLIBDIR_RTLDDIR.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6426 Regenerated.
6427 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6428 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6429 file.
6430 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6431 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6432 file.
6433 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6434 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6435 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6436 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6437
6438 * sysdeps/aarch64/shlib-versions: Move to ...
6439 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6440 * sysdeps/alpha/shlib-versions: Move to ...
6441 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6442 * sysdeps/arm/shlib-versions: Move to ...
6443 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6444 * sysdeps/hppa/shlib-versions: Move all contents except for
6445 libgcc_s entry to ...
6446 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6447 entry from ...
6448 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6449 * sysdeps/ia64/shlib-versions: Move to ...
6450 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6451 entry from ...
6452 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6453 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6454 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6455 * sysdeps/microblaze/shlib-versions: Move to ...
6456 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6457 * sysdeps/mips/shlib-versions: Move to ...
6458 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6459 entry from ...
6460 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6461 * sysdeps/tile/shlib-versions: Move to ...
6462 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6464 from ...
6465 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6466 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6467 entry from ...
6468 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6469
64702014-07-17 Will Newton <will.newton@linaro.org>
6471
6472 * sysdeps/arm/bits/atomic.h
6473 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6474 (__arch_compare_and_exchange_bool_16_int): Likewise.
6475 (__arch_compare_and_exchange_bool_64_int): Likewise.
6476
6477 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6478 into an #else block.
6479
64802014-07-16 Roland McGrath <roland@hack.frob.com>
6481
6482 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6483 just Linux configurations. Test empirically that the compiler sets
6484 __ARM_EABI__, rather than using the tuple to decide.
6485 * sysdeps/arm/preconfigure: Regenerated.
6486 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6487 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6488 contents appended ...
6489 * sysdeps/arm/configure.ac: ... here.
6490 * sysdeps/arm/configure: Regenerated.
6491
64922014-07-15 Roland McGrath <roland@hack.frob.com>
6493
6494 * nptl/pthread_kill.c: New file.
6495 * nptl/pthread_sigmask.c: New file.
6496 * nptl/pthread_sigqueue.c: New file.
6497
6498 * sysdeps/nptl/lowlevellock.h: New file.
6499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6500 * sysdeps/nptl/lowlevellock-futex.h: New file.
6501
6502 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6503 Remove dead declarations.
6504
65052014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6508 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6509 config-cflags-avx2.
6510 * sysdeps/x86_64/configure.ac: Likewise.
6511 * sysdeps/i386/configure: Regenerated.
6512 * sysdeps/x86_64/configure: Likewise.
6513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6514 memset-avx2 only if config-cflags-avx2 is yes.
6515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6516 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6517 defined.
6518 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6519 only if HAVE_AVX2_SUPPORT is defined.
6520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6521
65222014-07-14 Alan Modra <amodra@gmail.com>
6523
6524 [BZ #17153]
6525 * elf/elf.h (DT_PPC64_NUM): Correct value.
6526 * NEWS: Add to fixed bug list.
6527
65282014-07-13 Jim Meyering <meyering@fb.com>
6529
6530 [BZ 17150]
6531 regex: don't deref NULL upon heap allocation failure
6532 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6533 failure in one more place.
6534 To trigger the segfault, configure grep -with-included-regex,
6535 build it, and run these commands:
6536 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6537
65382014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6539
6540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6541
65422014-07-11 Richard Henderson <rth@redhat.com>
6543
6544 * sysdeps/aarch64/libm-test-ulps: Update.
6545
65462014-07-10 Florian Weimer <fweimer@redhat.com>
6547
6548 [BZ #17135]
6549 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6550 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6551 (__nptl_setxid): Initialize error member. Call
6552 __nptl_setxid_error.
6553 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6554 * nptl/descr.h (struct xid_command): Add error member.
6555 * nptl/tst-setuid3.c: New file.
6556 * nptl/Makefile (tests): Add it.
6557
65582014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6561 New define.
6562 (__lll_trylock): Use __lll_base_trylock.
6563 (__lll_cond_trylock): Likewise.
6564
65652014-07-10 Roland McGrath <roland@hack.frob.com>
6566
6567 * nptl/pthread_create.c (start_thread): Use atomic_or and
6568 lll_futex_wake directly rather than lll_robust_dead.
6569 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6570 (lll_robust_dead): Macro removed.
6571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6572 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6576 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6577 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6579 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6582 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6584 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6585 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6586
6587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6588 Use atomic_compare_and_exchange_val_acq directly rather than
6589 lll_robust_trylock.
6590 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6591 (__lll_robust_trylock, lll_robust_trylock): Removed.
6592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6606
66072014-07-02 Florian Weimer <fweimer@redhat.com>
6608
6609 * manual/locale.texi (Locale Names): New section documenting
6610 locale name syntax. Adjust menu and node chaining accordingly.
6611 (Choosing Locale): Reference Locale Names, Locale Categories.
6612 Mention setting LC_ALL=C. Reflect that name syntax is now
6613 documented.
6614 (Locale Categories): New section title. Reference Locale Names.
6615 LC_ALL is an environment variable, but not a category.
6616 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6617 description, now in Locale Name. Reference that section. Locale
6618 name syntax is now documented.
6619
66202014-07-02 Florian Weimer <fweimer@redhat.com>
6621
6622 [BZ #17137]
6623 * locale/findlocale.c (name_present, valid_locale_name): New
6624 functions.
6625 (_nl_find_locale): Use the loc_name variable to store name
6626 candidates. Call name_present and valid_locale_name to check and
6627 validate locale names. Return an error if the locale is invalid.
6628
66292014-07-02 Florian Weimer <fweimer@redhat.com>
6630
6631 * locale/setlocale.c (setlocale): Use strdup for allocating
6632 composite name copy.
6633
66342014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6635
6636 Sync up with gnulib.
6637 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6638 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6639 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6640 and _GL_ARG_NONNULL.
6641 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6642 [!_LIBC]: Include code for Windows and Cygwin.
6643 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6644 Include prototype for int strerror_r.
6645 [!_LIBC] (is_open): New function.
6646 (flush_stdout): New function.
6647 (print_errno_message): Use it.
6648 (error): Likewise.
6649 (error_at_line): Likewise.
6650 (error_tail) Add function attribute macros. Use
6651 __builtin_expect.
6652
6653 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6654
6655 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6656
6657 * io/ftw.c: Include sys/param.h unconditionally.
6658
6659 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6660
6661 [BZ #17125]
6662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6663 libc_freeres_ptr.
6664 (freecache): New function to free CACHE on exit.
6665
6666 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6667 initialization.
6668
66692014-07-09 David S. Miller <davem@davemloft.net>
6670
6671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6672
6673 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6674 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6675 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6676 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6677 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6678 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6679 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6680 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6681 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6682 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6683 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6684 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6685 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6686
66872014-07-09 Andreas Schwab <schwab@suse.de>
6688
6689 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6690 output.
6691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6692 (do_test): Likewise.
6693
6694 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6695
66962014-07-09 Will Newton <will.newton@linaro.org>
6697
6698 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6699 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6700 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6701 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6702 * sysdeps/hppa/start.S (_start): Likewise.
6703
67042014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6705
6706 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6707
6708 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6709 defined.
6710
67112014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
6713 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6714 after checking that it is non-NULL.
6715
6716 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6717
67182014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719
6720 * sysdeps/powerpc/memmove.c: Remove file.
6721 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6722 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6723 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6724 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6725 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6728 string memmove instead of removed powerpc one.
6729
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6731 [weak_alias]: Fix compiler warning due trailing data.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6733 [weak_alias]: Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6735 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6736
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6738 (__libc_ifunc_impl_list): Add memmove functions.
6739
67402014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6741
6742 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6743 Remove code.
6744 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6745 Likewise
6746 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6747 Likewise
6748 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6749 Likewise
6750 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6751 Likewise
6752 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6753 Likewise
6754 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6755 Likewise
6756 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6757 Likewise
6758 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6759 Likewise
6760 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6761 Likewise
6762 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6763 Likewise
6764 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6765 Likewise
6766 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6767 Likewise
6768 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6769 Likewise
6770 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6771 Likewise
6772 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6773 Likewise
6774 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6775 Likewise
6776
67772014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6780 to avoid alignment traps in non-cacheable memory.
6781 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6782
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6784 multiarch objects.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6786 file: multiarch power7 memmove.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6788 multiarch default memmove.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6790 multiarch memove for powerpc32/power4.
6791
6792 * string/bcopy.c: Use full path to include memmove.c.
6793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6794 multiarch objects.
6795 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6796 bcopy for powerpc64.
6797 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6798 bcopy for powerpc64.
6799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6800 and memmove implementations.
6801 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6802 optimized multiarch memmove for POWER7/powerpc64.
6803 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6804 default multiarch memmove for powerpc64.
6805 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6806 multiarch for powerpc64.
6807 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6808 for POWER7/powerpc64.
6809 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6810 memmove for POWER7/powerpc64.
6811
6812 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6813 glibc default one.
6814
6815 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6816 __ELF_NATIVE_CLASS equal to 64.
6817
68182014-07-07 Roland McGrath <roland@hack.frob.com>
6819
6820 * sysdeps/nptl/lowlevellock.h: File removed.
6821
6822 * NEWS: NPTL is no longer an add-on!
6823 * nptl/internaltypes.h: Moved ...
6824 * sysdeps/nptl/internaltypes.h: ... here.
6825 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6826 * sysdeps/nptl/fork.c: Likewise.
6827 * sysdeps/nptl/gai_misc.h: Likewise.
6828 * sysdeps/nptl/librt-cancellation.c: Likewise.
6829 * sysdeps/nptl/jmp-unwind.c: Likewise.
6830 * sysdeps/nptl/setxid.h: Likewise.
6831 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6832 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6833 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6834 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6835 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6836 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6837 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6838 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6839 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6840 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6841 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6842 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6843 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6844 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6845 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6846 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6847 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6848 * nptl/Makeconfig: Moved ...
6849 * sysdeps/nptl/Makeconfig: ... here.
6850 * nptl/configure: File removed.
6851 * nptl/ANNOUNCE: File removed.
6852 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6853 * sysdeps/unix/sysv/linux/configure: Regenerated.
6854
6855 * nptl/Makefile (routines): Add libc_pthread_init,
6856 libc_multiple_threads, register-atfork and unregister-atfork.
6857 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6858 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6859 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6860 pthread-pi-defines.sym, structsem.sym.
6861 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6862 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6863 [$(subdir) = nptl] (tests): Add tst-setgetname.
6864 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6865 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6866 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6867 [!LIBC_SIGACTION]: Remove aliases.
6868 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6869 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6870 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6871 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6872 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6876 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6877 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6878 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6879 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6880 __libc_allocate_rtsig_private.
6881 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6883 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6885 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6886 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6887 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6888 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6889 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6890 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6891 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6892 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6893 * nptl/internaltypes.h: ... here.
6894 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6895 * sysdeps/nptl/jmp-unwind.c: ... here.
6896 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6897 * nptl/libc-lowlevellock.c: ... here.
6898 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6899 * nptl/libc_multiple_threads.c: ... here.
6900 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6901 * nptl/libc_pthread_init.c: ... here.
6902 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6903 * nptl/lowlevelbarrier.sym: ... here.
6904 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6905 * nptl/lowlevelcond.sym: ... here.
6906 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6907 * nptl/lowlevellock.c: ... here.
6908 * nptl/lowlevellock.h: Moved ...
6909 * sysdeps/nptl/lowlevellock.h: ... here.
6910 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6911 * nptl/lowlevelrobustlock.c: ... here.
6912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6913 * nptl/lowlevelrobustlock.sym: ... here.
6914 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6915 * nptl/lowlevelrwlock.sym: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6917 * nptl/pt-fork.c: ... here.
6918 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6919 * nptl/pthread-pi-defines.sym: ... here.
6920 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6921 * nptl/pthread_attr_getaffinity.c: ... here.
6922 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6923 * nptl/pthread_attr_setaffinity.c: ... here.
6924 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6925 * nptl/pthread_mutex_cond_lock.c: ... here.
6926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6927 Update #include.
6928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6929 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6930 * nptl/pthread_once.c: ... here, replacing old file.
6931 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6932 * nptl/pthread_yield.c: ... here.
6933 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6934 * nptl/register-atfork.c: ... here.
6935 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6936 * nptl/sem_post.c: ... here.
6937 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6938 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6939 * nptl/sem_timedwait.c: ... here.
6940 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6941 * nptl/sem_trywait.c: ... here.
6942 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6943 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6944 * nptl/sem_wait.c: ... here.
6945 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6946 * nptl/structsem.sym: ... here.
6947 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6948 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6949 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6950 * nptl/unregister-atfork.c: ... here.
6951 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6952 * nptl/unwindbuf.sym: ... here.
6953 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6954 * sysdeps/nptl/fork.c: ... here.
6955 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6956 * sysdeps/nptl/fork.h: ... here.
6957 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6958 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6959 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6960 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6961 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6962 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6963 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6964 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6965 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6967 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6968 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6969 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6971 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6972 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6973 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6974 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6975 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6976 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6977 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6978 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6979 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6980 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6981 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6982 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6983 * sysdeps/unix/sysv/linux/raise.c: ... here.
6984 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6985 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6987 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6988 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6989 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6990 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6991 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6992 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6993 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6995 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6996 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6997 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6998 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6999
70002014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7001
7002 * sysdeps/generic/memcopy.h: Add comment for
7003 MEMCPY_OK_FOR_FWD_MEMMOVE.
7004
70052014-07-04 Will Newton <will.newton@linaro.org>
7006
7007 * string/memchr.c: Merge from gnulib.
7008 [_LIBC]: Remove conditionals.
7009 (__ptr_t): Remove define.
7010 (LONG_MAX_32_BITS): Likewise.
7011 (LONG_MAX): Likewise.
7012 (MEMCHR): Use ANSI prototype and optimize algorithm.
7013
7014 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7015
70162014-07-03 Roland McGrath <roland@hack.frob.com>
7017
7018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7019 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7020
7021 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7022 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7023 in a bare environment with no <stdlib.h> installed.
7024 * sysdeps/nptl/configure: Regenerated.
7025
7026 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7027
7028 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7029 AC_EGREP_CPP for kernel header checks, so they only succeed if
7030 including <linux/version.h> actually works right.
7031 * sysdeps/unix/sysv/linux/configure: Regenerated.
7032
7033 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7034 value so it's not diagnosed as unused.
7035
7036 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7037 thing) with "ifeq ($(subdir),rt)".
7038
70392014-07-03 Richard Henderson <rth@redhat.com>
7040
7041 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7042 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7043 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7044
7045 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7046 (math_force_eval): New.
7047
7048 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7049 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7050
7051 * sysdeps/alpha/fpu/s_round.c: Remove file.
7052 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7053
7054 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7055 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7056 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7057 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7058 (_dl_start, print_statistics): Likewise.
7059 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7060 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7061
7062 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7063 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7064 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7065 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7067 (HP_SMALL_TIMING_AVAIL): Define.
7068 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7070 (HP_SMALL_TIMING_AVAIL): Define.
7071 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7072 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7073
7074 * sysdeps/aarch64/hp-timing.h: New file.
7075
7076 * sysdeps/generic/hp-timing.h: Remove dead comment.
7077 * sysdeps/generic/hp-timing-common.h: New file.
7078 * sysdeps/alpha/hp-timing.h: Include it.
7079 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7080 * sysdeps/i386/i686/hp-timing.h: Likewise.
7081 * sysdeps/ia64/hp-timing.h: Likewise.
7082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7086 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7087 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7088 (hp_timing_t): New.
7089
7090 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7091 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7092 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7093 * elf/rtld.c (_dl_start_final): Likewise.
7094 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7095 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7096 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7097 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7098 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7100 (HP_TIMING_DIFF_INIT): Remove.
7101 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7103 (HP_TIMING_DIFF_INIT): Remove.
7104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7105 * sysdeps/i386/i686/hp-timing.c: Remove file.
7106 * sysdeps/x86_64/hp-timing.c: Remove file.
7107 * sysdeps/ia64/hp-timing.c: Remove file.
7108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7109 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7111 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7112
7113 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7114 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7115 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7116 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7118 (HP_TIMING_ACCUM): Remove.
7119 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7121 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7122
7123 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7124 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7126 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7130 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7131
7132 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7133
71342014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7135
7136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7137
71382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7139
7140 Sync up with gettext.
7141 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7142 [_MSC_VER]: Include malloc.h
7143 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7144 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7145 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7146 TEMP_FAILURE_RETRY. Cast return of alloca.
7147 [!_LIBC] Call gl_rwlock_init.
7148 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7149
71502014-07-02 Roland McGrath <roland@hack.frob.com>
7151
7152 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7153 before checking its value.
7154
71552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7158
7159 * debug/memcpy_chk.c: Don't include pagecopy.h.
7160 * debug/mempcpy_chk.c: Likewise.
7161 * string/memcpy.c: Likewise.
7162 * string/memmove.c: Likewise.
7163 * sysdeps/powerpc/memmove.c: Likewise.
7164 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7165 definition of PAGE_COPY_FWD_MAYBE here...
7166 * sysdeps/generic/pagecopy.h: ... from here.
7167 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7168
71692014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171
7172 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7174 optimizations.
7175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7176 (__libc_ifunc_impl_list): Likewise.
7177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7178 multiarch strcat for PPC64.
7179 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7180 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7181
71822014-07-02 Roland McGrath <roland@hack.frob.com>
7183
7184 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7185
71862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 * intl/loadmsgcat.c: Remove declaration of
7189 get_sysdep_segment_value.
7190 (get_sysdep_segment_value): Use ISO C style.
7191 (_nl_load_domain): Use ISO C style. Get rid of redundant
7192 semicolon. Fix typo and formatting in comment.
7193 (_nl_unload_domain): Use ISO C style.
7194
7195 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7196
71972014-07-02 Will Newton <will.newton@linaro.org>
7198
7199 * malloc/obstack.c: Merge from gnulib master.
7200 [HAVE_CONFIG_H]: Remove conditional code.
7201 [!_LIBC]: Include config.h.
7202 [!ELIDE_CODE]: Don't include inttypes.h, include
7203 stdint.h unconditionally.
7204 (print_and_abort): Mark as _Noreturn.
7205 (_obstack_allocated_p): Mark as __attribute_pure__.
7206 (obstack_free): Rename to __obstack_free.
7207 [!__attribute__]: Remove conditional code.
7208 * malloc/obstack.h: Merge from gnulib master.
7209 [__cplusplus]: Move conditional down.
7210 [!__attribute_pure__]: Define __attribute_pure__ here
7211 if it is not already defined.
7212 (_obstack_memory_used): Mark as __attribute_pure__.
7213 [!__obstack_free]: Define as obstack_free.
7214 [__GNUC__]: Remove check for ancient NeXT gcc.
7215
72162014-07-02 Will Newton <will.newton@linaro.org>
7217 Paul Eggert <eggert@cs.ucla.edu>
7218
7219 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7220
72212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
7223 * resolv/gethnamaddr.c: Add comment warning that the file is
7224 not maintained.
7225
72262014-07-01 Carlos O'Donell <carlos@redhat.com>
7227
7228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7229 entries.
7230
7231 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7232 entry for aio_cancel and aio_cancel64.
7233 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7234 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7235 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7236 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7237 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7238 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7239 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7240 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7242 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7243 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7244 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7245 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7246
72472014-07-01 Roland McGrath <roland@hack.frob.com>
7248
7249 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7250 * nptl/pthread_mutex_lock.c: Likewise.
7251 * nptl/pthread_mutex_timedlock.c: Likewise.
7252 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7253
72542014-07-01 Richard henderson <rth@redhat.com>
7255
7256 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7257 (__isnan, __isnanl): Remove.
7258 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7259
7260 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7261
72622014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7263
7264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7265
72662014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7267
7268 * resolv/nss_dns/dns-host.c (getanswer_r)
7269 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7270
72712014-07-01 Joseph Myers <joseph@codesourcery.com>
7272
7273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7274 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7275 undefine.
7276 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7277 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7278
72792014-07-01 Roland McGrath <roland@hack.frob.com>
7280
7281 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7282 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7283
7284 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7285 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7286
7287 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7289 ... here.
7290 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7291 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7292
7293 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7294 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7295 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7296 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7297
7298 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7299 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7300 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7301 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7302 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7303 Moved ...
7304 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7305 ... here.
7306 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7307 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7309 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7310 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7311 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7312 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7313 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7315 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7316 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7317 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7319 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7320 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7321 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7323 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7325 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7326 ... here.
7327 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7328 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7329 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7330 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7331 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7332 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7333 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7334 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7335
73362014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7337
7338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7339 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7340 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7341 Add sysdep.
7342
73432014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344
7345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7346
73472014-06-30 Joseph Myers <joseph@codesourcery.com>
7348
7349 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7351
7352 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7353
7354 * sysdeps/arm/libm-test-ulps: Regenerated.
7355
73562014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7357 Roland McGrath <roland@hack.frob.com>
7358
7359 * test-skeleton.c (signal_handler): Kill the whole process group
7360 before killing the child individually.
7361 (main): Report any failure on `setpgid'.
7362
73632014-06-30 Roland McGrath <roland@hack.frob.com>
7364
7365 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7366 from _TLS_H to _ARM_NPTL_TLS_H.
7367 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7368 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7369
73702014-06-30 Joseph Myers <joseph@codesourcery.com>
7371
7372 [BZ #16539]
7373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7374 (__expm1l): Return argument unchanged when small but not
7375 subnormal.
7376
7377 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7378 include macro name.
7379 (_FP_UNPACK_RAW_1_P): Likewise.
7380 (_FP_PACK_RAW_1): Likewise.
7381 (_FP_PACK_RAW_1_P): Likewise.
7382 (_FP_MUL_MEAT_1_wide): Likewise.
7383 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7384 (_FP_MUL_MEAT_1_hard): Likewise.
7385 (_FP_DIV_MEAT_1_imm): Likewise.
7386 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7387 (_FP_DIV_MEAT_1_udiv): Likewise.
7388 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7389 (_FP_UNPACK_RAW_2): Likewise.
7390 (_FP_UNPACK_RAW_2_P): Likewise.
7391 (_FP_PACK_RAW_2): Likewise.
7392 (_FP_PACK_RAW_2_P): Likewise.
7393 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7394 (_FP_MUL_MEAT_2_wide): Likewise.
7395 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7396 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7397 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7398 (_FP_MUL_MEAT_2_gmp): Likewise.
7399 (_FP_DIV_MEAT_2_udiv): Likewise.
7400 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7401 (_FP_FRAC_SRL_4): Likewise.
7402 (_FP_FRAC_SRST_4): Likewise.
7403 (_FP_FRAC_SRS_4): Likewise.
7404 (_FP_UNPACK_RAW_4): Likewise.
7405 (_FP_UNPACK_RAW_4_P): Likewise.
7406 (_FP_PACK_RAW_4): Likewise.
7407 (_FP_PACK_RAW_4_P): Likewise.
7408 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7409 (_FP_MUL_MEAT_4_wide): Likewise.
7410 (_FP_MUL_MEAT_4_gmp): Likewise.
7411 (umul_ppppmnnn): Likewise.
7412 (_FP_DIV_MEAT_4_udiv): Likewise.
7413 (__FP_FRAC_ADD_4): Likewise.
7414 (__FP_FRAC_SUB_3): Likewise.
7415 (__FP_FRAC_SUB_4): Likewise.
7416 (__FP_FRAC_DEC_3): Likewise.
7417 (__FP_FRAC_DEC_4): Likewise.
7418 (__FP_FRAC_ADDI_4): Likewise.
7419 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7420 (_FP_FRAC_SRL_8): Likewise.
7421 (_FP_FRAC_SRS_8): Likewise.
7422
7423 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7424 include macro name.
7425 (FP_UNPACK_RAW_EP): Likewise.
7426 (FP_PACK_RAW_E): Likewise.
7427 (FP_PACK_RAW_EP): Likewise.
7428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7429 (_FP_ISSIGNAN): Likewise.
7430 (_FP_ADD_INTERNAL): Likewise.
7431 (_FP_FMA): Likewise.
7432 (_FP_CMP): Likewise.
7433 (_FP_SQRT): Likewise.
7434 (_FP_TO_INT): Likewise.
7435 (_FP_FROM_INT): Likewise.
7436 (FP_EXTEND): Likewise.
7437 (_FP_DIV_MEAT_N_loop): Likewise.
7438
74392014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7440
7441 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7442 throughout.
7443
74442014-06-29 Joseph Myers <joseph@codesourcery.com>
7445
7446 [BZ #17097]
7447 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7448 result with correct sign in case of exponents that produce
7449 overflow except for X very close to 1.
7450
74512014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7452
7453 mktime: merge #if/#ifdef usage from glibc
7454 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7455 as that works with both Glibc's and Gnulib's style.
7456 See thread starting at Siddhesh Poyarekar's bug report at:
7457 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7458
74592014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7462 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7463 * sysdeps/tile/tilegx/memmove.c: Remove file.
7464
74652014-06-27 Joseph Myers <joseph@codesourcery.com>
7466
7467 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7468 abi-name definition.
7469 * scripts/soversions.awk: Do not handle or generate ABI lines.
7470 * shlib-versions: Remove ABI entries.
7471 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7472 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7473
74742014-06-27 Roland McGrath <roland@hack.frob.com>
7475
7476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7477 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7483 Moved ...
7484 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7485 ... here.
7486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7487 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7491 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7493 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7497 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7499 Moved ...
7500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7506 Moved ...
7507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7509 Moved ...
7510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7514 Moved ...
7515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7523 Moved ...
7524 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7526 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7528 Moved ...
7529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7531 Moved ...
7532 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7534 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7536 Moved ...
7537 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7538 ... here.
7539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7540 Identical file removed.
7541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7542 Moved ...
7543 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7545 Identical file removed.
7546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7549 Moved ...
7550 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7552 Identical file removed.
7553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7556 Identical file removed.
7557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7560 Identical file removed.
7561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7564 Identical file removed.
7565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7566 Moved ...
7567 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7569 Identical file removed.
7570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7571 Moved ...
7572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7574 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7576 Identical file removed.
7577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7578 Moved ...
7579 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7580 ... here.
7581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7582 Identical file removed.
7583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7584 Moved ...
7585 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7587 Identical file removed.
7588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7589 Moved ...
7590 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7592 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7596 Moved ...
7597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7600
7601 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7602 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7603 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7604 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7605 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7606
76072014-06-27 Arjun Shankar <arjun.is@lostca.se>
7608
7609 [BZ #17092]
7610 * nscd/nscd.c (monitor_child): Return exit status of child
7611 instead of return value from wait syscall.
7612
76132014-06-27 Joseph Myers <joseph@codesourcery.com>
7614
7615 * configure.ac (libc_commonpagesize): Remove variable.
7616 (libc_relro_required): Likewise.
7617 (libc_cv_z_relro): Remove configure test.
7618 * configure: Regenerated.
7619 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7620 variable.
7621 (libc_relro_required): Likewise.
7622 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7623 (libc_relro_required): Likewise.
7624 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7625 (libc_relro_required): Likewise.
7626 * sysdeps/arm/preconfigure: Regenerated.
7627 * sysdeps/ia64/preconfigure: Remove file.
7628 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7629 variable.
7630 (libc_relro_required): Likewise.
7631
7632 [BZ #16561]
7633 [BZ #16562]
7634 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7635 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7636 recompute overflowing results in original rounding mode.
7637 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7638 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7639 recompute overflowing results in original rounding mode.
7640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7641 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7642 recompute overflowing results in original rounding mode.
7643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7644 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7645 recompute overflowing results in original rounding mode.
7646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7647 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7648 recompute overflowing results in original rounding mode.
7649 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7650 (libc_feholdsetround_ctx): New macro.
7651 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7652 * sysdeps/i386/fpu/libm-test-ulps: Update.
7653 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7654
76552014-06-26 Joseph Myers <joseph@codesourcery.com>
7656
7657 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7658 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7659 corresponding .cpsetup call.
7660
76612014-06-26 Roland McGrath <roland@hack.frob.com>
7662
7663 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7664 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7665 * sysdeps/arm/Makefile [$(subdir) = csu]
7666 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7667 (static-only-routines): Add aeabi_read_tp here.
7668 (shared-only-routines): Add libc-aeabi_read_tp here.
7669 (CFLAGS-libc-start.c): Add -fexceptions here.
7670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7671 (sysdep_routines, static-only-routines, shared-only-routines):
7672 Don't add to these here.
7673 (CFLAGS-libc-start.c): Likewise.
7674
7675 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7676 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7677 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7678 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7679 * sysdeps/arm/Makefile [$(subdir) = rt]
7680 (librt-sysdep_routines, librt-shared-only-routines):
7681 Append rt-aeabi_unwind_cpp_pr1 here.
7682 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7683 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7684 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7685 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7686 Append nptl-aeabi_unwind_cpp_pr1 here.
7687 (tests): Filter out tst-cleanupx4 here.
7688 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7689 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7690 Don't do those here.
7691
76922014-06-26 Joseph Myers <joseph@codesourcery.com>
7693
7694 * scripts/list-sources.sh: Do not handle ports specially.
7695
76962014-06-26 Roland McGrath <roland@hack.frob.com>
7697
7698 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7699 * sysdeps/arm/feupdateenv.c: Likewise.
7700
7701 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7702
77032014-06-26 Joseph Myers <joseph@codesourcery.com>
7704
7705 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7706 trailing whitespace removed.
7707 * scripts/config.guess: Update to version 2014-03-23.
7708 * scripts/config.sub: Update to version 2014-05-01
7709 * scripts/install-sh: Update to version 2013-12-25.23.
7710 * scripts/move-if-change: Update from gnulib.
7711
77122014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7713
7714 * debug/memmove_chk.c: Remove pagecopy.h include.
7715
77162014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7717
7718 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7719 identical to gnulib mktime.
7720
77212014-06-26 Joseph Myers <joseph@codesourcery.com>
7722
7723 * configure.ac: Do not test for machine being rs6000. Do not test
7724 for powerpc*-*soft.
7725 * configure: Regenerated.
7726
7727 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7728 test.
7729 * configure: Regenerated.
7730 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7731 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7732 Remove configure test.
7733 * sysdeps/arm/configure: Regenerated.
7734 * sysdeps/nptl/configure.ac: Do not check
7735 libc_cv_asm_cfi_directives.
7736 * sysdeps/nptl/configure: Regenerated.
7737 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7738 * sysdeps/x86_64/nptl/configure: Remove generated file.
7739 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7740 unconditional.
7741 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7742
77432014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7744
7745 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7746 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7747 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7748 it is defined.
7749
7750 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7751 instead of whether it is defined.
7752 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7753 * sysdeps/hppa/dl-machine.h: Likewise.
7754 * sysdeps/ia64/dl-machine.h: Likewise.
7755 * sysdeps/m68k/dl-machine.h: Likewise.
7756 * sysdeps/microblaze/dl-machine.h: Likewise.
7757 * sysdeps/mips/dl-machine.: Likewise.
7758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7762 * sysdeps/sh/dl-machine.h: Likewise.
7763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7765 * sysdeps/tile/dl-machine.h: Likewise.
7766 * sysdeps/x86_64/dl-machine.h: Likewise.
7767
7768 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7769 code.
7770 (verify_persistent_db): Likewise.
7771
77722014-06-26 Roland McGrath <roland@hack.frob.com>
7773
7774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7775 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7777 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7779 Moved ...
7780 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7781 ... here.
7782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7783 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7785 Identical file removed.
7786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7787 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7789 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7791 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7795 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7797 Moved ...
7798 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7802 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7804 Moved ...
7805 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7809 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7811 Identical file removed.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7813 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7819 ... here.
7820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7829 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7831 Moved ...
7832 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7834 Moved ...
7835 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7839 Moved ...
7840 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7843
7844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7845 folded into ...
7846 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7847 * sysdeps/unix/sysv/linux/s390/Versions
7848 (libpthread: GLIBC_2.19): New version set.
7849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7850 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7851 (librt: GLIBC_2.3.3): New version set.
7852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7854 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7856 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7857 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7858 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7862 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7863 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7864 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7865 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7866 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7867 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7868 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7869 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7882 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7897
7898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7899 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7900 (__libc_vfork): Define the function under this name.
7901 [!NOT_IN_libc] (__vfork): Make this an alias.
7902 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7904 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7905 (__libc_vfork): Define the function under this name.
7906 [!NOT_IN_libc] (__vfork): Make this an alias.
7907 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7908 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7912 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7913
7914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7915 code that was previously under [RESET_PID].
7916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7919
7920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7921 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7923 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7925 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7926 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7927 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7928 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7929 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7931 Moved ...
7932 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7950 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7956 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7957 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7961
79622014-06-25 Roland McGrath <roland@hack.frob.com>
7963
7964 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7965 that was previously under [RESET_PID].
7966 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7967
79682014-06-25 Joseph Myers <joseph@codesourcery.com>
7969
7970 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7971 not undefine and redefine.
7972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7973 [O_CLOEXEC]: Make code unconditional.
7974 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7975 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7976 <kernel-features.h>.
7977 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7978 conditional variable definition.
7979 (shm_open) [O_CLOEXEC]: Make code unconditional.
7980 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7981 code.
7982
7983 * configure.ac (USE_REGPARMS): Don't define here.
7984 * configure: Regenerated.
7985 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7986 * sysdeps/i386/configure: Regenerated.
7987
7988 * nptl/createthread.c: Don't include kernel-features.h.
7989 * nptl/pthread_cancel.c: Likewise.
7990 * nptl/pthread_condattr_setclock.c: Likewise.
7991 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7992 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7993 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7994 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7995 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8001 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8002 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8003 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8004 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8006 * nscd/gai.c: Likewise.
8007 * nss/nss_db/db-open.c: Likewise.
8008 * sysdeps/generic/ldsodefs.h: Likewise.
8009 * sysdeps/sh/nptl/tls.h: Likewise.
8010 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8011 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8012 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8013 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8014 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8022 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8023 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8024 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8025 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8026 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8027 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8028 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8032 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8038 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8039 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8040 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8041 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8047 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8048 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8049 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8050 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8051 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8052 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8055 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8056 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8057 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8058 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8059 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8062 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8063 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8064 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8065 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8092 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8093 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8094 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8097 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8098 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8099 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8100 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8102 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8103 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8104 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8105 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8108 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8109 * sysdeps/unix/sysv/linux/system.c: Likewise.
8110 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8111 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8117
8118 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8119 * configure: Regenerated.
8120 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8121
8122 * configure.ac (base_machine): Do not set specially for particular
8123 machines here.
8124 * configure: Regenerated.
8125 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8126 settings from configure.ac.
8127 * sysdeps/i386/preconfigure: New file.
8128 * sysdeps/s390/preconfigure: Likewise.
8129 * sysdeps/sh/preconfigure: Likewise.
8130 * sysdeps/sparc/preconfigure: Likewise.
8131
81322014-06-25 Roland McGrath <roland@hack.frob.com>
8133
8134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8135 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8136 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8137 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8138 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8139 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8140 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8141 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8142 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8143 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8144 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8145 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8146 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8151 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8152 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8153
8154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8155 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8156 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8157 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8158 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8159 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8160 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8161 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8162 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8163 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8164 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8165 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8167 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8168 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8169 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8170 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8171 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8185 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8189 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8191 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8192
8193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8194 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8198 Moved ...
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8200 ... here.
8201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8206 Moved ...
8207 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8209 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8215 Moved ...
8216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8218 Moved ...
8219 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8223 Moved ...
8224 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8226 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8230 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8232 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8234 Moved ...
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8236 ... here.
8237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8242 Moved ...
8243 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8245 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8251 Moved ...
8252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8254 Moved ...
8255 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8259 Moved ...
8260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8265
82662014-06-25 Joseph Myers <joseph@codesourcery.com>
8267
8268 * timezone/checktab.awk: Update from tzcode 2014e.
8269 * timezone/private.h: Likewise.
8270 * timezone/tzfile.h: Likewise.
8271 * timezone/zdump.c: Likewise.
8272 * timezone/zic.c: Likewise.
8273
8274 * sysdeps/unix/sysv/linux/kernel-features.h
8275 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8277 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8279 Remove conditional code.
8280
82812014-06-25 Will Newton <will.newton@linaro.org>
8282
8283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8284 (_dl_arm_cap_flags): Add HWCAP2 values.
8285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8286 (_DL_HWCAP_COUNT): Increase to 37.
8287 (_DL_HWCAP_LAST): New define.
8288 (_DL_HWCAP2_LAST): New define.
8289 (_dl_procinfo): Add support for printing
8290 AT_HWCAP2 entries.
8291 (_dl_string_hwcap): Use _dl_hwcap_string.
8292
82932014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8294
8295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8296
82972014-06-25 Joseph Myers <joseph@codesourcery.com>
8298
8299 * README: Do not mention ports directory.
8300
8301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8302 Remove macro.
8303 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8304 <kernel-features.h>.
8305 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8306 conditional variable definition.
8307 (__futimes): Update comment.
8308 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8309 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8310
8311 [BZ #16560]
8312 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8313 arguments close to 0.
8314 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8315 Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8317 Likewise.
8318 * math/auto-libm-test-in: Add more tests of exp10.
8319 * math/auto-libm-test-out: Regenerated.
8320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8321
8322 * sysdeps/unix/sysv/linux/kernel-features.h
8323 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8324 * sysdeps/unix/sysv/linux/readv.c: Do not include
8325 <kernel-features.h>.
8326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8328 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8329 unconditional.
8330 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8331 conditional code.
8332 * sysdeps/unix/sysv/linux/writev.c: Do not include
8333 <kernel-features.h>.
8334 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8335 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8336 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8337 unconditional.
8338 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8339 conditional code.
8340
83412014-06-25 Will Newton <will.newton@linaro.org>
8342
8343 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8344 comment changes throughout the file. Remove checks
8345 for HAVE_*_H definitions that are not required.
8346 (__gen_tempname): Call abort if an unknown kind value is
8347 passed.
8348
83492014-06-25 Andreas Schwab <schwab@suse.de>
8350
8351 [BZ #17086]
8352 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8353 scalbln, scalblnf, scalblnl in libc.
8354
83552014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8356
8357 [BZ #17086]
8358 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8359 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8361
83622014-06-24 Roland McGrath <roland@hack.frob.com>
8363
8364 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8365 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8366 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8367 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8368 Update #include.
8369 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8370 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8371 Update #include.
8372 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8374 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8376 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8377 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8378 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8379 * sysdeps/x86/bits/semaphore.h: ... here.
8380 * sysdeps/x86/nptl/elide.h: Moved ...
8381 * sysdeps/x86/elide.h: ... here.
8382 * sysdeps/x86_64/nptl/Implies: File removed.
8383 * sysdeps/i386/nptl/Implies: File removed.
8384
83852014-06-24 Joseph Myers <joseph@codesourcery.com>
8386
8387 [BZ #16539]
8388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8389 return the argument for normal arguments with exponent below -64.
8390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8391 Likewise.
8392 * math/auto-libm-test-in: Add another test of expm1.
8393 * math/auto-libm-test-out: Regenerated.
8394
8395 [BZ #16287]
8396 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8397 calling __erfcl for arguments at least 16.
8398 * math/auto-libm-test-in: Add more tests of erf.
8399 * math/auto-libm-test-out: Regenerated.
8400
8401 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8402 individual architectures.
8403 * sysdeps/unix/sysv/linux/configure: Regenerated.
8404 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8405 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8406 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8407 (ldd_rewrite_script): Define variable.
8408 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8410 file.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8412 generated file.
8413 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8414 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8415 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8416 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8417 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8418 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8419 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8420 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8421
84222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8423
8424 [BZ #17084]
8425 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8426 Rename member __data.d to __data.__elision_data.
8427
84282014-06-24 Wilco <wdijkstr@arm.com>
8429
8430 * NEWS: Add 16918 to fixed bug list.
8431
84322014-06-24 Wilco <wdijkstr@arm.com>
8433
8434 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8435
84362014-06-24 Wilco <wdijkstr@arm.com>
8437
8438 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8439 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8440 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8441 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8442 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8443 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8444 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8445 Use _FPU_MASK_RM.
8446
84472014-06-24 Wilco <wdijkstr@arm.com>
8448
8449 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8450
84512014-06-24 Wilco <wdijkstr@arm.com>
8452
8453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8454 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8455 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8456 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8457
84582014-06-24 Wilco <wdijkstr@arm.com>
8459
8460 [BZ #16918]
8461 * sysdeps/arm/feupdateenv.c (feupdateenv):
8462 Rewrite to reduce FPSCR accesses and fix return value.
8463
84642014-06-24 Wilco <wdijkstr@arm.com>
8465
8466 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8467 Optimize to avoid unnecessary FPSCR writes.
8468 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8469 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8470 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8471 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8472
84732014-06-24 Wilco <wdijkstr@arm.com>
8474
8475 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8476 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8477 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8478 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8479 Call libc_fetestexcept_vfp.
8480 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8481 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8482 __SOFTFP__ ifdef so that they can be built for softfp.
8483
84842014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8485
8486 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8487 argument type signed char.
8488
8489 * Makerules (check-abi): Dump diff of symlist if the test
8490 fails.
8491
84922014-06-23 Roland McGrath <roland@hack.frob.com>
8493
8494 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8495 using abort.
8496
8497 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8498 Remove unused variable ST.
8499
85002014-06-23 Joseph Myers <joseph@codesourcery.com>
8501
8502 [BZ #16354]
8503 [BZ #17061]
8504 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8505 small arguments before calling __expm1.
8506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8507 small arguments before calling __expm1f.
8508 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8509 small arguments before calling __expm1l.
8510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8511 Likewise.
8512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8513 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8514 spurious underflow for some cosh tests.
8515 * math/auto-libm-test-out: Regenerated.
8516 * sysdeps/i386/fpu/libm-test-ulps: Update.
8517
8518 [BZ #17050]
8519 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8520 (__ieee754_y1): Set errno if return value overflows.
8521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8522 (__ieee754_y1f): Set errno if return value overflows.
8523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8524 (__ieee754_y1l): Set errno if return value overflows.
8525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8526 (__ieee754_y1l): Set errno if return value overflows.
8527 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8528 * math/auto-libm-test-out: Regenerated.
8529
8530 * math/gen-auto-libm-tests.c: Document use of
8531 ignore-zero-inf-sign.
8532 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8533 (input_flags): Add ignore-zero-inf-sign.
8534 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8535 * math/gen-libm-test.pl (generate_testfile): Handle
8536 ignore-zero-inf-sign.
8537 * math/auto-libm-test-in: Mark some cpow tests with
8538 ignore-zero-inf-sign and some with xfail-rounding.
8539 * math/auto-libm-test-out: Regenerated.
8540 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8541 * sysdeps/i386/fpu/libm-test-ulps: Update.
8542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8543
8544 [BZ #16315]
8545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8546 overflowing or underflowing operations take place with sign of
8547 result.
8548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8550 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8551 (__ieee754_pow): Recompute overflowing and underflowing results in
8552 original rounding mode.
8553 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8554 (__powl_helper): Allow negative argument X and scale negated value
8555 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8557 overflowing or underflowing operations take place with sign of
8558 result.
8559 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8560 Include <math.h>.
8561 * math/auto-libm-test-in: Add more tests of pow.
8562 * math/auto-libm-test-out: Regenerated.
8563 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8564 (pow_tonearest_test_data): Remove.
8565 (pow_test_tonearest): Likewise.
8566 (pow_towardzero_test_data): Likewise.
8567 (pow_test_towardzero): Likewise.
8568 (pow_downward_test_data): Likewise.
8569 (pow_test_downward): Likewise.
8570 (pow_upward_test_data): Likewise.
8571 (pow_test_upward): Likewise.
8572 (main): Don't call removed functions.
8573 * sysdeps/i386/fpu/libm-test-ulps: Update.
8574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575
85762014-06-23 Roland McGrath <roland@hack.frob.com>
8577
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8582 Moved ...
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8585 Moved ...
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8588 Moved ...
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8591 File removed.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8593 File removed.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8595 File removed.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8597 File removed.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8599 File removed.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8601 File removed.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8603 File removed.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8605 File removed.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8607 File removed.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8609 File removed.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8611 File removed.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8613 File removed.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8615 Moved ...
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8618 Moved ...
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8620 ... here.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8622 Moved ...
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8625 Moved ...
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8628 Moved ...
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8631 Moved ...
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8634 Moved ...
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8637 Moved ...
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8640 Moved ...
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8644 ... here.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8646 Moved ...
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8649 Moved ...
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8651 ... here.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8653 Moved ...
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8655 ... here.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8657 Moved ...
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8659 ... here.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8661 Moved ...
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8664 Moved ...
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8669 Moved ...
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8671 ... here.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8673 Moved ...
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8675 ... here.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8677 Moved ...
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8680 Moved ...
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8683 Moved ...
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8686 Moved ...
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8689 Moved ...
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8691 ... here.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8693 Moved ...
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8696 Moved ...
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8699 Moved ...
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8702 Moved ...
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8707 Moved ...
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8710 Moved ...
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8713 Moved ...
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8715 ... here.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8717 Moved ...
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8719 ... here.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8721 Moved ...
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8723 ... here.
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8725 Moved ...
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8728 Moved ...
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8731 Moved ...
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8734 Moved ...
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8736 ... here.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8738 Moved ...
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8740 ... here.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8742 Moved ...
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8744 ... here.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8746 Moved ...
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8749 Moved ...
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8751
87522014-06-23 Will Newton <will.newton@linaro.org>
8753 Wilco <wdijkstr@arm.com>
8754
8755 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8756 implementation. Include get-rounding-mode.h.
8757 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8758 [!libc_feholdsetround_noex_ctx]: Define
8759 libc_feholdsetround_noex_ctx.
8760 [!libc_feholdsetround_noexf_ctx]: Define
8761 libc_feholdsetround_noexf_ctx.
8762 [!libc_feholdsetround_noexl_ctx]: Define
8763 libc_feholdsetround_noexl_ctx.
8764 (libc_feholdsetround_ctx): New function.
8765 (libc_feresetround_ctx): New function.
8766 (libc_feholdsetround_noex_ctx): New function.
8767 (libc_feresetround_noex_ctx): New function.
8768
87692014-06-23 Roland McGrath <roland@hack.frob.com>
8770
8771 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8772 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8773 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8774 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8775 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8776 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8777
8778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8779 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8781 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8782 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8783 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8789 Moved ...
8790 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8791 ... here.
8792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8797 Moved ...
8798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8806 Moved ...
8807 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8809 Moved ...
8810 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8814 Moved ...
8815 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8817 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8818 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8819 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8820 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8825 Moved ...
8826 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8827 ... here.
8828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8841 Moved ...
8842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8846 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8848 Moved ...
8849 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8854
8855 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8856 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8858 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8860 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8861 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8862 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8864 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8865 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8866 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8867 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8870 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8874 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8875 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8876 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8878 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8883
88842014-06-23 Joseph Myers <joseph@codesourcery.com>
8885
8886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8887 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8888 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8889 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8890 (IPV6_PMTUDISC_INTERFACE): Likewise.
8891 (IPV6_PMTUDISC_OMIT): Likewise.
8892
88932014-06-23 Andreas Schwab <schwab@suse.de>
8894
8895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8896 Remove unused errout label.
8897
88982014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8899
8900 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8901 macro: hardware supports Vector Crypto instructions.
8902
89032014-06-23 Will Newton <will.newton@linaro.org>
8904
8905 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8906 rather than __builtin_expect.
8907
8908 * elf/dl-lookup.c (undefined_msg): Remove variable.
8909 (_dl_lookup_symbol_x): Replace undefined_msg with string
8910 literal.
8911
8912 * elf/dl-lookup.c (do_lookup_unique): New function.
8913 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8914 to a separate function.
8915
89162014-06-23 Andreas Schwab <schwab@suse.de>
8917
8918 [BZ #17079]
8919 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8920 before reading the next line.
8921
89222014-06-23 Will Newton <will.newton@linaro.org>
8923
8924 * test-skeleton.c (signal_handler): Use printf and %m
8925 rather than perror. Use printf rather than fprintf to
8926 stderr. Use puts rather than fputs to stderr.
8927 (main): Likewise.
8928
89292014-06-22 Ludovic Courtès <ludo@gnu.org>
8930
8931 * nscd/nscd.c (thread_info_t): Remove typedef.
8932 (thread_info): Remove variable.
8933
89342014-06-21 Allan McRae <allan@archlinux.org>
8935
8936 * NEWS: Mention CVE-2014-4043.
8937
89382014-06-20 Roland McGrath <roland@hack.frob.com>
8939
8940 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8941 * nptl/smp.h: ... here.
8942
8943 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8944
8945 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8946 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8947 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8948 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8949
8950 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8951 * nptl/stack-aliasing.h: New file.
8952 * sysdeps/i386/i686/stack-aliasing.h: New file.
8953 * sysdeps/i386/i686/nptl/Makefile: File removed.
8954 * sysdeps/x86_64/stack-aliasing.h: New file.
8955 * sysdeps/x86_64/nptl/Makefile
8956 (CFLAGS-pthread_create.c): Variable removed.
8957
8958 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8959 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8960 old file.
8961 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8963 old file.
8964
89652014-06-21 Joseph Myers <joseph@codesourcery.com>
8966
8967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8968 (__ASSUME_SIGFRAME_V2): Remove macro.
8969 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8970 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8971 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8972 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8973 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8974 Declare as function. Remove conditional macro definitions.
8975 (__default_rt_sa_restorer): Likewise.
8976 (__default_sa_restorer_v1): Remove declaration.
8977 (__default_sa_restorer_v2): Likewise.
8978 (__default_rt_sa_restorer_v1): Likewise.
8979 (__default_rt_sa_restorer_v2): Likewise.
8980 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8981 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8982 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8983
89842014-06-20 Roland McGrath <roland@hack.frob.com>
8985
8986 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8987 (libpthread-routines): Add sysdep.
8988 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8989 * sysdeps/unix/sysv/linux/sparc/Versions
8990 (libpthread: GLIBC_2.3.3): New version set.
8991 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8992 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8993 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8995 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8997 Moved ...
8998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9000 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9001 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9002 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9004 * sysdeps/sparc/nptl/sem_init.c: ... here.
9005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9006 * sysdeps/sparc/nptl/sem_post.c: ... here.
9007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9008 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9010 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9011 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9013 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9014 (libpthread-routines): Add cpu_relax.
9015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9016 File removed.
9017 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9018 (librt: GLIBC_2.3.3): New version set.
9019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9020 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9022 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9025 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9027 Moved ...
9028 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9030 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9032 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9034 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9038 Moved ...
9039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9040 Update #include.
9041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9042 Moved ...
9043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9044 Update #include.
9045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9046 Moved ...
9047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9048 Update #include.
9049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9050 Moved ...
9051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9052 Update #include.
9053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9054 Moved ...
9055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9056 Update #include.
9057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9058 Moved ...
9059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9060 Update #include.
9061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9072 Moved ...
9073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9078
90792014-06-20 Joseph Myers <joseph@codesourcery.com>
9080
9081 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9082 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9083 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9084 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9085 * nscd/nscd.c: Likewise.
9086 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9087 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9088 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9089 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9090
9091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9092 <kernel-features.h>.
9093 (init_mq_netlink): Remove conditional have_sock_cloexec
9094 definitions. Remove code conditional on have_sock_cloexec < 0.
9095 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9096 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9097 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9098 <kernel-features.h>.
9099 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9100 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9101
91022014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9105 Add tests for memset_chk and memset.
9106
9107 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9108 with AVX2_Usable.
9109
91102014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9111
9112 [BZ #16046]
9113 * elf/tst-dl-iter-static.c: New file.
9114 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9115
9116 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9117 error.
9118
91192014-06-20 Joseph Myers <joseph@codesourcery.com>
9120
9121 * sysdeps/unix/sysv/linux/kernel-features.h
9122 (__ASSUME_F_GETOWN_EX): Remove macro.
9123 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9124 <kernel-features.h>.
9125 (miss_F_GETOWN_EX): Remove variable or macro.
9126 (do_fcntl): Do not check miss_F_GETOWN_EX.
9127 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9128
9129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9130 Remove macro.
9131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9132 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9133 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9134
9135 * sysdeps/unix/sysv/linux/kernel-features.h
9136 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9138 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9139 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9140
91412014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9142
9143 [BZ #17075]
9144 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9145 Fix calculation of the symbol's value.
9146 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9147 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9148 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9149 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9150 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9151 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9152 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9153 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9154 (modules-names): Add `tst-armtlsdescmod',
9155 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9156 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9157 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9158 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9159 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9160 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9161 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9162 ($(objpfx)tst-armtlsdescloc): New dependency.
9163 ($(objpfx)tst-armtlsdescextnow): Likewise.
9164 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9165 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9166 TLS scheme support.
9167 * sysdeps/arm/configure: Regenerate.
9168
91692014-06-20 Joseph Myers <joseph@codesourcery.com>
9170
9171 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9172 (__atfct_seterrno_2): Likewise.
9173 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9174 <kernel-features.h>.
9175 (__ASSUME_ATFCTS): Do not undefine and redefine.
9176 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9177 (__have_atfcts): Remove conditional definition.
9178 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9180 unreachable if [__ASSUME_ATFCTS].
9181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9182 not undefine and redefine.
9183 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9184 <kernel-features.h>.
9185 (faccessat) [__NR_faccessat]: Make code unconditional.
9186 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9187 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9188 <kernel-features.h>.
9189 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9190 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9191 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9192 <kernel-features.h>.
9193 (fchownat) [__NR_fchownat]: Make code unconditional.
9194 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9195 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9196 <kernel-features.h>.
9197 (futimesat) [__NR_futimesat]: Make code unconditional.
9198 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9200 <kernel-features.h>.
9201 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9202 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9203 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9204 <kernel-features.h>.
9205 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9206 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9207 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9209 <kernel-features.h>.
9210 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9212 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9213 <kernel-features.h>.
9214 (linkat) [__NR_linkat]: Make code unconditional.
9215 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9216 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9217 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9218 <kernel-features.h>.
9219 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9220 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9221 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9222 <kernel-features.h>.
9223 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9224 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9225 * sysdeps/unix/sysv/linux/openat.c: Do not include
9226 <kernel-features.h>.
9227 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9228 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9229 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9230 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9232 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9233 <kernel-features.h>.
9234 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9235 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9236 result of INLINE_SYSCALL directly, not via int variable.
9237 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9238 <kernel-features.h>.
9239 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9240 (renameat) [__NR_renameat]: Make code unconditional.
9241 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9242 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9243 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9246 (__ASSUME_ATFCTS): Do not undefine and redefine.
9247 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9248 <kernel-features.h>.
9249 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9250 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9251 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9252 <kernel-features.h>.
9253 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9254 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9256 (__ASSUME_ATFCTS): Do not undefine and redefine.
9257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9258 <kernel-features.h>.
9259 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9260 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9261 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9262 <kernel-features.h>.
9263 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9264 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9265
92662014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9269
92702014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 [BZ #17069]
9273 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9274 constructed tree before returning error.
9275 * posix/bug-regexp36.c: Expand test case.
9276
92772014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9278
9279 [BZ #6803]
9280 * math/libm-test.inc (scalbln_test_date):
9281 Add errno expectations.
9282 * math/w_scalblnf.c: New File.
9283 Add wrapper which checks for setting errno to ERANGE.
9284 Add weak_alias for corresponding scalbln function.
9285 * math/w_scalbln.c: Likewise.
9286 * math/w_scalblnl.c: Likewise.
9287 * math/Makefile (libm-calls): Add w_scalbln.
9288 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9289 Remove weak_alias for corresponding scalbln function.
9290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9294 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9295 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9296 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9297 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9299 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9300 Remove long_double_symbol for scalblnl function in libm, libc.
9301 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9302 Add wrapper which checks for setting errno to ERANGE.
9303 Add long_double_symbol for scalblnl function in libm, libc.
9304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9305 Remove long_double_symbol for scalblnl in libm.
9306 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9307 Add wrapper which checks for setting errno to ERANGE.
9308 Add long_double_symbol for scalblnl function in libm.
9309 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9310 Do not use wrapper because of own implementation.
9311
93122014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9315 3 bytes for __pad1 for x32.
9316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9317
93182014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9319 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9322 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9325 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9326
93272014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9328
9329 [BZ #17069]
9330 * posix/regcomp.c (parse_expression): Deallocate partially
9331 constructed tree before returning error.
9332 * posix/Makefile.c (tests): Add bug-regex36.
9333 (generated): Add bug-regex36.mtrace.
9334 (tests-special): Add $(objpfx)bug-regex36-mem.out
9335 (bug-regex36-ENV): New variable.
9336 ($(objpfx)bug-regex36-mem.out): New rule.
9337 * posix/bug-regex36.c: New file.
9338
93392014-06-19 Will Newton <will.newton@linaro.org>
9340
9341 * malloc/malloc.c (systrim): If extra is zero then return
9342 early.
9343
93442014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
9346 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9347
93482014-06-19 Richard Earnshaw <rearnsha@arm.com>
9349
9350 * sysdeps/aarch64/strchr.S: New file.
9351
93522014-06-18 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #17022]
9355 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9356 from arguments -2 or below.
9357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9358 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9359
93602014-06-18 Andreas Schwab <schwab@suse.de>
9361
9362 [BZ #17062]
9363 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9364 of a bracket expr not to run off the end of the string.
9365 * posix/Makefile (tests): Add tst-fnmatch3.
9366 * posix/tst-fnmatch3.c: New file.
9367
93682014-06-18 Joseph Myers <joseph@codesourcery.com>
9369
9370 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9372 [$(cross-compiling) = no]: Likewise.
9373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9374 [$(cross-compiling) = no]: Likewise.
9375
93762014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9377
9378 [BZ #17031]
9379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9380 double, adjusted for any remainder from the high double.
9381 * math/libm-test.inc (nearbyint): Add tests.
9382 (rint): Likewise.
9383
93842014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385
9386 * nptl/sysdeps/powerpc/Makefile: Moved ...
9387 * sysdeps/powerpc/nptl/Makefile: ... here.
9388 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9389 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9390 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9391 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9392 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9393 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9394 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9395 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9396 * nptl/sysdeps/powerpc/tls.h: Moved ...
9397 * sysdeps/powerpc/nptl/tls.h: ... here.
9398
93992014-06-16 Joseph Myers <joseph@codesourcery.com>
9400
9401 [BZ #16681]
9402 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9403 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9404 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9405 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9406 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9407 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9408 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9409 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9410 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9411
94122014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9413
9414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9415
94162014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9417
9418 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9419 defined operator.
9420
9421 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9422 $TIMEOUTFACTOR.
9423
94242014-06-16 Florian Weimer <fweimer@redhat.com>
9425
9426 [BZ #17058]
9427 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9428 non-executed part of the test.
9429
94302014-06-16 Andreas Schwab <schwab@suse.de>
9431
9432 * string/bits/string2.h (strdup, strndup): Update feature guard.
9433
94342014-06-14 David S. Miller <davem@davemloft.net>
9435
9436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9437
94382014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9439
9440 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9441 that was previously under [RESET_PID].
9442 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9443
9444 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9445 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9446 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9448 (__libc_vfork): New strong alias.
9449 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9450
94512014-06-14 Andi Kleen <ak@linux.intel.com>
9452
9453 * sysdeps/generic/elide.h: New file.
9454
94552014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9456
9457 * Makefile (installed-headers): Adjust path of pthread.h header.
9458
94592014-06-13 Roland McGrath <roland@hack.frob.com>
9460
9461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9462 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9464 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9465
9466 * nptl/sysdeps/s390/Makefile: Moved ...
9467 * sysdeps/s390/nptl/Makefile: ... here.
9468 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9469 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9470 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9471 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9472 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9473 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9474 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9475 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9476 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9477 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9478 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9479 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9480 * nptl/sysdeps/s390/tls.h: Moved ...
9481 * sysdeps/s390/nptl/tls.h: ... here.
9482
9483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9484 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9485
94862014-06-13 David S. Miller <davem@davemloft.net>
9487
9488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9491 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9495 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9496 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9497 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9498 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9499 Remove RESET_PID cpp guards.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9501 Remove RESET_PID cpp guards.
9502 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9503
95042014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9505
9506 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9507 __sp to uintptr_t.
9508
95092014-06-13 Andi Kleen <ak@linux.intel.com>
9510
9511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9531
9532 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9533 (pthread_rwlock_rdlock): Add elision.
9534 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9535 (pthread_rwlock_wrlock): Add elision.
9536 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9537 (pthread_rwlock_trywrlock): Add elision.
9538 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9539 (pthread_rwlock_tryrdlock): Add elision.
9540 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9541 (pthread_rwlock_tryrdlock): Add elision unlock.
9542 * nptl/sysdeps/pthread/pthread.h:
9543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9544 (PTHREAD_RWLOCK_INITIALIZER,
9545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9546 Handle new elision field.
9547 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9548 * sysdeps/arm/nptl/bits/pthreadtypes.h
9549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9550 * sysdeps/sh/nptl/bits/pthreadtypes.h
9551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9552 * sysdeps/tile/nptl/bits/pthreadtypes.h
9553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9554 * sysdeps/a/nptl/bits/pthreadtypes.h
9555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9560 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9562 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9566 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9570 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9572 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9573 (elision_init): Set try_xbegin to zero when no RTM.
9574 * sysdeps/x86/nptl/bits/pthreadtypes.h
9575 (pthread_rwlock_t): Change __pad1 to __rwelision.
9576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9577
95782014-06-13 Andi Kleen <ak@linux.intel.com>
9579
9580 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9581 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9582 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9583 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9584
95852014-06-13 Meador Inge <meadori@codesourcery.com>
9586
9587 [BZ #16996]
9588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9589 that the cached result has been set before returning it.
9590
95912014-06-12 Roland McGrath <roland@hack.frob.com>
9592
9593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9594 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9596 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9598 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9599
9600 * nptl/sysdeps/sparc/Makefile: Moved ...
9601 * sysdeps/sparc/nptl/Makefile: ... here.
9602 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9603 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9604 * nptl/sysdeps/sparc/tls.h: Moved ...
9605 * sysdeps/sparc/nptl/tls.h: ... here.
9606 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9607 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9608 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9609 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9611 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9612 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9614 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9616 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9618 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9624 Update #include.
9625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9627 Update #include.
9628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9630 Update #include.
9631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9633 Update #include.
9634
9635 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9636
9637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9638 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9639
9640 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9641 (struct list_links): Type removed.
9642 (struct thread_node, struct timer_node): Replace struct list_links
9643 with struct list_head.
9644 (list_unlink_ip): Likewise.
9645 * sysdeps/pthread/timer_routines.c
9646 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9647 (list_append, list_insbefore): Likewise.
9648 (list_init): Function removed.
9649 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9650 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9651 * sysdeps/pthread/Makefile: ... here, new file.
9652
9653 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9654 * sysdeps/nptl/Implies: ... here.
9655 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9656 * nptl/sysdeps/pthread/list.h: Moved ...
9657 * include/list.h: ... here.
9658 * nptl/sysdeps/pthread/createthread.c: Moved ...
9659 * nptl/createthread.c: ... here.
9660 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9661 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9662 * nptl/pt-longjmp.c: ... here.
9663 * nptl/sysdeps/pthread/Makefile: Moved ...
9664 * sysdeps/nptl/Makefile: ... here.
9665 * nptl/sysdeps/pthread/Subdirs: Moved ...
9666 * sysdeps/nptl/Subdirs: ... here.
9667 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9668 * sysdeps/nptl/aio_misc.h: ... here.
9669 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9670 * sysdeps/nptl/bits/libc-lock.h: ... here.
9671 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9672 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9673 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9674 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9675 * nptl/sysdeps/pthread/configure: Moved ...
9676 * sysdeps/nptl/configure: ... here.
9677 * nptl/sysdeps/pthread/configure.ac: Moved ...
9678 * sysdeps/nptl/configure.ac: ... here.
9679 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9680 * sysdeps/nptl/gai_misc.h: ... here.
9681 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9682 * sysdeps/nptl/librt-cancellation.c: ... here.
9683 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9684 * sysdeps/nptl/malloc-machine.h: ... here.
9685 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9686 * sysdeps/nptl/pthread-functions.h: ... here.
9687 * nptl/sysdeps/pthread/pthread.h: Moved ...
9688 * sysdeps/nptl/pthread.h: ... here.
9689 * nptl/sysdeps/pthread/setxid.h: Moved ...
9690 * sysdeps/nptl/setxid.h: ... here.
9691 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9692 * sysdeps/nptl/sigfillset.c: ... here.
9693 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9694 * sysdeps/nptl/tcb-offsets.h: ... here.
9695 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9696 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9697 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9698 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9699 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9700 * sysdeps/pthread/allocalim.h: ... here.
9701 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9702 * sysdeps/pthread/bits/sigthread.h: ... here.
9703 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9704 * sysdeps/pthread/flockfile.c: ... here.
9705 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9706 * sysdeps/pthread/ftrylockfile.c: ... here.
9707 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9708 * sysdeps/pthread/funlockfile.c: ... here.
9709 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9710 * sysdeps/pthread/posix-timer.h: ... here.
9711 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9712 * sysdeps/pthread/timer_create.c: ... here.
9713 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9714 * sysdeps/pthread/timer_delete.c: ... here.
9715 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9716 * sysdeps/pthread/timer_getoverr.c: ... here.
9717 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9718 * sysdeps/pthread/timer_gettime.c: ... here.
9719 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9720 * sysdeps/pthread/timer_routines.c: ... here.
9721 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9722 * sysdeps/pthread/timer_settime.c: ... here.
9723 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9724 * sysdeps/pthread/tst-timer.c: ... here.
9725 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9726 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9727
9728 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9729 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9730
9731 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9733 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9735 Update #include target.
9736 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9737 * sysdeps/i386/i686/nptl/Makefile: ... here.
9738 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9739 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9740 Update #include target.
9741 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9742 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9743 * nptl/sysdeps/i386/Makefile: Moved ...
9744 * sysdeps/i386/nptl/Makefile: ... here.
9745 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9746 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9747 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9748 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9749 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9750 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9751 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9752 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9753 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9754 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9755 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9756 * nptl/sysdeps/i386/tls.h: Moved ...
9757 * sysdeps/i386/nptl/tls.h: ... here.
9758
9759 * sysdeps/sh/Makefile [$(subdir) = csu]
9760 (gen-as-const-headers): Add tcb-offsets.sym.
9761 * nptl/sysdeps/sh/Makefile: File removed.
9762 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9763 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9764 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9765 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9766 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9767 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9768 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9769 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9770 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9771 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9772 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9773 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9774 * nptl/sysdeps/sh/tls.h: Moved ...
9775 * sysdeps/sh/nptl/tls.h: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9777 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9779 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9781 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9785 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9787 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9789 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9793 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9795 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9797 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9801 Moved ...
9802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9804 Moved ...
9805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9810 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9811 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9812 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9813 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9818 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9820 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9821 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9822 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9824
98252014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9826
9827 * posix/spawn_faction_addopen.c: Include string.h.
9828
98292014-06-11 Roland McGrath <roland@hack.frob.com>
9830
9831 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9832 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9833 * nptl/sysdeps/x86_64/Makefile: Moved ...
9834 * sysdeps/x86_64/nptl/Makefile: ... here.
9835 * nptl/sysdeps/x86_64/configure: Moved ...
9836 * sysdeps/x86_64/nptl/configure: ... here.
9837 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9838 * sysdeps/x86_64/nptl/configure.ac: ... here.
9839 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9840 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9841 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9842 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9843 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9844 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9845 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9846 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9847 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9848 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9849 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9850 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9851 * nptl/sysdeps/x86_64/tls.h: Moved ...
9852 * sysdeps/x86_64/nptl/tls.h: ... here.
9853 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9854 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9855 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9856 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9857
9858 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9859
98602014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9861
9862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9863
98642014-06-11 Joseph Myers <joseph@codesourcery.com>
9865
9866 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9867 type.
9868 [POSIX] (off_t): Likewise.
9869 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9870 [POSIX] (S_ISBLK): Require macro.
9871 [POSIX] (S_ISCHR): Likewise.
9872 [POSIX] (S_ISDIR): Likewise.
9873 [POSIX] (S_ISFIFO): Likewise.
9874 [POSIX] (S_ISREG): Likewise.
9875 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9876 optional-macro.
9877 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9878 type.
9879 [POSIX] (time_t): Likewise.
9880 [POSIX] (timer_t): Likewise.
9881
98822014-06-11 Florian Weimer <fweimer@redhat.com>
9883
9884 [BZ #17048]
9885 * posix/spawn_int.h (struct __spawn_action): Make the path string
9886 non-const to support deallocation.
9887 * posix/spawn_faction_addopen.c
9888 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9889 * posix/spawn_faction_destroy.c
9890 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9891 path in all spawn_do_open actions.
9892 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9893 posix_spawn_file_actions_addopen.
9894
98952014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9896
9897 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9899 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9900 conditional code always true.
9901 (__libc_vfork): New alias.
9902
99032014-06-11 Roland McGrath <roland@hack.frob.com>
9904
9905 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9906 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9907
9908 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9909
9910 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9911 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9912
9913 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9915
9916 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9917 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9918
99192014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9920
9921 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9923 multiarch strcmp for PPC64.
9924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9927 multiarch optimizations.
9928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9929 (__libc_ifunc_impl_list): Likewise.
9930
99312014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9932
9933 * benchtests/scripts/validate_benchout.py: New script.
9934 * benchtests/Makefile (bench-func): Call it.
9935 * benchtests/scripts/benchout.schema.json: New file.
9936
99372014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9938
9939 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9940 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9941 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9942 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9943 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9944 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9945 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9946 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9947 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9948 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9949 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9951 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9952 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9953 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9954 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9956 Moved ...
9957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9958 ... here.
9959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9960 Moved ...
9961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9963 Moved ...
9964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9965 ... here.
9966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9967 Moved ...
9968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9969 ... here.
9970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9971 Moved ...
9972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9974 Moved ...
9975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9976 ... here.
9977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9978 Moved ...
9979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9980 ... here.
9981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9982 Moved ...
9983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9985 Moved ...
9986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9987 ... here.
9988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9989 Moved ...
9990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9991 ... here.
9992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9993 Moved ...
9994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9995 ... here.
9996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9997 Moved ...
9998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10000 Moved ...
10001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10002 ... here.
10003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10004 Moved ...
10005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10006 ... here.
10007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10008 Moved ...
10009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10010 ... here.
10011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10012 Moved ...
10013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10015 Moved ...
10016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10017 ... here.
10018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10019 Moved ...
10020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10021 ... here.
10022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10023 Moved ...
10024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10026 Moved ...
10027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10028 ... here.
10029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10030 Moved ...
10031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10033 Moved ...
10034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10036 Moved ...
10037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10038 ... here.
10039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10040 Moved ...
10041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10042 ... here.
10043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10044 Moved ...
10045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10046 ... here.
10047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10048 Moved ...
10049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10051 Moved ...
10052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10053 ... here.
10054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10055 Moved ...
10056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10057 ... here.
10058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10059 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10063 Moved ...
10064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10065 ... here.
10066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10067 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10077 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10079 Moved ...
10080 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10087 Moved ...
10088 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10091 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10092 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10093 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10094 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10095
100962014-06-10 Wilco <wdijkstr@arm.com>
10097
10098 * math/test-fenv-return.c: New file.
10099 * math/Makefile: Add new test test-fenv-return.
10100
101012014-06-10 Joseph Myers <joseph@codesourcery.com>
10102
10103 [BZ #17042]
10104 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10105 when x - 1 is zero.
10106 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10107 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10108 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10109 0.0L for an argument of 1.0L.
10110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10111 Likewise.
10112 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10113 value when x - 1 is zero.
10114 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10117
101182014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10119
10120 [BZ #15119]
10121 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10122
101232014-06-09 Roland McGrath <roland@hack.frob.com>
10124
10125 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10126 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10127
101282014-06-09 Roland McGrath <roland@hack.frob.com>
10129
10130 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10131 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10132
10133 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10134 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10135
10136 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10137 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10138
10139 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10140 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10141
10142 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10143 if not already defined.
10144 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10145 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10146 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10147 (TLS_INIT_TP): Use it.
10148 (TLS_DEFINE_INIT_TP): New macro.
10149 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10150
101512014-06-09 Joseph Myers <joseph@codesourcery.com>
10152
10153 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10154 constant.
10155 [POSIX] (IXANY): Likewise.
10156 [POSIX] (OLCUC): Likewise.
10157 [POSIX || POSIX2008] (CBAUD): Do not allow.
10158 [POSIX || POSIX2008] (DEFECHO): Likewise.
10159 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10160 [POSIX || POSIX2008] (ECHOKE): Likewise.
10161 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10162 [POSIX || POSIX2008] (EXTA): Likewise.
10163 [POSIX || POSIX2008] (EXTB): Likewise.
10164 [POSIX || POSIX2008] (FLUSHO): Likewise.
10165 [POSIX || POSIX2008] (LOBLK): Likewise.
10166 [POSIX || POSIX2008] (PENDIN): Likewise.
10167 [POSIX || POSIX2008] (SWTCH): Likewise.
10168 [POSIX || POSIX2008] (VDISCARD): Likewise.
10169 [POSIX || POSIX2008] (VDSUSP): Likewise.
10170 [POSIX || POSIX2008] (VLNEXT): Likewise.
10171 [POSIX || POSIX2008] (VREPRINT): Likewise.
10172 [POSIX || POSIX2008] (VSTATUS): Likewise.
10173 [POSIX || POSIX2008] (VWERASE): Likewise.
10174 (B*): Change to B[0123456789]*.
10175 * conform/data/time.h-data [POSIX || UNIX98]
10176 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10177 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10178 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10179 [POSIX] (tm_*): Do not allow.
10180
101812014-06-07 Joseph Myers <joseph@codesourcery.com>
10182
10183 * Makefile (install): Don't set LANGUAGE.
10184 * Makefile.in (install): Likewise.
10185 * assert/Makefile (test-assert-ENV): Remove variable.
10186 (test-assert-perr-ENV): Likewise.
10187 * elf/Makefile (neededtest4-ENV): Likewise.
10188 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10189 [$(cross-compiling) = no]: Don't set LANGUAGE.
10190 * io/ftwtest-sh (LANG): Remove variable.
10191 * libio/Makefile (tst-widetext-ENV): Likewise.
10192 * manual/install.texi (Running make install): Don't refer to
10193 environment settings for make install.
10194 * INSTALL: Regenerated.
10195 * nptl/tst-tls6.sh: Don't set LANG.
10196 * posix/globtest.sh (LANG): Remove variable.
10197 * string/Makefile (tester-ENV): Likewise.
10198 (inl-tester-ENV): Likewise.
10199 (noinl-tester-ENV): Likewise.
10200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10201 [$(cross-compiling) = no]: Don't set LANGUAGE.
10202 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10203 without explicit environment settings.
10204
102052014-06-06 Roland McGrath <roland@hack.frob.com>
10206
10207 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10208 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10209 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10210 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10211
102122014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10213
10214 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10215 other files in the crypt directory.
10216 * crypt/crypt.c: Remove duplicate includes.
10217 * crypt/crypt-entry.c: Likewise.
10218 * crypt/crypt_util.c: Likewise.
10219
102202014-06-06 Joseph Myers <joseph@codesourcery.com>
10221
10222 * Makeconfig (run-program-env): New variable.
10223 (run-program-prefix-before-env): Likewise.
10224 (run-program-prefix-after-env): Likewise.
10225 (run-program-prefix): Define in terms of new variables.
10226 (built-program-cmd-before-env): New variable.
10227 (built-program-cmd-after-env): Likewise.
10228 (built-program-cmd): Define in terms of new variables.
10229 (test-program-prefix-before-env): New variable.
10230 (test-program-prefix-after-env): Likewise.
10231 (test-program-prefix): Define in terms of new variables.
10232 (test-program-cmd-before-env): New variable.
10233 (test-program-cmd-after-env): Likewise.
10234 (test-program-cmd): Define in terms of new variables.
10235 * Rules (make-test-out): Use $(run-program-env).
10236 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10237 (help): Do not mention environment variables. Mention
10238 --timeoutfactor option.
10239 (timeoutfactor): New variable.
10240 (blacklist_exports): Remove function.
10241 (exports): Remove variable.
10242 (command): Do not include ${exports}.
10243 * manual/install.texi (Configuring and compiling): Do not mention
10244 test wrappers preserving environment variables. Mention that last
10245 assignment to a variable must take precedence.
10246 * INSTALL: Regenerated.
10247 * benchtests/Makefile (run-bench): Use $(run-program-env).
10248 * catgets/Makefile ($(objpfx)test1.cat): Use
10249 $(built-program-cmd-before-env), $(run-program-env) and
10250 $(built-program-cmd-after-env).
10251 ($(objpfx)test2.cat): Do not specify environment variables
10252 explicitly.
10253 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10254 $(run-program-env) and $(built-program-cmd-after-env).
10255 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10256 $(run-program-env) and $(test-program-cmd-after-env).
10257 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10258 explicitly.
10259 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10260 run_program_env and test_program_cmd_after_env arguments.
10261 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10262 * elf/tst-pathopt.sh: Use run_program_env argument.
10263 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10264 $(test-wrapper-env) and $(run-program-env).
10265 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10266 run_program_env arguments.
10267 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10268 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10269 $(test-program-prefix-before-env), $(run-program-env) and
10270 $(test-program-prefix-after-env).
10271 ($(objpfx)tst-gettext2.out): Likewise.
10272 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10273 run_program_env and test_program_prefix_after_env arguments.
10274 * intl/tst-gettext2.sh: Likewise.
10275 * intl/tst-gettext4.sh: Do not set environment variables
10276 explicitly.
10277 * intl/tst-gettext6.sh: Likewise.
10278 * intl/tst-translit.sh: Likewise.
10279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10280 $(test-program-prefix-before-env), $(run-program-env) and
10281 $(test-program-prefix-after-env).
10282 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10283 run_program_env and test_program_prefix_after_env arguments.
10284 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10285 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10286 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10287 explicitly with each use of ${test_wrapper_env}.
10288 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10289 $(test-program-prefix-before-env), $(run-program-env) and
10290 $(test-program-prefix-after-env).
10291 * posix/tst-getconf.sh: Do not set environment variables
10292 explicitly.
10293 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10294 run_program_env and test_program_prefix_after_env arguments.
10295 * stdio-common/tst-printf.sh: Do not set environment variables
10296 explicitly.
10297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10298 $(test-program-prefix-before-env), $(run-program-env) and
10299 $(test-program-prefix-after-env).
10300 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10301 run_program_env and test_program_prefix_after_env arguments.
10302 Split $test calls into $test_pre and $test.
10303 * timezone/Makefile (build-testdata): Use
10304 $(built-program-cmd-before-env), $(run-program-env) and
10305 $(built-program-cmd-after-env).
10306
103072014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10308
10309 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10310 strlen for non SHARED builds.
10311
103122014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10313
10314 * nptl/allocatestack.c (check_list): Inlined function...
10315 (__reclaim_stacks): ... here.
10316
103172014-06-05 Ondřej Bílka <neleai@seznam.cz>
10318
10319 [BZ #15698]
10320 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10321 memory overrun.
10322
103232014-06-05 Joseph Myers <joseph@codesourcery.com>
10324
10325 * Rules (make-test-out): Include
10326 LOCPATH=$(common-objpfx)localedata in default environment.
10327 * debug/Makefile (tst-chk1-ENV): Remove variable.
10328 (tst-chk2-ENV): Likewise.
10329 (tst-chk3-ENV): Likewise.
10330 (tst-chk4-ENV): Likewise.
10331 (tst-chk5-ENV): Likewise.
10332 (tst-chk6-ENV): Likewise.
10333 (tst-lfschk1-ENV): Likewise.
10334 (tst-lfschk2-ENV): Likewise.
10335 (tst-lfschk3-ENV): Likewise.
10336 (tst-lfschk4-ENV): Likewise.
10337 (tst-lfschk5-ENV): Likewise.
10338 (tst-lfschk6-ENV): Likewise.
10339 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10340 (tst-iconv7-ENV): Likewise.
10341 * intl/Makefile (LOCPATH-ENV): Likewise.
10342 (tst-codeset-ENV): Likewise.
10343 (tst-gettext3-ENV): Likewise.
10344 (tst-gettext5-ENV): Likewise.
10345 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10346 (tst-fopenloc-ENV): Likewise.
10347 (tst-fgetws-ENV): Remove variable.
10348 (tst-ungetwc1-ENV): Likewise.
10349 (tst-ungetwc2-ENV): Likewise.
10350 (bug-ungetwc2-ENV): Likewise.
10351 (tst-swscanf-ENV): Likewise.
10352 (bug-ftell-ENV): Likewise.
10353 (tst-fgetwc-ENV): Likewise.
10354 (tst-fseek-ENV): Likewise.
10355 (tst-ftell-partial-wide-ENV): Likewise.
10356 (tst-ftell-active-handler-ENV): Likewise.
10357 (tst-ftell-append-ENV): Likewise.
10358 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10359 (tst-regexloc-ENV): Likewise.
10360 (bug-regex1-ENV): Likewise.
10361 (tst-regex-ENV): Likewise.
10362 (tst-regex2-ENV): Likewise.
10363 (bug-regex5-ENV): Likewise.
10364 (bug-regex6-ENV): Likewise.
10365 (bug-regex17-ENV): Likewise.
10366 (bug-regex18-ENV): Likewise.
10367 (bug-regex19-ENV): Likewise.
10368 (bug-regex20-ENV): Likewise.
10369 (bug-regex22-ENV): Likewise.
10370 (bug-regex23-ENV): Likewise.
10371 (bug-regex25-ENV): Likewise.
10372 (bug-regex26-ENV): Likewise.
10373 (bug-regex30-ENV): Likewise.
10374 (bug-regex32-ENV): Likewise.
10375 (bug-regex33-ENV): Likewise.
10376 (bug-regex34-ENV): Likewise.
10377 (bug-regex35-ENV): Likewise.
10378 (tst-rxspencer-ENV): Likewise.
10379 (tst-rxspencer-no-utf8-ENV): Likewise.
10380 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10381 (tst-sscanf-ENV): Likewise.
10382 (tst-swprintf-ENV): Likewise.
10383 (tst-swscanf-ENV): Likewise.
10384 (test-vfprintf-ENV): Likewise.
10385 (scanf13-ENV): Likewise.
10386 (bug14-ENV): Likewise.
10387 (tst-grouping-ENV): Likewise.
10388 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10389 (tst-strtod3-ENV): Likewise.
10390 (tst-strtod4-ENV): Likewise.
10391 (tst-strtod5-ENV): Likewise.
10392 (testmb2-ENV): Likewise./
10393 * string/Makefile (tst-strxfrm-ENV): Likewise.
10394 (tst-strxfrm2-ENV): Likewise.
10395 (bug-strcoll1-ENV): Likewise.
10396 (test-strcasecmp-ENV): Likewise.
10397 (test-strncasecmp-ENV): Likewise.
10398 * time/Makefile (tst-strptime-ENV): Likewise.
10399 (tst-ftime_l-ENV): Likewise.
10400 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10401 (tst-mbrtowc-ENV): Likewise.
10402 (tst-wcrtomb-ENV): Likewise.
10403 (tst-mbrtowc2-ENV): Likewise.
10404 (tst-c16c32-1-ENV): Likewise.
10405 (tst-mbsnrtowcs-ENV): Likewise.
10406
104072014-06-05 Ondřej Bílka <neleai@seznam.cz>
10408
10409 * manual/resource.texi (How to get information about the memory
10410 subsystem?): Fix typo.
10411 Reported by Peon de la Parra Ivan <peon@keba.com>
10412
104132014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10414
10415 [BZ #16882]
10416 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10417 (pthread_spin_lock): Branch out of spin loop to proper location.
10418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10419 (pthread_spin_lock): Likewise.
10420
10421 * nptl/tst-spin4.c: New test.
10422 * nptl/Makefile (tests): Add tst-spin4.
10423
104242014-06-03 Andreas Schwab <schwab@suse.de>
10425
10426 [BZ #15946]
10427 * resolv/res_send.c (send_dg): Reload file descriptor after
10428 calling reopen.
10429
104302014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10431
10432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10433
104342014-06-03 Richard Henderson <rth@redhat.com>
10435
10436 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10437 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10438 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10439 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10440 in the SAVE_PID block.
10441 (__libc_vfork): New alias.
10442 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10443
10444 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10445 child in registers, not on the stack. Remove RESET_PID conditionals.
10446 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10447
104482014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10449
10450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10451
104522014-06-03 Wilco <wdijkstr@arm.com>
10453
10454 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10455 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10457 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10458 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10459 Likewise.
10460
104612014-06-03 Wilco <wdijkstr@arm.com>
10462
10463 * sysdeps/aarch64/fpu/math_private.h
10464 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10465 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10466 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10468 Fix declarations.
10469
104702014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10471
10472 * crypt/crypt-private.h: Include ufc-crypt.h.
10473 (__b64_from_24bit): Declare extern.
10474 * crypt/crypt_util.c(__b64_from_24bit): New function.
10475 (b64t): New static const variable.
10476 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10477 (b64t): Remove variable.
10478 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10479 * crypt/sha256-crypt.c: Include crypt-private.h.
10480 (b64t): Remove variable.
10481 (__sha256_crypt_r): Remove b64_from_24bit and replace
10482 with __b64_from_24bit.
10483 * crypt/sha512-crypt.c: Likewise.
10484
104852014-06-02 Roland McGrath <roland@hack.frob.com>
10486
10487 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10488 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10489 Label the code __libc_vfork rather than __vfork.
10490 [!NOT_IN_libc] (vfork): Define as weak alias.
10491 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10492 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10493 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10494
104952014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10496
10497 * malloc/malloc.c (malloc_info): Fix format specifier for
10498 n_mmaps.
10499
105002014-06-02 Wilco <wdijkstr@arm.com>
10501
10502 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10503 FPCR write.
10504
105052014-06-02 Wilco <wdijkstr@arm.com>
10506
10507 [BZ #17009]
10508 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10509 Rewrite to reduce FPCR/FPSR accesses.
10510
105112014-06-01 David S. Miller <davem@davemloft.net>
10512
10513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10514
105152014-05-31 David S. Miller <davem@davemloft.net>
10516
10517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10518 to occur in round to nearest mode when |x| >= 2.0
10519
105202014-05-30 Richard Henderson <rth@twiddle.net>
10521
10522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10523 (PSEUDO_RET_NOERRNO): Remove.
10524 (ret): Don't redefine.
10525 (ret_NOERRNO): Define in terms of ret.
10526 (ret_ERRVAL): Likewise.
10527
10528 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10529 use of PSEUDO_RET; perform the error check directly.
10530
105312014-05-30 Marko Myllynen <myllynen@redhat.com>
10532
10533 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10534 with __int128_t.
10535
105362014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10537
10538 * malloc/malloc (malloc_info): Fix formatting.
10539
105402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10541 Roland McGrath <roland@hack.frob.com>
10542
10543 * malloc/malloc (malloc_info): Also print mmapped statistics.
10544
105452014-05-30 Roland McGrath <roland@hack.frob.com>
10546
10547 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10548 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10549
105502014-05-30 Ondřej Bílka <neleai@seznam.cz>
10551
10552 * malloc/malloc.c (malloc_info): Inline mi_arena.
10553
105542014-05-29 Richard Henderson <rth@twiddle.net>
10555
10556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10557 Remove comma before expanding ASM_ARGS_##nr.
10558 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10559 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10560 of ASM_ARGS_##nr.
10561 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10562 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10563 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10564 (ASM_ARGS_1): Add leading comma.
10565
10566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10567 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10568 to __errno_location.
10569 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10570 Remove the expected plt for __errno_location.
10571
10572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10573 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10574 call to __read_tp.
10575
10576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10577 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10578 it and break it down.
10579 (DOCARGS_0, DOCARGS_1): Do nothing.
10580 (DOCARGS_2): Update to store into the new stack frame.
10581 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10582 (UNDOCARGS_1): Update to restore from the new stack frame.
10583 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10584 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10585
10586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10587 (SINGLE_THREAD_P): New parameter for result regno.
10588 (PSEUDO): Update to match; use cbz instead of beq.
10589
10590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10591 Use ENTRY to define the _nocancel entry point. Share the syscall
10592 and syscall error check paths with the cancel path.
10593 (PSEUDO_END): New.
10594
10595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10596 whitespace; tabs before and after asm mnemonics.
10597
105982014-05-29 Eric Wong <normalperson@yhbt.net>
10599
10600 [BZ #15132]
10601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10602 Call fstat64 or stat64 internally, depending on arguments passed.
10603 Replace stat buffer argument with file descriptor argument.
10604 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10606 Pass fd to __internal_statvfs instead of calling fstat64.
10607 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10608 Pass fd to __internal_statvfs64 instead of calling fstat64.
10609 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10610 Pass -1 to __internal_statvfs instead of calling stat64.
10611 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10612 Pass -1 to __internal_statvfs64 instead of calling stat64.
10613
106142014-05-28 Roland McGrath <roland@hack.frob.com>
10615
10616 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10617 that was previously under [RESET_PID].
10618 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10619
10620 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10621 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10622
106232014-05-27 Roland McGrath <roland@hack.frob.com>
10624
10625 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10626
10627 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10628 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10629
106302014-05-27 Ondřej Bílka <neleai@seznam.cz>
10631
10632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10633
106342014-05-27 Andreas Schwab <schwab@suse.de>
10635
10636 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10637 TLS_INIT_TP macro.
10638 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10639 * elf/rtld.c (init_tls, dl_main): Likewise.
10640 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10641 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10642 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10643 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10644 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10645 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10646 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10647 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10648 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10649 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10650 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10651 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10652 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10653 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10654 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10655 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10656 * sysdeps/generic/tls.h: Update description.
10657
106582014-05-27 Will Newton <will.newton@linaro.org>
10659
10660 [BZ #16990]
10661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10662 and restore r2 rather than just restoring.
10663
106642014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10665
10666 [BZ #16724]
10667 * libio/tst-ftell-append.c: New test case.
10668 * libio/Makefile (tests): Add test case.
10669 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10670 append mode.
10671 * libio/wfileops.c (do_ftell_wide): Likewise.
10672
106732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10674
10675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10676
10677 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10678 ...
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10681 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10682 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10684 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10685 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10688 Moved ...
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10691 Moved ...
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10693 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10694 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10696 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10698 ...
10699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10701 Moved ...
10702 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10703 here.
10704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10705 ...
10706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10707 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10709
10710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10713 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10714
10715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10716 merge into ...
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10719 ...
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10722 ...
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10725 Moved ...
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10727 here.
10728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10729 Moved ...
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10732 Moved ...
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10734
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10736 conditional [RESET_PID].
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10739 removed.
10740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10741 removed.
10742
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10744 <tcb-offsets.h>.
10745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10746 (__libc_vfork): New strong alias.
10747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10748 removed.
10749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10750 Removed.
10751
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10753 <tcb-offsets.h>.
10754 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10755 (__libc_vfork): New strong alias.
10756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10757 removed.
10758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10759 removed.
10760
107612014-05-26 Carlos O'Donell <carlos@redhat.com>
10762
10763 * malloc/malloc.c (mi_arena): New function.
10764 (malloc_info): Remove nested function mi_arena. Call non-nosted
10765 function mi_arena.
10766
107672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10768
10769 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10770 by insrwi.
10771 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10772 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10773 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10776 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10778
107792014-05-26 Andreas Schwab <schwab@suse.de>
10780
10781 [BZ #16984]
10782 * locale/programs/repertoire.c (repertoire_read): Add slash
10783 between I18NPATH element and file name.
10784 * locale/programs/locfile.c (locfile_read): Likewise.
10785
107862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10787
10788 * nptl/pthread_mutexattr_settype.c
10789 (__pthread_mutexattr_settype):
10790 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10791
107922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10793
10794 * nptl/tst-mutex5 (do_test):
10795 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10796
107972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 * benchtests/README: Document 'init' directive.
10800 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10801 BENCH_INIT.
10802 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10803 (parse_file): Recognize 'init' directive.
10804
108052014-05-26 Kyle McMartin <kyle@redhat.com>
10806
10807 [BZ #16796]
10808 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10809 alignment of struct pthread.
10810
108112014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
10813 [BZ #16878]
10814 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10816 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10817 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10818
108192014-05-25 Richard Henderson <rth@twiddle.net>
10820
10821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10822 (SINGLE_THREAD_P_PIC): Remove.
10823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10824 (SINGLE_THREAD_P_PIC): Remove.
10825
10826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10827 branch to syscall error ...
10828 (PSEUDO): ... here.
10829 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10830 from __local_syscall_error to .Lsyscall_error.
10831 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10832 (SYSCALL_ERROR): Update label name.
10833
10834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10835 Do not use DOARGS/UNDOARGS.
10836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10837 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10838 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10839 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10840 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10841
10842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10843 block comment.
10844
10845 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10846 define if !NOT_IN_libc.
10847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10848 define with non-default symbol versions.
10849
108502014-05-23 Richard Henderson <rth@twiddle.net>
10851
10852 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10853 (vfork, __vfork): Define via compat_symbol.
10854
10855 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10856 [!HAVE_IFUNC] (vfork_compat): Remove.
10857 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10858
108592014-05-23 Joseph Myers <joseph@codesourcery.com>
10860
10861 [BZ #16978]
10862 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10863 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10864 variable.
10865
108662014-05-23 Richard Henderson <rth@twiddle.net>
10867
10868 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10869 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10870 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10871 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10872
10873 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10874 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10876 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10878 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10880 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10881 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10882 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10883 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10884 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10885 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10886 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10887 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10888 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10889 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10891 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10893 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10894 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10895 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10897 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10899 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10900 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10901 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10903 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10904 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10905 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10906 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10907 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10908 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10909 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10910 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10911 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10912 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10913 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10914 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10915 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10916 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10917 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10920 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10922 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10924 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10926 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10928 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10929
10930 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10931 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10932 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10933 before exiting on error.
10934 (__libc_vfork): New strong alias.
10935 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10937
10938 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10939 that was previously under [RESET_PID].
10940 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10941
10942 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10943
109442014-05-23 Joseph Myers <joseph@codesourcery.com>
10945
10946 [BZ #16977]
10947 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10948 value when x - 1 is zero.
10949 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10950 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10951 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10952 0.0L for an argument of 1.0L.
10953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10954 Likewise.
10955 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10956 value when x - 1 is zero.
10957 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10958 * sysdeps/i386/fpu/libm-test-ulps: Update.
10959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10960
109612014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10962
10963 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10964 alphasort and versionsort.
10965
109662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10967
10968 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10969 macro.
10970 [copysignf]: Likewise.
10971
109722014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10973
10974 * crypt/md5-crypt.c: Fix formatting.
10975
109762014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10977
10978 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10979 (b64_from_24bit): New function.
10980
109812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10982
10983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10984 libc_hidden_builtin_def to ifunc.
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10986 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10987
109882014-05-21 Roland McGrath <roland@hack.frob.com>
10989
10990 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10991 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10992
109932014-05-21 Joseph Myers <joseph@codesourcery.com>
10994
10995 * nscd/Depend (linuxthreads): Remove.
10996 (nptl): Add.
10997 * resolv/Depend (linuxthreads): Remove.
10998 * rt/Depend (linuxthreads): Remove.
10999
11000 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11001 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11002 $(common-objpfx)elf/.
11003 (link-libc-before-gnulib): Likewise.
11004 (elfobjdir): Remove variable.
11005 * Makefile (install): Use $(elf-objpfx) instead of
11006 $(common-objpfx)elf/.
11007 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11008 $(elfobjdir)/.
11009 (link-libc-deps): Likewise.
11010 ($(common-objpfx)libc.so): Likewise.
11011 ($(common-objpfx)linkobj/libc.so): Likewise.
11012 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11013 instead of $(common-objpfx)elf/.
11014 (symbolic-link-list): Likewise.
11015 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11016 [$(cross-compiling) = no]: Likewise.
11017 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11018 $(elfobjdir)/.
11019 (static-gnulib-arch): Likewise.
11020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11021 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11022 $(common-objpfx)elf/.
11023
110242014-05-21 Richard Henderson <rth@redhat.com>
11025
11026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11027 (SINGLE_THREAD_P): Use the correct width load. Fold
11028 into the ldr offset.
11029
11030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11031 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11032
110332014-05-20 Joseph Myers <joseph@codesourcery.com>
11034
11035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11036 (libgcc_s_resume): Use __attribute_used__.
11037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11038 Likewise.
11039
110402014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11041
11042 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11043 optimization when used with float constants.
11044
11045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11046
110472014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11048
11049 [BZ #16915]
11050 * locale/nl_langinfo_l.c: Make direct reference to every
11051 _nl_current_CATEGORY symbol.
11052 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11053 (tests-static): Add tst-langinfo-static.
11054 (tests-special): Add tst-langinfo-static.out.
11055 ($(objpfx)tst-langinfo.out): Redirect output.
11056 ($(objpfx)tst-langinfo-static.out): New.
11057 * localedata/tst-langinfo.sh: Send output to stdout.
11058 * localedata/tst-langinfo-static.c: New file.
11059
11060 [BZ #16965]
11061 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11062 when the shift amount is modulo the limb size.
11063
110642014-05-20 Richard Henderson <rth@redhat.com>
11065
11066 [BZ #16967]
11067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11068 Change type of sa_flags from unsigned int to int.
11069
11070 [BZ #16966]
11071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11072
11073 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11074
110752014-05-20 Will Newton <will.newton@linaro.org>
11076
11077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11078 Test the return value of the system call in the nocancel case.
11079
110802014-05-20 Will Newton <will.newton@linaro.org>
11081 Yvan Roux <yvan.roux@linaro.org>
11082
11083 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11084 #include of asm/ptrace.h.
11085 (PTRACE_GET_THREAD_AREA): Remove #undef.
11086 (PTRACE_GETHBPREGS): Likewise.
11087 (PTRACE_SETHBPREGS): Likewise.
11088 (struct user_regs_struct): New structure.
11089 (struct user_fpsimd_struct): New structure.
11090 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11091 #include of asm/ptrace.h and second #include of sys/user.h.
11092 (PTRACE_GET_THREAD_AREA): Remove #undef.
11093 (PTRACE_GETHBPREGS): Likewise.
11094 (PTRACE_SETHBPREGS): Likewise.
11095 (ELF_NGREG): Use new struct user_regs_struct.
11096 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11097
110982014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11099
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11102
111032014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11104
11105 [BZ #16958]
11106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11107 membar to avoid block loads/stores to overlap previous stores.
11108
111092014-05-17 Richard Henderson <rth@redhat.com>
11110
11111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11112 Create the __##syscall_name##_nocancel entry point.
11113 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11114 Remove; let the sysdep-cancel.h code create it.
11115
111162014-05-17 David S. Miller <davem@davemloft.net>
11117
11118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11119 Protect with __USE_GNU.
11120 (TIOCSET_TEMPT): Likewise.
11121 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11123 these are already provided in bits/ioctl-types.h
11124
111252014-05-16 Roland McGrath <roland@hack.frob.com>
11126
11127 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11128 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11129
11130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11131 Use wait4 regardless of [__NR_waitpid].
11132
111332014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11134
11135 PR libgcc/60166
11136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11137 (_FP_NANSIGN_Q): Set the quiet bit.
11138
111392014-05-16 Joseph Myers <joseph@codesourcery.com>
11140
11141 * benchtests/Makefile
11142 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11143 not $(common-objpfx)math/libm.so.
11144 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11145 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11146 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11147 $(common-objpfx)dlfcn/libdl.so.
11148 ($(objpfx)tst-audit8): Depend on $(libm), not
11149 $(common-objpfx)math/libm.so.
11150 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11151 not $(common-objpfx)dlfcn/libdl.so.
11152 * math/Makefile
11153 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11154 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11155 [$(build-shared) = yes].
11156 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11157 $(common-objpfx)nptl/libpthread.so.
11158 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11159 $(common-objpfx)math/libm.so$(libm.so-version) or
11160 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11161 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11162 $(common-objpfx)dlfcn/libdl.so.
11163 * setjmp/Makefile (link-libm): Remove variable.
11164 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11165 * stdio-common/Makefile (link-libm): Remove variable.
11166 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11167 * stdlib/Makefile (link-libm): Remove variable.
11168 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11169 ($(objpfx)tst-strtod-round): Likewise.
11170 ($(objpfx)tst-tininess): Likewise.
11171 ($(objpfx)tst-strtod-underflow): Likewise.
11172 ($(objpfx)tst-strtod6): Likewise.
11173 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11174 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11175 $(common-objpfx)dlfcn/libdl.so.
11176
111772014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11178
11179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11180 BSD terminal modes definitions.
11181
111822014-05-16 Roland McGrath <roland@hack.frob.com>
11183
11184 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11185 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11186
11187 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11188 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11189 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11190 Don't do #include_next.
11191 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11193 Don't do #include_next.
11194 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11195 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11196 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11197 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11198
111992014-05-16 Allan McRae <allan@archlinux.org>
11200
11201 * po/sv.po: Update Swedish translation from translation project.
11202
11203 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11204 in sed expression.
11205
112062014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11207
11208 [BZ #16917]
11209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11210 errno if the TIOCGPTN ioctl fails with an error different than
11211 EINVAL.
11212 * login/tst-ptsname.c: New file.
11213 * login/Makefile (tests): Add tst-ptsname.
11214
11215 [BZ #16943]
11216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11217 and prlimit64.
11218
112192014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11220
11221 [BZ #16849]
11222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11223 herrno to return EAI_AGAIN.
11224
112252014-05-14 Roland McGrath <roland@hack.frob.com>
11226
11227 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11228 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11252 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11254 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11256 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11258 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11262 Moved ...
11263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11265 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11269 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11275 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11277 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11279 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11281 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11283 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11285 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11287 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11289 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11291 Moved ...
11292 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11294 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11298 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11300 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11304 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11306 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11308 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11310 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11312 Moved ...
11313 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11315 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11316
11317 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11318 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11319 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11321 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11323 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11325 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11327 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11329 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11331 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11333 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11335 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11337 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11339 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11348
11349 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11350 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11351
11352 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11353 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11354 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11356 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11358 Moved ...
11359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11361 Moved ...
11362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11364 Moved ...
11365 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11367 Moved ...
11368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11370 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11372 Moved ...
11373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11374 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11375 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11378 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11379 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11381 Moved ...
11382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11384 Moved ...
11385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11386 ... here.
11387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11390 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11392 Moved ...
11393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11394 ... here.
11395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11396 Moved ...
11397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11399 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11403 Moved ...
11404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11406 Moved ...
11407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11409 Moved ...
11410 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11412 Moved ...
11413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11417 Moved ...
11418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11420 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11424 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11426 Moved ...
11427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11429 Moved ...
11430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11431 ... here.
11432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11433 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11435 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11437 Moved ...
11438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11439 ... here.
11440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11441 Moved ...
11442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11444 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11445 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11446 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11447 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11450 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11452 Moved ...
11453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11455 Moved ...
11456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11458 Moved ...
11459 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11461 Moved ...
11462 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11464 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11466 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11468 Moved ...
11469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11470 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11471 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11475 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11477 Moved ...
11478 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11480 Moved ...
11481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11482 ... here.
11483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11484 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11486 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11488 Moved ...
11489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11490 ... here.
11491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11492 Moved ...
11493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11495 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11496 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11498 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11499 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11502 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11503 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11504
11505 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11506 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11507
11508 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11510
11511 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11512 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11515 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11516 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11517 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11518 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11519 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11525 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11527 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11529 Moved ...
11530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11534 Moved ...
11535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11537 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11539 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11543 Moved ...
11544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11546 Moved ...
11547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11553 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11555 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11557 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11559 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11562 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11564
11565 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11566 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11567 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11568 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11569 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11570
11571 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11572 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11573 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11574 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11575 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11576 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11577 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11578 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11579 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11580 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11581
11582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11584
11585 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11586 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11587 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11588 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11590 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11592 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11594 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11596 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11598 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11600 Update #include.
11601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11602 Likewise.
11603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11604 Likewise.
11605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11606 Likewise.
11607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11608 Likewise.
11609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11610 Likewise.
11611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11612 Likewise.
11613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11614 Likewise.
11615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11616 Likewise.
11617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11618 Likewise.
11619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11634
11635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11636 that was previously under [RESET_PID].
11637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11638 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11639 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11640
11641 * sysdeps/i386/nptl/Implies: New file.
11642 * sysdeps/x86_64/nptl/Implies: New file.
11643 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11644 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11645 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11646 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11647
11648 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11649 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11650 (__libc_vfork): New strong alias.
11651 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11652 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11653
11654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11656 (__libc_vfork): New strong alias.
11657 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11658 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11659
11660 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11662 (__libc_vfork): New strong alias.
11663 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11664 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11665 * nptl/pt-vfork.c: New file.
11666 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11667 (libpthread: GLIBC_2.20): New version set (empty).
11668
116692014-05-14 Will Newton <will.newton@linaro.org>
11670
11671 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11672 rather than #if.
11673
116742014-05-14 Joseph Myers <joseph@codesourcery.com>
11675
11676 [BZ #16564]
11677 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11678 arguments with exponent 65 or above.
11679 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11680 arguments 0x1p113L or above.
11681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11682 to arguments 0x1p107L or above.
11683 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11684 positive arguments with exponent 65 or above.
11685 * math/auto-libm-test-in: Add more tests of log1p.
11686 * math/auto-libm-test-out: Regenerated.
11687
11688 [BZ #16928]
11689 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11690 non-finite arguments is +0.
11691 * math/s_cacosf.c (__cacosf): Likewise.
11692 * math/s_cacosl.c (__cacosl): Likewise.
11693 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11694 * sysdeps/i386/fpu/libm-test-ulps: Update.
11695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11696
11697 [BZ #16927]
11698 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11699 value.
11700 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11701 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11702 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11703 for explicit high bit of mantissa when testing for argument equal
11704 to 1.
11705 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11706 * sysdeps/i386/fpu/libm-test-ulps: Update.
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708
11709 [BZ #16516]
11710 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11711 (__erf): Scale by 16 instead of 8 in potentially underflowing
11712 case. Ensure exception if result actually underflows.
11713 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11714 (__erff): Scale by 16 instead of 8 in potentially underflowing
11715 case. Ensure exception if result actually underflows.
11716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11717 (efx8): Remove variable.
11718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11719 case. Ensure exception if result actually underflows.
11720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11721 (efx8): Remove variable.
11722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11723 case. Ensure exception if result actually underflows.
11724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11725 (efx8): Remove variable.
11726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11727 case. Ensure exception if result actually underflows.
11728 * math/auto-libm-test-in: Add more tests of erf.
11729 * math/auto-libm-test-out: Regenerated.
11730
117312014-05-14 Andreas Schwab <schwab@suse.de>
11732
11733 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11734 Remove code conditionalized on USE___THREAD.
11735
11736 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11737 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11738 not definedness.
11739
117402014-05-14 Joseph Myers <joseph@codesourcery.com>
11741
11742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11743 Define unconditionally.
11744 (__ASSUME_O_CLOEXEC): Likewise.
11745 (__ASSUME_SOCK_CLOEXEC): Likewise.
11746 (__ASSUME_IN_NONBLOCK): Likewise.
11747 (__ASSUME_PIPE2): Likewise.
11748 (__ASSUME_EVENTFD2): Likewise.
11749 (__ASSUME_SIGNALFD4): Likewise.
11750 (__ASSUME_DUP3): Likewise.
11751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11752 (__ASSUME_DUP3): Do not define.
11753 (__ASSUME_EVENTFD2): Likewise.
11754 (__ASSUME_IN_NONBLOCK): Likewise.
11755 (__ASSUME_O_CLOEXEC): Likewise.
11756 (__ASSUME_PIPE2): Likewise.
11757 (__ASSUME_SIGNALFD4): Likewise.
11758 (__ASSUME_SOCK_CLOEXEC): Likewise.
11759 (__ASSUME_UTIMES): Undefine.
11760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11761 (__ASSUME_UTIMES): Do not define.
11762 (__ASSUME_O_CLOEXEC): Likewise.
11763 (__ASSUME_SOCK_CLOEXEC): Likewise.
11764 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11765 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11766 0x020621].
11767 (__ASSUME_PIPE2): Likewise.
11768 (__ASSUME_EVENTFD2): Likewise.
11769 (__ASSUME_SIGNALFD4): Likewise.
11770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11771 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11772 Do not define.
11773 (__ASSUME_EVENTFD2): Likewise.
11774 (__ASSUME_SIGNALFD4): Likewise.
11775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11776 (__ASSUME_32BITUIDS): Likewise.
11777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11778 (__ASSUME_IPC64): Likewise.
11779 (__ASSUME_ST_INO_64_BIT): Likewise.
11780 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11781 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11783 (__ASSUME_UTIMES): Do not define.
11784 (__ASSUME_PSELECT): Likewise.
11785 (__ASSUME_PPOLL): Likewise.
11786 (__ASSUME_O_CLOEXEC): Likewise.
11787 (__ASSUME_SOCK_CLOEXEC): Likewise.
11788 (__ASSUME_IN_NONBLOCK): Likewise.
11789 (__ASSUME_PIPE2): Likewise.
11790 (__ASSUME_EVENTFD2): Likewise.
11791 (__ASSUME_SIGNALFD4): Likewise.
11792 (__ASSUME_DUP3): Likewise.
11793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11794 (__ASSUME_UTIMES): Likewise.
11795 (__ASSUME_O_CLOEXEC): Likewise.
11796 (__ASSUME_SOCK_CLOEXEC): Likewise.
11797 (__ASSUME_IN_NONBLOCK): Likewise.
11798 (__ASSUME_PIPE2): Likewise.
11799 (__ASSUME_EVENTFD2): Likewise.
11800 (__ASSUME_SIGNALFD4): Likewise.
11801 (__ASSUME_DUP3): Likewise.
11802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11803 (__ASSUME_UTIMES): Likewise.
11804 (__ASSUME_O_CLOEXEC): Likewise.
11805 (__ASSUME_SOCK_CLOEXEC): Likewise.
11806 (__ASSUME_IN_NONBLOCK): Likewise.
11807 (__ASSUME_PIPE2): Likewise.
11808 (__ASSUME_EVENTFD2): Likewise.
11809 (__ASSUME_SIGNALFD4): Likewise.
11810 (__ASSUME_DUP3): Likewise.
11811 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11812 Likewise.
11813 (__ASSUME_UTIMES): Likewise.
11814 (__ASSUME_EVENTFD2): Likewise.
11815 (__ASSUME_SIGNALFD4): Likewise.
11816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11817 (__ASSUME_O_CLOEXEC): Likewise.
11818 (__ASSUME_SOCK_CLOEXEC): Likewise.
11819 (__ASSUME_IN_NONBLOCK): Likewise.
11820 (__ASSUME_PIPE2): Likewise.
11821 (__ASSUME_EVENTFD2): Likewise.
11822 (__ASSUME_SIGNALFD4): Likewise.
11823 (__ASSUME_DUP3): Likewise.
11824 (__ASSUME_UTIMES): Undefine.
11825
11826 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11827 feclearexcept. Remove symbol versioning code.
11828 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11829 symbol versioning code.
11830 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11831 symbol versioning code.
11832 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11833 feupdateenv. Remove symbol versioning code.
11834 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11835 fegetexceptflag. Remove symbol versioning code.
11836 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11837 fesetexceptflag. Remove symbol versioning code.
11838 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11839 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11840 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11841 (__posix_fadvise64_l32): Remove prototype.
11842 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11843 code.
11844
118452014-05-13 Roland McGrath <roland@hack.frob.com>
11846
11847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11848 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11849 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11850 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11851
118522014-05-13 Sami Kerola <kerolasa@iki.fi>
11853
11854 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11855 current working directory
11856
118572014-05-13 Roland McGrath <roland@hack.frob.com>
11858
11859 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11860 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11861 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11862 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11863 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11864 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11865 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11866 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11868 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11869 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11872 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11874 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11875 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11876 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11878 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11879 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11881 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11883 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11884 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11885 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11892 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11894 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11895 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11899 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11901
11902 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11903 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11904
11905 * sysdeps/unix/sysv/linux/arm/Makefile
11906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11907 Add rt-aeabi_unwind_cpp_pr1.
11908 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11909 Add nptl-aeabi_unwind_cpp_pr1.
11910 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11911 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11912 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11913 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11914 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11915 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11916
11917 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11918 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11919 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11920 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11921
11922 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11923 Deconditionalize the code that was previously under [RESET_PID].
11924 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11925
11926 * sysdeps/generic/exit-thread.h: New file.
11927 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11928 * include/unistd.h (__exit_thread): Remove declaration.
11929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11930 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11931 * csu/libc-start.c: Include <exit-thread.h>.
11932 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11933 * nptl/pthread_create.c: Include <exit-thread.h>.
11934 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11935 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11936 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11937 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11938 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11941 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11942 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11943 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11944 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11945 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11946 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11947 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11948 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11949 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11950 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11951
119522014-05-13 Andreas Schwab <schwab@suse.de>
11953
11954 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11955
119562014-05-12 Joseph Myers <joseph@codesourcery.com>
11957
11958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11959 (__ASSUME_UTIMES): Do not condition on kernel version.
11960 (__ASSUME_PSELECT): Define unconditionally.
11961 (__ASSUME_PPOLL): Likewise.
11962 (__ASSUME_ATFCTS): Likewise.
11963 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11964 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11965 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11966 (__ASSUME_UTIMENSAT): Define unconditionally.
11967 (__ASSUME_PRIVATE_FUTEX): Likewise.
11968 (__ASSUME_FALLOCATE): Likewise.
11969 (__ASSUME_O_CLOEXEC): Likewise.
11970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11971 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11972 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11973 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11974 (__ASSUME_IN_NONBLOCK): Likewise.
11975 (__ASSUME_PIPE2): Likewise.
11976 (__ASSUME_EVENTFD2): Likewise.
11977 (__ASSUME_SIGNALFD4): Likewise.
11978 (__ASSUME_DUP3): Likewise.
11979 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11980 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11981 (__ASSUME_AT_RANDOM): Likewise.
11982 (__ASSUME_PREADV): Likewise.
11983 (__ASSUME_PWRITEV): Likewise.
11984 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11985 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11986 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11988 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11990 (__ASSUME_O_CLOEXEC): Define unconditionally.
11991 (__ASSUME_PSELECT): Do not undefine conditionally.
11992 (__ASSUME_PPOLL): Likewise.
11993 (__ASSUME_ATFCTS): Likewise.
11994 (__ASSUME_SET_ROBUST_LIST): Likewise.
11995 (__ASSUME_UTIMENSAT): Likewise.
11996 (__ASSUME_FDATASYNC): Define unconditionally.
11997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11998 (__ASSUME_SIGFRAME_V2): Likewise.
11999 )__ASSUME_EVENTFD2): Likewise.
12000 (__ASSUME_SIGNALFD4): Likewise.
12001 (__ASSUME_PSELECT): Do not undefine conditionally.
12002 (__ASSUME_PPOLL): Likewise.
12003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12004 (__ASSUME_PSELECT): Define unconditionally.
12005 (__ASSUME_PPOLL): Likewise.
12006 (__ASSUME_O_CLOEXEC): Likewise.
12007 (__ASSUME_SOCK_CLOEXEC): Likewise.
12008 (__ASSUME_IN_NONBLOCK): Likewise.
12009 (__ASSUME_PIPE2): Likewise.
12010 (__ASSUME_EVENTFD2): Likewise.
12011 (__ASSUME_SIGNALFD4): Likewise.
12012 (__ASSUME_DUP3): Likewise.
12013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12014 (__ASSUME_O_CLOEXEC): Likewise.
12015 (__ASSUME_SOCK_CLOEXEC): Likewise.
12016 (__ASSUME_IN_NONBLOCK): Likewise.
12017 (__ASSUME_PIPE2): Likewise.
12018 (__ASSUME_EVENTFD2): Likewise.
12019 (__ASSUME_SIGNALFD4): Likewise.
12020 (__ASSUME_DUP3): Likewise.
12021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12022 (__ASSUME_EVENTFD2): Likewise.
12023 (__ASSUME_SIGNALFD4): Likewise.
12024 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12025
120262014-05-12 Andreas Schwab <schwab@suse.de>
12027
12028 [BZ #16932]
12029 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12030 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12031 than maximum RPC packet size.
12032 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12033 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12034 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12035 (_nss_nis_getservbyport_r): Likewise.
12036
120372014-05-12 Will Newton <will.newton@linaro.org>
12038
12039 * malloc/Makefile (tests): Add tst-mallopt.
12040 * malloc/tst-mallopt.c: New file.
12041
120422014-05-09 Roland McGrath <roland@hack.frob.com>
12043
12044 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12045 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12046
120472014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12048
12049 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12050 (tst-tlsmod6.so): Likewise.
12051
120522014-05-09 Roland McGrath <roland@hack.frob.com>
12053
12054 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12055
120562014-05-09 Joseph Myers <joseph@codesourcery.com>
12057
12058 [BZ #16064]
12059 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12060 and <dl-procinfo.h>.
12061 (__fegetenv): Save SSE state in envp->__eip if supported.
12062 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12063 envp->__eip if supported.
12064 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12065 and <dl-procinfo.h>.
12066 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12067 __data_offset and __data_selector in environment to 0. Set SSE
12068 state if supported.
12069 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12070 test-fenv-sse.
12071 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12072 -mfpmath=sse.
12073 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12074
120752014-05-09 Will Newton <will.newton@linaro.org>
12076
12077 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12078 and libc_relro_required for ARM.
12079 * sysdeps/arm/preconfigure: Regenerate.
12080
120812014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12082 Stefan Liebler <stli@linux.vnet.ibm.com>
12083
12084 * config.make.in (enable-lock-elision): New Makefile variable.
12085 * configure.ac: Likewise.
12086 * configure: Regenerate.
12087 * sysdeps/s390/configure.ac:
12088 Add check for gcc transactions support.
12089 * sysdeps/s390/configure: Regenerate.
12090 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12091 Build elision files if enabled.
12092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12093 Add lock elision support for s390.
12094 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12095 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12096 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12097 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12098 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12099 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12101 Likewise.
12102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12103 Likewise.
12104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12105 Likewise.
12106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12107 Likewise.
12108 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12109 (__lll_timedlock_elision, __lll_lock_elision)
12110 (__lll_unlock_elision, __lll_trylock_elision)
12111 (lll_timedlock_elision, lll_lock_elision)
12112 (lll_unlock_elision, lll_trylock_elision): Add.
12113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12114 (pthread_mutex_t): Add lock elision support for s390.
12115
121162014-05-14 Wilco <wdijkstr@arm.com>
12117
12118 * sysdeps/arm/fclrexcpt.c: Cleanup.
12119 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12120 * sysdeps/arm/feenablxcpt.c: Cleanup.
12121 * sysdeps/arm/fegetenv.c: Cleanup.
12122 * sysdeps/arm/fegetexcept.c: Cleanup.
12123 * sysdeps/arm/fegetround.c: Cleanup.
12124 * sysdeps/arm/feholdexcpt.c: Cleanup.
12125 * sysdeps/arm/fesetenv.c: Cleanup.
12126 * sysdeps/arm/fesetround.c: Cleanup.
12127 * sysdeps/arm/feupdateenv.c: Cleanup.
12128 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12129 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12130 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12131 * sysdeps/arm/ftestexcept.c: Cleanup.
12132 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12133 * sysdeps/arm/setfpucw.c: Cleanup.
12134
121352014-05-09 Will Newton <will.newton@linaro.org>
12136
12137 * sysdeps/arm/armv7/strcmp.S: New file.
12138 * NEWS: Mention addition of ARMv7 optimized strcmp.
12139
121402014-05-08 Roland McGrath <roland@hack.frob.com>
12141
12142 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12143 look for %.ac rather than %.in.
12144
12145 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12146 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12147 * sysdeps/mach/hurd/configure: Regenerated.
12148 * sysdeps/unix/sysv/linux/configure: Regenerated.
12149
12150 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12151
121522014-05-07 Steve Ellcey <sellcey@mips.com>
12153
12154 [BZ# 16922]
12155 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12156 (LONG_SUB): Ditto.
12157 (PTR_SUB): Ditto.
12158
121592014-05-07 Andreas Schwab <schwab@suse.de>
12160
12161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12162 when skipping over non-matching result from nscd.
12163
121642014-05-07 Ondřej Bílka <neleai@seznam.cz>
12165
12166 [BZ #16876]
12167 * nptl/sockperf.c (client): Check socket return value.
12168
12169 [BZ #16877]
12170 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12171 nscd security class.
12172
121732014-05-06 Roland McGrath <roland@hack.frob.com>
12174
12175 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12176 * sysdeps/arm/unwind.h: ... here.
12177
121782014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12179
12180 [BZ# 16916]
12181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12182 Define.
12183
121842014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12185
12186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12188 multiarch strncpy for PPC64.
12189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12192 multiarch optimizations.
12193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12194 (__libc_ifunc_impl_list): Likewise.
12195 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12197 multiarch stpncpy for PPC64.
12198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12200
122012014-05-06 Andreas Schwab <schwab@suse.de>
12202
12203 [BZ #16912]
12204 * gmon/mcount.c (_MCOUNT_DECL): Use
12205 atomic_compare_and_exchange_bool_acq instead of
12206 catomic_compare_and_exchange_bool_acq.
12207
122082014-05-05 Roland McGrath <roland@hack.frob.com>
12209
12210 * elf/Makefile (others, install-bin): Remove pldd.
12211 (pldd-modules): Variable removed.
12212 ($(objpfx)pldd): Target removed.
12213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12214 (others, install-bin): Append pldd here.
12215 ($(objpfx)pldd): New target.
12216
12217 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12218 to 0, so the first #if test emitted later doesn't see it undefined.
12219 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12220 * sysdeps/gnu/errlist.c: Regenerated.
12221
122222014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12225 [libc_hidden_builtin_def]: Define to empty value.
12226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12227 [libc_hidden_builtin_def]: Likewise.
12228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12229 [libc_hidden_builtin_def]: Likewise.
12230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12231 [libc_hidden_builtin_def]: Likewise.
12232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12233 __redirect_memcpy and define ifunc as default hidden symbol.
12234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12235 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12236
122372014-05-04 Adam Conrad <adconrad@0c3.net>
12238
12239 * locale/iso-4217.def: Reintroduce XDR currency.
12240
122412014-05-04 Allan McRae <allan@archlinux.org>
12242
12243 * po/eo.po: Update Esperanto translation from translation project.
12244
122452014-05-02 Carlos O'Donell <carlos@redhat.com>
12246
12247 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12248 and FEATURE_INDEX_MAX to 1.
12249 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12250
122512014-05-01 Steve Ellcey <sellcey@mips.com>
12252
12253 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12254 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12255 * iconvdata/big5.c (ONE_DIRECTION): Define.
12256 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12257 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12258 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12259 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12260 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12261 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12262 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12263 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12264 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12265 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12266 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12267 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12268 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12269 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12270 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12271 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12272 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12273 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12274 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12275 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12276 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12277 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12278 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12279 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12280 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12281 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12282 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12283 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12284 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12285 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12286 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12287 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12288 * iconvdata/johab.c (ONE_DIRECTION): Define.
12289 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12290 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12291 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12292 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12293 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12294 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12295 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12296 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12297 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12298 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12299
123002014-05-01 Roland McGrath <roland@hack.frob.com>
12301
12302 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12303 (_IO_JUMPS_OFFSET): Define to 0.
12304
12305 * nptl/sysdeps/pthread/bits/libc-lock.h
12306 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12307 (__libc_lock_define_initialized_recursive): Always define using
12308 initializer. Modern compilers treat uninitialized (implicit zero) and
12309 explicit zero initializers the same (i.e. put the datum in bss).
12310
123112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12312
12313 * nscd/nscd-client.h: Include <string.h>.
12314
123152014-05-01 David S. Miller <davem@davemloft.net>
12316
12317 [BZ #16885]
12318 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12319 multiple zero bytes exist at the end of a string.
12320 Reported by Aurelien Jarno <aurelien@aurel32.net>
12321
12322 * string/test-strcmp.c (check): Add explicit test for situations where
12323 there are multiple zero bytes after the first.
12324
123252014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12326
12327 [BZ #16890]
12328 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12329 when compiling wprintf.
12330 * stdio-common/tstdiomisc.c (t3): New function.
12331 (main): Call it.
12332
123332014-05-01 Steve Ellcey <sellcey@mips.com>
12334
12335 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12336 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12337 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12338 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12339
123402014-05-01 Steve Ellcey <sellcey@mips.com>
12341
12342 * stdlib/longlong.h: Updated from GCC.
12343
123442014-05-01 Will Newton <will.newton@linaro.org>
12345 Bernard Ogden <bernie.ogden@linaro.org>
12346
12347 * NEWS: Update fixed bug list.
12348
12349 [BZ #15119]
12350 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12351
123522014-04-30 David S. Miller <davem@davemloft.net>
12353
12354 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12355 (libc_feholdexcept_setround_sparc_ctx): New function.
12356 (libc_fesetenv_sparc_ctx): Likewise.
12357 (libc_feupdateenv_sparc_ctx): Likewise.
12358 (libc_feholdsetround_sparc_ctx): Likewise.
12359 (libc_feholdexcept_setround_ctx): Define.
12360 (libc_feholdexcept_setroundf_ctx): Likewise.
12361 (libc_feholdexcept_setroundl_ctx): Likewise.
12362 (libc_fesetenv_ctx): Likewise.
12363 (libc_fesetenvf_ctx): Likewise.
12364 (libc_fesetenvl_ctx): Likewise.
12365 (libc_feupdateenv_ctx): Likewise.
12366 (libc_feupdateenvf_ctx): Likewise.
12367 (libc_feupdateenvl_ctx): Likewise.
12368 (libc_feresetround_ctx): Likewise.
12369 (libc_feresetroundf_ctx): Likewise.
12370 (libc_feresetroundl_ctx): Likewise.
12371 (libc_feholdsetround_ctx): Likewise.
12372 (libc_feholdsetroundf_ctx): Likewise.
12373 (libc_feholdsetroundl_ctx): Likewise.
12374
12375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12376 with __USE_GNU instead of XOPEN cpp guards.
12377
12378 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12379 0.
12380
12381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12382 with XOPEN cpp guards.
12383
123842014-04-30 Julian Brown <julian@codesourcery.com>
12385
12386 [BZ #16888]
12387 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12388 handling.
12389
123902014-04-30 Joseph Myers <joseph@codesourcery.com>
12391
12392 [BZ #9894]
12393 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12394 Change to 2.6.32.
12395 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12396 * sysdeps/unix/sysv/linux/configure: Regenerated.
12397 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12398 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12399 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12400 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12401 * README: Update reference to required Linux kernel version.
12402 * manual/install.texi (Linux): Update reference to required Linux
12403 kernel headers version.
12404 * INSTALL: Regenerated.
12405
12406 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12407 header inclusion.
12408 [POSIX] (limits.h): Likewise.
12409 [POSIX] (math.h): Likewise.
12410 [POSIX] (sys/wait.h): Likewise.
12411 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12412 function.
12413 [POSIX] (stddef.h): Do not allow header inclusion.
12414
124152014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12416
12417 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12418
124192014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12420
12421 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12422 Return immediately after lll_futex_wake.
12423
124242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
12426 [BZ #16791]
12427 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12428 structure.
12429 (datahead_init_pos): Call datahead_init_common early.
12430 (datahead_init_neg): Likewise.
12431
12432 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12433 datahead_init_neg): New functions.
12434 * nscd/aicache.c (addhstaiX): Use them.
12435 * nscd/grpcache.c (cache_addgr): Likewise.
12436 * nscd/hstcache.c (cache_addhst): Likewise.
12437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12438 * nscd/netgroupcache.c (do_notfound): Likewise.
12439 (addgetnetgrentX): Likewise.
12440 (addinnetgrX): Likewise.
12441 * nscd/pwdcache.c (cache_addpw): Likewise.
12442 * nscd/servicescache.c (cache_addserv): Likewise.
12443
124442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12445 Atsushi Onoe <atsushi@onoe.org>
12446
12447 [BZ #14308]
12448 [BZ #12994]
12449 [BZ #13651]
12450 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12451 one response is valid.
12452 * resolv/res_send.c (send_dg): Check for validity of other
12453 response if the current response is a referral.
12454
124552014-04-29 Steve Ellcey <sellcey@mips.com>
12456
12457 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12458
124592014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12460
12461 [BZ #16823]
12462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12463 Always divide by positive zero when computing -Inf result.
12464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12465 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12466
124672014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12468
12469 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12470 FPSCR if value do not change.
12471 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12472 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12473 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12476 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12477 function.
12478
124792014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12480
12481 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12482 * sysdeps/unix/sysv/linux/hppa: Move directory from
12483 ports/systeps/unix/sysv/linux/hppa.
12484 * README: Update listing for hppa-*-linux-gnu.
12485
124862014-04-28 Ondřej Bílka <neleai@seznam.cz>
12487
12488 [BZ #16754]
12489 * manual/stdio.texi (Hook functions): Fix types of stream hook
12490 functions.
12491 [BZ #16854]
12492 * socket/sys/socket.h: Fix typo in comment.
12493
124942014-04-28 Wilco <wdijkstr@arm.com>
12495
12496 * sysdeps/arm/fenv_private.h: New file.
12497 * sysdeps/arm/math_private.h: New file.
12498 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12499
125002014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12503 with __int128_t.
12504 (La_x86_64_retval): Likewise.
12505
125062014-04-24 Ian Bolton <ian.bolton@arm.com>
12507
12508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12509 fpsr if value didn't change.
12510 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12511 to fpcr if value didn't change.
12512 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12513 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12514 fpsr or fpcr if value didn't change.
12515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12517 fpcr if value didn't change.
12518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12519 to fpsr if value didn't change.
12520
125212014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12522
12523 * nptl/tst-sem3.c: Use test-skeleton.c
12524 (main): Rename to do_test. Use return instead of
12525 exit.
12526 * nptl/tst-sem4.c: Use test-skeleton.c
12527 (main): Rename to do_test.
12528
125292014-04-22 David S. Miller <davem@davemloft.net>
12530
12531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12532 (struct sigaction): New struct member __glibc_reserved0, change
12533 type of sa_flags to int.
12534
125352014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12536
12537 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12538 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12539
125402014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12541
12542 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12543 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12544
125452014-04-22 Will Newton <will.newton@linaro.org>
12546 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12547
12548 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12549 (__longjmp): Add longjmp and longjmp_target SystemTap
12550 probes.
12551 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12552 (__sigsetjmp): Add setjmp SystemTap probe.
12553
125542014-04-17 Carlos O'Donell <carlos@redhat.com>
12555
12556 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12557 match manual order.
12558
125592014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12560
12561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12562
12563 * sysdeps/powerpc/fpu/fenv_private.h
12564 (libc_feholdexcept_setroundl_ctx): Define to
12565 libc_feholdexcept_setround_ppc_ctx.
12566 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12567 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12568 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12569 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12570
125712014-04-17 Ian Bolton <ian.bolton@arm.com>
12572
12573 * sysdeps/aarch64/math-tests.h: New file.
12574
125752014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12576
12577 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12578 New.
12579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12580 Check and set bit_AVX2_Usable.
12581 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12582 macro.
12583 (bit_AVX2): Likewise.
12584 (index_AVX2_Usable): Likewise.
12585 (CPUID_AVX2): Likewise.
12586 (HAS_AVX2): Likewise.
12587
125882014-04-17 Will Newton <will.newton@linaro.org>
12589
12590 * manual/setjmp.texi (System V contexts): Add note that
12591 calling setcontext on a context created by a call to a
12592 signal handler is undefined. Update text to note that
12593 setcontext from a signal handler is possible but not
12594 recommended.
12595
12596 [BZ #16629]
12597 * stdlib/tst-setcontext.c: Include signal.h.
12598 (main): Check that the signal stack before and
12599 after swapcontext is the same.
12600
12601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12602 Re-implement to restore registers in user code and avoid
12603 rt_sigreturn system call.
12604
126052014-04-17 Wilco <wdijkstr@arm.com>
12606
12607 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12608 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12609 * math/test-fenv.c: Skip exception trap tests on targets which only
12610 support non-stop mode.
12611
126122014-04-17 Ian Bolton <ian.bolton@arm.com>
12613 Wilco Dijkstra <wilco.dijkstra@arm.com>
12614
12615 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12616 (libc_feholdsetround_aarch64_ctx)
12617 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12618 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12619 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12620 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12621 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12622 (libc_feresetround_noexl_ctx): Define.
12623
126242014-04-16 Richard Henderson <rth@redhat.com>
12625
12626 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12627
12628 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12629 unwind tables.
12630
12631 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12632 const from the non-libc, non-ldso copy.
12633
12634 * sysdeps/alpha/libm-test-ulps: Regenerate.
12635
126362014-04-16 Ian Bolton <ian.bolton@arm.com>
12637 Wilco Dijkstra <wilco.dijkstra@arm.com>
12638
12639 * sysdeps/aarch64/fpu/math_private.h: New file.
12640
126412014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12642
12643 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12644
126452014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12646
12647 [BZ #16275]
12648 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12649 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12651 Intel MPX bound registers before _dl_profile_fixup.
12652 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12653 registers after _dl_profile_fixup. Save and restore bound
12654 registers bnd0/bnd1 when calling _dl_call_pltexit.
12655 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12656 (LR_BND_OFFSET): Likewise.
12657 (LRV_BND0_OFFSET): Likewise.
12658 (LRV_BND1_OFFSET): Likewise.
12659
126602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12661
12662 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12663 to...
12664 * sysdeps/mach/hurd/i386/tls.h: ... here.
12665 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12666 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12667 fields.
12668
126692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12670
12671 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12672
126732014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12674
12675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12676
126772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12678
12679 [BZ #14770]
12680 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12681 * sysdeps/s390/configure: Regenerate.
12682
12683 [BZ #16824]
12684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12685 Set round-to-nearest internally to reduce error accumulation.
12686
126872014-04-16 Alan Modra <amodra@gmail.com>
12688
12689 [BZ #16740]
12690 [BZ #16619]
12691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12692 * math/libm-test.inc (frexp_test_data): Add tests.
12693 * NEWS: Update fixed bug list.
12694
126952014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12696
12697 * benchtests/Makefile: Depend on libraries in build directory.
12698 (bench-math): Separate out math tests.
12699 (bench-pthread): Separate out pthread tests.
12700 (bench): Include math and pthread tests.
12701
127022014-04-14 Carlos O'Donell <carlos@redhat.com>
12703
12704 [BZ #16831]
12705 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12706 _dl_debug_initialize.
12707
12708 * configure.ac: Remove SELinux header check.
12709 * configure: Regenerate.
12710 * nscd/selinux.c (perms): Array of const char* to permission names.
12711 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12712 default policy. Call string_to_security_class and string_to_av_perm to
12713 translate strings. Enforce default policy and call avs_has_perm with
12714 results of translated strings.
12715
127162014-04-13 David S. Miller <davem@davemloft.net>
12717
12718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12719
127202014-04-12 Allan McRae <allan@archlinux.org>
12721
12722 [BZ #16838]
12723 * manual/string.texi (Collation Functions): Fix qsort argument
12724 order in example.
12725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12726
127272014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12728
12729 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12730 Make the test a no-op if there are no exceptions defined.
12731
127322014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12733
12734 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12735 enable-hardcoded-path-in-tests
12736
127372014-04-11 Will Newton <will.newton@linaro.org>
12738
12739 * benchtests/Makefile (extra-objs): Add json-lib.o.
12740 (bench-func): Tidy up JSON output.
12741 * benchtests/bench-skeleton.c: Include json-lib.h.
12742 (main): Use JSON library functions to do output of
12743 benchmark results.
12744 * benchtests/bench-timing-type.c (main): Output the
12745 timing type simply, leaving formatting to the user.
12746 * benchtests/json-lib.c: New file.
12747 * benchtests/json-lib.h: Likewise.
12748
127492014-04-11 Torvald Riegel <triegel@redhat.com>
12750
12751 [BZ #15215]
12752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12753 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12754 memory barriers. Add comments.
12755 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12756 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12757 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12758 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12759 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12760 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12761
127622014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12763
12764 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12765 * sysdeps/s390/s390-64/configure.ac: ... this ...
12766 * sysdeps/s390/configure.ac: ... to here.
12767 * sysdeps/s390/s390-32/configure: Delete file.
12768 * sysdeps/s390/s390-64/configure: Delete file.
12769 * sysdeps/s390/configure: Regenerate.
12770
127712014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12772
12773 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12774
127752014-04-11 Will Newton <will.newton@linaro.org>
12776
12777 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12778 to zero if it is not defined elsewhere. (mtrim): Test
12779 the value of MALLOC_DEBUG with #if rather than #ifdef.
12780
127812014-04-10 Torvald Riegel <triegel@redhat.com>
12782
12783 * benchtests/pthread_once-inputs: New file.
12784 * benchtests/pthread_once-source.c: New file.
12785 * benchtests/README: Update documentation.
12786
127872014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12788 H.J. Lu <hongjiu.lu@intel.com>
12789
12790 [BZ #16275]
12791 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12792 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12793 * sysdeps/x86_64/configure: Regenerated.
12794 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12795 macro.
12796 (REGISTER_SAVE_RAX): Likewise.
12797 (REGISTER_SAVE_RCX): Likewise.
12798 (REGISTER_SAVE_RDX): Likewise.
12799 (REGISTER_SAVE_RSI): Likewise.
12800 (REGISTER_SAVE_RDI): Likewise.
12801 (REGISTER_SAVE_R8): Likewise.
12802 (REGISTER_SAVE_R9): Likewise.
12803 (REGISTER_SAVE_BND0): Likewise.
12804 (REGISTER_SAVE_BND1): Likewise.
12805 (REGISTER_SAVE_BND2): Likewise.
12806 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12807 bound registers when calling _dl_fixup.
12808
128092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12810
12811 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12812 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12813 of its definition.
12814 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12815 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12816 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12817 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12818 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12819 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12820 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12821
128222014-04-09 Peter Brett <peter@peter-b.co.uk>
12823
12824 [BZ #15514]
12825 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12826 pathconf(_PC_NAME_MAX).
12827
128282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12829
12830 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12831 Remove macro usage.
12832 (__PTHREAD_SPINS): Move definition to ...
12833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12834 (__PTHREAD_SPINS): ... here.
12835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12836 (__PTHREAD_SPIN): Likewise.
12837 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12838 (__PTHREAD_SPIN): Likewise.
12839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12840 (__PTHREAD_SPIN): Likewise.
12841 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12842 (__PTHREAD_SPIN): Likewise.
12843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12844 (__PTHREAD_SPIN): Likewise.
12845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12846 (__PTHREAD_SPIN): Likewise.
12847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12848 (__PTHREAD_SPIN): Likewise.
12849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12850 (__PTHREAD_SPIN): Likewise.
12851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12852 (__PTHREAD_SPIN): Likewise.
12853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12854 (__PTHREAD_SPIN): Likewise.
12855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12856 (__PTHREAD_SPIN): Likewise.
12857 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12858 (__PTHREAD_SPIN): Likewise.
12859
12860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12862 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12864 imply folder.
12865 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12867 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12869 correct imply path.
12870 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12871 strlen symbol for non multi-arch builds.
12872 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12873 missing hidden_def and weak_alias.
12874
128752014-04-08 Carlos O'Donell <carlos@redhat.com>
12876
12877 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12878
128792014-04-07 Will Newton <will.newton@linaro.org>
12880
12881 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12882 and contents. [!_LIBC] Remove #ifndef and contents.
12883 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12884 * string/memccpy.c (__memccpy): Use ANSI prototype.
12885 * string/memfrob.c (memfrob): Likewise.
12886 * string/strcoll.c (STRCOLL): Likewise.
12887 * string/strlen.c (strlen): Likewise.
12888 * string/strtok.c (STRTOK): Likewise.
12889 * string/strcat.c: Remove unused #include of memcopy.h.
12890 (strcat): Use ANSI prototype.
12891 * string/strchr.c: Remove unused #include of memcopy.h.
12892 (strchr): Use ANSI prototype.
12893 * string/strcmp.c: Remove unused #include of memcopy.h.
12894 (strcmp): Use ANSI prototype.
12895 * string/strcpy.c: Remove unused #include of memcopy.h.
12896 (strcpy): Use ANSI prototype.
12897
128982014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12899
12900 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12901 * config.make.in (config-extra-cppflags): Set it from
12902 libc_extra_cppflags.
12903 * configure.ac (libc_extra_cflags): Make it accumulate over
12904 configure fragments.
12905 (libc_extra_cppflags): New flag.
12906 * configure. Regenerate.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12908 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12909 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12911
12912 [BZ #16815]
12913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12914 result for FE_DOWNWARD rounding mode.
12915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12916 Likewise.
12917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12918
129192014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12920
12921 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12922 in function argument name.
12923
129242014-04-03 David Svoboda <svoboda@cert.org>
12925
12926 [BZ #5666]
12927 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12928 explicitly.
12929
129302014-04-03 Roland McGrath <roland@hack.frob.com>
12931
12932 * elf/dl-unmap-segments.h: New file.
12933 * sysdeps/generic/ldsodefs.h
12934 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12935 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12936 * elf/dl-fptr.c: Likewise.
12937 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12938 * sysdeps/aarch64/tlsdesc.c: Likewise.
12939 * sysdeps/arm/tlsdesc.c: Likewise.
12940 * sysdeps/i386/tlsdesc.c: Likewise.
12941 * sysdeps/tile/dl-runtime.c: Likewise.
12942 * sysdeps/x86_64/tlsdesc.c: Likewise.
12943 * elf/dl-load.h: New file.
12944 * elf/dl-load.c: Include it.
12945 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12946 Macros moved to dl-load.h.
12947 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12948 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12949 Use _dl_unmap_segments in place of __munmap.
12950 Break out segment-mapping loop into ...
12951 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12952
129532014-04-03 Will Newton <will.newton@linaro.org>
12954
12955 * elf/dl-lookup.c (do_lookup_x): Remove comment
12956 referring to nested function and move variable
12957 declarations down to before first use.
12958
129592014-04-02 Joseph Myers <joseph@codesourcery.com>
12960
12961 [BZ #16799]
12962 [BZ #16800]
12963 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12964 with 0 numerator.
12965 * math/s_catanf.c (__catanf): Likewise.
12966 * math/s_catanh.c (__catanh): Likewise.
12967 * math/s_catanhf.c (__catanhf): Likewise.
12968 * math/s_catanhl.c (__catanhl): Likewise.
12969 * math/s_catanl.c (__catanl): Likewise.
12970 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12971 by positive zero when computing -Inf result.
12972 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12973 (catanh_test): Likewise.
12974 * sysdeps/i386/fpu/libm-test-ulps: Update.
12975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12976
12977 [BZ #16789]
12978 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12979 instead of using underflowing value in computing result.
12980 * math/s_clog10.c (__clog10): Likewise.
12981 * math/s_clog10f.c (__clog10f): Likewise.
12982 * math/s_clog10l.c (__clog10l): Likewise.
12983 * math/s_clogf.c (__clogf): Likewise.
12984 * math/s_clogl.c (__clogl): Likewise.
12985 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12986 (clog10_test): Likewise.
12987 * sysdeps/i386/fpu/libm-test-ulps: Update.
12988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12989
129902014-04-02 Alan Modra <amodra@gmail.com>
12991
12992 [BZ #16739]
12993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12994 output when value is near a power of two. Use int64_t for lx and
12995 remove casts. Use decimal rather than hex exponent constants.
12996 Don't use long double multiplication when double will suffice.
12997 * math/libm-test.inc (nextafter_test_data): Add tests.
12998 * NEWS: Add 16739 and 16786 to bug list.
12999
13000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13001
13002 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13003
130042014-04-01 Will Newton <will.newton@linaro.org>
13005
13006 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13007 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13008
130092014-04-01 Florian Weimer <fweimer@redhat.com>
13010
13011 [BZ #13347]
13012 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13013 * nptl/tst-setuid2.c: New file.
13014 * nptl/Makefile (xtests): Add tst-setuid2.
13015
130162014-04-01 Alan Modra <amodra@gmail.com>
13017
13018 [BZ #16786]
13019 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13020
130212014-03-31 Joseph Myers <joseph@codesourcery.com>
13022
13023 [BZ #6803]
13024 [BZ #6804]
13025 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13026 set errno as appropriate.
13027 * math/w_scalbf.c (__scalbf): Likewise.
13028 * math/w_scalbl.c (__scalbl): Likewise.
13029 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13030 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13031 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13032 Add more NaN tests.
13033
13034 [BZ #16349]
13035 * math/w_atan2.c: Include <errno.h>.
13036 (__atan2): Set errno for result underflowing to zero.
13037 * math/w_atan2f.c: Include <errno.h>.
13038 (__atan2f): Set errno for result underflowing to zero.
13039 * math/w_atan2l.c: Include <errno.h>.
13040 (__atan2l): Set errno for result underflowing to zero.
13041 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13042 tests.
13043 * math/auto-libm-test-out: Regenerated.
13044
130452014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13046
13047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13048 Encode instruction correctly in little endian.
13049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13050 Likewise.
13051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13052 Likewise.
13053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13054 Likewise.
13055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13056 Likewise.
13057
130582014-03-31 Joseph Myers <joseph@codesourcery.com>
13059
13060 [BZ #9894]
13061 * sysdeps/unix/sysv/linux/kernel-features.h
13062 [__sparc__ && !__arch64__ && !__sparc_v9__]
13063 (__ASSUME_SET_ROBUST_LIST): Do not define.
13064 [__sparc__ && !__arch64__ && !__sparc_v9__]
13065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13066 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13067 Likewise.
13068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13069 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13070 (__ASSUME_REQUEUE_PI): Likewise.
13071 (__ASSUME_SET_ROBUST_LIST): Likewise.
13072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13073 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13074 Undefine.
13075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13077 Likewise.
13078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13079 Likewise.
13080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13081 Likewise.
13082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13084 Undefine.
13085 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13087 Likewise.
13088
13089 [BZ #16648]
13090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13092 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13093
130942014-03-31 Will Newton <will.newton@linaro.org>
13095
13096 * benchtests/Makefile (bench): Add ffs and ffsll to list
13097 of tests.
13098 * benchtests/ffs-inputs: New file.
13099 * benchtests/ffsll-inputs: Likewise.
13100
131012014-03-29 Joseph Myers <joseph@codesourcery.com>
13102
13103 [BZ #16770]
13104 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13105 too large before casting to int.
13106 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13107 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13108 * math/libm-test.inc (scalb_test_data): Add more tests.
13109
131102014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13111
13112 * benchtests/Makefile (DETAILED_OPT): New make option.
13113 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13114 set.
13115 * benchtests/bench-skeleton.c: Include stdbool.h.
13116 (main): Store and print timings per input.
13117 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13118 member to each argument value.
13119 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13120 (_print_arg_data): Initialize per-input timing to 0.
13121
13122 * benchtests/Makefile (timing-type): New binary.
13123 (bench-clean): Also remove bench-timing-type.
13124 (bench): New target for timing-type.
13125 (bench-func): Print output in JSON format.
13126 * benchtests/bench-skeleton.c (main): Print output in JSON
13127 format.
13128 * benchtests/bench-timing-type.c: New file.
13129 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13130 (TIMING_PRINT_STATS): Remove.
13131 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13132 name separately.
13133
13134 * benchtests/bench-modf.c: Remove.
13135 * benchtests/modf-inputs: New inputs file.
13136
131372014-03-28 Joseph Myers <joseph@codesourcery.com>
13138
13139 [BZ #16362]
13140 * math/s_clog10.c (M_PI_LOG10E): New macro.
13141 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13142 imaginary parts are 0.
13143 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13144 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13145 imaginary parts are 0.
13146 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13147 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13148 imaginary parts are 0.
13149 * math/libm-test.inc (clog10_test_data): Update expected results
13150 for when real and imaginary parts are 0.
13151
131522014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13153
13154 * elf/dl-load.c: Finish conversion of __builtin_expect into
13155 __glibc_{un}likely.
13156
131572014-03-27 Joseph Myers <joseph@codesourcery.com>
13158
13159 [BZ #16348]
13160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13161 1+x for argument with exponent below -67.
13162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13163 Likewise.
13164 * math/auto-libm-test-in: Add more tests of exp.
13165 * math/auto-libm-test-out: Regenerated.
13166
131672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13168
13169 [BZ #16759]
13170 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13171 (nscd_getnetgrent): Use it.
13172
13173 [BZ #16760]
13174 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13175 of stpcpy.
13176
131772014-03-27 Andi Kleen <ak@linux.intel.com>
13178
13179 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13180 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13181 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13182 (lll_robust_unlock): Remove out of line section. Use cfi
13183 intrinsics.
13184 (LLL_STUB_UNWIND_INFO*): Remove.
13185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13188 (lll_robust_unlock): Remove out of line section. Use cfi
13189 intrinsics.
13190 (LLL_STUB_UNWIND_INFO*): Remove.
13191
131922014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 [BZ #16758]
13195 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13196 blank values.
13197
131982014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13199
13200 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13201
132022014-03-26 Joseph Myers <joseph@codesourcery.com>
13203
13204 [BZ #16198]
13205 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13206 fnstenv.
13207 * math/test-fenv-preserve.c: New file.
13208 * math/Makefile (tests): Add test-fenv-preserve.
13209
132102014-03-26 Will Newton <will.newton@linaro.org>
13211
13212 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13213
132142014-03-25 Roland McGrath <roland@hack.frob.com>
13215
13216 * scripts/versionlist.awk: Partition the version sets and emit all
13217 GLIBC_* (sorted) before all others (sorted).
13218
132192014-03-25 Joseph Myers <joseph@codesourcery.com>
13220
13221 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13222 GLIBC_2.2.5 version.
13223
132242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13225
13226 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13227 calls.
13228
13229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13230 previous change.
13231
13232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13233
132342014-03-25 Andreas Schwab <schwab@suse.de>
13235
13236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13237 label to be used after in6ailist is initialized.
13238
132392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13240
13241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13242 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13243
132442014-03-25 Joseph Myers <joseph@codesourcery.com>
13245
13246 [BZ #16357]
13247 [BZ #16599]
13248 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13249 min_plus_half.
13250 (fp_formats): Update initializers.
13251 (init_fp_formats): Initialize new field.
13252 (output_for_one_input_case): Allow underflow for results up to
13253 min_plus_half.
13254 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13255 * math/auto-libm-test-in: Don't mark some underflows from asin and
13256 atanh as spurious.
13257 * math/auto-libm-test-out: Regenerated.
13258 * sysdeps/i386/fpu/libm-test-ulps: Update.
13259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13260
132612014-03-25 Andreas Schwab <schwab@suse.de>
13262
13263 * libio/Makefile (tst-ftell-partial-wide-ENV)
13264 (tst-ftell-active-handler-ENV): Define.
13265
132662014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13267
13268 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13269
132702014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13271
13272 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13273
132742014-03-24 Joseph Myers <joseph@codesourcery.com>
13275
13276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13277 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13279
132802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13281
13282 [BZ #16634]
13283 * elf/dl-load.c (open_verify): Add mode parameter.
13284 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13285 (open_path): Change from boolean 'secure' to complete flag 'mode'
13286 (_dl_map_object): Adjust.
13287 * elf/Makefile (tests): Add tst-dlopen-aout.
13288 * elf/tst-dlopen-aout.c: New test.
13289
132902014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13291
13292 [BZ #16714]
13293 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13294 (struct stat): Rename member pad0 to __glibc_reserved0.
13295
13296 [BZ #16712]
13297 * sysdeps/s390/s390-32/bits/wordsize.h
13298 (__WORDSIZE32_SIZE_ULONG): New define.
13299 * sysdeps/s390/s390-64/bits/wordsize.h
13300 (__WORDSIZE32_SIZE_ULONG): Likewise.
13301 * sysdeps/generic/stdint.h (SIZE_MAX):
13302 Define as UL if __WORDSIZE32_SIZE_ULONG.
13303
13304 [BZ #16713]
13305 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13306 (__glibc_reserved0): New variable.
13307 (sa_flags): Change type to int.
13308
13309 * posix/Makefile (before-compile): Use += before-compile instead
13310 of a :=.
13311
13312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13313 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13314
133152014-03-20 Andreas Schwab <schwab@suse.de>
13316
13317 [BZ #16743]
13318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13319 non-matching result from nscd.
13320
133212014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13322
13323 * scripts/bench.py: Moved to ...
13324 * benchtests/scripts/bench.py: ... here.
13325 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13326
133272014-03-24 Andreas Schwab <schwab@suse.de>
13328
13329 [BZ #16002]
13330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13331 alloca_account and account alloca use for struct in6ailist.
13332
133332014-03-24 Joseph Myers <joseph@codesourcery.com>
13334
13335 [BZ #16284]
13336 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13337 rounding mode to recompute results that overflow to infinity or
13338 underflow to zero.
13339 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13340 bug 16284.
13341 * math/auto-libm-test-out: Regenerated.
13342 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13343 (ccosh_test): Likewise.
13344 (csin_test_data): Use plus_oflow.
13345 (csin_test): Use ALL_RM_TEST.
13346 (csinh_test_data): Use plus_oflow.
13347 (csinh_test): Use ALL_RM_TEST.
13348 * sysdeps/i386/fpu/libm-test-ulps: Update.
13349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13350
133512014-03-21 Joseph Myers <joseph@codesourcery.com>
13352
13353 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13354 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13355 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13356
13357 [BZ #16731]
13358 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13359 when x - 1 is zero.
13360 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13362 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13364 argument is 1.
13365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13366 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13367 zero.
13368 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13369 * sysdeps/i386/fpu/libm-test-ulps: Update.
13370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13371
133722014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13373
13374 * scripts/bench.pl: Remove file.
13375 * scripts/bench.py: New benchmark script.
13376 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13377 * benchtests/README: Mention python dependency.
13378 * scripts/pylintrc: New file.
13379 * scripts/pylint: New file.
13380
13381 * bits/mathdef.h: Use #ifdef instead of #if.
13382 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13384 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13386 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13388
133892014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13390 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13391
13392 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13394 and strpbrk-ppc64 objects.
13395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13396 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13398 multiarch strpbrk for POWER7.
13399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13400 multiarch strpbrk for PPC64.
13401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13402 ifunc selector.
13403 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13404 strpbrk for POWER7.
13405
134062014-03-20 Joseph Myers <joseph@codesourcery.com>
13407
13408 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13409 (atan_test): Likewise.
13410 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13411 (atanh_test): Use ALL_RM_TEST.
13412 (atan2_test_data): Likewise.
13413 (cabs_test): Likewise.
13414 (cacosh_test): Likewise.
13415 (carg_test): Likewise.
13416 (casin_test): Likewise.
13417 (casinh_test): Likewise.
13418 (cbrt_test): Likewise.
13419 (csqrt_test): Likewise.
13420 (erf_test): Likewise.
13421 (erfc_test): Likewise.
13422 (pow10_test): Likewise.
13423 (exp2_test): Likewise.
13424 (hypot_test): Likewise.
13425 (j0_test): Likewise.
13426 (j1_test): Likewise.
13427 (lgamma_test): Likewise.
13428 (gamma_test): Likewise.
13429 (sincos_test): Likewise.
13430 (tanh_test): Likewise.
13431 (y0_test): Likewise.
13432 (y1_test): Likewise.
13433 * sysdeps/i386/fpu/libm-test-ulps: Update.
13434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13435
134362014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13437
13438 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13440 and strcspn-ppc64 objects.
13441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13442 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13444 multiarch strcspn for POWER7.
13445 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13446 multiarch strcspn for PPC64.
13447 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13448 ifunc selector.
13449 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13450 strcspn for POWER7.
13451
134522014-03-20 Joseph Myers <joseph@codesourcery.com>
13453
13454 * math/gen-libm-test.pl (generate_testfile): Expect only function
13455 name as argument to AUTO_TESTS_* and pass results for all rounding
13456 modes to parse_args.
13457 (parse_auto_input): Separate inputs of automatic tests from
13458 outputs before storing in %auto_tests.
13459 * math/libm-test.inc (acos_test_data): Update call to
13460 AUTO_TESTS_f_f.
13461 (acos_test): Use ALL_RM_TEST.
13462 (acos_tonearest_test_data): Remove.
13463 (acos_test_tonearest): Likewise.
13464 (acos_towardzero_test_data): Likewise.
13465 (acos_test_towardzero): Likewise.
13466 (acos_downward_test_data): Likewise.
13467 (acos_test_downward): Likewise.
13468 (acos_upward_test_data): Likewise.
13469 (acos_test_upward): Likewise.
13470 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13471 (asin_test_data): Likewise.
13472 (asin_test): Use ALL_RM_TEST.
13473 (asin_tonearest_test_data): Remove.
13474 (asin_test_tonearest): Likewise.
13475 (asin_towardzero_test_data): Likewise.
13476 (asin_test_towardzero): Likewise.
13477 (asin_downward_test_data): Likewise.
13478 (asin_test_downward): Likewise.
13479 (asin_upward_test_data): Likewise.
13480 (asin_test_upward): Likewise.
13481 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13482 (atan_test_data): Likewise.
13483 (atanh_test_data): Likewise.
13484 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13485 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13486 (carg_test_data): Likewise.
13487 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13488 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13489 (ccosh_test_data): Likewise.
13490 (cexp_test_data): Likewise.
13491 (clog_test_data): Likewise.
13492 (clog10_test_data): Likewise.
13493 (cos_test_data): Update call to AUTO_TESTS_f_f.
13494 (cos_test): Use ALL_RM_TEST.
13495 (cos_tonearest_test_data): Remove.
13496 (cos_test_tonearest): Likewise.
13497 (cos_towardzero_test_data): Likewise.
13498 (cos_test_towardzero): Likewise.
13499 (cos_downward_test_data): Likewise.
13500 (cos_test_downward): Likewise.
13501 (cos_upward_test_data): Likewise.
13502 (cos_test_upward): Likewise.
13503 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13504 (cosh_test): Use ALL_RM_TEST.
13505 (cosh_tonearest_test_data): Remove.
13506 (cosh_test_tonearest): Likewise.
13507 (cosh_towardzero_test_data): Likewise.
13508 (cosh_test_towardzero): Likewise.
13509 (cosh_downward_test_data): Likewise.
13510 (cosh_test_downward): Likewise.
13511 (cosh_upward_test_data): Likewise.
13512 (cosh_test_upward): Likewise.
13513 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13514 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13515 (ctan_test_data): Likewise.
13516 (ctan_test): Use ALL_RM_TEST.
13517 (ctan_tonearest_test_data): Remove.
13518 (ctan_test_tonearest): Likewise.
13519 (ctan_towardzero_test_data): Likewise.
13520 (ctan_test_towardzero): Likewise.
13521 (ctan_downward_test_data): Likewise.
13522 (ctan_test_downward): Likewise.
13523 (ctan_upward_test_data): Likewise.
13524 (ctan_test_upward): Likewise.
13525 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13526 (ctanh_test): Use ALL_RM_TEST.
13527 (ctanh_tonearest_test_data): Remove.
13528 (ctanh_test_tonearest): Likewise.
13529 (ctanh_towardzero_test_data): Likewise.
13530 (ctanh_test_towardzero): Likewise.
13531 (ctanh_downward_test_data): Likewise.
13532 (ctanh_test_downward): Likewise.
13533 (ctanh_upward_test_data): Likewise.
13534 (ctanh_test_upward): Likewise.
13535 (erf_test_data): Update call to AUTO_TESTS_f_f.
13536 (erfc_test_data): Likewise.
13537 (exp_test_data): Likewise.
13538 (exp_test): Use ALL_RM_TEST.
13539 (exp_tonearest_test_data): Remove.
13540 (exp_test_tonearest): Likewise.
13541 (exp_towardzero_test_data): Likewise.
13542 (exp_test_towardzero): Likewise.
13543 (exp_downward_test_data): Likewise.
13544 (exp_test_downward): Likewise.
13545 (exp_upward_test_data): Likewise.
13546 (exp_test_upward): Likewise.
13547 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13548 (exp10_test): Use ALL_RM_TEST.
13549 (exp10_tonearest_test_data): Remove.
13550 (exp10_test_tonearest): Likewise.
13551 (exp10_towardzero_test_data): Likewise.
13552 (exp10_test_towardzero): Likewise.
13553 (exp10_downward_test_data): Likewise.
13554 (exp10_test_downward): Likewise.
13555 (exp10_upward_test_data): Likewise.
13556 (exp10_test_upward): Likewise.
13557 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13558 (expm1_test_data): Likewise.
13559 (expm1_test): Use ALL_RM_TEST.
13560 (expm1_tonearest_test_data): Remove.
13561 (expm1_test_tonearest): Likewise.
13562 (expm1_towardzero_test_data): Likewise.
13563 (expm1_test_towardzero): Likewise.
13564 (expm1_downward_test_data): Likewise.
13565 (expm1_test_downward): Likewise.
13566 (expm1_upward_test_data): Likewise.
13567 (expm1_test_upward): Likewise.
13568 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13569 (fma_test): Use ALL_RM_TEST.
13570 (fma_towardzero_test_data): Remove.
13571 (fma_test_towardzero): Likewise.
13572 (fma_downward_test_data): Likewise.
13573 (fma_test_downward): Likewise.
13574 (fma_upward_test_data): Likewise.
13575 (fma_test_upward): Likewise.
13576 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13577 (j0_test_data): Update call to AUTO_TESTS_f_f.
13578 (j1_test_data): Likewise.
13579 (jn_test_data): Update call to AUTO_TESTS_if_f.
13580 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13581 (log_test_data): Update call to AUTO_TESTS_f_f.
13582 (log10_test_data): Likewise.
13583 (log1p_test_data): Likewise.
13584 (log2_test_data): Likewise.
13585 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13586 (pow_tonearest_test_data): Likewise.
13587 (sin_test_data): Update call to AUTO_TESTS_f_f.
13588 (sin_test): Use ALL_RM_TEST.
13589 (sin_tonearest_test_data): Remove.
13590 (sin_test_tonearest): Likewise.
13591 (sin_towardzero_test_data): Likewise.
13592 (sin_test_towardzero): Likewise.
13593 (sin_downward_test_data): Likewise.
13594 (sin_test_downward): Likewise.
13595 (sin_upward_test_data): Likewise.
13596 (sin_test_upward): Likewise.
13597 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13598 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13599 (sinh_test): Use ALL_RM_TEST.
13600 (sinh_tonearest_test_data): Remove.
13601 (sinh_test_tonearest): Likewise.
13602 (sinh_towardzero_test_data): Likewise.
13603 (sinh_test_towardzero): Likewise.
13604 (sinh_downward_test_data): Likewise.
13605 (sinh_test_downward): Likewise.
13606 (sinh_upward_test_data): Likewise.
13607 (sinh_test_upward): Likewise.
13608 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13609 (sqrt_test): Use ALL_RM_TEST.
13610 (sqrt_tonearest_test_data): Remove.
13611 (sqrt_test_tonearest): Likewise.
13612 (sqrt_towardzero_test_data): Likewise.
13613 (sqrt_test_towardzero): Likewise.
13614 (sqrt_downward_test_data): Likewise.
13615 (sqrt_test_downward): Likewise.
13616 (sqrt_upward_test_data): Likewise.
13617 (sqrt_test_upward): Likewise.
13618 (tan_test_data): Update call to AUTO_TESTS_f_f.
13619 (tan_test): Use ALL_RM_TEST.
13620 (tan_tonearest_test_data): Remove.
13621 (tan_test_tonearest): Likewise.
13622 (tan_towardzero_test_data): Likewise.
13623 (tan_test_towardzero): Likewise.
13624 (tan_downward_test_data): Likewise.
13625 (tan_test_downward): Likewise.
13626 (tan_upward_test_data): Likewise.
13627 (tan_test_upward): Likewise.
13628 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13629 (tgamma_test_data): Likewise.
13630 (y0_test_data): Likewise.
13631 (y1_test_data): Likewise.
13632 (yn_test_data): Update call to AUTO_TESTS_if_f.
13633 (main): Do not call removed functions.
13634
136352014-03-19 Joseph Myers <joseph@codesourcery.com>
13636
13637 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13638 (ldexp_test_data): Remove.
13639 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13640 scalbn_test_data.
13641 (scalb_test): Use ALL_RM_TEST.
13642
136432014-03-19 Andreas Schwab <schwab@suse.de>
13644
13645 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13646
136472014-03-19 Joseph Myers <joseph@codesourcery.com>
13648
13649 [BZ #16649]
13650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13654 (__ASSUME_PREADV): Undefine.
13655 (__ASSUME_PWRITEV): Likewise.
13656
136572014-03-18 Roland McGrath <roland@hack.frob.com>
13658
13659 * bits/mman-linux.h: Add comment about non-Linux use.
13660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13661 bits/mman-linux.h resting place.
13662
13663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13664 * bits/mman-linux.h: ... here.
13665
136662014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13667
13668 * conform/conformtest.pl: Add standard definition when calling C
13669 preprocessor on data files.
13670 (checknamespace): Remove unused variable.
13671
136722014-03-18 Joseph Myers <joseph@codesourcery.com>
13673
13674 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13675 minus_oflow, plus_uflow and minus_uflow in expected results.
13676 * math/libm-test.inc (scalbn_test_data): Add more tests of
13677 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13678 minus_uflow.
13679 (scalbn_test): Use ALL_RM_TEST.
13680 (scalbln_test_data): Add more tests of negative arguments. Use
13681 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13682 (scalbln_test): Use ALL_RM_TEST.
13683
136842014-03-18 Roland McGrath <roland@hack.frob.com>
13685
13686 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13687
136882014-03-18 Will Newton <will.newton@linaro.org>
13689
13690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13691 inaccurate comment.
13692
136932014-03-18 Joseph Myers <joseph@codesourcery.com>
13694
13695 * Makerules [!subdir] (check-abi): Exit with error status if a
13696 test failed.
13697
136982014-03-17 Joseph Myers <joseph@codesourcery.com>
13699
13700 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13701 for rint. Include results for all rounding modes.
13702 (nearbyint_test): Use ALL_RM_TEST.
13703 (rint_test_data): Include all tests used for nearbyint.
13704
137052014-03-17 Will Newton <will.newton@linaro.org>
13706
13707 * nptl/sysdeps/pthread/pthread.h: Revert previous
13708 change.
13709
13710 * sysdeps/generic/ldsodefs.h: Revert previous
13711 change.
13712
13713 * libio/genops.c: Revert previous change.
13714 * libio/libioP.h: Likewise.
13715 * stdio-common/vfprintf.c: Likewise.
13716
13717 * sysdeps/generic/math_private.h: Revert previous
13718 change.
13719
13720 * sysdeps/generic/math_private.h: Check whether
13721 HAVE_RM_CTX is defined with #ifdef rather
13722 than #if.
13723
13724 * argp/argp-fmtstream.h: Check whether
13725 __STRICT_ANSI__ is defined with #ifdef rather
13726 than #if.
13727 * argp/argp.h: Likewise.
13728
13729 * libio/genops.c: Check whether
13730 _IO_JUMPS_OFFSET is defined with #ifdef rather
13731 than #if.
13732 * libio/libioP.h: Likewise.
13733 * stdio-common/vfprintf.c: Likewise.
13734
13735 * sysdeps/generic/ldsodefs.h: Check whether
13736 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13737 than #if.
13738
13739 * nptl/sysdeps/pthread/pthread.h: Check
13740 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13741 its value.
13742
137432014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13744
13745 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13746 setting O_APPEND.
13747 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13748 test case.
13749
13750 [BZ #16680]
13751 * libio/fileops.c (_IO_file_open): Seek to end of file but
13752 don't cache the offset.
13753 (get_file_offset): Remove function.
13754 (do_ftell): Use cached offset when available.
13755 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13756 don't cache the offset.
13757 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13758 case.
13759 (do_one_test): Call it.
13760 (do_ftell_test): Fix up expected old offset for a+ mode.
13761 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13762 available.
13763
13764 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13765 up test status with function return status.
13766 (do_write_test): Likewise.
13767 (do_append_test): Likewise.
13768
13769 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13770 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13771 Remove.
13772
137732014-03-17 Joseph Myers <joseph@codesourcery.com>
13774
13775 * math/gen-libm-test.pl (parse_args): Handle results specified for
13776 each rounding mode separately.
13777 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13778 tests and results from lrint_tonearest_test_data,
13779 lrint_towardzero_test_data, lrint_downward_test_data and
13780 lrint_upward_test_data.
13781 (lrint_test): Use ALL_RM_TEST.
13782 (lrint_tonearest_test_data): Remove.
13783 (lrint_test_tonearest): Likewise.
13784 (lrint_towardzero_test_data): Likewise.
13785 (lrint_test_towardzero): Likewise.
13786 (lrint_downward_test_data): Likewise.
13787 (lrint_test_downward): Likewise.
13788 (lrint_upward_test_data): Likewise.
13789 (lrint_test_upward): Likewise.
13790 (llrint_test_data): Merge in per-rounding-mode tests and results
13791 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13792 llrint_downward_test_data and llrint_upward_test_data.
13793 (llrint_test): Use ALL_RM_TEST.
13794 (llrint_tonearest_test_data): Remove.
13795 (llrint_test_tonearest): Likewise.
13796 (llrint_towardzero_test_data): Likewise.
13797 (llrint_test_towardzero): Likewise.
13798 (llrint_downward_test_data): Likewise.
13799 (llrint_test_downward): Likewise.
13800 (llrint_upward_test_data): Likewise.
13801 (llrint_test_upward): Likewise.
13802 (rint_test_data): Merge in per-rounding-mode tests and results
13803 from rint_tonearest_test_data, rint_towardzero_test_data,
13804 rint_downward_test_data and rint_upward_test_data. Add
13805 per-rounding-mode results for tests not in those arrays.
13806 (rint_test): Use ALL_RM_TEST.
13807 (rint_tonearest_test_data): Remove.
13808 (rint_test_tonearest): Likewise.
13809 (rint_towardzero_test_data): Likewise.
13810 (rint_test_towardzero): Likewise.
13811 (rint_downward_test_data): Likewise.
13812 (rint_test_downward): Likewise.
13813 (rint_upward_test_data): Likewise.
13814 (rint_test_upward): Likewise.
13815 (main): Don't call removed functions.
13816
138172014-03-14 Roland McGrath <roland@hack.frob.com>
13818
13819 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13820 "Compiled on ..." crapola. It is anti-useful.
13821
138222014-03-14 Joseph Myers <joseph@codesourcery.com>
13823
13824 * scripts/evaluate-test.sh: Handle fourth argument to determine
13825 whether test run should stop on failure.
13826 * Makeconfig (stop-on-test-failure): New variable.
13827 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13828 $(stop-on-test-failure).
13829 * Makefile (tests): Give a summary of results from testing and
13830 exit with failure status if they include an ERROR or FAIL.
13831 (xtests): Likewise.
13832 * manual/install.texi (Configuring and compiling): Mention
13833 stop-on-test-failure=y.
13834 * INSTALL: Regenerated.
13835
138362014-03-14 Roland McGrath <roland@hack.frob.com>
13837
13838 * scripts/versionlist.awk: New file.
13839 * Makerules [$(build-shared) = yes]
13840 (postclean-generated): Add Versions.def, not Versions.def.v and
13841 Versions.def.v.i.
13842 ($(common-objpfx)Versions.def.v.i): Target removed.
13843 ($(common-objpfx)Versions.def): New target.
13844 ($(common-objpfx)Versions.all): Depend on that rather that
13845 $(common-objpfx)Versions.def.v.
13846 * Versions.def: File removed.
13847
13848 * Makeconfig (+gccwarn): Add -Wundef.
13849 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13850 a dl-sysdep.h breaking its contract.
13851 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13852 * include/stackinfo.h: New file.
13853 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13854 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13855 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13856 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13857 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13858 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13859 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13860 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13861 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13862 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13863 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13864 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13865 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13866 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13867 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13868
138692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870
13871 [BZ #16707]
13872 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13873 implementation.
13874 * math/libm-test.inc (round_test_data): Add more tests.
13875
13876 [BZ #16706]
13877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13878 implementation.
13879 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13880
13881 [BZ #16701]
13882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13883 implementation.
13884 * math/libm-test.inc (ceil_test_data): Add more tests.
13885
13886 * math/libm-test.inc (trunc_test_data): Add more tests related to
13887 BZ#16414.
13888
138892014-03-14 Roland McGrath <roland@hack.frob.com>
13890
13891 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13892 with #if rather than #ifdef.
13893 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13894
138952014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13896
13897 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13898 first. Disable AVX-512 GCC support if assembler doesn't support
13899 it.
13900 * sysdeps/x86_64/configure: Regenerated.
13901
139022014-03-13 Carlos O'Donell <carlos@redhat.com>
13903
13904 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13905 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13906 (__old_pthread_attr_setstack): Likewise.
13907 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13908 [!_STACK_GROWS_DOWN]: Likewise.
13909
139102014-03-13 Mike Frysinger <vapier@gentoo.org>
13911
13912 * config.make.in (have-bash2): Delete.
13913 * configure.ac (libc_cv_have_bash2): Delete.
13914 * configure: Regenerate.
13915 * elf/Makefile (common-ldd-rewrite): Rename to ...
13916 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13917 (sh-ldd-rewrite): Delete.
13918 (bash-ldd-rewrite): Delete.
13919 (have-bash2): Delete checks.
13920 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13921 ldd-rewrite.
13922
13923 * config.make.in (have-ksh): Delete.
13924 (KSH): Delete.
13925 * configure.ac (libc_cv_have_ksh): Delete.
13926 * configure: Regenerate.
13927
13928 * elf/Makefile: Delete $(have-ksh) check.
13929 ($(objpfx)sotruss): Change KSH to BASH.
13930 * elf/sotruss.ksh: Rename to ...
13931 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13932 function style to match POSIX. Drop ksh vim mode setting.
13933
13934 * manual/time.texi (Specifying the Time Zone with TZ): Change
13935 Tuesday to Thursday.
13936
13937 * debug/tst-longjmp_chk2.c: Update header comment.
13938 (stackoverflow_handler): Add comment. Call assert on pass value.
13939
139402014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13941
13942 [BZ #16194]
13943 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13944 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13945 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13946 (La_x86_64_vector): Add zmm.
13947 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13948 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13949 ($(objpfx)tst-audit10): New target.
13950 ($(objpfx)tst-audit10.out): Likewise.
13951 (tst-audit10-ENV): New.
13952 (AVX512-CFLAGS): Likewise.
13953 (CFLAGS-tst-audit10.c): Likewise.
13954 (CFLAGS-tst-auditmod10a.c): Likewise.
13955 (CFLAGS-tst-auditmod10b.c): Likewise.
13956 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13957 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13958 * sysdeps/x86_64/configure: Regenerated.
13959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13960 AVX-512 zmm register support.
13961 (_dl_x86_64_save_sse): Likewise.
13962 (_dl_x86_64_restore_sse): Likewise.
13963 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13964 size vector registers.
13965 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13966 (ZMM_SIZE): Likewise.
13967 * sysdeps/x86_64/tst-audit10.c: New file.
13968 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13969 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13970
139712014-03-13 Roland McGrath <roland@hack.frob.com>
13972
13973 * configure.ac (HAVE_EHDR_START): New check.
13974 * configure: Regenerated.
13975 * config.h.in (HAVE_EHDR_START): New #undef.
13976 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13977 assuming the lowest-addressed segment maps the start of the file.
13978
139792014-03-13 Joseph Myers <joseph@codesourcery.com>
13980
13981 * INSTALL: Regenerated.
13982
139832014-03-13 Will Newton <will.newton@linaro.org>
13984
13985 * manual/setjmp.texi (System V contexts): Improve
13986 clarity and grammar of documentation.
13987
139882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13989
13990 [BZ #16381]
13991 * elf/Makefile (tests): Add tst-pie2.
13992 (tests-pie): Add tst-pie2.
13993 * elf/tst-pie2.c: New file.
13994 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13995 for ET_EXEC.
13996 * elf/rtld.c (map_doit): Load executable as lt_executable.
13997 (dl_main): Likewise.
13998
139992014-03-12 Joseph Myers <joseph@codesourcery.com>
14000
14001 [BZ #16642]
14002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14003 (__ASSUME_PSELECT): Undefine.
14004
140052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006
14007 [BZ #16689]
14008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14009 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14010 static build.
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14012 selector for static builds.
14013
140142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14015
14016 [BZ #16695]
14017 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14018 key in the buffer.
14019
140202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14021
14022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14023 IFUNC selector for static builds.
14024
140252014-03-11 Joseph Myers <joseph@codesourcery.com>
14026
14027 * sysdeps/mips/math_private.h [__mips_hard_float]
14028 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14029 libc_feresetround_mips_ctx.
14030 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14031 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14032 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14033
14034 [BZ #16677]
14035 * math/s_nextafter.c (__nextafter): Do not return value from
14036 overflowing computation.
14037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14038 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14040 Likewise.
14041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14042 Likewise.
14043 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14044 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14045
140462014-03-11 Roland McGrath <roland@hack.frob.com>
14047
14048 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14049 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14050 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14051 the new mov targetting sp.
14052
140532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14054
14055 [BZ #16683]
14056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14057 Define it for static builds as well.
14058 (NO_BZERO_IMPL): Likewise.
14059
140602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14061
14062 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14063 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14064 multiarch strspn for PPC64.
14065 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14068 (__libc_ifunc_impl_list): Likewise.
14069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14070 multiarch optimizations
14071 * string/strspn.c (strspn): Using macro to redefine symbol name.
14072
140732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14075
14076 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14077 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14078 multiarch strncat for PPC64.
14079 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14082 (__libc_ifunc_impl_list): Likewise.
14083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14084 multiarch optimizations
14085
140862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14087
14088 [BZ #16639]
14089 * nscd/nscd.service: Make service type forking.
14090
140912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14092
14093 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14094 sign in non default rounding modes.
14095 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14096
140972014-03-08 Joseph Myers <joseph@codesourcery.com>
14098
14099 * math/libm-test.inc (ALL_RM_TEST): New macro.
14100 (ceil_test): Use ALL_RM_TEST.
14101 (cimag_test): Likewise.
14102 (conj_test): Likewise.
14103 (copysign_test): Likewise.
14104 (cproj_test): Likewise.
14105 (creal_test): Likewise.
14106 (fabs_test): Likewise.
14107 (floor_test): Likewise.
14108 (fmax_test): Likewise.
14109 (fmin_test): Likewise.
14110 (fmod_test): Likewise.
14111 (fpclassify_test): Likewise.
14112 (frexp_test): Likewise.
14113 (ilogb_test): Likewise.
14114 (isfinite_test): Likewise.
14115 (finite_test): Likewise.
14116 (isgreater_test): Likewise.
14117 (isgreaterequal_test): Likewise.
14118 (isinf_test): Likewise.
14119 (isless_test): Likewise.
14120 (islessequal_test): Likewise.
14121 (islessgreater_test): Likewise.
14122 (isnan_test): Likewise.
14123 (isnormal_test): Likewise.
14124 (issignaling_test): Likewise.
14125 (isunordered_test): Likewise.
14126 (logb_test): Likewise.
14127 (logb_downward_test_data): Remove.
14128 (logb_test_downward): Likewise.
14129 (lround_test): Use ALL_RM_TEST.
14130 (llround_test): Likewise.
14131 (modf_test): Likewise.
14132 (nexttoward_test): Likewise.
14133 (remainder_test): Likewise.
14134 (drem_test): Likewise.
14135 (remainder_tonearest_test_data): Likewise.
14136 (remainder_test_tonearest): Likewise.
14137 (drem_test_tonearest): Likewise.
14138 (remainder_towardzero_test_data): Likewise.
14139 (remainder_test_towardzero): Likewise.
14140 (drem_test_towardzero): Likewise.
14141 (remainder_downward_test_data): Likewise.
14142 (remainder_test_downward): Likewise.
14143 (drem_test_downward): Likewise.
14144 (remainder_upward_test_data): Likewise.
14145 (remainder_test_upward): Likewise.
14146 (drem_test_upward): Likewise.
14147 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14148 (round_test): Use ALL_RM_TEST.
14149 (signbit_test): Likewise.
14150 (trunc_test): Likewise.
14151 (significand_test): Likewise.
14152 (main): Don't call removed functions.
14153
141542014-03-07 Joseph Myers <joseph@codesourcery.com>
14155
14156 [BZ #16674]
14157 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14158 || __USE_XOPEN2K8].
14159 (ILL_ILLOPN): Likewise.
14160 (ILL_ILLADR): Likewise.
14161 (ILL_ILLTRP): Likewise.
14162 (ILL_PRVOPC): Likewise.
14163 (ILL_PRVREG): Likewise.
14164 (ILL_COPROC): Likewise.
14165 (ILL_BADSTK): Likewise.
14166 (FPE_INTDIV): Likewise.
14167 (FPE_INTOVF): Likewise.
14168 (FPE_FLTDIV): Likewise.
14169 (FPE_FLTOVF): Likewise.
14170 (FPE_FLTUND): Likewise.
14171 (FPE_FLTRES): Likewise.
14172 (FPE_FLTINV): Likewise.
14173 (FPE_FLTSUB): Likewise.
14174 (SEGV_MAPERR): Likewise.
14175 (SEGV_ACCERR): Likewise.
14176 (BUS_ADRALN): Likewise.
14177 (BUS_ADRERR): Likewise.
14178 (BUS_OBJERR): Likewise.
14179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14180 (TRAP_TRACE): Likewise.
14181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14182 __USE_XOPEN2K8].
14183 (CLD_KILLED): Likewise.
14184 (CLD_DUMPED): Likewise.
14185 (CLD_TRAPPED): Likewise.
14186 (CLD_STOPPED): Likewise.
14187 (CLD_CONTINUED): Likewise.
14188 (POLL_IN): Likewise.
14189 (POLL_OUT): Likewise.
14190 (POLL_MSG): Likewise.
14191 (POLL_ERR): Likewise.
14192 (POLL_PRI): Likewise.
14193 (POLL_HUP): Likewise.
14194 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14195 Likewise.
14196 (ILL_ILLOPN): Likewise.
14197 (ILL_ILLADR): Likewise.
14198 (ILL_ILLTRP): Likewise.
14199 (ILL_PRVOPC): Likewise.
14200 (ILL_PRVREG): Likewise.
14201 (ILL_COPROC): Likewise.
14202 (ILL_BADSTK): Likewise.
14203 (FPE_INTDIV): Likewise.
14204 (FPE_INTOVF): Likewise.
14205 (FPE_FLTDIV): Likewise.
14206 (FPE_FLTOVF): Likewise.
14207 (FPE_FLTUND): Likewise.
14208 (FPE_FLTRES): Likewise.
14209 (FPE_FLTINV): Likewise.
14210 (FPE_FLTSUB): Likewise.
14211 (SEGV_MAPERR): Likewise.
14212 (SEGV_ACCERR): Likewise.
14213 (BUS_ADRALN): Likewise.
14214 (BUS_ADRERR): Likewise.
14215 (BUS_OBJERR): Likewise.
14216 (BUS_MCEERR_AR): Likewise.
14217 (BUS_MCEERR_AO): Likewise.
14218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14219 (TRAP_TRACE): Likewise.
14220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14221 __USE_XOPEN2K8].
14222 (CLD_KILLED): Likewise.
14223 (CLD_DUMPED): Likewise.
14224 (CLD_TRAPPED): Likewise.
14225 (CLD_STOPPED): Likewise.
14226 (CLD_CONTINUED): Likewise.
14227 (POLL_IN): Likewise.
14228 (POLL_OUT): Likewise.
14229 (POLL_MSG): Likewise.
14230 (POLL_ERR): Likewise.
14231 (POLL_PRI): Likewise.
14232 (POLL_HUP): Likewise.
14233 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14234 (ILL_ILLOPN): Likewise.
14235 (ILL_ILLADR): Likewise.
14236 (ILL_ILLTRP): Likewise.
14237 (ILL_PRVOPC): Likewise.
14238 (ILL_PRVREG): Likewise.
14239 (ILL_COPROC): Likewise.
14240 (ILL_BADSTK): Likewise.
14241 (FPE_INTDIV): Likewise.
14242 (FPE_INTOVF): Likewise.
14243 (FPE_FLTDIV): Likewise.
14244 (FPE_FLTOVF): Likewise.
14245 (FPE_FLTUND): Likewise.
14246 (FPE_FLTRES): Likewise.
14247 (FPE_FLTINV): Likewise.
14248 (FPE_FLTSUB): Likewise.
14249 (SEGV_MAPERR): Likewise.
14250 (SEGV_ACCERR): Likewise.
14251 (BUS_ADRALN): Likewise.
14252 (BUS_ADRERR): Likewise.
14253 (BUS_OBJERR): Likewise.
14254 (BUS_MCEERR_AR): Likewise.
14255 (BUS_MCEERR_AO): Likewise.
14256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14257 (TRAP_TRACE): Likewise.
14258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14259 __USE_XOPEN2K8].
14260 (CLD_KILLED): Likewise.
14261 (CLD_DUMPED): Likewise.
14262 (CLD_TRAPPED): Likewise.
14263 (CLD_STOPPED): Likewise.
14264 (CLD_CONTINUED): Likewise.
14265 (POLL_IN): Likewise.
14266 (POLL_OUT): Likewise.
14267 (POLL_MSG): Likewise.
14268 (POLL_ERR): Likewise.
14269 (POLL_PRI): Likewise.
14270 (POLL_HUP): Likewise.
14271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14272 Likewise.
14273 (ILL_ILLOPN): Likewise.
14274 (ILL_ILLADR): Likewise.
14275 (ILL_ILLTRP): Likewise.
14276 (ILL_PRVOPC): Likewise.
14277 (ILL_PRVREG): Likewise.
14278 (ILL_COPROC): Likewise.
14279 (ILL_BADSTK): Likewise.
14280 (ILL_BADIADDR): Likewise.
14281 (ILL_BREAK): Likewise.
14282 (FPE_INTDIV): Likewise.
14283 (FPE_INTOVF): Likewise.
14284 (FPE_FLTDIV): Likewise.
14285 (FPE_FLTOVF): Likewise.
14286 (FPE_FLTUND): Likewise.
14287 (FPE_FLTRES): Likewise.
14288 (FPE_FLTINV): Likewise.
14289 (FPE_FLTSUB): Likewise.
14290 (FPE_DECOVF): Likewise.
14291 (FPE_DECDIV): Likewise.
14292 (FPE_DECERR): Likewise.
14293 (FPE_INVASC): Likewise.
14294 (FPE_INVDEC): Likewise.
14295 (SEGV_MAPERR): Likewise.
14296 (SEGV_ACCERR): Likewise.
14297 (SEGV_PSTKOVF): Likewise.
14298 (BUS_ADRALN): Likewise.
14299 (BUS_ADRERR): Likewise.
14300 (BUS_OBJERR): Likewise.
14301 (BUS_MCEERR_AR): Likewise.
14302 (BUS_MCEERR_AO): Likewise.
14303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14304 (TRAP_TRACE): Likewise.
14305 (TRAP_BRANCH): Likewise.
14306 (TRAP_HWBKPT): Likewise.
14307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14308 __USE_XOPEN2K8].
14309 (CLD_KILLED): Likewise.
14310 (CLD_DUMPED): Likewise.
14311 (CLD_TRAPPED): Likewise.
14312 (CLD_STOPPED): Likewise.
14313 (CLD_CONTINUED): Likewise.
14314 (POLL_IN): Likewise.
14315 (POLL_OUT): Likewise.
14316 (POLL_MSG): Likewise.
14317 (POLL_ERR): Likewise.
14318 (POLL_PRI): Likewise.
14319 (POLL_HUP): Likewise.
14320 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14321 (ILL_ILLOPN): Likewise.
14322 (ILL_ILLADR): Likewise.
14323 (ILL_ILLTRP): Likewise.
14324 (ILL_PRVOPC): Likewise.
14325 (ILL_PRVREG): Likewise.
14326 (ILL_COPROC): Likewise.
14327 (ILL_BADSTK): Likewise.
14328 (FPE_INTDIV): Likewise.
14329 (FPE_INTOVF): Likewise.
14330 (FPE_FLTDIV): Likewise.
14331 (FPE_FLTOVF): Likewise.
14332 (FPE_FLTUND): Likewise.
14333 (FPE_FLTRES): Likewise.
14334 (FPE_FLTINV): Likewise.
14335 (FPE_FLTSUB): Likewise.
14336 (SEGV_MAPERR): Likewise.
14337 (SEGV_ACCERR): Likewise.
14338 (BUS_ADRALN): Likewise.
14339 (BUS_ADRERR): Likewise.
14340 (BUS_OBJERR): Likewise.
14341 (BUS_MCEERR_AR): Likewise.
14342 (BUS_MCEERR_AO): Likewise.
14343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14344 (TRAP_TRACE): Likewise.
14345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14346 __USE_XOPEN2K8].
14347 (CLD_KILLED): Likewise.
14348 (CLD_DUMPED): Likewise.
14349 (CLD_TRAPPED): Likewise.
14350 (CLD_STOPPED): Likewise.
14351 (CLD_CONTINUED): Likewise.
14352 (POLL_IN): Likewise.
14353 (POLL_OUT): Likewise.
14354 (POLL_MSG): Likewise.
14355 (POLL_ERR): Likewise.
14356 (POLL_PRI): Likewise.
14357 (POLL_HUP): Likewise.
14358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14359 (ILL_ILLOPN): Likewise.
14360 (ILL_ILLADR): Likewise.
14361 (ILL_ILLTRP): Likewise.
14362 (ILL_PRVOPC): Likewise.
14363 (ILL_PRVREG): Likewise.
14364 (ILL_COPROC): Likewise.
14365 (ILL_BADSTK): Likewise.
14366 (FPE_INTDIV): Likewise.
14367 (FPE_INTOVF): Likewise.
14368 (FPE_FLTDIV): Likewise.
14369 (FPE_FLTOVF): Likewise.
14370 (FPE_FLTUND): Likewise.
14371 (FPE_FLTRES): Likewise.
14372 (FPE_FLTINV): Likewise.
14373 (FPE_FLTSUB): Likewise.
14374 (SEGV_MAPERR): Likewise.
14375 (SEGV_ACCERR): Likewise.
14376 (BUS_ADRALN): Likewise.
14377 (BUS_ADRERR): Likewise.
14378 (BUS_OBJERR): Likewise.
14379 (BUS_MCEERR_AR): Likewise.
14380 (BUS_MCEERR_AO): Likewise.
14381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14382 (TRAP_TRACE): Likewise.
14383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14384 __USE_XOPEN2K8].
14385 (CLD_KILLED): Likewise.
14386 (CLD_DUMPED): Likewise.
14387 (CLD_TRAPPED): Likewise.
14388 (CLD_STOPPED): Likewise.
14389 (CLD_CONTINUED): Likewise.
14390 (POLL_IN): Likewise.
14391 (POLL_OUT): Likewise.
14392 (POLL_MSG): Likewise.
14393 (POLL_ERR): Likewise.
14394 (POLL_PRI): Likewise.
14395 (POLL_HUP): Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14397 (ILL_ILLOPN): Likewise.
14398 (ILL_ILLADR): Likewise.
14399 (ILL_ILLTRP): Likewise.
14400 (ILL_PRVOPC): Likewise.
14401 (ILL_PRVREG): Likewise.
14402 (ILL_COPROC): Likewise.
14403 (ILL_BADSTK): Likewise.
14404 (FPE_INTDIV): Likewise.
14405 (FPE_INTOVF): Likewise.
14406 (FPE_FLTDIV): Likewise.
14407 (FPE_FLTOVF): Likewise.
14408 (FPE_FLTUND): Likewise.
14409 (FPE_FLTRES): Likewise.
14410 (FPE_FLTINV): Likewise.
14411 (FPE_FLTSUB): Likewise.
14412 (SEGV_MAPERR): Likewise.
14413 (SEGV_ACCERR): Likewise.
14414 (BUS_ADRALN): Likewise.
14415 (BUS_ADRERR): Likewise.
14416 (BUS_OBJERR): Likewise.
14417 (BUS_MCEERR_AR): Likewise.
14418 (BUS_MCEERR_AO): Likewise.
14419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14420 (TRAP_TRACE): Likewise.
14421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14422 __USE_XOPEN2K8].
14423 (CLD_KILLED): Likewise.
14424 (CLD_DUMPED): Likewise.
14425 (CLD_TRAPPED): Likewise.
14426 (CLD_STOPPED): Likewise.
14427 (CLD_CONTINUED): Likewise.
14428 (POLL_IN): Likewise.
14429 (POLL_OUT): Likewise.
14430 (POLL_MSG): Likewise.
14431 (POLL_ERR): Likewise.
14432 (POLL_PRI): Likewise.
14433 (POLL_HUP): Likewise.
14434 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14435 (ILL_ILLOPN): Likewise.
14436 (ILL_ILLADR): Likewise.
14437 (ILL_ILLTRP): Likewise.
14438 (ILL_PRVOPC): Likewise.
14439 (ILL_PRVREG): Likewise.
14440 (ILL_COPROC): Likewise.
14441 (ILL_BADSTK): Likewise.
14442 (ILL_DBLFLT): Likewise.
14443 (ILL_HARDWALL): Likewise.
14444 (FPE_INTDIV): Likewise.
14445 (FPE_INTOVF): Likewise.
14446 (FPE_FLTDIV): Likewise.
14447 (FPE_FLTOVF): Likewise.
14448 (FPE_FLTUND): Likewise.
14449 (FPE_FLTRES): Likewise.
14450 (FPE_FLTINV): Likewise.
14451 (FPE_FLTSUB): Likewise.
14452 (SEGV_MAPERR): Likewise.
14453 (SEGV_ACCERR): Likewise.
14454 (BUS_ADRALN): Likewise.
14455 (BUS_ADRERR): Likewise.
14456 (BUS_OBJERR): Likewise.
14457 (BUS_MCEERR_AR): Likewise.
14458 (BUS_MCEERR_AO): Likewise.
14459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14460 (TRAP_TRACE): Likewise.
14461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14462 __USE_XOPEN2K8].
14463 (CLD_KILLED): Likewise.
14464 (CLD_DUMPED): Likewise.
14465 (CLD_TRAPPED): Likewise.
14466 (CLD_STOPPED): Likewise.
14467 (CLD_CONTINUED): Likewise.
14468 (POLL_IN): Likewise.
14469 (POLL_OUT): Likewise.
14470 (POLL_MSG): Likewise.
14471 (POLL_ERR): Likewise.
14472 (POLL_PRI): Likewise.
14473 (POLL_HUP): Likewise.
14474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14475 (ILL_ILLOPN): Likewise.
14476 (ILL_ILLADR): Likewise.
14477 (ILL_ILLTRP): Likewise.
14478 (ILL_PRVOPC): Likewise.
14479 (ILL_PRVREG): Likewise.
14480 (ILL_COPROC): Likewise.
14481 (ILL_BADSTK): Likewise.
14482 (FPE_INTDIV): Likewise.
14483 (FPE_INTOVF): Likewise.
14484 (FPE_FLTDIV): Likewise.
14485 (FPE_FLTOVF): Likewise.
14486 (FPE_FLTUND): Likewise.
14487 (FPE_FLTRES): Likewise.
14488 (FPE_FLTINV): Likewise.
14489 (FPE_FLTSUB): Likewise.
14490 (SEGV_MAPERR): Likewise.
14491 (SEGV_ACCERR): Likewise.
14492 (BUS_ADRALN): Likewise.
14493 (BUS_ADRERR): Likewise.
14494 (BUS_OBJERR): Likewise.
14495 (BUS_MCEERR_AR): Likewise.
14496 (BUS_MCEERR_AO): Likewise.
14497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14498 (TRAP_TRACE): Likewise.
14499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14500 __USE_XOPEN2K8].
14501 (CLD_KILLED): Likewise.
14502 (CLD_DUMPED): Likewise.
14503 (CLD_TRAPPED): Likewise.
14504 (CLD_STOPPED): Likewise.
14505 (CLD_CONTINUED): Likewise.
14506 (POLL_IN): Likewise.
14507 (POLL_OUT): Likewise.
14508 (POLL_MSG): Likewise.
14509 (POLL_ERR): Likewise.
14510 (POLL_PRI): Likewise.
14511 (POLL_HUP): Likewise.
14512 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14514
14515 [BZ #16670]
14516 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14517 before #include of <time.h>.
14518 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14519 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14520 (test-xfail-UNIX98/sched.h/conform): Likewise.
14521
145222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14523
14524 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14525 error absence of trapping exception support.
14526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14527
145282014-03-07 Joseph Myers <joseph@codesourcery.com>
14529
14530 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14531 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14532 * timezone/Makefile (testdata): Move definition above include of
14533 Rules.
14534 (test-zones): New variable.
14535 (tests-special): Add zone files.
14536 (build-testdata): Use $(evaluate-test).
14537
14538 * elf/Makefile (tests-special): Rename tests to end with .out.
14539 ($(objpfx)noload-mem): Likewise.
14540 ($(objpfx)tst-leaks1-mem): Likewise.
14541 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14542 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14543 $(objpfx)test-iconvconfig.out.
14544 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14545 set -e inside subshell and redirect output to file.
14546 * iconvdata/Makefile (generated): Rename tests to end with .out.
14547 Correct type.
14548 (tests-special): Rename tests to end with .out.
14549 ($(objpfx)mtrace-tst-loading): Likewise.
14550 * intl/Makefile (generated): Likewise.
14551 (tests-special): Likewise.
14552 ($(objpfx)mtrace-tst-gettext): Likewise.
14553 * misc/Makefile (generated): Likewise.
14554 (tests-special): Likewise.
14555 ($(objpfx)tst-error1-mem): Likewise.
14556 * nptl/Makefile (tests-special): Likewise.
14557 ($(objpfx)tst-stack3-mem): Likewise.
14558 (generated): Likewise.
14559 * posix/Makefile (generated): Likewise.
14560 (tests-special): Likewise.
14561 (xtests-special): Likewise.
14562 ($(objpfx)tst-fnmatch-mem): Likewise.
14563 ($(objpfx)bug-regex2-mem): Likewise.
14564 ($(objpfx)bug-regex14-mem): Likewise.
14565 ($(objpfx)bug-regex21-mem): Likewise.
14566 ($(objpfx)bug-regex31-mem): Likewise.
14567 ($(objpfx)tst-vfork3-mem): Likewise.
14568 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14569 ($(objpfx)tst-pcre-mem): Likewise.
14570 ($(objpfx)tst-boost-mem): Likewise.
14571 ($(objpfx)bug-ga2-mem): Likewise.
14572 ($(objpfx)bug-glob2-mem): Likewise.
14573 * resolv/Makefile (generate): Likewise.
14574 (tests-special): Likewise.
14575 (xtests-special): Likewise.
14576 (generated): Likewise.
14577 ($(objpfx)mtrace-tst-leaks): Likewise.
14578 ($(objpfx)mtrace-tst-leaks2): Likewise.
14579
14580 * scripts/merge-test-results.sh: New file.
14581 * Makefile (tests-special-notdir): New variable.
14582 (tests): Run merge-test-results.sh.
14583 (xtests): Likewise.
14584 * Rules (tests-special-notdir): New variable.
14585 (xtests-special-notdir): Likewise.
14586 (tests): Run merge-test-results.sh
14587 (xtests): Likewise.
14588
14589 * Makeconfig (test-xfail-name): New variable.
14590 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14591 compute variable name for expected failures.
14592 * conform/Makefile (conformtest-headers-data): New variable.
14593 (conformtest-standards): Likewise.
14594 (conformtest-headers-ISO): Likewise.
14595 (conformtest-headers-ISO99): Likewise.
14596 (conformtest-headers-ISO11): Likewise.
14597 (conformtest-headers-POSIX): Likewise.
14598 (conformtest-headers-XPG3): Likewise.
14599 (conformtest-headers-XPG4): Likewise.
14600 (conformtest-headers-UNIX98): Likewise.
14601 (conformtest-headers-XOPEN2K): Likewise.
14602 (conformtest-headers-POSIX2008): Likewise.
14603 (conformtest-headers-XOPEN2K8): Likewise.
14604 (conformtest-header-list-base): Likewise.
14605 (conformtest-header-list-tests): Likewise.
14606 (conformtest-header-base): Likewise.
14607 (conformtest-header-tests): Likewise.
14608 (tests-special): Add $(conformtest-header-list-tests). If
14609 [$(fast-check) && !$(cross-compiling)], add
14610 $(conformtest-header-tests) instead of
14611 $(objpfx)run-conformtest.out.
14612 (generated): Add $(conformtest-header-list-base). If
14613 [$(fast-check) && !$(cross-compiling)], add
14614 $(conformtest-header-base). Remove previous setting.
14615 ($(conformtest-header-list-tests)): New target.
14616 (test-xfail-run-conformtest): Remove variable.
14617 ($(objpfx)run-conformtest.out): Remove target.
14618 (test-xfail-ISO11/complex.h/conform): New variable.
14619 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14620 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14621 (test-xfail-XPG3/varargs.h/conform): Likewise.
14622 (test-xfail-XPG4/varargs.h/conform): Likewise.
14623 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14624 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14625 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14626 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14627 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14628 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14629 (test-xfail-XPG3/ftw.h/conform): Likewise.
14630 (test-xfail-XPG3/grp.h/conform): Likewise.
14631 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14632 (test-xfail-XPG3/limits.h/conform): Likewise.
14633 (test-xfail-XPG3/pwd.h/conform): Likewise.
14634 (test-xfail-XPG3/search.h/conform): Likewise.
14635 (test-xfail-XPG3/signal.h/conform): Likewise.
14636 (test-xfail-XPG3/stdio.h/conform): Likewise.
14637 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14638 (test-xfail-XPG3/string.h/conform): Likewise.
14639 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14640 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14641 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14642 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14643 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14644 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14645 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14646 (test-xfail-XPG3/termios.h/conform): Likewise.
14647 (test-xfail-XPG3/time.h/conform): Likewise.
14648 (test-xfail-XPG3/unistd.h/conform): Likewise.
14649 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14650 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14651 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14652 (test-xfail-XPG4/netdb.h/conform): Likewise.
14653 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14654 (test-xfail-XPG4/signal.h/conform): Likewise.
14655 (test-xfail-XPG4/stdio.h/conform): Likewise.
14656 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14657 (test-xfail-XPG4/stropts.h/conform): Likewise.
14658 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14660 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14661 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14662 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14663 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14664 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14665 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14666 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14667 (test-xfail-XPG4/termios.h/conform): Likewise.
14668 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14669 (test-xfail-XPG4/unistd.h/conform): Likewise.
14670 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14671 (test-xfail-POSIX/sched.h/conform): Likewise.
14672 (test-xfail-POSIX/signal.h/conform): Likewise.
14673 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14674 (test-xfail-POSIX/tar.h/conform): Likewise.
14675 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14676 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14677 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14678 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14679 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14680 (test-xfail-UNIX98/sched.h/conform): Likewise.
14681 (test-xfail-UNIX98/signal.h/conform): Likewise.
14682 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14683 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14684 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14685 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14686 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14687 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14689 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14690 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14693 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14694 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14695 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14696 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14697 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14698 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14699 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14700 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14703 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14705 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14706 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14707 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14708 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14709 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14710 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14712 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14713 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14714 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14715 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14717 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14718 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14719 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14720 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14721 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14722 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14723 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14724 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14725 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14726 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14727 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14728 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14729 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14730 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14732 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14733 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14734 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14735 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14736 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14737 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14738 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14739 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14740 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14741 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14742 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14743 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14744 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14745 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14746 (conformtest-cc-flags): Likewise.
14747 ($(conformtest-header-tests): New target.
14748 * conform/check-header-lists.sh: New file.
14749 * conform/run-conformtest.sh: Remove.
14750
14751 * conform/conformtest.pl: Allow ' and \ in values given for
14752 constants.
14753 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14754 inclusion.
14755 [POSIX] (sys/types.h): Likewise.
14756 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14757 inclusion.
14758 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14759 inclusion.
14760 * conform/data/signal.h-data (SIGIO): Remove expectation.
14761 [XPG3] (SIGBUS): Do not expect.
14762 [POSIX || XPG3] (SIGPOLL): Likewise.
14763 [POSIX || XPG3] (SIGPROF): Likewise.
14764 [POSIX || XPG3] (SIGSYS): Likewise.
14765 [XPG3] (SIGTRAP): Likewise.
14766 [POSIX || XPG3] (SIGURG): Likewise.
14767 [POSIX || XPG3] (SIGVTALRM): Likewise.
14768 [POSIX || XPG3] (SIGXCPU): Likewise.
14769 [POSIX || XPG3] (SIGXFSZ): Likewise.
14770 [POSIX] (SA_SIGINFO): Expect.
14771 [XPG3] (siginfo_t): Do not expect type or contents.
14772 [POSIX] (si_pid): Do not expect element.
14773 [POSIX] (si_uid): Likewise.
14774 [POSIX] (si_addr): Likewise.
14775 [POSIX] (si_status): Likewise.
14776 [POSIX] (si_band): Likewise.
14777 [XPG4] (si_value): Likewise.
14778 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14779 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14780 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14781 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14782 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14783 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14784 [POSIX || XPG3] (ILL_COPROC): Likewise.
14785 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14786 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14787 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14788 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14789 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14790 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14791 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14792 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14793 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14794 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14795 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14796 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14797 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14798 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14799 [POSIX || XPG3] (CLD_EXITED): Likewise.
14800 [POSIX || XPG3] (CLD_KILLED): Likewise.
14801 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14802 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14803 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14804 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14805 [POSIX || XPG3] (POLL_IN): Likewise.
14806 [POSIX || XPG3] (POLL_OUT): Likewise.
14807 [POSIX || XPG3] (POLL_MSG): Likewise.
14808 [POSIX || XPG3] (POLL_ERR): Likewise.
14809 [POSIX || XPG3] (POLL_PRI): Likewise.
14810 [POSIX || XPG3] (POLL_HUP): Likewise.
14811 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14812 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14813 (SIG*): Do not allow.
14814 [XPG3] (si_*): Likewise.
14815 [XPG3] (SI_*): Likewise.
14816 [XPG3 || XPG4] (sigev_*): Likewise.
14817 [XPG3 || XPG4] (SIGEV_*): Likewise.
14818 [XPG3 || XPG4] (sival_*): Likewise.
14819 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14820 [POSIX || XPG3] (BUS_*): Likewise.
14821 [POSIX || XPG3] (CLD_*): Likewise.
14822 [POSIX || XPG3] (FPE_*): Likewise.
14823 [POSIX || XPG3] (ILL_*): Likewise.
14824 [POSIX || XPG3] (POLL_*): Likewise.
14825 [POSIX || XPG3] (SEGV_*): Likewise.
14826 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14827 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14828 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14829 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14830 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14831 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14832 Specify type and value.
14833 (TVERSLEN): Likewise.
14834 (REGTYPE): Likewise.
14835 (AREGTYPE): Likewise.
14836 (LNKTYPE): Likewise.
14837 (SYMTYPE): Likewise.
14838 (CHRTYPE): Likewise.
14839 (BLKTYPE): Likewise.
14840 (DIRTYPE): Likewise.
14841 (FIFOTYPE): Likewise.
14842 (CONTTYPE): Likewise.
14843 (TSUID): Likewise.
14844 (TSGID): Likewise.
14845 (TSVTX): Likewise.
14846 (TUREAD): Likewise.
14847 (TUWRITE): Likewise.
14848 (TUEXEC): Likewise.
14849 (TGREAD): Likewise.
14850 (TGWRITE): Likewise.
14851 (TGEXEC): Likewise.
14852 (TOREAD): Likewise.
14853 (TOWRITE): Likewise.
14854 (TOEXEC): Likewise.
14855 [POSIX] (TSVTX): Expect constant.
14856
148572014-03-06 Joseph Myers <joseph@codesourcery.com>
14858
14859 * Makefile (tests): Change dependencies to ....
14860 (tests-special): ... additions to this variable.
14861 (tests): Depend on $(tests-special).
14862 * Makerules (check-abi-list): New variable.
14863 (check-abi): Depend on $(check-abi-list).
14864 [$(subdir) = elf] (tests-special): Add
14865 $(objpfx)check-abi-libc.out.
14866 [$(build-shared) = yes && subdir] (tests-special): Add
14867 $(check-abi-list).
14868 [$(build-shared) = yes && subdir] (tests): Do not depend on
14869 check-abi.
14870 * Rules (tests): Depend on $(tests-special).
14871 (xtests): Depend on $(xtests-special).
14872 * catgets/Makefile (tests): Change dependencies to ....
14873 (tests-special): ... additions to this variable.
14874 * conform/Makefile (tests): Change dependencies to ....
14875 (tests-special): ... additions to this variable.
14876 * elf/Makefile (tests): Change dependencies to ....
14877 (tests-special): ... additions to this variable.
14878 * grp/Makefile (tests): Change dependencies to ....
14879 (tests-special): ... additions to this variable.
14880 * iconv/Makefile (xtests): Change dependencies to ....
14881 (xtests-special): ... additions to this variable.
14882 * iconvdata/Makefile (tests): Change dependencies to ....
14883 (tests-special): ... additions to this variable.
14884 * intl/Makefile (tests): Change dependencies to ....
14885 (tests-special): ... additions to this variable. Also add
14886 $(objpfx)tst-gettext.out.
14887 * io/Makefile (tests): Change dependencies to ....
14888 (tests-special): ... additions to this variable.
14889 * libio/Makefile (tests): Change dependencies to ....
14890 (tests-special): ... additions to this variable.
14891 * malloc/Makefile (tests): Change dependencies to ....
14892 (tests-special): ... additions to this variable.
14893 * misc/Makefile (tests): Change dependencies to ....
14894 (tests-special): ... additions to this variable.
14895 * nptl/Makefile (tests): Change dependencies to ....
14896 (tests-special): ... additions to this variable.
14897 * nptl_db/Makefile (tests): Change dependencies to ....
14898 (tests-special): ... additions to this variable.
14899 * posix/Makefile (tests): Change dependencies to ....
14900 (tests-special): ... additions to this variable.
14901 (xtests): Change dependencies to ....
14902 (xtests-special): ... additions to this variable.
14903 * resolv/Makefile (tests): Change dependencies to ....
14904 (tests-special): ... additions to this variable.
14905 (xtests): Change dependencies to ....
14906 (xtests-special): ... additions to this variable.
14907 * stdio-common/Makefile (tests): Change dependencies to ....
14908 (tests-special): ... additions to this variable.
14909 (do-tst-unbputc): Remove target.
14910 (do-tst-printf): Likewise.
14911 * stdlib/Makefile (tests): Change dependencies to ....
14912 (tests-special): ... additions to this variable.
14913 * string/Makefile (tests): Change dependencies to ....
14914 (tests-special): ... additions to this variable.
14915 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14916 (tests-special): ... additions to this variable.
14917
14918 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14919 whole file.
14920 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14921 whole file.
14922 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14923 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14924
14925 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14926 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14927 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14928 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14929 * conform/data/libgen.h-data [XPG3]: Likewise.
14930 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14931 * conform/data/ndbm.h-data [XPG3]: Likewise.
14932 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14933 * conform/data/netdb.h-data [XPG3]: Likewise.
14934 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14935 * conform/data/poll.h-data [XPG3]: Likewise.
14936 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14937 * conform/data/strings.h-data [XPG3]: Likewise.
14938 * conform/data/stropts.h-data [XPG3]: Likewise.
14939 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14940 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14941 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14942 Likewise.
14943 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14944 * conform/data/sys/time.h-data [XPG3]: Likewise.
14945 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14946 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14947 * conform/data/sys/un.h-data [XPG3]: Likewise.
14948 * conform/data/syslog.h-data [XPG3]: Likewise.
14949 * conform/data/ucontext.h-data [XPG3]: Likewise.
14950 * conform/data/utmpx.h-data [XPG3]: Likewise.
14951 * conform/data/varargs.h-data [UNIX98]: Enable file.
14952
14953 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14954
14955 * math/libm-test.inc (struct test_f_f_data): Move expected results
14956 into structure for each rounding mode.
14957 (struct test_ff_f_data): Likewise.
14958 (struct test_ff_f_data_nexttoward): Likewise.
14959 (struct test_fi_f_data): Likewise.
14960 (struct test_fl_f_data): Likewise.
14961 (struct test_if_f_data): Likewise.
14962 (struct test_fff_f_data): Likewise.
14963 (struct test_c_f_data): Likewise.
14964 (struct test_f_f1_data): Likewise.
14965 (struct test_fF_f1_data): Likewise.
14966 (struct test_ffI_f1_data): Likewise.
14967 (struct test_c_c_data): Likewise.
14968 (struct test_cc_c_data): Likewise.
14969 (struct test_f_i_data): Likewise.
14970 (struct test_ff_i_data): Likewise.
14971 (struct test_f_l_data): Likewise.
14972 (struct test_f_L_data): Likewise.
14973 (struct test_fFF_11_data): Likewise.
14974 (RM_): New macro.
14975 (RM_FE_DOWNWARD): Likewise.
14976 (RM_FE_TONEAREST): Likewise.
14977 (RM_FE_TOWARDZERO): Likewise.
14978 (RM_FE_UPWARD): Likewise.
14979 (RUN_TEST_LOOP_f_f): Update references to expected results.
14980 (RUN_TEST_LOOP_2_f): Likewise.
14981 (RUN_TEST_LOOP_fff_f): Likewise.
14982 (RUN_TEST_LOOP_c_f): Likewise.
14983 (RUN_TEST_LOOP_f_f1): Likewise.
14984 (RUN_TEST_LOOP_fF_f1): Likewise.
14985 (RUN_TEST_LOOP_fI_f1): Likewise.
14986 (RUN_TEST_LOOP_ffI_f1): Likewise.
14987 (RUN_TEST_LOOP_c_c): Likewise.
14988 (RUN_TEST_LOOP_cc_c): Likewise.
14989 (RUN_TEST_LOOP_f_i): Likewise.
14990 (RUN_TEST_LOOP_f_i_tg): Likewise.
14991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14992 (RUN_TEST_LOOP_f_b): Likewise.
14993 (RUN_TEST_LOOP_f_b_tg): Likewise.
14994 (RUN_TEST_LOOP_f_l): Likewise.
14995 (RUN_TEST_LOOP_f_L): Likewise.
14996 (RUN_TEST_LOOP_fFF_11): Likewise.
14997 * math/gen-libm-test.pl (parse_args): Output four copies of
14998 expected results for each test.
14999
15000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15001 (__ASSUME_UTIMES): Remove.
15002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15003 (__ASSUME_UTIMES): Likewise.
15004
15005 * math/gen-auto-libm-tests.c: Update comment on output format.
15006 (output_for_one_input_case): Generate before-rounding and
15007 after-rounding information as conditions on output flags not
15008 floating-point format.
15009 * math/auto-libm-test-out: Regenerated.
15010 * math/gen-libm-test.pl (cond_value): New function.
15011 (or_cond_value): Use cond_value.
15012 (generate_testfile): Handle conditional exceptions.
15013
150142014-03-05 Joseph Myers <joseph@codesourcery.com>
15015
15016 * math/libm-test.inc (max_valid_error): New variable.
15017 (init_max_error): Take new argument specifying whether function
15018 results are exactly determined. Set max_valid_error and bound
15019 other variables for errors based on this argument.
15020 (set_max_error): Do not record results above max_valid_error.
15021 (check_float_internal): Only accept errors of up to 0.5ulps if
15022 also at most max_valid_error.
15023 (START): Take new argument EXACT and pass it to init_max_error.
15024 (acos_test): Update call to START.
15025 (acos_test_tonearest): Likewise.
15026 (acos_test_towardzero): Likewise.
15027 (acos_test_downward): Likewise.
15028 (acos_test_upward): Likewise.
15029 (acosh_test): Likewise.
15030 (asin_test): Likewise.
15031 (asin_test_tonearest): Likewise.
15032 (asin_test_towardzero): Likewise.
15033 (asin_test_downward): Likewise.
15034 (asin_test_upward): Likewise.
15035 (asinh_test): Likewise.
15036 (atan_test): Likewise.
15037 (atanh_test): Likewise.
15038 (atan2_test): Likewise.
15039 (cabs_test): Likewise.
15040 (cacos_test): Likewise.
15041 (cacosh_test): Likewise.
15042 (carg_test): Likewise.
15043 (casin_test): Likewise.
15044 (casinh_test): Likewise.
15045 (catan_test): Likewise.
15046 (catanh_test): Likewise.
15047 (cbrt_test): Likewise.
15048 (ccos_test): Likewise.
15049 (ccosh_test): Likewise.
15050 (ceil_test): Likewise.
15051 (cexp_test): Likewise.
15052 (cimag_test): Likewise.
15053 (clog_test): Likewise.
15054 (clog10_test): Likewise.
15055 (conj_test): Likewise.
15056 (copysign_test): Likewise.
15057 (cos_test): Likewise.
15058 (cos_test_tonearest): Likewise.
15059 (cos_test_towardzero): Likewise.
15060 (cos_test_downward): Likewise.
15061 (cos_test_upward): Likewise.
15062 (cosh_test): Likewise.
15063 (cosh_test_tonearest): Likewise.
15064 (cosh_test_towardzero): Likewise.
15065 (cosh_test_downward): Likewise.
15066 (cosh_test_upward): Likewise.
15067 (cpow_test): Likewise.
15068 (cproj_test): Likewise.
15069 (creal_test): Likewise.
15070 (csin_test): Likewise.
15071 (csinh_test): Likewise.
15072 (csqrt_test): Likewise.
15073 (ctan_test): Likewise.
15074 (ctan_test_tonearest): Likewise.
15075 (ctan_test_towardzero): Likewise.
15076 (ctan_test_downward): Likewise.
15077 (ctan_test_upward): Likewise.
15078 (ctanh_test): Likewise.
15079 (ctanh_test_tonearest): Likewise.
15080 (ctanh_test_towardzero): Likewise.
15081 (ctanh_test_downward): Likewise.
15082 (ctanh_test_upward): Likewise.
15083 (erf_test): Likewise.
15084 (erfc_test): Likewise.
15085 (exp_test): Likewise.
15086 (exp_test_tonearest): Likewise.
15087 (exp_test_towardzero): Likewise.
15088 (exp_test_downward): Likewise.
15089 (exp_test_upward): Likewise.
15090 (exp10_test): Likewise.
15091 (exp10_test_tonearest): Likewise.
15092 (exp10_test_towardzero): Likewise.
15093 (exp10_test_downward): Likewise.
15094 (exp10_test_upward): Likewise.
15095 (pow10_test): Likewise.
15096 (exp2_test): Likewise.
15097 (expm1_test): Likewise.
15098 (expm1_test_tonearest): Likewise.
15099 (expm1_test_towardzero): Likewise.
15100 (expm1_test_downward): Likewise.
15101 (expm1_test_upward): Likewise.
15102 (fabs_test): Likewise.
15103 (fdim_test): Likewise.
15104 (floor_test): Likewise.
15105 (fma_test): Likewise.
15106 (fma_test_towardzero): Likewise.
15107 (fma_test_downward): Likewise.
15108 (fma_test_upward): Likewise.
15109 (fmax_test): Likewise.
15110 (fmin_test): Likewise.
15111 (fmod_test): Likewise.
15112 (fpclassify_test): Likewise.
15113 (frexp_test): Likewise.
15114 (hypot_test): Likewise.
15115 (ilogb_test): Likewise.
15116 (isfinite_test): Likewise.
15117 (finite_test): Likewise.
15118 (isgreater_test): Likewise.
15119 (isgreaterequal_test): Likewise.
15120 (isinf_test): Likewise.
15121 (isless_test): Likewise.
15122 (islessequal_test): Likewise.
15123 (islessgreater_test): Likewise.
15124 (isnan_test): Likewise.
15125 (isnormal_test): Likewise.
15126 (issignaling_test): Likewise.
15127 (isunordered_test): Likewise.
15128 (j0_test): Likewise.
15129 (j1_test): Likewise.
15130 (jn_test): Likewise.
15131 (ldexp_test): Likewise.
15132 (lgamma_test): Likewise.
15133 (gamma_test): Likewise.
15134 (lrint_test): Likewise.
15135 (lrint_test_tonearest): Likewise.
15136 (lrint_test_towardzero): Likewise.
15137 (lrint_test_downward): Likewise.
15138 (lrint_test_upward): Likewise.
15139 (llrint_test): Likewise.
15140 (llrint_test_tonearest): Likewise.
15141 (llrint_test_towardzero): Likewise.
15142 (llrint_test_downward): Likewise.
15143 (llrint_test_upward): Likewise.
15144 (log_test): Likewise.
15145 (log10_test): Likewise.
15146 (log1p_test): Likewise.
15147 (log2_test): Likewise.
15148 (logb_test): Likewise.
15149 (logb_test_downward): Likewise.
15150 (lround_test): Likewise.
15151 (llround_test): Likewise.
15152 (modf_test): Likewise.
15153 (nearbyint_test): Likewise.
15154 (nextafter_test): Likewise.
15155 (nexttoward_test): Likewise.
15156 (pow_test): Likewise.
15157 (pow_test_tonearest): Likewise.
15158 (pow_test_towardzero): Likewise.
15159 (pow_test_downward): Likewise.
15160 (pow_test_upward): Likewise.
15161 (remainder_test): Likewise.
15162 (drem_test): Likewise.
15163 (remainder_test_tonearest): Likewise.
15164 (drem_test_tonearest): Likewise.
15165 (remainder_test_towardzero): Likewise.
15166 (drem_test_towardzero): Likewise.
15167 (remainder_test_downward): Likewise.
15168 (drem_test_downward): Likewise.
15169 (remainder_test_upward): Likewise.
15170 (drem_test_upward): Likewise.
15171 (remquo_test): Likewise.
15172 (rint_test): Likewise.
15173 (rint_test_tonearest): Likewise.
15174 (rint_test_towardzero): Likewise.
15175 (rint_test_downward): Likewise.
15176 (rint_test_upward): Likewise.
15177 (round_test): Likewise.
15178 (scalb_test): Likewise.
15179 (scalbn_test): Likewise.
15180 (scalbln_test): Likewise.
15181 (signbit_test): Likewise.
15182 (sin_test): Likewise.
15183 (sin_test_tonearest): Likewise.
15184 (sin_test_towardzero): Likewise.
15185 (sin_test_downward): Likewise.
15186 (sin_test_upward): Likewise.
15187 (sincos_test): Likewise.
15188 (sinh_test): Likewise.
15189 (sinh_test_tonearest): Likewise.
15190 (sinh_test_towardzero): Likewise.
15191 (sinh_test_downward): Likewise.
15192 (sinh_test_upward): Likewise.
15193 (sqrt_test): Likewise.
15194 (sqrt_test_tonearest): Likewise.
15195 (sqrt_test_towardzero): Likewise.
15196 (sqrt_test_downward): Likewise.
15197 (sqrt_test_upward): Likewise.
15198 (tan_test): Likewise.
15199 (tan_test_tonearest): Likewise.
15200 (tan_test_towardzero): Likewise.
15201 (tan_test_downward): Likewise.
15202 (tan_test_upward): Likewise.
15203 (tanh_test): Likewise.
15204 (tgamma_test): Likewise.
15205 (trunc_test): Likewise.
15206 (y0_test): Likewise.
15207 (y1_test): Likewise.
15208 (yn_test): Likewise.
15209 (significand_test): Likewise.
15210
15211 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15212 individual tests in comment.
15213 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15214 (prev_max_error): New variable.
15215 (prev_real_max_error): Likewise.
15216 (prev_imag_max_error): Likewise.
15217 (compare_ulp_data): Don't refer to test names in comment.
15218 (find_test_ulps): Remove function.
15219 (find_function_ulps): Likewise.
15220 (find_complex_function_ulps): Likewise.
15221 (init_max_error): Take function name as argument. Look up ulps
15222 for that function.
15223 (print_ulps): Remove function.
15224 (print_max_error): Use prev_max_error instead of calling
15225 find_function_ulps.
15226 (print_complex_max_error): Use prev_real_max_error and
15227 prev_imag_max_error instead of calling find_complex_function_ulps.
15228 (check_float_internal): Take max_ulp parameter instead of calling
15229 find_test_ulps. Don't call print_ulps.
15230 (check_float): Update call to check_float_internal.
15231 (check_complex): Update calls to check_float_internal.
15232 (START): Pass argument to init_max_error.
15233 * math/gen-libm-test.pl (%results): Don't include "kind"
15234 information.
15235 (parse_ulps): Don't handle ulps of individual tests.
15236 (print_ulps_file): Likewise.
15237 (output_ulps): Likewise.
15238 * math/README.libm-test: Update.
15239 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15240 individual tests.
15241 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15242 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15243 * sysdeps/arm/libm-test-ulps: Likewise.
15244 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15245 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15246 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15248 * sysdeps/microblaze/libm-test-ulps: Likewise.
15249 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15250 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15252 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15254 * sysdeps/sh/libm-test-ulps: Likewise.
15255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15256 * sysdeps/tile/libm-test-ulps: Likewise.
15257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15258
152592014-03-04 Joseph Myers <joseph@codesourcery.com>
15260
15261 * math/libm-test.inc (print_complex_max_error): Check separately
15262 whether real and imaginary errors are within allowed range and
15263 pass 0 to print_complex_function_ulps instead of value within
15264 allowed range.
15265
152662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15267
15268 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15269 formatting.
15270 (get_handles_fopen): Likewise.
15271 (do_write_test): Likewise.
15272
15273 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15274
15275 * libio/fileops.c (do_ftell): Use cached offset when
15276 available.
15277 * libio/iofwide.c (do_ftell_wide): Likewise.
15278 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15279 _IO_file_attach.
15280 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15281
15282 [BZ #16532]
15283 * libio/libioP.h (get_file_offset): New function.
15284 * libio/fileops.c (get_file_offset): Likewise.
15285 (do_ftell): Likewise.
15286 (_IO_new_file_seekoff): Split out ftell logic.
15287 * libio/wfileops.c (do_ftell_wide): Likewise.
15288 (_IO_wfile_seekoff): Split out ftell logic.
15289 * libio/tst-ftell-active-handler.c: New test case.
15290 * libio/Makefile (tests): Add it.
15291
152922014-03-03 Roland McGrath <roland@hack.frob.com>
15293
15294 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15295 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15296
152972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15298
15299 [BZ #16639]
15300 * nscd/connections.c (nscd_init): Call do_exit.
15301 (start_threads): Call do_exit and notify_parent.
15302 (begin_drop_privileges): Call do_exit.
15303 (finish_drop_privileges): Likewise.
15304 * nscd/selinux.c (preserve_capabilities): Likewise.
15305 (install_real_capabilities): Likewise.
15306 (nscd_selinux_enabled): Likewise.
15307 (avc_create_thread): Likewise.
15308 (avc_alloc_lock): Likewise.
15309 (nscd_avc_init): Likewise.
15310 * nscd/nscd.c (parent_fd): New static variable.
15311 (main): Create a pipe between parent and child processes.
15312 Skip closing parent_fd.
15313 (monitor_child): New function.
15314 (do_exit): Likewise.
15315 (notify_parent): Likewise.
15316 * nscd/nscd.h (notify_parent): Likewise.
15317 (do_exit): Likewise.
15318
153192014-03-03 Carlos O'Donell <carlos@redhat.com>
15320
15321 * malloc/malloc.c (__libc_calloc): Revert last change.
15322
153232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15324
15325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15326
153272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15328
15329 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15331 implementation.
15332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15333 (__libc_ifunc_impl_list): Likewise.
15334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15335 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15337 * string/strrchr.c: Define STRRCHR.
15338
153392014-02-28 Ondřej Bílka <neleai@seznam.cz>
15340
15341 * benchtest/bench-strtok.c (simple_strtok): Delete.
15342 (strtok_string): Use as benchmark.
15343 * string/strtok (STRTOK): New macro.
15344
153452014-02-28 Carlos O'Donell <carlos@redhat.com>
15346
15347 * manual/threads.texi: Add header and standard comments to all
15348 functions.
15349
15350 * elf/dl-lookup.c (check_match): New function.
15351 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15352 (do_lookup_x): Remove nested function check_match. Use non-nested
15353 function check_match.
15354
153552014-02-28 Roland McGrath <roland@hack.frob.com>
15356
15357 * csu/Makefile (generated, before-compile): Use += rather than =.
15358 * catgets/Makefile (generated, generated-dirs): Likewise.
15359 * debug/Makefile (generated): Likewise.
15360 * dlfcn/Makefile (generated): Likewise.
15361 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15362 * iconvdata/Makefile (before-compile, generated): Likewise.
15363 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15364 * libio/Makefile (generated): Likewise.
15365 * malloc/Makefile (generated): Likewise.
15366 * manual/Makefile (generated, generated-dirs): Likewise.
15367 * misc/Makefile (generated): Likewise.
15368 * posix/Makefile (generated): Likewise.
15369 * resolv/Makefile (generated): Likewise.
15370 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15371 * timezone/Makefile (generated, generated-dirs): Likewise.
15372
15373 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15374
153752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15376
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15378 power8 implementation.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15380 file: POWER8 llround ifunc implementation.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15382 (__lllround): Add POWER8 implementation.
15383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15384 POWER8 llround implementation.
15385
15386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15387 power8 implementation.
15388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15389 file: POWER8 llrint ifunc implementation.
15390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15391 Add POWER8 implementation.
15392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15393 POWER8 llrint implementation.
15394
15395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15396 power8 implementation.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15398 file: POWER8 finite ifunc implementation.
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15400 Add POWER8 implementation.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15402 Likewise.
15403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15404 POWER8 finite implementation.
15405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15406
15407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15408 power8 implementation.
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15410 file: POWER8 isinf ifunc implementation.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15412 POWER8 implementation.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15414 Likewise.
15415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15416 isinf implementation.
15417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15418
15419 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15420 (INIT_ARCH): Add hwcap2 initialization.
15421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15422 power8 implementation.
15423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15424 file: POWER8 isnan ifunc implementation.
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15426 POWER8 implementation.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15428 Likewise.
15429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15430 isnan implementation.
15431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15432
154332014-02-27 Joey Ye <joey.ye@arm.com>
15434
15435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15436 (_FP_NANFRAC_Q): Set to zero.
15437
154382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15439
15440 [BZ #16623]
15441 * math/auto-libm-test-in: New test inputs.
15442 * math/auto-libm-test-out: Regenerate.
15443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15444 and DA.
15445 (__cos): Likewise.
15446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15447
154482014-02-27 Joseph Myers <joseph@codesourcery.com>
15449
15450 * scripts/evaluate-test.sh: Take new argument indicating whether
15451 failure is expected.
15452 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15453 indicating whether failure is expected.
15454 * conform/Makefile (test-xfail-run-conformtest): New variable.
15455 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15456 level.
15457 * posix/Makefile (test-xfail-annexc): New variable.
15458 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15459
154602014-02-26 Joseph Myers <joseph@codesourcery.com>
15461
15462 * argp/Makefile: Include Makeconfig immediately after defining
15463 subdir.
15464 * assert/Makefile: Likewise.
15465 * benchtests/Makefile: Likewise.
15466 * catgets/Makefile: Likewise.
15467 * conform/Makefile: Likewise.
15468 * crypt/Makefile: Likewise.
15469 * csu/Makefile: Likewise.
15470 (all): Remove target.
15471 * ctype/Makefile: Include Makeconfig immediately after defining
15472 subdir.
15473 * debug/Makefile: Likewise.
15474 * dirent/Makefile: Likewise.
15475 * dlfcn/Makefile: Likewise.
15476 * gmon/Makefile: Likewise.
15477 * gnulib/Makefile: Likewise.
15478 * grp/Makefile: Likewise.
15479 * gshadow/Makefile: Likewise.
15480 * hesiod/Makefile: Likewise.
15481 * hurd/Makefile: Likewise.
15482 (all): Remove target.
15483 * iconvdata/Makefile: Include Makeconfig immediately after
15484 defining subdir.
15485 * inet/Makefile: Likewise.
15486 * intl/Makefile: Likewise.
15487 * io/Makefile: Likewise.
15488 * libio/Makefile: Likewise.
15489 (all): Remove target.
15490 * locale/Makefile: Include Makeconfig immediately after defining
15491 subdir.
15492 * login/Makefile: Likewise.
15493 * mach/Makefile: Likewise.
15494 (all): Remove target.
15495 * malloc/Makefile: Include Makeconfig immediately after defining
15496 subdir.
15497 (all): Remove target.
15498 * manual/Makefile: Include Makeconfig immediately after defining
15499 subdir.
15500 * math/Makefile: Likewise.
15501 * misc/Makefile: Likewise.
15502 * nis/Makefile: Likewise.
15503 * nss/Makefile: Likewise.
15504 * po/Makefile: Likewise.
15505 (all): Remove target.
15506 * posix/Makefile: Include Makeconfig immediately after defining
15507 subdir.
15508 * pwd/Makefile: Likewise.
15509 * resolv/Makefile: Likewise.
15510 * resource/Makefile: Likewise.
15511 * rt/Makefile: Likewise.
15512 * setjmp/Makefile: Likewise.
15513 * shadow/Makefile: Likewise.
15514 * signal/Makefile: Likewise.
15515 * socket/Makefile: Likewise.
15516 * soft-fp/Makefile: Likewise.
15517 * stdio-common/Makefile: Likewise.
15518 * stdlib/Makefile: Likewise.
15519 * streams/Makefile: Likewise.
15520 * string/Makefile: Likewise.
15521 * sunrpc/Makefile: Likewise.
15522 (all): Remove target.
15523 * sysvipc/Makefile: Include Makeconfig immediately after defining
15524 subdir.
15525 * termios/Makefile: Likewise.
15526 * time/Makefile: Likewise.
15527 * timezone/Makefile: Likewise.
15528 (all): Remove target.
15529 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15530 subdir.
15531 * wctype/Makefile: Likewise.
15532
155332014-02-26 Steve Ellcey <sellcey@mips.com>
15534
15535 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15536 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15537 (libc_feholdexcept_setround_mips): Ditto.
15538 (libc_feholdsetround): New.
15539 (libc_feholdsetroundf): New.
15540 (libc_feholdsetroundl): New.
15541 (libc_feupdateenv_test_mips): New.
15542 (libc_feupdateenv_test): New.
15543 (libc_feupdateenv_testf): New.
15544 (libc_feupdateenv_testl): New.
15545 (libc_feresetround): New.
15546 (libc_feresetroundf): New.
15547 (libc_feresetroundl): New.
15548 (libc_fetestexcept_mips): New.
15549 (libc_fetestexcept): New.
15550 (libc_fetestexceptf): New.
15551 (libc_fetestexceptl): New.
15552 (HAVE_RM_CTX): New.
15553 (libc_feholdexcept_setround_mips_ctx): New.
15554 (libc_feholdexcept_setround_ctx): New.
15555 (libc_feholdexcept_setroundf_ctx): New.
15556 (libc_feholdexcept_setroundl_ctx): New.
15557 (libc_fesetenv_mips_ctx): New.
15558 (libc_fesetenv_ctx): New.
15559 (libc_fesetenv_ctxf): New.
15560 (libc_fesetenv_ctxl): New.
15561 (libc_feupdateenv_mips_ctx): New.
15562 (libc_feupdateenv_ctx): New.
15563 (libc_feupdateenvf_ctx): New.
15564 (libc_feupdateenvl_ctx): New.
15565 (libc_feholdsetround_mips_ctx): New.
15566 (libc_feholdsetround_ctx): New.
15567 (libc_feholdsetroundf_ctx): New.
15568 (libc_feholdsetroundl_ctx): New.
15569 (libc_feresetround_mips_ctx): New.
15570 (libc_feresetround_ctx): New.
15571 (libc_feresetroundf_ctx): New.
15572 (libc_feresetroundl_ctx): New.
15573
155742014-02-26 Carlos O'Donell <carlos@redhat.com>
15575
15576 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15577
15578 * manual/ipc.texi: New file.
15579 * manual/Makefile (chapters): Add ipc.
15580 * manual/job.texi: Add "Inter-Process Communication" to next.
15581 * manual/process.texi: Add "Inter-Process Communication" to prev.
15582
155832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15584
15585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15586
155872014-02-26 Ondřej Bílka <neleai@seznam.cz>
15588
15589 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15590
15591 * manual/arith.texi: Fix spaces after sentences.
15592 * manual/charset.texi: Likewise.
15593 * manual/errno.texi: Likewise.
15594 * manual/install.texi: Likewise.
15595 * manual/llio.texi: Likewise.
15596 * manual/locale.texi: Likewise.
15597 * manual/maint.texi: Likewise.
15598 * manual/math.texi: Likewise.
15599 * manual/memory.texi: Likewise.
15600 * manual/message.texi: Likewise.
15601 * manual/probes.texi: Likewise.
15602 * manual/resource.texi: Likewise.
15603 * manual/signal.texi: Likewise.
15604 * manual/socket.texi: Likewise.
15605 * manual/stdio.texi: Likewise.
15606 * manual/string.texi: Likewise.
15607 * manual/time.texi: Likewise.
15608 * manual/users.texi: Likewise.
15609
156102014-02-25 Carlos O'Donell <carlos@redhat.com>
15611
15612 [BZ #16632]
15613 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15614 _DEFAULT_SOURCE is defined.
15615
156162014-02-25 Ulrich Drepper <drepper@gmail.com>
15617 Carlos O'Donell <carlos@redhat.com>
15618
15619 [BZ #16613]
15620 * elf/dl-tls.c (_dl_count_modids): New function.
15621 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15622 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15623 audit library and increment generation counter.
15624 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15625 * elf/tst-audit9.c: New file.
15626 * elf/tst-auditmod9a.c: New file.
15627 * elf/tst-auditmod9b.c: New file.
15628 * elf/Makefile: Add rules to build and run tst-audit9.
15629
156302014-02-25 Florian Weimer <fweimer@redhat.com>
15631
15632 [BZ #15347]
15633 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15634
156352014-02-25 Will Newton <will.newton@linaro.org>
15636
15637 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15638 (__longjmp): Restore sp and lr before restoring callee
15639 saved registers. Add longjmp and longjmp_target
15640 SystemTap probe point.
15641 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15642 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15643 Define to zero to match jmpbuf layout.
15644 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15645 (__sigsetjmp): Save sp and lr before saving callee
15646 saved registers. Add setjmp SystemTap probe point.
15647
156482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15649
15650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15651
156522014-02-24 Andreas Schwab <schwab@suse.de>
15653
15654 [BZ #15804]
15655 * elf/pldd.c (wait_for_ptrace_stop): New function.
15656 (main): Call it after attaching.
15657
156582014-02-22 Roland McGrath <roland@hack.frob.com>
15659
15660 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15661 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15662 Versions files is now verboten.
15663 * hurd/Versions (libc: GLIBC_2.0):
15664 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15665 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15666 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15667 * mach/Versions: Likewise.
15668
15669 * csu/Versions: Remove unused %include.
15670 * resolv/Versions: Likewise.
15671
156722014-02-21 Joseph Myers <joseph@codesourcery.com>
15673
15674 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15675 ($(objpfx)check-local-headers.out): Likewise.
15676 ($(objpfx)begin-end-check.out): Likewise.
15677 * Makerules (check-abi-%.out): Likewise.
15678 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15679 ($(objpfx)test2.cat): Likewise.
15680 ($(objpfx)de/libc.cat): Likewise.
15681 ($(objpfx)test-gencat.out): Likewise.
15682 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15683 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15684 ($(objpfx)noload-mem): Likewise.
15685 ($(objpfx)tst-pathopt.out): Likewise.
15686 ($(objpfx)tst-rtld-load-self.out): Likewise.
15687 ($(objpfx)tst-array1-cmp.out): Likewise.
15688 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15689 ($(objpfx)tst-array2-cmp.out): Likewise.
15690 ($(objpfx)tst-array3-cmp.out): Likewise.
15691 ($(objpfx)tst-array4-cmp.out): Likewise.
15692 ($(objpfx)tst-array5-cmp.out): Likewise.
15693 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15694 ($(objpfx)check-textrel.out): Likewise.
15695 ($(objpfx)check-execstack.out): Likewise.
15696 ($(objpfx)check-localplt.out): Likewise.
15697 ($(objpfx)order2-cmp.out): Likewise.
15698 ($(objpfx)tst-leaks1-mem): Likewise.
15699 ($(objpfx)tst-leaks1-static-mem): Likewise.
15700 ($(objpfx)tst-initorder-cmp.out): Likewise.
15701 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15702 ($(objpfx)tst-unused-dep.out): Likewise.
15703 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15705 * iconv/Makefile (test-iconvconfig): Likewise.
15706 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15707 ($(objpfx)iconv-test.out): Likewise.
15708 ($(objpfx)tst-tables.out): Likewise.
15709 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15710 ($(objpfx)tst-gettext.out): Likewise.
15711 ($(objpfx)tst-translit.out): Likewise.
15712 ($(objpfx)tst-gettext2.out): Likewise.
15713 ($(objpfx)tst-gettext4.out): Likewise.
15714 ($(objpfx)tst-gettext6.out): Likewise.
15715 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15716 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15717 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15718 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15720 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15721 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15722 ($(objpfx)wordexp-tst.out): Likewise.
15723 ($(objpfx)annexc.out): Likewise.
15724 ($(objpfx)tst-fnmatch-mem): Likewise.
15725 ($(objpfx)bug-regex2-mem): Likewise.
15726 ($(objpfx)bug-regex14-mem): Likewise.
15727 ($(objpfx)bug-regex21-mem): Likewise.
15728 ($(objpfx)bug-regex31-mem): Likewise.
15729 ($(objpfx)tst-vfork3-mem): Likewise.
15730 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15731 ($(objpfx)tst-pcre-mem): Likewise.
15732 ($(objpfx)tst-boost-mem): Likewise.
15733 ($(objpfx)tst-getconf.out): Likewise.
15734 ($(objpfx)bug-ga2-mem): Likewise.
15735 ($(objpfx)bug-glob2-mem): Likewise.
15736 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15737 ($(objpfx)mtrace-tst-leaks2): Likewise.
15738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15739 ($(objpfx)tst-printf.out): Likewise.
15740 ($(objpfx)tst-setvbuf1.out): Likewise.
15741 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15742 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15743 ($(objpfx)tst-fmtmsg.out): Likewise.
15744 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15746
15747 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15748 * bits/sigaction.h [__USE_MISC]: Likewise.
15749 * bits/waitstatus.h: Update #endif comments.
15750 * ctype/ctype.h: Likewise.
15751 * dirent/dirent.h: Likewise.
15752 [__USE_MISC]: Remove redundant conditionals.
15753 * grp/grp.h: Update #endif comments.
15754 [__USE_GNU]: Remove redundant conditionals.
15755 [__USE_MISC]: Likewise.
15756 * inet/netinet/in.h [__USE_GNU]: Likewise.
15757 * io/sys/stat.h [__USE_MISC]: Likewise.
15758 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15759 * libio/bits/stdio.h: Update #endif comments.
15760 [__USE_MISC]: Remove redundant conditionals.
15761 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15762 * libio/stdio.h: Update #endif comments.
15763 [__USE_MISC]: Remove redundant conditionals.
15764 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15765 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15766 * math/math.h: Update #else and #endif comments.
15767 [__USE_MISC]: Remove redundant conditionals.
15768 * misc/sys/uio.h: Update #endif comments.
15769 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15770 * posix/glob.h [__USE_MISC]: Likewise.
15771 * posix/sys/types.h: Update #endif comments.
15772 [__USE_MISC]: Remove redundant conditionals.
15773 * posix/sys/wait.h: Update #endif comments.
15774 [__USE_MISC]: Remove redundant conditionals.
15775 * posix/unistd.h: Update #endif comments.
15776 [__USE_MISC]: Remove redundant conditionals.
15777 * pwd/pwd.h [__USE_GNU]: Likewise.
15778 [__USE_MISC]: Likewise.
15779 * resolv/netdb.h [__USE_GNU]: Likewise.
15780 * signal/signal.h: Update #endif comments.
15781 [__USE_MISC]: Remove redundant conditionals.
15782 * stdlib/stdlib.h: Update #else and #endif comments.
15783 [__USE_MISC]: Remove redundant conditionals.
15784 [__USE_GNU]: Likewise.
15785 * string/bits/string2.h [__USE_MISC]: Likewise.
15786 * string/string.h: Update #endif comments.
15787 [__USE_MISC]: Remove redundant conditionals.
15788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15789 Likewise.
15790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15791 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15792 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15793 Likewise.
15794 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15795 Likewise.
15796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15797 comments.
15798 [__USE_MISC]: Remove redundant conditionals.
15799 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15800 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15801 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15802 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15804 Likewise.
15805 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15806 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15807 Likewise.
15808 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15809 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15810 Likewise.
15811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15812 Likewise.
15813 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15815 Likewise.
15816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15817 Likewise.
15818 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15819 * sysdeps/x86/bits/string.h: Update #endif comments.
15820 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15821 conditionals.
15822 * time/sys/time.h: Update #endif comments.
15823 * time/time.h: Likewise.
15824 [__USE_MISC]: Remove redundant conditionals.
15825
158262014-02-21 Yury Gribov <y.gribov@samsung.com>
15827
15828 [BZ #16600]
15829 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15830
158312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15832
15833 * Versions.def (librt): Add GLIBC_2.17.
15834
158352014-02-21 Adam Conrad <adconrad@0c3.net>
15836
15837 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15838 synonym for _SYS_AUXV_H to allow direct inclusion.
15839 * sysdeps/sparc/bits/hwcap.h: Likewise.
15840 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15841 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15842 * sysdeps/sparc/sysdep.h: Likewise.
15843
158442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15845
15846 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15847
158482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15849
15850 * benchtests/bench-strrchr.c: Print length instead of position.
15851
158522014-02-20 Joseph Myers <joseph@codesourcery.com>
15853
15854 [BZ #16611]
15855 * sysdeps/unix/sysv/linux/kernel-features.h
15856 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15857 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15858 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15859 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15860 Likewise.
15861 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15862 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15863 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15864 (__ASSUME_SENDMMSG): Define instead of using previous
15865 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15867 (__ASSUME_SENDMMSG_SYSCALL): Define.
15868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15869 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15870 Likewise.
15871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15873 Likewise.
15874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15875 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15876 Likewise.
15877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15878 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15880 [__ASSUME_SENDMMSG]: Change conditionals to
15881 [__ASSUME_SENDMMSG_SOCKETCALL].
15882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15884 Define.
15885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15886 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15887 Likewise.
15888 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15889 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15891 [!__ASSUME_SENDMMSG]: Change conditional to
15892 [!__ASSUME_SENDMMSG_SOCKETCALL].
15893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15894 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15895 Define.
15896
15897 [BZ #16610]
15898 * sysdeps/unix/sysv/linux/kernel-features.h
15899 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15900 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15901 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15902 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15903 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15904 [__i386__ || __sparc__]
15905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15906 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15907 (__ASSUME_RECVMMSG): Define instead of using previous
15908 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15910 (__ASSUME_RECVMMSG_SYSCALL): Define.
15911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15913 Likewise.
15914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15916 Likewise.
15917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15919 Likewise.
15920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15921 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15922 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15923 [__ASSUME_RECVMMSG]: Change condition to
15924 [__ASSUME_RECVMMSG_SOCKETCALL].
15925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15927 Define.
15928 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15929 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15931 Likewise.
15932 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15933 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15935 [!__ASSUME_RECVMMSG]: Change condition to
15936 [!__ASSUME_RECVMMSG_SOCKETCALL].
15937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15938 (__ASSUME_RECVMMSG_SYSCALL): Define.
15939
15940 [BZ #16609]
15941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15942 __powerpc__ || __s390__ || __sh__ || __sparc__]
15943 (__ASSUME_SOCKETCALL): Define.
15944 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15945 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15946 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15947 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15948 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15950 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15951 (__ASSUME_ACCEPT4): Define instead of using previous
15952 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15953 __powerpc__ || __sparc__ || __s390__)] condition.
15954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15956 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15957 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15959 [!__ASSUME_ACCEPT4]: Change condition to
15960 [!__ASSUME_ACCEPT4_SOCKETCALL].
15961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15962 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15963 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15965 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15966 __ASSUME_ACCEPT4_SYSCALL.
15967 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15968 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15970 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15971 __ASSUME_ACCEPT4_SYSCALL.
15972 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15973 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15975 [__ASSUME_ACCEPT4]: Change condition to
15976 [__ASSUME_ACCEPT4_SOCKETCALL].
15977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15978 (__ASSUME_SOCKETCALL): Define.
15979 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15981 (__ASSUME_SOCKETCALL): Define.
15982 (__ASSUME_ACCEPT4): Remove.
15983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15984 Define.
15985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15986 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15987 Likewise.
15988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15990
15991 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15992 macro.
15993 (HWCAP_ARM_LPAE): Likewise.
15994 (HWCAP_ARM_EVTSTRM): Likewise.
15995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15996 Add vpfd32, lpae and evtstrm.
15997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15998 Increase to 22.
15999
160002014-02-19 Joseph Myers <joseph@codesourcery.com>
16001
16002 * math/auto-libm-test-in: Add tests of clog10.
16003 * math/auto-libm-test-out: Regenerated.
16004 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16005 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16007
160082014-02-18 Andreas Schwab <schwab@suse.de>
16009
16010 [BZ #16574]
16011 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16012 Store non-zero if the second buffer was newly allocated.
16013 (send_dg): Likewise.
16014 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16015 to send_vc and send_dg.
16016 (res_nsend): Pass NULL for ansp2_malloced.
16017 * resolv/res_query.c (__libc_res_nquery): Add parameter
16018 answerp2_malloced and pass it down to __libc_res_nsend.
16019 (res_nquery): Pass additional NULL to __libc_res_nquery.
16020 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16021 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16022 second answer buffer if answerp2_malloced was set.
16023 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16024 (__libc_res_nquerydomain): Add parameter
16025 answerp2_malloced and pass it down to __libc_res_nquery.
16026 (res_nquerydomain): Pass additional NULL to
16027 __libc_res_nquerydomain.
16028 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16029 additional NULL to __libc_res_nsend and __libc_res_nquery.
16030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16031 additional NULL to __libc_res_nsearch.
16032 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16033 parameter of __libc_res_nsearch to check for separately allocated
16034 second buffer.
16035 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16036 __libc_res_nquery.
16037 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16038 additional NULL to __libc_res_nquery.
16039 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16040 __libc_res_nsearch.
16041 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16042 * include/resolv.h: Update prototypes of __libc_res_nquery,
16043 __libc_res_nsearch, __libc_res_nsend.
16044
160452014-02-18 Joseph Myers <joseph@codesourcery.com>
16046
16047 * math/auto-libm-test-in: Add tests of fma.
16048 * math/auto-libm-test-out: Regenerated.
16049 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16050 (fma_towardzero_test_data): Likewise.
16051 (fma_downward_test_data): Likewise.
16052 (fma_upward_test_data): Likewise.
16053 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16054 mpc_mode.
16055 (rounding_modes): Add values for new field.
16056 (func_calc_method): Add value mpfr_fff_f.
16057 (func_calc_desc): Add mpfr_fff_f union field.
16058 (test_function): Add field exact_args.
16059 (FUNC): Add macro argument EXACT_ARGS.
16060 (FUNC_mpfr_f_f): Update call to FUNC.
16061 (FUNC_mpfr_f_f): Likewise.
16062 (FUNC_mpfr_ff_f): Likewise.
16063 (FUNC_mpfr_if_f): Likewise.
16064 (FUNC_mpc_c_f): Likewise.
16065 (FUNC_mpc_c_c): Likewise.
16066 (test_functions): Add fma. Update calls to FUNC.
16067 (handle_input_arg): Add argument exact_args.
16068 (add_test): Update call to handle_input_arg.
16069 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16070 (output_for_one_input_case): Update call to calc_generic_results.
16071 Recalculate exact zero results in each rounding mode.
16072
16073 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16074 non-negative before setting low bit.
16075 * math/auto-libm-test-in: Mark one asin test possibly having
16076 spurious underflow.
16077 * math/auto-libm-test-out: Regenerated.
16078 * sysdeps/i386/fpu/libm-test-ulps: Update.
16079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16080
160812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16082
16083 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16084 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16085 ports/sysdeps/unix/sysv/linux/microblaze.
16086 * README: Add missing listing for microblaze*-*-linux-gnu.
16087
160882014-02-16 Ondřej Bílka <neleai@seznam.cz>
16089
16090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16091 duplicate code
16092
160932014-02-16 Mike Frysinger <vapier@gentoo.org>
16094
16095 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16096 * sysdeps/unix/sysv/linux/ia64: Move directory from
16097 ports/sysdeps/unix/sysv/linux/ia64.
16098 * README: Update listing for ia64-*-linux-gnu.
16099
161002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16101 Joseph Myers <joseph@codesourcery.com>
16102
16103 * Makeconfig (test-name): New variable.
16104 (evaluate-test): Likewise.
16105 * Makerules (do-test-clean): Remove .test-result files.
16106 (common-mostlyclean): Likewise.
16107 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16108 * scripts/evaluate-test.sh: New file.
16109
161102014-02-14 Joseph Myers <joseph@codesourcery.com>
16111
16112 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16113 separate $(objpfx)tst-fopenloc-cmp.out and
16114 $(objpfx)tst-fopenloc-mem.out targets.
16115 (tests): Update dependencies.
16116 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16117 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16118 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16119 (tst-rxspencer-no-utf8-ARGS): New variable.
16120 (tst-rxspencer-no-utf8-ENV): Likewise.
16121 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16122 instead of $(objpfx)tst-rxspencer-mem.
16123 ($(objpfx)tst-rxspencer-mem): Change target to
16124 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16125 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16126 * posix/tst-rxspencer-no-utf8.c: New file.
16127
16128 * elf/Makefile ($(objpfx)order.out): Remove rule.
16129 [$(run-built-tests) = yes] (tests): Depend on
16130 $(objpfx)order-cmp.out.
16131 ($(objpfx)order-cmp.out): New rule.
16132 [$(run-built-tests) = yes] (tests): Depend on
16133 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16134 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16135 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16136 $(objpfx)tst-array5-static-cmp.out.
16137 ($(objpfx)tst-array1.out): Remove rule.
16138 ($(objpfx)tst-array1-cmp.out): New rule.
16139 ($(objpfx)tst-array1-static.out): Remove rule.
16140 ($(objpfx)tst-array1-static-cmp.out): New rule.
16141 ($(objpfx)tst-array2.out): Remove rule.
16142 ($(objpfx)tst-array2-cmp.out): New rule.
16143 ($(objpfx)tst-array3.out): Remove rule.
16144 ($(objpfx)tst-array3-cmp.out): New rule.
16145 ($(objpfx)tst-array4.out): Remove rule.
16146 ($(objpfx)tst-array4-cmp.out): New rule.
16147 ($(objpfx)tst-array5.out): Remove rule.
16148 ($(objpfx)tst-array5-cmp.out): New rule.
16149 ($(objpfx)tst-array5-static.out): Remove rule.
16150 ($(objpfx)tst-array5-static-cmp.out): New rule.
16151 [$(run-built-tests) = yes] (tests): Depend on
16152 $(objpfx)order2-cmp.out.
16153 ($(objpfx)order2.out): Remove rule.
16154 ($(objpfx)order2-cmp.out): New rule.
16155 ($(objpfx)tst-initorder.out): Remove rule.
16156 [$(run-built-tests) = yes] (tests): Depend on
16157 $(objpfx)tst-initorder-cmp.out.
16158 ($(objpfx)tst-initorder-cmp.out): New rule.
16159 ($(objpfx)tst-initorder2.out): Remove rule.
16160 [$(run-built-tests) = yes] (tests): Depend on
16161 $(objpfx)tst-initorder2-cmp.out.
16162 ($(objpfx)tst-initorder2-cmp.out): New rule.
16163 [$(run-built-tests) = yes] (tests): Depend on
16164 $(objpfx)tst-unused-dep-cmp.out.
16165 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16166 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16167 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16168 on $(objpfx)tst-setvbuf1-cmp.out.
16169 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16170 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16171 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16172 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16173 ($(objpfx)tst-svc.out): Remove rule.
16174 ($(objpfx)tst-svc-cmp.out): New rule.
16175
161762014-02-13 Joseph Myers <joseph@codesourcery.com>
16177
16178 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16179 * ctype/ctype.h [__USE_MISC]: Likewise.
16180 * dirent/dirent.h [__USE_MISC]: Likewise.
16181 * grp/grp.h [__USE_MISC]: Likewise.
16182 * io/fcntl.h [__USE_MISC]: Likewise.
16183 * io/sys/stat.h [__USE_MISC]: Likewise.
16184 * libio/stdio.h [__USE_MISC]: Likewise.
16185 * posix/unistd.h [__USE_MISC]: Likewise.
16186 * pwd/pwd.h [__USE_MISC]: Likewise.
16187 * stdlib.h [__USE_MISC]: Likewise.
16188 * string/bits/string2.h [__USE_MISC]: Likewise.
16189 * string/string.h [__USE_MISC]: Likewise.
16190 * time/time.h [__USE_MISC]: Likewise.
16191
161922014-02-13 Andreas Schwab <schwab@suse.de>
16193
16194 [BZ #16574]
16195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16196 second answer buffer if it was separately allocated.
16197
161982014-02-12 Joseph Myers <joseph@codesourcery.com>
16199
16200 * sysdeps/mips/math-tests.h: Include <features.h>.
16201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16202 (ROUNDING_TESTS_long_double): Do not define.
16203 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16204 (EXCEPTION_TESTS_long_double): Likewise.
16205 * sysdeps/mips/mips64/libm-test-ulps: Update.
16206
16207 * include/features.h (__USE_BSD): Remove macro definitions.
16208 (__USE_SVID): Likewise.
16209 (_BSD_SOURCE): Likewise.
16210 (_SVID_SOURCE): Likewise.
16211 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16212 from definition of _DEFAULT_SOURCE.
16213 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16214 [_DEFAULT_SOURCE].
16215 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16216 * bits/mman.h [__USE_BSD]: Likewise.
16217 * bits/termios.h [__USE_BSD]: Likewise.
16218 * bits/waitstatus.h [__USE_BSD]: Likewise.
16219 * ctype/ctype.h [__USE_SVID]: Likewise.
16220 * dirent/dirent.h [__USE_BSD]: Likewise.
16221 * grp/grp.h [__USE_SVID]: Likewise.
16222 [__USE_BSD]: Likewise.
16223 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16224 * io/fcntl.h [__USE_BSD]: Likewise.
16225 * io/ftw.h [__USE_BSD]: Likewise.
16226 * io/sys/stat.h [__USE_BSD]: Likewise.
16227 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16228 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16229 * libio/stdio.h [__USE_SVID]: Likewise.
16230 [__USE_BSD]: Likewise.
16231 * math/math.h [__USE_SVID]: Likewise.
16232 [__USE_BSD]: Likewise.
16233 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16234 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16235 * misc/search.h [__USE_SVID]: Likewise.
16236 * misc/sys/mman.h [__USE_BSD]: Likewise.
16237 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16238 * misc/sys/uio.h [__USE_BSD]: Likewise.
16239 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16240 * posix/glob.h [__USE_BSD]: Likewise.
16241 * posix/regex.h [__USE_BSD]: Likewise.
16242 * posix/sys/types.h [__USE_BSD]: Likewise.
16243 [__USE_SVID]: Likewise.
16244 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16245 * posix/sys/wait.h [__USE_BSD]: Likewise.
16246 [__USE_SVID]: Likewise.
16247 * posix/unistd.h [__USE_BSD]: Likewise.
16248 [__USE_SVID]: Likewise.
16249 * pwd/pwd.h [__USE_SVID]: Likewise.
16250 * resolv/netdb.h [__USE_BSD]: Likewise.
16251 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16252 * signal/signal.h [__USE_BSD]: Likewise.
16253 [__USE_SVID]: Likewise.
16254 * socket/sys/socket.h [__USE_BSD]: Likewise.
16255 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16256 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16257 [__USE_SVID]: Likewise.
16258 * string/bits/string2.h [__USE_BSD]: Likewise.
16259 [__USE_SVID]: Likewise.
16260 * string/bits/string3.h [__USE_BSD]: Likewise.
16261 * string/endian.h [__USE_BSD]: Likewise.
16262 * string/string.h [__USE_SVID]: Likewise.
16263 [__USE_BSD]: Likewise.
16264 * string/strings.h [__USE_BSD]: Likewise.
16265 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16266 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16268 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16269 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16270 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16271 Likewise.
16272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16273 Likewise.
16274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16276 Likewise.
16277 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16278 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16279 Likewise.
16280 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16281 Likewise.
16282 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16283 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16285 Likewise.
16286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16287 Likewise.
16288 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16289 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16290 * termios/termios.h [__USE_BSD]: Likewise.
16291 * time/sys/time.h [__USE_BSD]: Likewise.
16292 * time/time.h [__USE_BSD]: Likewise.
16293 [__USE_SVID]: Likewise.
16294
16295 * Makefile (subdir_targets): Remove subdir_lint.out.
16296
16297 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16298 (do-tst-printf): Likewise.
16299 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16300 $(objpfx)tst-printf.out.
16301
16302 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16303
16304 * Makerules (check-abi-%): Change target to
16305 $(objpfx)check-abi-%.out.
16306 (check-abi target): Update dependencies.
16307 (check-abi-pattern variable): Redirect output of diff to $@.
16308 (check-abi variable): Likewise.
16309 * elf/Makefile (check-abi): Update dependencies.
16310
16311 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16312 unused.
16313 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16314 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16315 subnormal range.
16316 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16317 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16318 value has largest subnormal exponent.
16319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16320 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16321 * sysdeps/aarch64/soft-fp/sfp-machine.h
16322 (_FP_TININESS_AFTER_ROUNDING): New macro.
16323 * sysdeps/alpha/soft-fp/sfp-machine.h
16324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16325 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16326 Likewise.
16327 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16329 * sysdeps/mips/soft-fp/sfp-machine.h
16330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16331 * sysdeps/powerpc/soft-fp/sfp-machine.h
16332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16333 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16334 Likewise.
16335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16339 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16340 Likewise.
16341
163422014-02-12 Dylan Alex Simon <dylan@dylex.net>
16343
16344 [BZ #16545]
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16346 model 1.
16347
163482014-02-12 Richard Henderson <rth@redhat.com>
16349
16350 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16351 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16352 * sysdeps/unix/sysv/linux/alpha: Move directory from
16353 ports/sysdeps/unix/sysv/linux/alpha.
16354 * README: Update listing for alpha-*-linux-gnu.
16355
163562014-02-11 Joseph Myers <joseph@codesourcery.com>
16357
16358 * include/features.h: Update comment documenting feature test
16359 macros.
16360 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16361 _DEFAULT_SOURCE.
16362 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16363 (_SVID_SOURCE): Likewise.
16364 (_DEFAULT_SOURCE): Update description of default features.
16365 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16366 with _GNU_SOURCE.
16367 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16368 (S_ISVTX): Likewise.
16369 * manual/math.texi (Mathematical Constants): Likewise.
16370 * manual/signal.texi (Interrupted Primitives): Likewise.
16371 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16372 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16373 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16374 Don't refer to _SVID_SOURCE in warning text.
16375
16376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16377
16378 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16379 already defined.
16380 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16381 * sysdeps/mips/dl-lookup.c: Remove.
16382 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16383
163842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16385
16386 [BZ #16447]
16387 * math/auto-libm-test-in: Add testcase for expl.
16388 * math/auto-libm-test-out: Regenerate.
16389 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16390 calculation of unsafe.
16391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16392
163932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16394
16395 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16396 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16397 ports/sysdeps/unix/sysv/linux/aarch64.
16398 * README: Update listing for aarch64*-*-linux-gnu.
16399
164002014-02-11 Will Newton <will.newton@linaro.org>
16401
16402 * manual/probes.texi (Mathematical Function Probes): Use
16403 "triggered" instead of "hit".
16404
16405 * manual/probes.texi (Internal Probes): Add documentation
16406 of setjmp, longjmp and longjmp_target probes.
16407
16408 * include/stap-probe.h: Add comment about probe argument
16409 format.
16410
16411 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16412 definition. (tr_where, tr_freehook, tr_mallochook,
16413 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16414
164152014-02-11 David S. Miller <davem@davemloft.net>
16416
16417 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16418 processing int_tests.
16419
164202014-02-10 Joseph Myers <joseph@codesourcery.com>
16421
16422 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16423 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16424 * sysdeps/unix/sysv/linux/mips: Move directory from
16425 ports/sysdeps/unix/sysv/linux/mips.
16426 * README: Update listing for mips-*-linux-gnu and
16427 mips64-*-linux-gnu.
16428
164292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16430
16431 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16432 * sysdeps/unix/sysv/linux/m68k: Move directory from
16433 ports/sysdeps/unix/sysv/linux/m68k.
16434 * README: Update listing for m68k-*-linux-gnu.
16435
164362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16437
16438 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16439 * sysdeps/unix/sysv/linux/generic: Move directory from
16440 ports/sysdeps/unix/sysv/linux/generic.
16441 * sysdeps/unix/sysv/linux/tile: Move directory from
16442 ports/sysdeps/unix/sysv/linux/tile.
16443 * README: Update listing for tile*-*-linux-gnu.
16444
164452014-02-10 Ondřej Bílka <neleai@seznam.cz>
16446
16447 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16448 __builtin_expect.
16449 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16450 * catgets/open_catalog.c (__open_catalog): Likewise.
16451 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16452 * debug/confstr_chk.c: Likewise.
16453 * debug/fread_chk.c (__fread_chk): Likewise.
16454 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16455 * debug/getgroups_chk.c: Likewise.
16456 * debug/mbsnrtowcs_chk.c: Likewise.
16457 * debug/mbsrtowcs_chk.c: Likewise.
16458 * debug/mbstowcs_chk.c: Likewise.
16459 * debug/memcpy_chk.c: Likewise.
16460 * debug/memmove_chk.c: Likewise.
16461 * debug/mempcpy_chk.c: Likewise.
16462 * debug/memset_chk.c: Likewise.
16463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16464 * debug/strcat_chk.c (__strcat_chk): Likewise.
16465 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16466 * debug/strncat_chk.c (__strncat_chk): Likewise.
16467 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16468 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16469 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16470 * debug/wcpncpy_chk.c: Likewise.
16471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16472 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16473 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16474 * debug/wcsncpy_chk.c: Likewise.
16475 * debug/wcsnrtombs_chk.c: Likewise.
16476 * debug/wcsrtombs_chk.c: Likewise.
16477 * debug/wcstombs_chk.c: Likewise.
16478 * debug/wmemcpy_chk.c: Likewise.
16479 * debug/wmemmove_chk.c: Likewise.
16480 * debug/wmempcpy_chk.c: Likewise.
16481 * debug/wmemset_chk.c: Likewise.
16482 * dirent/scandirat.c (SCANDIRAT): Likewise.
16483 * dlfcn/dladdr1.c (dladdr1): Likewise.
16484 * dlfcn/dladdr.c (dladdr): Likewise.
16485 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16486 * dlfcn/dlerror.c (__dlerror): Likewise.
16487 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16488 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16489 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16490 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16491 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16492 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16493 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16494 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16495 Likewise.
16496 * elf/dl-conflict.c: Likewise.
16497 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16498 * elf/dl-dst.h: Likewise.
16499 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16500 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16502 * elf/dl-init.c (call_init, _dl_init): Likewise.
16503 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16504 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16505 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16506 Likewise.
16507 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16508 Likewise.
16509 * elf/dl-minimal.c (__libc_memalign): Likewise.
16510 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16511 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16512 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16513 * elf/dl-sym.c (do_sym): Likewise.
16514 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16515 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16516 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16517 * elf/dl-writev.h (_dl_writev): Likewise.
16518 * elf/ldconfig.c (search_dir): Likewise.
16519 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16520 (dl_main): Likewise.
16521 * elf/setup-vdso.h (setup_vdso): Likewise.
16522 * grp/compat-initgroups.c (compat_call): Likewise.
16523 * grp/fgetgrent.c (fgetgrent): Likewise.
16524 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16525 * grp/putgrent.c (putgrent): Likewise.
16526 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16527 Likewise.
16528 * hurd/hurdinit.c: Likewise.
16529 * iconvdata/8bit-gap.c (struct): Likewise.
16530 * iconvdata/ansi_x3.110.c : Likewise.
16531 * iconvdata/big5.c : Likewise.
16532 * iconvdata/big5hkscs.c : Likewise.
16533 * iconvdata/cp1255.c: Likewise.
16534 * iconvdata/cp1258.c : Likewise.
16535 * iconvdata/cp932.c : Likewise.
16536 * iconvdata/euc-cn.c: Likewise.
16537 * iconvdata/euc-jisx0213.c : Likewise.
16538 * iconvdata/euc-jp.c: Likewise.
16539 * iconvdata/euc-jp-ms.c : Likewise.
16540 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16541 * iconvdata/gb18030.c : Likewise.
16542 * iconvdata/gbbig5.c (const): Likewise.
16543 * iconvdata/gbgbk.c: Likewise.
16544 * iconvdata/gbk.c : Likewise.
16545 * iconvdata/ibm1364.c : Likewise.
16546 * iconvdata/ibm930.c : Likewise.
16547 * iconvdata/ibm932.c: Likewise.
16548 * iconvdata/ibm933.c : Likewise.
16549 * iconvdata/ibm935.c : Likewise.
16550 * iconvdata/ibm937.c : Likewise.
16551 * iconvdata/ibm939.c : Likewise.
16552 * iconvdata/ibm943.c: Likewise.
16553 * iconvdata/iso_11548-1.c: Likewise.
16554 * iconvdata/iso-2022-cn.c : Likewise.
16555 * iconvdata/iso-2022-cn-ext.c : Likewise.
16556 * iconvdata/iso-2022-jp-3.c: Likewise.
16557 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16558 * iconvdata/iso-2022-kr.c : Likewise.
16559 * iconvdata/iso646.c (gconv_end): Likewise.
16560 * iconvdata/iso_6937-2.c : Likewise.
16561 * iconvdata/iso_6937.c : Likewise.
16562 * iconvdata/iso8859-1.c: Likewise.
16563 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16564 * iconvdata/shift_jisx0213.c : Likewise.
16565 * iconvdata/sjis.c : Likewise.
16566 * iconvdata/t.61.c : Likewise.
16567 * iconvdata/tcvn5712-1.c : Likewise.
16568 * iconvdata/tscii.c: Likewise.
16569 * iconvdata/uhc.c : Likewise.
16570 * iconvdata/unicode.c (gconv_end): Likewise.
16571 * iconvdata/utf-16.c (gconv_end): Likewise.
16572 * iconvdata/utf-32.c (gconv_end): Likewise.
16573 * iconvdata/utf-7.c (base64): Likewise.
16574 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16575 * iconv/gconv_close.c (__gconv_close): Likewise.
16576 * iconv/gconv_open.c (__gconv_open): Likewise.
16577 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16578 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16579 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16580 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16581 (ucs4le_internal_loop_single): Likewise.
16582 * iconv/iconv.c (iconv): Likewise.
16583 * iconv/iconv_close.c: Likewise.
16584 * iconv/loop.c (SINGLE): Likewise.
16585 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16586 * include/atomic.h: Likewise.
16587 * inet/inet6_option.c (option_alloc): Likewise.
16588 * intl/bindtextdom.c (set_binding_values): Likewise.
16589 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16590 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16591 * intl/localealias.c (read_alias_file): Likewise.
16592 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16593 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16594 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16595 * libio/fmemopen.c (fmemopen): Likewise.
16596 * libio/iofgets.c (_IO_fgets): Likewise.
16597 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16598 * libio/iofgetws.c (fgetws): Likewise.
16599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16600 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16601 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16602 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16603 * locale/findlocale.c (_nl_find_locale): Likewise.
16604 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16605 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16606 Likewise.
16607 * locale/setlocale.c (setlocale): Likewise.
16608 * login/programs/pt_chown.c (main): Likewise.
16609 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16610 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16611 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16612 (mmap, mmap64, mremap, munmap): Likewise.
16613 * math/e_exp2l.c: Likewise.
16614 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16615 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16616 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16617 * math/s_catan.c (__catan): Likewise.
16618 * math/s_catanf.c (__catanf): Likewise.
16619 * math/s_catanh.c (__catanh): Likewise.
16620 * math/s_catanhf.c (__catanhf): Likewise.
16621 * math/s_catanhl.c (__catanhl): Likewise.
16622 * math/s_catanl.c (__catanl): Likewise.
16623 * math/s_ccosh.c (__ccosh): Likewise.
16624 * math/s_ccoshf.c (__ccoshf): Likewise.
16625 * math/s_ccoshl.c (__ccoshl): Likewise.
16626 * math/s_cexp.c (__cexp): Likewise.
16627 * math/s_cexpf.c (__cexpf): Likewise.
16628 * math/s_cexpl.c (__cexpl): Likewise.
16629 * math/s_clog10.c (__clog10): Likewise.
16630 * math/s_clog10f.c (__clog10f): Likewise.
16631 * math/s_clog10l.c (__clog10l): Likewise.
16632 * math/s_clog.c (__clog): Likewise.
16633 * math/s_clogf.c (__clogf): Likewise.
16634 * math/s_clogl.c (__clogl): Likewise.
16635 * math/s_csin.c (__csin): Likewise.
16636 * math/s_csinf.c (__csinf): Likewise.
16637 * math/s_csinh.c (__csinh): Likewise.
16638 * math/s_csinhf.c (__csinhf): Likewise.
16639 * math/s_csinhl.c (__csinhl): Likewise.
16640 * math/s_csinl.c (__csinl): Likewise.
16641 * math/s_csqrt.c (__csqrt): Likewise.
16642 * math/s_csqrtf.c (__csqrtf): Likewise.
16643 * math/s_csqrtl.c (__csqrtl): Likewise.
16644 * math/s_ctan.c (__ctan): Likewise.
16645 * math/s_ctanf.c (__ctanf): Likewise.
16646 * math/s_ctanh.c (__ctanh): Likewise.
16647 * math/s_ctanhf.c (__ctanhf): Likewise.
16648 * math/s_ctanhl.c (__ctanhl): Likewise.
16649 * math/s_ctanl.c (__ctanl): Likewise.
16650 * math/w_pow.c: Likewise.
16651 * math/w_powf.c: Likewise.
16652 * math/w_powl.c: Likewise.
16653 * math/w_scalb.c (sysv_scalb): Likewise.
16654 * math/w_scalbf.c (sysv_scalbf): Likewise.
16655 * math/w_scalbl.c (sysv_scalbl): Likewise.
16656 * misc/error.c (error_tail): Likewise.
16657 * misc/pselect.c (__pselect): Likewise.
16658 * nis/nis_callback.c (__nis_create_callback): Likewise.
16659 * nis/nis_call.c (__nisfind_server): Likewise.
16660 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16661 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16663 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16664 * nis/nis_lookup.c (nis_lookup): Likewise.
16665 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16666 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16667 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16668 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16669 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16670 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16671 * nis/nss_compat/compat-initgroups.c (add_group)
16672 (internal_getgrent_r): Likewise.
16673 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16674 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16675 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16676 (internal_getspnam_r): Likewise.
16677 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16678 (_nss_nis_getaliasbyname_r): Likewise.
16679 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16680 (_nss_nis_getntohost_r): Likewise.
16681 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16682 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16683 (_nss_nis_getgrgid_r): Likewise.
16684 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16685 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16686 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16687 (_nss_nis_gethostbyname4_r): Likewise.
16688 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16689 (initgroups_netid): Likewise.
16690 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16691 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16692 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16693 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16694 (_nss_nis_getprotobynumber_r): Likewise.
16695 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16696 (_nss_nis_getsecretkey): Likewise.
16697 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16698 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16699 (_nss_nis_getpwuid_r): Likewise.
16700 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16701 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16702 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16703 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16704 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16705 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16707 Likewise.
16708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16709 (_nss_nisplus_getntohost_r): Likewise.
16710 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16711 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16712 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16713 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16714 Likewise.
16715 * nis/nss_nisplus/nisplus-initgroups.c
16716 (_nss_nisplus_initgroups_dyn): Likewise.
16717 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16718 (_nss_nisplus_getnetbyaddr_r): Likewise.
16719 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16720 (_nss_nisplus_getprotobynumber_r): Likewise.
16721 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16722 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16723 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16724 Likewise.
16725 * nis/nss_nisplus/nisplus-service.c
16726 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16727 (_nss_nisplus_getservbyport_r): Likewise.
16728 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16729 (_nss_nisplus_getspnam_r): Likewise.
16730 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16731 Likewise.
16732 * nscd/aicache.c (addhstaiX): Likewise.
16733 * nscd/cache.c (cache_search, prune_cache): Likewise.
16734 * nscd/connections.c (register_traced_file, send_ro_fd)
16735 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16736 (main_loop_epoll): Likewise.
16737 * nscd/grpcache.c (addgrbyX): Likewise.
16738 * nscd/hstcache.c (addhstbyX): Likewise.
16739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16740 * nscd/mem.c (gc, mempool_alloc): Likewise.
16741 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16742 (addinnetgrX): Likewise.
16743 * nscd/nscd-client.h (__nscd_acquire_maplock)
16744 (__nscd_drop_map_ref): Likewise.
16745 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16746 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16748 Likewise.
16749 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16751 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16752 (__nscd_get_map_ref): Likewise.
16753 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16754 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16755 Likewise.
16756 * nscd/pwdcache.c (addpwbyX): Likewise.
16757 * nscd/selinux.c (preserve_capabilities): Likewise.
16758 * nscd/servicescache.c (addservbyX): Likewise.
16759 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16760 * posix/fnmatch.c (fnmatch): Likewise.
16761 * posix/getopt.c (_getopt_internal_r): Likewise.
16762 * posix/glob.c (glob, glob_in_dir): Likewise.
16763 * posix/wordexp.c (exec_comm_child): Likewise.
16764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16765 (getanswer_r, gaih_getanswer_slice): Likewise.
16766 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16767 * resolv/res_init.c: Likewise.
16768 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16769 * resolv/res_query.c (__libc_res_nquery): Likewise.
16770 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16771 Likewise.
16772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16773 * stdio-common/perror.c (perror): Likewise.
16774 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16775 * stdio-common/tmpnam.c (tmpnam): Likewise.
16776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16777 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16778 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16779 Likewise.
16780 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16781 * stdlib/putenv.c (putenv): Likewise.
16782 * stdlib/setenv.c (__add_to_environ): Likewise.
16783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16784 * stdlib/strtol_l.c (INTERNAL): Likewise.
16785 * string/memmem.c (memmem): Likewise.
16786 * string/strerror.c (strerror): Likewise.
16787 * string/strnlen.c (__strnlen): Likewise.
16788 * string/test-memmem.c (simple_memmem): Likewise.
16789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16790 * sunrpc/pm_getport.c (__get_socket): Likewise.
16791 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16792 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16793 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16794 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16795 Likewise.
16796 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16799 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16801 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16802 Likewise.
16803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16804 Likewise.
16805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16808 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16809 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16813 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16817 Likewise.
16818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16819 Likewise.
16820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16821 Likewise.
16822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16838 Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16840 Likewise.
16841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16842 Likewise.
16843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16844 Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16847 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16848 Likewise.
16849 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16850 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16851 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16852 * sysdeps/posix/sleep.c: Likewise.
16853 * sysdeps/posix/tempname.c: Likewise.
16854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16856 Likewise.
16857 * sysdeps/powerpc/powerpc32/dl-machine.h
16858 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16861 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16862 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16863 Likewise.
16864 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16868 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16869 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16870 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16871 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16875 (elf_machine_lazy_rel): Likewise.
16876 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16878 (elf_machine_lazy_rel): Likewise.
16879 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16880 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16881 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16882 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16883 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16884 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16887 Likewise.
16888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16889 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16890 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16891 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16892 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16894 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16895 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16899 Likewise.
16900 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16901 (__posix_fallocate64_l64): Likewise.
16902 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16903 (posix_fallocate): Likewise.
16904 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16905 Likewise.
16906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16907 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16908 (getifaddrs_internal): Likewise.
16909 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16911 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16913 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16914 (__posix_fallocate64_l64): Likewise.
16915 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16916 Likewise.
16917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16919 (__get_clockfreq): Likewise.
16920 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16921 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16922 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16925 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16926 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16928 Likewise.
16929 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16930 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16931 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16934 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16936 Likewise.
16937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16938 (posix_fallocate): Likewise.
16939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16940 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16941 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16942 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16943 (elf_machine_rela, elf_machine_rela_relative)
16944 (elf_machine_lazy_rel): Likewise.
16945 * time/asctime.c (asctime_internal): Likewise.
16946 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16947 * time/tzset.c (__tzset_parse_tz): Likewise.
16948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16951 * wcsmbs/wcsmbsload.h: Likewise.
16952
16953 [BZ #15894]
16954 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16955
16956 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16957 (arena_get2): Remove THREAD_STATS conditionals.
16958 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16959 (__malloc_stats, int): Likewise.
16960
169612014-02-08 Mike Frysinger <vapier@gentoo.org>
16962
16963 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16964 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16965
16966 * manual/setjmp.texi: Fix typos/grammar errors.
16967
16968 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16969 Only return early when n is <= 0. Delete unused return statement.
16970
16971 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16972 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16973 * debug/tst-longjmp_chk3.c: New file.
16974
16975 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16976 (test_main): Replace code with set_fortify_handler call.
16977 * debug/test-strcpy_chk.c: Likewise.
16978 * debug/tst-chk1.c: Likewise.
16979 * debug/tst-longjmp_chk.c: Likewise.
16980 * test-skeleton.c: Include fcntl.h & paths.h
16981 (set_fortify_handler): Define.
16982
16983 * debug/tst-longjmp_chk.c: Add header comment and include
16984 ../test-skeleton.c.
16985 (do_test): Mark static.
16986 (TEST_FUNCTION): Define.
16987
16988 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16989 (IP_PMTUDISC_INTERFACE): Likewise.
16990 (IP_MULTICAST_IF): Likewise.
16991 (IP_MULTICAST_TTL): Likewise.
16992 (IP_MULTICAST_LOOP): Likewise.
16993 (IP_ADD_MEMBERSHIP): Likewise.
16994 (IP_DROP_MEMBERSHIP): Likewise.
16995 (IP_UNBLOCK_SOURCE): Likewise.
16996 (IP_BLOCK_SOURCE): Likewise.
16997 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16998 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16999 (IP_MSFILTER): Likewise.
17000 (MCAST_JOIN_GROUP): Likewise.
17001 (MCAST_BLOCK_SOURCE): Likewise.
17002 (MCAST_UNBLOCK_SOURCE): Likewise.
17003 (MCAST_LEAVE_GROUP): Likewise.
17004 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17005 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17006 (MCAST_MSFILTER): Likewise.
17007 (IP_MULTICAST_ALL): Likewise.
17008 (IP_UNICAST_IF): Likewise.
17009
17010 * timezone/Makefile: Delete $(have-ksh) check.
17011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17012 * timezone/tzselect.ksh: Add +x mode bits.
17013
17014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17015 (ANON_INODE_FS_MAGIC): Likewise.
17016 (BDEVFS_MAGIC): Likewise.
17017 (BINFMTFS_MAGIC): Likewise.
17018 (BTRFS_TEST_MAGIC): Likewise.
17019 (CRAMFS_MAGIC_WEND): Likewise.
17020 (DEBUGFS_MAGIC): Likewise.
17021 (ECRYPTFS_SUPER_MAGIC): Likewise.
17022 (EXT3_SUPER_MAGIC): Likewise.
17023 (EXT4_SUPER_MAGIC): Likewise.
17024 (FUTEXFS_SUPER_MAGIC): Likewise.
17025 (HOSTFS_SUPER_MAGIC): Likewise.
17026 (HUGETLBFS_MAGIC): Likewise.
17027 (MINIX3_SUPER_MAGIC): Likewise.
17028 (MTD_INODE_FS_MAGIC): Likewise.
17029 (NILFS_SUPER_MAGIC): Likewise.
17030 (OPENPROM_SUPER_MAGIC): Likewise.
17031 (PIPEFS_MAGIC): Likewise.
17032 (PSTOREFS_MAGIC): Likewise.
17033 (QNX6_SUPER_MAGIC): Likewise.
17034 (RAMFS_MAGIC): Likewise.
17035 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17036 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17037 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17038 (SECURITYFS_MAGIC): Likewise.
17039 (SELINUX_MAGIC): Likewise.
17040 (SMACK_MAGIC): Likewise.
17041 (SOCKFS_MAGIC): Likewise.
17042 (SQUASHFS_MAGIC): Likewise.
17043 (STACK_END_MAGIC): Likewise.
17044 (TMPFS_MAGIC): Likewise.
17045 (USBDEVICE_SUPER_MAGIC): Likewise.
17046 (V9FS_MAGIC): Likewise.
17047 (XENFS_SUPER_MAGIC): Likewise.
17048 (CRAMFS_MAGIC): Fix typo in comment.
17049 (EXT2_SUPER_MAGIC): Update comment.
17050 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17051
170522014-02-08 Joseph Myers <joseph@codesourcery.com>
17053
17054 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17055 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17056 * sysdeps/unix/sysv/linux/arm: Move directory from
17057 ports/sysdeps/unix/sysv/linux/arm.
17058 * README: Update listing for arm-*-linux-gnueabi.
17059
17060 * README: Remove mention of am33.
17061
170622014-02-07 Roland McGrath <roland@hack.frob.com>
17063
17064 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17065 than the comma operator, to avoid "rhs of comma has no effect"
17066 compiler warnings.
17067 (__sigfillset, __sigandset, __sigorset): Likewise.
17068 * include/signal.h (__sigemptyset): Likewise.
17069 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17070
170712014-02-07 Allan McRae <allan@archlinux.org>
17072
17073 * version.h (RELEASE): Set to "development".
17074 (VERSION): Set to "2.19.90"
17075 * NEWS: Add 2.20 section.
17076
170772014-02-06 Carlos O'Donell <carlos@redhat.com>
17078
17079 [BZ #16529]
17080 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17081
170822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17083
17084 * manual/contrib.texi: Update entry for Carlos O'Donell,
17085 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17086
170872014-02-05 Carlos O'Donell <carlos@rehdat.com>
17088
17089 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17090
17091 * sysdeps/unix/sysv/linux/kernel-features.h
17092 [__LINUX_KERNEL_VERSION >= 0x020621]
17093 (__ASSUME_PROC_PID_TASK_COMM): Define.
17094
170952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17096
17097 [BZ #16398]
17098 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17099 conversion when destination buffer does not have enough space.
17100 * libio/tst-ftell-partial-wide.c: New test case.
17101 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17102
17103 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17104 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17105 Leonard and Allan McRae.
17106
171072014-02-04 David S. Miller <davem@davemloft.net>
17108
17109 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17110 32-bit.
17111
171122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17113
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17115 New file
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17117 New file
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17119 New file.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17121 New file.
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17123 New file.
17124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17125 New file.
17126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17127 New file.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17129 New file.
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17131 New file.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17133 New file.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17135 New file.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17137 New file.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17139 New file.
17140
171412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17142
17143 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17144 * shlib-versions: Likewise.
17145
171462014-02-04 Roland McGrath <roland@hack.frob.com>
17147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17148
17149 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17150 (abilist-pattern): New variable, set to %-le.abilist.
17151
17152 * Makerules (abilist-pattern): New variable.
17153 (vpath): Use $(abilist-pattern) in place of %.abilist.
17154 (check-abi-% pattern rule): Likewise.
17155 (check-abi, update-abi): Likewise.
17156
171572014-02-04 Eric Wong <normalperson@yhbt.net>
17158
17159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17160
171612014-02-03 Carlos O'Donell <carlos@redhat.com>
17162
17163 * manual/startup.texi: Add next, previous, and top entries for
17164 the `Program Arguments' and `Environment Variables' nodes.
17165
171662014-02-03 Alexandre Oliva <aoliva@redhat.com>
17167
17168 * manual/macros.texi: Add comments before MTASC-safety macros.
17169
17170 * manual/users.texi: Document MTASC-safety properties.
17171
17172 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17173 (pthread_getspecific, pthread_setspecific): Format with
17174 @deftypefun, and add @safety note.
17175 * manual/signal.texi: Move comments that analyze the above
17176 functions to their home place.
17177
171782014-02-03 Allan McRae <allan@archlinux.org>
17179
17180 * po/sl.po: Update Slovenian translation from translation project.
17181
171822014-02-02 Alexandre Oliva <aoliva@redhat.com>
17183
17184 * manual/time.texi (timegm): Add missing blank after @c.
17185 Reported by Joseph Myers <joseph@codesourcery.com>.
17186
171872014-02-01 Alexandre Oliva <aoliva@redhat.com>
17188
17189 * manual/check-safety.sh: New.
17190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17191
17192 * manual/terminal.texi: Document MTASC-safety properties.
17193
17194 * manual/filesys.texi: Document MTASC-safety properties.
17195
17196 * manual/errno.texi: Document MTASC-safety properties.
17197
17198 * manual/intro.texi: Document safety identifiers and
17199 conditionals.
17200
17201 * manual/string.texi (wcstok): Fix prototype.
17202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17203
17204 * manual/time.texi: Document MTASC-safety properties.
17205
17206 * manual/string.texi: Document MTASC-safety properties.
17207
17208 * manual/threads.texi: Document MTASC-safety properties.
17209
17210 * manual/stdio.texi: Document MTASC-safety properties.
17211
17212 * manual/syslog.texi: Document MTASC-safety properties.
17213
17214 * manual/sysinfo.texi: Document MTASC-safety properties.
17215
17216 * manual/startup.texi: Document MTASC-safety properties.
17217
17218 * manual/socket.texi: Document MTASC-safety properties.
17219
17220 * manual/signal.texi: Document MTASC-safety properties.
17221
172222014-01-31 Alexandre Oliva <aoliva@redhat.com>
17223
17224 * manual/setjmp.texi: Document MTASC-safety properties.
17225
17226 * manual/search.texi: Document MTASC-safety properties.
17227
17228 * manual/resource.texi: Document MTASC-safety properties.
17229
17230 * manual/process.texi: Document MTASC-safety properties.
17231
17232 * manual/platform.texi: Document MTASC-safety properties.
17233
17234 * manual/pipe.texi: Document MTASC-safety properties.
17235
17236 * manual/pattern.texi: Document MTASC-safety properties.
17237
17238 * manual/message.texi: Document MTASC-safety properties.
17239
17240 [BZ #12751]
17241 * manual/memory.texi: Document MTASC-safety properties.
17242
17243 * manual/math.texi: Document MTASC-safety properties.
17244
17245 * manual/locale.texi: Document MTASC-safety properties.
17246
17247 * manual/llio.texi: Document MTASC-safety properties.
17248
17249 * manual/libdl.texi: New.
17250
17251 * manual/lang.texi: Document MTASC-safety properties.
17252
17253 * manual/job.texi: Document MTASC-safety properties.
17254
17255 * manual/getopt.texi: Document MTASC-safety properties.
17256
17257 * manual/ctype.texi: Document MTASC-safety properties.
17258
172592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17260
17261 [BZ #16046]
17262 * csu/libc-tls.c (static_map): Remove variable.
17263 (__libc_setup_tls): Use main executable's link map for TLS data.
17264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17265 casing for LM_ID_BASE and GL(dl_nns).
17266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17271 member.
17272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17273 l_phnum members.
17274
172752014-01-30 Alexandre Oliva <aoliva@redhat.com>
17276
17277 * manual/debug.texi: Document MTASC-safety properties.
17278
172792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17280
17281 [BZ #16510]
17282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17283 of __x86_64__ when disabling x87 inline functions.
17284
172852014-01-29 Alexandre Oliva <aoliva@redhat.com>
17286
17287 * manual/charset.texi: Document MTASC-safety properties.
17288
17289 * manual/crypt.texi: Document MTASC-safety properties.
17290
17291 * manual/conf.texi: Document MTASC-safety properties.
17292
17293 * manual/arith.texi: Document MTASC-safety properties.
17294
17295 * manual/argp.texi: Document MTASC-safety properties.
17296
17297 * manual/macros.texi: Introduce macros to document multi
17298 thread, asynchronous signal and asynchronous cancellation
17299 safety properties.
17300 * manual/intro.texi: Introduce the properties themselves.
17301
173022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17303
17304 * sysdeps/sh/sh4/Makefile: New file.
17305
173062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17307
17308 * math/gen-libm-test.pl ($srcdir): New variable.
17309 ($auto_input): Use it.
17310
173112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17312
17313 [BZ #16506]
17314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17315 access beyond array bounds when parsing netgroups file.
17316
17317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17318 the old buffer before realloc.
17319
173202014-01-27 Allan McRae <allan@archlinux.org>
17321
17322 * po/fr.po: Update French translation from translation project.
17323
173242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17325
17326 * sysdeps/sh/libm-test-ulps: Regenerate.
17327
173282014-01-24 David S. Miller <davem@davemloft.net>
17329
17330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17331
173322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17333
17334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17336
173372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17338
17339 [BZ #16474]
17340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17341 string pointers after reallocation.
17342
173432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17344
17345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17346 __SH4A__ instead of __SH_FPU_ANY__.
17347
173482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17349
17350 * sysdeps/sh/fpu_control.h: New file.
17351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17357 * sysdeps/sh/sys/ucontext.h: Remove.
17358 * sysdeps/sh/sys: Remove directory.
17359
173602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17361
17362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17363 s390/sys/ucontext.h.
17364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17366
173672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17368
17369 [BZ #15605]
17370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17371
173722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17373
17374 [BZ#16431]
17375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17376 Adjust the vDSO correctly for internal calls.
17377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17378
173792014-01-20 Allan McRae <allan@archlinux.org>
17380
17381 * po/ca.po: Update Catalan translation from translation project.
17382
173832014-01-16 Mike Frysinger <vapier@gentoo.org>
17384
17385 * sysdeps/s390/sotruss-lib.c: New file.
17386
173872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17388
17389 [BZ#16430]
17390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17392 local calls issues by not having a PLT stub required for IFUNC calls.
17393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17394
173952014-01-16 Joseph Myers <joseph@codesourcery.com>
17396
17397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17398 * math/test-fpucw-static.c: Likewise.
17399
174002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17401
17402 [BZ #16453]
17403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17404
174052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17406
17407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17408 implementation for powerpc.
17409
174102014-01-15 Ondřej Bílka <neleai@seznam.cz>
17411
17412 [BZ #14782]
17413 * sysdeps/posix/system.c (__libc_system): Do not enable
17414 asynchronous cancellation.
17415
174162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17417
17418 [BZ #16427]
17419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17420 handling only for numbers special also in the IEEE case.
17421
174222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17423
17424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17425
174262014-01-11 Allan McRae <allan@archlinux.org>
17427
17428 * po/bg.po: Update Bulgarian translation from translation project.
17429
17430 * po/de.po: Update German translation from translation project.
17431
174322014-01-10 Roland McGrath <roland@hack.frob.com>
17433
17434 * sysdeps/generic/gcc-compat.h: New file.
17435
174362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17437
17438 * benchtests/asin-inputs: Correct slow inputs.
17439 * benchtests/acos-inputs: Likewise.
17440
174412014-01-10 Allan McRae <allan@archlinux.org>
17442
17443 * po:sv.po: Update Swedish translation from translation project.
17444
17445 * po/vi.po: Update Vietnamese translation from translation project.
17446
17447 * po/eo.po: Update Esperanto translation from translation project.
17448
17449 * po/cs.po: Update Czech translation from translation project.
17450
17451 * po/nl.po: Update Dutch translation from translation project.
17452
17453 * po/pl.po: Update Polish translation from translation project.
17454
17455 * po/ru.po: Update Russian translation from translation project.
17456
17457 * po/uk.po: Update Ukrainian translation from translation project.
17458
174592014-01-08 Brooks Moses <bmoses@google.com>
17460
17461 * elf/dl-load.c: Fix comment typo.
17462
174632014-01-08 Carlos O'Donell <carlos@redhat.com>
17464
17465 * po/header.pot: Rename to...
17466 * po/pot.header: ... this.
17467 * po/Makefile: Use pot.header.
17468
174692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17470 Maxim Kuvyrkov <maxim@kugelworks.com>
17471
17472 [BZ #16394]
17473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17474 SRC and DEST against LEN.
17475
174762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17477
17478 [BZ #16414]
17479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17480 implementation.
17481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17482
174832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17484
17485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17486
174872014-01-08 Joseph Myers <joseph@codesourcery.com>
17488
17489 [BZ #16408]
17490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17491 for large positive arguments.
17492
174932014-01-07 Joseph Myers <joseph@codesourcery.com>
17494
17495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17496
17497 * math/auto-libm-test-in: Mark various tests with
17498 xfail-rounding:ldbl-128ibm.
17499 * math/auto-libm-test-out: Regenerated.
17500
17501 [BZ #16407]
17502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17503 Increase overflow threshold.
17504
175052014-01-07 Ondřej Bílka <neleai@seznam.cz>
17506
17507 [BZ #14286]
17508 * stdio-common/vfprintf.c: Check for integer overflow.
17509
175102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17511
17512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17513 the first argument and return value of __tls_get_addr_internal.
17514
175152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17516
17517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17519
175202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17521
17522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17523 * sysdeps/s390/rtld-global-offsets.sym: New file.
17524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17525 GLIBC_2.19 symbol.
17526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17529 ... this.
17530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17532 ... this.
17533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17534 Regenerate.
17535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17536 Regenerate.
17537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17538 halfs of GPRs for high_gprs contexts.
17539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17541 field.
17542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17543 uc_flags field.
17544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17545 64 bit versions:
17546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17547 for high GPRs (uc_high_gprs) and for future extensions
17548 (__reserved).
17549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17550 for future extensions (__reserved).
17551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17552 64 bit versions:
17553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17554 SC_HIGHGPRS offset definition.
17555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17557
17558 * Versions.def: Add GLIBC_2.19 for libpthread.
17559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17560 siglongjmp for libpthread with GLIBC_2.19 symver.
17561 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17562 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17563 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17564 * sysdeps/s390/__longjmp.c: New file.
17565 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17566 * sysdeps/s390/longjmp.c: New file.
17567 * sysdeps/s390/setjmp.S: New file.
17568 * sysdeps/s390/sigjmp.S: New file.
17569 * sysdeps/s390/v1-longjmp.c: New file.
17570 * sysdeps/s390/v1-setjmp.h: New file.
17571 * sysdeps/s390/v1-sigjmp.c: New file.
17572 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17573 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17574 GLIBC_2.19 version.
17575 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17576 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17577 versioned symbols for ____longjmp_chk.
17578 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17581 Regenerate.
17582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17583 Regenerate.
17584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17585 Regenerate.
17586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17587 Regenerate.
17588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17589 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17590 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17591 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17592 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17593 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17594 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17595 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17596 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17597 * sysdeps/s390/rtld-__longjmp.c: New file.
17598 * sysdeps/s390/rtld-setjmp.S: New file.
17599
176002014-01-06 Joseph Myers <joseph@codesourcery.com>
17601
17602 [BZ #16400]
17603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17604 Return -__logl (x) for small positive arguments without evaluating
17605 a polynomial.
17606
176072014-01-06 Mike Frysinger <vapier@gentoo.org>
17608
17609 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17610 Rename to ...
17611 (__ptrace_peeksiginfo_args): ... this.
17612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17615
176162014-01-06 Allan McRae <allan@archlinux.org>
17617
17618 * inet/netinet/in.h: Fix typo in comment.
17619
176202014-01-05 Andreas Jaeger <aj@suse.de>
17621
17622 * sysdeps/i386/fpu/libm-test-ulps: Update.
17623
176242014-01-05 Allan McRae <allan@archlinux.org>
17625
17626 * po/libc.pot: Regenerated.
17627
17628 * malloc/memusagestat.c: Fix gettext call formatting.
17629
176302014-01-04 Sami Kerola <kerolasa@iki.fi>
17631
17632 * nscd/nscd.c: Improve usage() output.
17633
176342014-01-04 Mike Frysinger <vapier@gentoo.org>
17635
17636 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17638 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17640
176412014-01-03 Joseph Myers <joseph@codesourcery.com>
17642
17643 [BZ #16390]
17644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17645 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17646
176472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17648
17649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17650 extra tokens at end of #undef directive.
17651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17654
176552014-01-03 Joseph Myers <joseph@codesourcery.com>
17656
17657 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17658
17659 * math/auto-libm-test-in: Mark various tests with
17660 xfail-rounding:ldbl-128ibm.
17661 * math/auto-libm-test-out: Regenerated.
17662
176632014-01-02 Joseph Myers <joseph@codesourcery.com>
17664
17665 [BZ #16386]
17666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17667 numbers with subnormal high part when calculating exponent.
17668
17669 [BZ #16385]
17670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17671 fabs.
17672
17673 [BZ #16384]
17674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17675 M_LN2l.
17676 (__ieee754_acoshl): Use __log1pl not __log1p.
17677
176782013-01-02 Ondřej Bílka <neleai@seznam.cz>
17679
17680 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17681 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17682 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17683 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17684 (reused_arena, arena_get2): Convert to GNU style.
17685 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17686 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17687 (memalign_check, __malloc_set_state): Likewise.
17688 * malloc/mallocbug.c (main): Likewise.
17689 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17690 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17691 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17692 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17693 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17694 (__posix_memalign, malloc_info): Likewise.
17695 * malloc/malloc.h: Likewise.
17696 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17697 (mallochook, memalignhook, reallochook, mabort): Likewise.
17698 * malloc/mcheck.h: Likewise.
17699 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17700 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17701 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17702 * malloc/morecore.c (__default_morecore): Likewise.
17703 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17704 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17705 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17706 (print_and_abort): Likewise.
17707 * malloc/obstack.h: Likewise.
17708 * malloc/set-freeres.c (__libc_freeres): Likewise.
17709 * malloc/tst-mallocstate.c (main): Likewise.
17710 * malloc/tst-mtrace.c (main): Likewise.
17711 * malloc/tst-realloc.c (do_test): Likewise.
17712
177132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17714
17715 [BZ #16366]
17716 * nscd/netgroupcache.c (do_notfound): New function.
17717 (addgetnetgrentX): Use it.
17718
17719 [BZ # 16365]
17720 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17721 NSS_STATUS_NOTFOUND.
17722
177232014-01-01 Joseph Myers <joseph@codesourcery.com>
17724
17725 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17727
177282014-01-01 Allan McRae <allan@archlinux.org>
17729
17730 * scripts/update-copyrights: Update configure input file suffix.
17731
17732 * NEWS: Update copyright year.
17733 * catgets/gencat.c: Likewise.
17734 * csu/version.c: Likewise.
17735 * debug/catchsegv.sh: Likewise.
17736 * debug/pcprofiledump.c: Likewise.
17737 * debug/xtrace.sh: Likewise.
17738 * elf/ldconfig.c: Likewise.
17739 * elf/ldd.bash.in: Likewise.
17740 * elf/pldd.c: Likewise.
17741 * elf/sotruss.ksh: Likewise.
17742 * elf/sprof.c: Likewise.
17743 * iconv/iconv_prog.c: Likewise.
17744 * iconv/iconvconfig.c: Likewise.
17745 * locale/programs/locale.c: Likewise.
17746 * locale/programs/localedef.c: Likewise.
17747 * login/programs/pt_chown.c: Likewise.
17748 * malloc/memusage.sh: Likewise.
17749 * malloc/memusagestat.c: Likewise.
17750 * malloc/mtrace.pl: Likewise.
17751 * manual/libc.texinfo: Likewise.
17752 * nscd/nscd.c: Likewise.
17753 * nss/getent.c: Likewise.
17754 * nss/makedb.c: Likewise.
17755 * posix/getconf.c: Likewise.
17756 * scripts/test-installation.pl: Likewise.
17757
17758 * All files with FSF copyright notices: Update copyright dates
17759 using scripts/update-copyrights.
17760 * intl/plural.c: Regenerated.
17761 * locale/programs/charmap-kw.h: Likewise.
17762 * locale/programs/locfile-kw.h: Likewise.
17763
177642013-12-31 Mike Frysinger <vapier@gentoo.org>
17765
17766 * sysdeps/unix/sysv/linux/configure: Regenerated.
17767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17768 the linux/fanotify.h header.
17769 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17770 HAVE_LINUX_FANOTIFY_H is defined.
17771
177722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17773
17774 * benchtests/cos-inputs: New inputs.
17775 * benchtests/sin-inputs: Likewise.
17776
17777 * benchtests/atan-inputs: New inputs. Fix name of multiple
17778 precision fallback inputs.
17779
17780 * benchtests/atanh-inputs: New inputs.
17781 * benchtests/tanh-inputs: Likewise.
17782
17783 * benchtests/acosh-inputs: New inputs.
17784 * benchtests/asinh-inputs: Likewise.
17785
17786 * benchtests/cosh-inputs: New inputs.
17787 * benchtests/sinh-inputs: Likewise.
17788
17789 * benchtests/acos-inputs: Add more inputs.
17790 * benchtests/asin-inputs: Likewise.
17791
177922013-12-30 Ville Skytta <ville.skytta@iki.fi>
17793
17794 [BZ #16375]
17795 * manual/arith.texi: Fix spelling.
17796 * manual/charset.texi: Likewise.
17797 * manual/errno.texi: Likewise.
17798 * manual/filesys.texi: Likewise.
17799 * manual/lang.texi: Likewise.
17800 * manual/llio.texi: Likewise.
17801 * manual/locale.texi: Likewise.
17802 * manual/message.texi: Likewise.
17803 * manual/resource.texi: Likewise.
17804 * manual/search.texi: Likewise.
17805 * manual/setjmp.texi: Likewise.
17806 * manual/stdio.texi: Likewise.
17807 * manual/string.texi: Likewise.
17808 * manual/sysinfo.texi: Likewise.
17809 * manual/time.texi: Likewise.
17810
178112013-12-27 Carlos O'Donell <carlos@redhat.com>
17812
17813 * po/sl.po: New file.
17814
178152013-12-27 Mike Frysinger <vapier@gentoo.org>
17816
17817 * .gitignore: Add core/.gdbinit/.gdb_history.
17818
178192013-12-27 Allan McRae <allan@archlinux.org>
17820
17821 [BZ #16369]
17822 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17823 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17824
178252013-12-24 Brooks Moses <bmoses@google.com>
17826
17827 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17828 all compilers that claim C++98 compliance, not just GCC.
17829 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17830 Likewise.
17831
178322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17833
17834 * NEWS: Restore accidentally deleted bug-fix entries.
17835
178362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17837 Ondřej Bílka <neleai@seznam.cz>
17838
17839 [BZ #15073]
17840 * malloc/malloc.c (_int_free): Perform sanity check only if we
17841 have_lock.
17842
178432013-12-23 Ondřej Bílka <neleai@seznam.cz>
17844
17845 [BZ #12986]
17846 * manual/stdio.texi (String Input Conversions): Clarify that character
17847 classes are not supported.
17848
178492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17850
17851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852
178532013-12-22 Joseph Myers <joseph@codesourcery.com>
17854
17855 [BZ #16337]
17856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17857 Calculate results for small negative arguments directly rather
17858 than using reflection formula with special underflow handling.
17859
17860 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17861 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17862 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17863 (fchflags): Likewise.
17864 (revoke): Likewise.
17865 (setlogin): Likewise.
17866 (sigaltstack): Likewise.
17867 (wait4): Likewise.
17868 (sigblock): Remove.
17869 (sigsetmask): Likewise.
17870 (wait3): Likewise.
17871 (waitpid): Likewise.
17872 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17873 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17874 file.
17875 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17876 * sysdeps/unix/bsd/Makefile: ... here.
17877 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17878 * sysdeps/unix/bsd/Versions: ... here.
17879 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17880 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17881 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17882 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17883 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17884 * sysdeps/unix/bsd/sigblock.c: ... here.
17885 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17886 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17887 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17888 * sysdeps/unix/bsd/sigvec.c: ... here.
17889 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17890 * sysdeps/unix/bsd/tcdrain.c: ... here.
17891 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17892 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17893 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17894 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17895 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17896 * sysdeps/unix/bsd/wait.c: ... here.
17897 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17898 * sysdeps/unix/bsd/wait3.c: ... here.
17899 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17900 * sysdeps/unix/bsd/waitpid.c: ... here.
17901
179022013-12-21 Joseph Myers <joseph@codesourcery.com>
17903
17904 [BZ #16356]
17905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17906 round-to-nearest for [!USE_AS_EXPM1L].
17907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17908 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17909 more tests of exp and exp10. Expect some exp10 tests to miss
17910 exceptions or fail in directed rounding modes.
17911 * math/auto-libm-test-out: Regenerated.
17912 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17913 (exp10_test_tonearest): New function.
17914 (exp10_towardzero_test_data): New array.
17915 (exp10_test_towardzero): New function.
17916 (exp10_downward_test_data): New array.
17917 (exp10_test_downward): New function.
17918 (exp10_upward_test_data): New array.
17919 (exp10_test_upward): New function.
17920 (main): Call the new functions.
17921 * sysdeps/i386/fpu/libm-test-ulps: Update.
17922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923
179242013-12-20 Joseph Myers <joseph@codesourcery.com>
17925
17926 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17927 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17928 * math/auto-libm-test-out: Regenerated.
17929 * math/libm-test.inc (acosh_test_data): Add more tests.
17930 (atanh_test_data): Likewise.
17931 (ceil_test_data): Likewise.
17932 (copysign_test_data): Likewise.
17933 * sysdeps/i386/fpu/libm-test-ulps: Update.
17934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17935
17936 * timezone/checktab.awk: Update from tzcode 2013i.
17937 * timezone/private.h: Likewise.
17938 * timezone/scheck.c: Likewise.
17939 * timezone/tzfile.h: Likewise.
17940 * timezone/tzselect.ksh: Likewise.
17941 * timezone/zdump.c: Likewise.
17942 * timezone/zic.c: Likewise.
17943
17944 * math/auto-libm-test-in: Add tests of cpow.
17945 * math/auto-libm-test-out: Regenerated.
17946 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17948 mpc_cc_c.
17949 (func_calc_desc): Add mpc_cc_c union field.
17950 (test_functions): Add cpow.
17951 (special_fill_2pi): New function.
17952 (special_real_inputs): Add 2pi.
17953 (calc_generic_results): Handle mpc_cc_c.
17954 * sysdeps/i386/fpu/libm-test-ulps: Update.
17955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17956
17957 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17958 csqrt, ctan and ctanh.
17959 * math/auto-libm-test-out: Regenerated.
17960 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17961 (TEST_COND_x86): Likewise.
17962 (ccos_test_data): Use AUTO_TESTS_c_c.
17963 (ccosh_test_data): Likewise.
17964 (cexp_test_data): Likewise.
17965 (clog_test_data): Likewise.
17966 (csqrt_test_data): Likewise.
17967 (ctan_test_data): Likewise.
17968 (ctan_tonearest_test_data): Likewise.
17969 (ctan_towardzero_test_data): Likewise.
17970 (ctan_downward_test_data): Likewise.
17971 (ctan_upward_test_data): Likewise.
17972 (ctanh_test_data): Likewise.
17973 (ctanh_tonearest_test_data): Likewise.
17974 (ctanh_towardzero_test_data): Likewise.
17975 (ctanh_downward_test_data): Likewise.
17976 (ctanh_upward_test_data): Likewise.
17977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17978 mpc_c_c.
17979 (func_calc_desc): Add mpc_c_c union field.
17980 (FUNC_mpc_c_c): New macro.
17981 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17982 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17983 ctanh.
17984 (special_fill_min_subnorm_p120): New function.
17985 (special_real_inputs): Add min_subnorm_p120.
17986 (calc_generic_results): Handle mpc_c_c.
17987 * sysdeps/i386/fpu/libm-test-ulps: Update.
17988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17989
179902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17991
17992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17993 (do_sin_slow): New functions.
17994 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17995 (cslow2, csloww1, csloww2): Use the new functions.
17996
17997 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17998 Use M to change sign of result instead of X. Assume X is
17999 positive.
18000 (csloww1): Likewise.
18001 (__sin): Adjust.
18002 (__cos): Adjust.
18003
18004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18005 arguments A and DA.
18006 (__sin): Adjust.
18007 (__cos): Likewise.
18008
18009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18010 (__cos): Likewise.
18011 (sloww1): Don't adjust sign of DX.
18012 (csloww1): Likewise.
18013 (sloww2): Use X directly and don't adjust sign of DX.
18014 (csloww2): Likewise.
18015
180162013-12-19 Joseph Myers <joseph@codesourcery.com>
18017
18018 * math/auto-libm-test-in: Add tests of cabs and carg.
18019 * math/auto-libm-test-out: Regenerated.
18020 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18021 (carg_test_data): Likewise.
18022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18023 mpc_c_f.
18024 (func_calc_desc): Add mpc_c_f union field.
18025 (test_functions): Add cabs and carg.
18026 (calc_generic_results): Handle mpc_c_f.
18027
18028 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18029 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18030 as a macro and a compat symbol.
18031 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18032 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18034 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18035 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18037 not use .hidden.
18038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18039 Likewise.
18040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18041 Likewise.
18042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18043 Likewise.
18044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18045 Likewise.
18046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18047 Likewise.
18048 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18049 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18050 from GLIBC_2.3.2.
18051
180522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18053
18054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18055
180562013-12-19 Joseph Myers <joseph@codesourcery.com>
18057
18058 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18059 trailing whitespace removed.
18060 * scripts/config.guess: Update to version 2013-11-29.
18061 * scripts/config.sub: Update to version 2013-10-01.
18062
18063 * math/auto-libm-test-in: Add tests of sincos.
18064 * math/auto-libm-test-out: Regenerated.
18065 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18067 mpfr_f_11.
18068 (func_calc_desc): Add mpfr_f_11 union field.
18069 (test_functions): Add sincos.
18070 (calc_generic_results): Handle mpfr_f_11.
18071 * sysdeps/i386/fpu/libm-test-ulps: Update.
18072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18073
180742013-12-19 Andreas Schwab <schwab@suse.de>
18075
18076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18077 CALL_MCOUNT.
18078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18080 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18081
180822013-12-19 Joseph Myers <joseph@codesourcery.com>
18083
18084 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18085 * sysdeps/i386/fpu/libm-test-ulps: Update.
18086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18087
18088 [BZ #16293]
18089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18090 round-to-nearest mode when using frndint.
18091 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18092 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18094 Likewise.
18095 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18096 sinh test to fail.
18097 * math/auto-libm-test-out: Regenerated.
18098 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18099 (TEST_COND_x86): Likewise.
18100 (expm1_tonearest_test_data): New array.
18101 (expm1_test_tonearest): New function.
18102 (expm1_towardzero_test_data): New array.
18103 (expm1_test_towardzero): New function.
18104 (expm1_downward_test_data): New array.
18105 (expm1_test_downward): New function.
18106 (expm1_upward_test_data): New array.
18107 (expm1_test_upward): New function.
18108 (main): Run the new test functions.
18109 * sysdeps/i386/fpu/libm-test-ulps: Update.
18110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111
18112 * include/features.h: Update comment documenting feature test
18113 macros. Mention _DEFAULT_SOURCE in comment.
18114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18116 _BSD_SOURCE and _SVID_SOURCE.
18117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18119 !_SVID_SOURCE]: Likewise.
18120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18121 (__USE_POSIX_IMPLICITLY): Define.
18122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18123 (_POSIX_SOURCE): Undefine and redefine.
18124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18125 (_POSIX_C_SOURCE): Likewise.
18126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18127 (Feature Test Macros): Update documentation of default features.
18128
181292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18130
18131 * benchtests/Makefile: Add bench-strtok.
18132 * benchtests/bench-strtok.c: New file: strtok benchtest.
18133
181342013-12-19 Allan McRae <allan@archlinux.org>
18135
18136 * manual/install.texi: Suppress menu for plain text output.
18137 * INSTALL: Regenerated.
18138
181392013-12-18 Brooks Moses <bmoses@google.com>
18140
18141 [BZ #15846]
18142 * misc/getauxval.c: Include errno.h.
18143 (__getauxval): Set errno to ENOENT if the requested type is not
18144 found.
18145 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18146 don't declare with __attribute_const__.
18147 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18148 * manual/startup.texi: Document that getauxval sets errno.
18149
181502013-12-18 Joseph Myers <joseph@codesourcery.com>
18151
18152 * math/auto-libm-test-in: Add tests of jn and yn.
18153 * math/auto-libm-test-out: Regenerated.
18154 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18155 (yn_test_data): Likewise.
18156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18157 mpfr_if_f.
18158 (func_calc_desc): Add mpfr_if_f union field.
18159 (FUNC_mpfr_if_f): New macro.
18160 (test_functions): Add jn and yn.
18161 (calc_generic_results): Assert type of second input for
18162 mpfr_ff_f. Handle mpfr_if_f.
18163 (output_for_one_input_case): Disable all checking for arguments
18164 fitting floating-point types in case of an integer argument.
18165 * sysdeps/i386/fpu/libm-test-ulps: Update.
18166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18169 Don't expect fegetround reference in libm.so.
18170
181712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18172
18173 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18174 $(config-cflags-nofma).
18175
181762013-12-18 Joseph Myers <joseph@codesourcery.com>
18177
18178 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18179 * math/auto-libm-test-out: Regenerated.
18180
18181 [BZ #16338]
18182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18183 to determine exponent and adjust argument to have exponent of -1.
18184 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18185 log2.
18186 * math/auto-libm-test-out: Regenerated.
18187 * sysdeps/i386/fpu/libm-test-ulps: Update.
18188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18189
181902013-12-18 Ondřej Bílka <neleai@seznam.cz>
18191
18192 * manual/probes.texi: Remove cases when per-thread arenas are
18193 disabled.
18194
181952013-12-18 Andreas Schwab <schwab@suse.de>
18196
18197 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18198 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18199 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18200 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18201 * sysdeps/i386/i686/multiarch/Makefile: Update.
18202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18203
182042013-12-17 Joseph Myers <joseph@codesourcery.com>
18205
18206 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18207 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18208
182092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18210
18211 [BZ #15968]
18212 Support TZ transition times < 00:00:00.
18213 This is needed for version-3 tz-format files; it supports time
18214 stamps past 2037 for America/Godthab (the only entry in the tz
18215 database for which this change is relevant).
18216 * manual/time.texi (TZ Variable): Document transition times
18217 from -167:59:59 through -00:00:01.
18218 * time/tzset.c (tz_rule): Time of day is now signed.
18219 (__tzset_parse_tz): Parse negative time of day.
18220
18221 Document TZ transition times >= 25:00:00.
18222 * manual/time.texi (TZ Variable): Document transition times from
18223 25:00:00 through 167:59:59. These are already supported, and this
18224 support will help with version-3 tz-format files.
18225
18226 * manual/time.texi (TZ Variable): Modernize North America example
18227 to reflect current (i.e., 2007-and-later) daylight saving rules.
18228
18229 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18230
182312013-12-17 Joseph Myers <joseph@codesourcery.com>
18232
18233 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18234 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18237 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18238 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18239 * sysdeps/unix/bsd/clock.c: Likewise.
18240 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18241 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18242 * sysdeps/unix/bsd/init-posix.c: Likewise.
18243 * sysdeps/unix/bsd/poll.c: Likewise.
18244 * sysdeps/unix/bsd/ptsname.c: Likewise.
18245 * sysdeps/unix/bsd/seekdir.c: Likewise.
18246 * sysdeps/unix/bsd/setegid.c: Likewise.
18247 * sysdeps/unix/bsd/seteuid.c: Likewise.
18248 * sysdeps/unix/bsd/setgid.c: Likewise.
18249 * sysdeps/unix/bsd/setrgid.c: Likewise.
18250 * sysdeps/unix/bsd/setruid.c: Likewise.
18251 * sysdeps/unix/bsd/setsid.c: Likewise.
18252 * sysdeps/unix/bsd/setuid.c: Likewise.
18253 * sysdeps/unix/bsd/sigaction.c: Likewise.
18254 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18255 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18256 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18257 * sysdeps/unix/bsd/telldir.c: Likewise.
18258 * sysdeps/unix/bsd/times.c: Likewise.
18259 * sysdeps/unix/bsd/usleep.c: Likewise.
18260
18261 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18262 ($(objpfx)libbsd-compat.a): Remove rule.
18263
18264 * include/features.h (__FAVOR_BSD): Do not define.
18265 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18266 features conflicting with POSIX.
18267 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18268 (_BSD_SOURCE): Remove description of not being a subset of other
18269 feature test macros.
18270 * manual/job.texi (getpgrp): Do not document BSD version.
18271 (getpgid): Do not document by reference to BSD getpgrp.
18272 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18273 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18274 * signal/signal.h [__FAVOR_BSD]: Likewise.
18275 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18276 instead of making contents conditional on [__FAVOR_BSD].
18277 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18278
182792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280
18281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18282
182832013-12-17 Joseph Myers <joseph@codesourcery.com>
18284
18285 [BZ #16314]
18286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18287 values below 2**-450, not 2**-500.
18288 * math/auto-libm-test-in: Don't allow spurious underflow from
18289 hypot.
18290 * math/auto-libm-test-out: Regenerated.
18291
18292 [BZ #16316]
18293 [BZ #16330]
18294 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18295 values of ha and hb and sort them after adjusting subnormal
18296 arguments.
18297 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18298 Likewise.
18299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18300 values of ea and eb and sort them after adjusting subnormal
18301 arguments.
18302 * math/auto-libm-test-in: Do not expect some hypot tests of
18303 subnormals to fail. Add more hypot tests.
18304 * math/auto-libm-test-out: Regenerated.
18305
183062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18307
18308 [BZ #13304]
18309 * sysdeps/sh/s_fma.c: New file.
18310 * sysdeps/sh/s_fmaf.c: New file.
18311 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18312 version.
18313 * sysdeps/sh/Implies: Add sh/soft-fp.
18314
183152013-12-16 Roland McGrath <roland@hack.frob.com>
18316
18317 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18318 level of indirection to members `objname', `errstring', `malloced'.
18319 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18320 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18321 it as the __longjmp argument (just pass 1 instead).
18322 (_dl_catch_error): Initialize C with argument pointers and address of
18323 volatile local ERRCODE rather than copying values out of C at return.
18324
183252013-12-16 Joseph Myers <joseph@codesourcery.com>
18326
18327 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18328 * math/auto-libm-test-out: Regenerated.
18329 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18330 (hypot_test_data): Likewise.
18331 (pow_test_data): Likewise.
18332 (pow_tonearest_test_data): Likewise.
18333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18334 mpfr_ff_f.
18335 (func_calc_desc): Add mpfr_ff_f union field.
18336 (FUNC_mpfr_ff_f): New macro.
18337 (test_functions): Add atan2, hypot and pow.
18338 (special_fill_min): New function.
18339 (special_fill_minus_min): Likewise.
18340 (special_fill_min_subnorm): Likewise.
18341 (special_fill_minus_min_subnorm): Likewise.
18342 (special_real_inputs): Add min, -min, min_subnorm and
18343 -min_subnorm.
18344 (calc_generic_results): Handle mpfr_ff_f.
18345 * sysdeps/i386/fpu/libm-test-ulps: Update.
18346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18347
183482013-12-16 Will Newton <will.newton@linaro.org>
18349
18350 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18351 (Aligned Memory Blocks): Add documentation for aligned_alloc
18352 and suggest it as an alternative to posix_memalign.
18353 (Hooks for Malloc): Document __memalign_hook is also called
18354 for aligned_alloc. (Summary of Malloc): Add summary for
18355 aligned alloc. Document __memalign_hook is also called
18356 for aligned_alloc.
18357
183582013-12-16 Will Newton <will.newton@linaro.org>
18359
18360 * manual/memory.texi (Malloc Examples): Clarify default
18361 alignment documentation. Suggest posix_memalign rather
18362 than memalign or valloc.
18363 (Aligned Memory Blocks): Remove suggestion to use memalign
18364 or valloc. Remove obsolete comment about BSD.
18365 Document memalign errno values and mark the function obsolete.
18366 Document posix_memalign returned error codes. Mark valloc
18367 as obsolete. (Hooks for Malloc): __memalign_hook is also
18368 called for posix_memalign and valloc.
18369 (Summary of Malloc): Add posix_memalign to function summary.
18370 __memalign_hook is also called for posix_memalign and valloc.
18371
183722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18373
18374 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18375 TAYLOR_SIN.
18376 (__sin): Adjust.
18377 (__cos): Likewise.
18378 (sloww): Use mynumber union. Expand ternary operator into
18379 if-else statements.
18380 (cslow): use mynumber union.
18381
183822013-12-16 Allan McRae <allan@archlinux.org>
18383
18384 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18385 * configure: Regenerated.
18386
18387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18388
18389 [BZ #14120]
18390 * configure.ac: Added --enable-maintainer-mode. Check for
18391 autoconf when enabled.
18392 * configure: Regenerated.
18393
18394 * nscd/nscd.service: New file.
18395 * nscd/nscd.tmpfiles: New file.
18396
183972013-12-14 Ondřej Bílka <neleai@seznam.cz>
18398
18399 [BZ #12100]
18400 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18401 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18402 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18403 (strstr): Add __strstr_sse2_unaligned ifunc.
18404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18405 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18406 (strcasestr): Remove __strcasestr_sse42 ifunc.
18407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18410
184112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18412
18413 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18414 * sysdeps/sh/bits/fenv.h: ... here.
18415 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18416
184172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18418
18419 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18420
18421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18422 hypotf multiarch implementations.
18423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18426 multiarch hypot for PPC64.
18427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18430 multiarch hypotf for PPC64.
18431
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18433 modff multiarch implementations.
18434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18437 multiarch modf for PPC64.
18438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18441 multiarch modff for PPC64.
18442
18443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18444 and logl multiarch implementations.
18445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18448 multiarch logb for PPC64.
18449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18452 multiarch logb for PPC64.
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18456 multiarch logb for PPC64.
18457
18458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18459 isinff multiarch implementation.
18460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18461 file.
18462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18464 multiarch isinf for PPC64.
18465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18466 file.
18467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18468 multiarch isinff for PPC64.
18469
18470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18471 finitef multiarch implementation.
18472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18473 file.
18474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18476 multiarch finite for PPC64.
18477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18478 file.
18479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18480 multiarch finitef for PPC64.
18481
18482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18483 lrint multiarch implementation.
18484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18485 file.
18486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18488 multiarch llrint for PPC64.
18489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18490 multiarch lrint for PPC64.
18491
18492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18493 copysignf multiarch implementation.
18494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18495 file.
18496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18497 file.
18498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18499 multiarch copysign for PPC64.
18500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18501 multiarch copysignf for PPC64.
18502
18503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18504 multiarch implementation.
18505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18506 file.
18507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18508 file.
18509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18510 file.
18511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18512 file.
18513 multiarch llround for PPC64.
18514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18515 multiarch trunc for PPC64.
18516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18517 multiarch truncf for PPC64.
18518
18519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18520 multiarch implementation.
18521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18522 file.
18523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18524 file.
18525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18526 file.
18527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18528 file.
18529 multiarch llround for PPC64.
18530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18531 multiarch round for PPC64.
18532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18533 multiarch roundf for PPC64.
18534
18535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18536 multiarch implementation.
18537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18538 file.
18539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18540 file.
18541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18542 file.
18543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18544 file.
18545 multiarch llround for PPC64.
18546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18547 multiarch floor for PPC64.
18548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18549 multiarch floorf for PPC64.
18550
18551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18552 multiarch implementation.
18553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18554 file.
18555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18556 file.
18557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18558 file.
18559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18560 file.
18561 multiarch llround for PPC64.
18562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18563 multiarch ceil for PPC64.
18564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18565 multiarch ceilf for PPC64.
18566
18567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18568 multiarch implementation.
18569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18570 file.
18571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18572 file.
18573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18574 file.
18575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18576 multiarch llround for PPC64.
18577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18578 multiarch lround for PPC64.
18579
18580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18581 multiarch implementation.
18582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18585 file.
18586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18589 multiarch isnan for PPC64.
18590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18591 multiarch isnanf for PPC64.
18592
18593 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18594 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18595 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18599
18600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18604
18605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18606 multiarch implementations.
18607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18608 (__libc_ifunc_impl_list): Likewise.
18609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18612 multiarch stpcpy for PPC64.
18613
18614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18615 multiarch implementations.
18616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18617 (__libc_ifunc_impl_list): Likewise.
18618 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18620 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18621 multiarch strcpy for PPC64.
18622
18623 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18624 redefine function name.
18625 (_wordcopy_fwd_dest_aligned): Likewise.
18626 (_wordcopy_bwd_aligned): Likewise.
18627 (_wordcopy_bwd_dest_aligned): Likewise.
18628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18629 multiarch implementations.
18630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18631 (__libc_ifunc_impl_list): Likewise.
18632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18636 multiarch wcscpy for PPC64.
18637
18638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18639 multiarch implementations.
18640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18641 (__libc_ifunc_impl_list): Likewise.
18642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18646 multiarch wcscpy for PPC64.
18647
18648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18649 multiarch implementations.
18650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18651 (__libc_ifunc_impl_list): Likewise.
18652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18656 multiarch wcsrchr for PPC64.
18657
18658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18659 multiarch implementations.
18660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18661 (__libc_ifunc_impl_list): Likewise.
18662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18666 multiarch wcschr for PPC64.
18667
18668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18669 multiarch implementations.
18670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18671 (__libc_ifunc_impl_list): Likewise.
18672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18675 multiarch strchrnul for PPC64.
18676
18677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18678 implementations.
18679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18680 (__libc_ifunc_impl_list): Likewise.
18681 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18684 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18685 strchr for PPC64.
18686
18687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18688 implementations.
18689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18690 (__libc_ifunc_impl_list): Likewise.
18691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18694 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18695 strncmp for PPC64.
18696
18697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18698 multiarch implementations.
18699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18700 (__libc_ifunc_impl_list): Likewise.
18701 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18702 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18703 strncasecmp for PPC64.
18704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18706 multiarch strncasecmp_l for PPC64.
18707
18708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18709 multiarch implementations.
18710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18711 (__libc_ifunc_impl_list): Likewise.
18712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18714 multiarch strcasecmp for PPC64.
18715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18716 file.
18717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18718 multiarch strcasecmp_l for PPC64.
18719
18720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18721 implementations.
18722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18723 (__libc_ifunc_impl_list): Likewise.
18724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18727 strnlen for PPC64.
18728
18729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18730 implementations.
18731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18732 (__libc_ifunc_impl_list): Likewise.
18733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18734 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18735 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18736 strlen for PPC64.
18737
18738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18739 implementations.
18740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18741 (__libc_ifunc_impl_list): Likewise.
18742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18745 rawmemrchr for PPC64.
18746
18747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18748 implementation.
18749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18750 (__libc_ifunc_impl_list): Likewise.
18751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18753 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18754 memrchr for PPC64.
18755
18756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18757 implementation.
18758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18759 (__libc_ifunc_impl_list): Likewise.
18760 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18761 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18762 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18763 memchr for PPC64.
18764
18765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18766 implementation.
18767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18768 (__libc_ifunc_impl_list): Likewise.
18769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18772 mempcpy for PPC64.
18773
18774 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18775 avoid cretion of __bzero symbol.
18776 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18777 Likewise.
18778 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18779 Likewise.
18780 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18781 Likewise.
18782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18783 multiarch implementations.
18784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18785 (__libc_ifunc_impl_list): Likewise.
18786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18789 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18790 bzero for PPC32.
18791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18792 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18793 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18795 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18796 memset for PPC64.
18797 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18798
18799 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18801 implementations.
18802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18803 (__libc_ifunc_impl_list): Likewise.
18804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18808 memcmp for PPC64.
18809
18810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18811 multiarch for POWER/PPC64.
18812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18813 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18821 memcpy for PPC64.
18822
18823 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18824 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18825 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18827 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18828 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18830 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18831 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18833 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18834 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18845
188462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18847
18848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18849
188502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18851
18852 * benchtests/Makefile (bench): Add exp2 and log2.
18853 (LDLIBS-bench-exp2): Add -lm.
18854 (LDLIBS-bench-log2): Likewise.
18855 * benchtests/exp2-inputs: New inputs file.
18856 * benchtests/log2-inputs: New inputs file.
18857 * benchtests/log-inputs: Add new inputs.
18858 * benchtests/tan-inputs: Likewise.
18859
188602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18861
18862 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18863 definition...
18864 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18865 (csloww2): ... from here.
18866
18867 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18868 instead of structures.
18869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18870 (POLYNOMIAL): Likewise.
18871 (TAYLOR_SLOW): Likewise.
18872 (__sin): Likewise.
18873 (__cos): Likewise.
18874 (slow1): Likewise.
18875 (slow2): Likewise.
18876 (sloww): Likewise.
18877 (sloww1); Likewise.
18878 (sloww2): Likewise.
18879 (bsloww1): Likewise.
18880 (bsloww2): Likewise.
18881 (cslow2): Likewise.
18882 (csloww): Likewise.
18883 (csloww1): Likewise.
18884 (csloww2): Likewise.
18885
188862013-12-10 Ondřej Bílka <neleai@seznam.cz>
18887
18888 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18889 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18890 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18891 * malloc/hooks.c (realloc_check): Likewise.
18892
18893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18894 * malloc/arena.c: Remove PER_THREAD conditional.
18895 [!PER_THREAD]: Remove code.
18896 (ptmalloc_unlock_all2): Likewise.
18897 (ptmalloc_init): Likewise.
18898 (_int_new_arena): Likewise.
18899 (arena_get2): Likewise.
18900 * malloc/hooks.c (__malloc_get_state): Likewise.
18901 (__malloc_set_state): Likewise.
18902 * malloc/malloc.c: Likewise.
18903 (struct malloc_state): Likewise.
18904 (struct malloc_par): Likewise.
18905 (__libc_realloc): Likewise.
18906 (__libc_mallopt): Likewise.
18907
189082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18909
18910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18911
189122013-12-09 Ondřej Bílka <neleai@seznam.cz>
18913
18914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18915 macro to a function. Check for zero perturb_byte.
18916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18917
18918 * malloc/malloc.c: (force_reg): Remove.
18919 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18920 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18921 force_reg by atomic_forced_read.
18922 * malloc/arena.c (ptmalloc_init): Likewise.
18923 * malloc/hooks.c (top_check): Likewise.
18924
189252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18926
18927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18928
189292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18930
18931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18932
189332013-12-08 Joseph Myers <joseph@codesourcery.com>
18934
18935 * math/auto-libm-test-in: Add tests of lgamma.
18936 * math/auto-libm-test-out: Regenerated.
18937 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18938 (M_LOG_2_SQRT_PIl): Likewise.
18939 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18941 mpfr_f_f1.
18942 (func_calc_desc): Add mpfr_f_f1 union field.
18943 (ARGS1): New macro.
18944 (ARGS2): Likewise.
18945 (ARGS3): Likewise.
18946 (ARGS4): Likewise.
18947 (RET1): Likewise.
18948 (RET2): Likewise.
18949 (CALC): Likewise.
18950 (FUNC): Likewise.
18951 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18952 (test_functions): Add lgamma.
18953 (calc_generic_results): Handle mpfr_f_f1.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956
189572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958
18959 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18960 __mpn_add_n for PowerPC64/POWER7.
18961 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18962 __mpn_sub_n for PowerPC64/POWER7.
18963
18964 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18965 __mpn_addmul_1 for PowerPC64.
18966 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18967 __mpn_submul_1 for PowerPC64.
18968 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18969 for PowerPC64.
18970 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18971 for PowerPC64.
18972
189732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18974
18975 [BZ #15089]
18976 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18977
189782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18979
18980 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18981
18982 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18983 add multiarch folders.
18984 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18985 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18986 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18987 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18988 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18989 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18990 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18991 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18992 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18993 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18994 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19001
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19003 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19005 New file.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19007 New file.
19008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19009 multiarch __ieee754_hypot for PowerPC32.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19011 New file.
19012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19013 New file.
19014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19015 multiarch __ieee754_hypotf for PowerPC32.
19016
19017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19018 long_double_symbol only if __logbl is defined.
19019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19020 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19022 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19024 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19026 path for implementation.
19027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19030 logb, and logbl multiarch implementations for PowerPC32.
19031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19032 file.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19034 file.
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19036 multiarch logb for PowerPC32.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19038 file.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19040 file.
19041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19042 multiarch logbf for PowerPC32.
19043 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19045 file.
19046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19047 multiarch logbl implementation for PowerPC32.
19048
19049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19050 and modff multiarch implementations.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19052 New file.
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19054 New file.
19055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19056 multiarch modf for PowerPC32.
19057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19058 New file.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19060 New file.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19062 multiarch modff for PowerPC32.
19063
19064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19065 and lrintf multiarch implementations.
19066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19067 New file.
19068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19069 New file.
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19071 multiarch lrint for PowerPC32.
19072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19073 file: multiarch lrintf for PowerPC32.
19074
19075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19076 and lroundf multiarch implementations.
19077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19078 New file.
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19080 New file.
19081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19082 New file.
19083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19084 multiarch lround for PowerPC32.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19086 file: multiarch lroundf for PowerPC32.
19087
19088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19089 copysign and copysignf multiarch implementations.
19090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19091 New file.
19092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19093 New file.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19095 file: multiarch copysign for PowerPC32.
19096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19097 file: multiarch copysignf for PowerPC32.
19098
19099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19100 and truncf multiarch implementations.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19102 New file.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19104 file.
19105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19106 multiarch trunc for PowerPC32.
19107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19108 New file.
19109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19110 New file.
19111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19112 multiarch truncf for PowerPC32.
19113
19114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19115 and roundf multiarch implementations.
19116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19117 New file.
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19119 file.
19120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19121 multiarch round for PowerPC32.
19122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19123 New file.
19124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19125 New file.
19126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19127 multiarch roundf for PowerPC32.
19128
19129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19130 and floorf multiarch implementations.
19131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19132 New file.
19133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19134 file.
19135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19136 multiarch floor for PowerPC32.
19137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19138 New file.
19139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19140 New file.
19141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19142 multiarch floorf for PowerPC32.
19143
19144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19145 and ceilf multiarch implementations.
19146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19147 New file.
19148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19149 file.
19150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19151 multiarch ceil for PowerPC32.
19152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19153 New file.
19154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19155 file.
19156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19157 multiarch ceilf for PowerPC32.
19158
19159 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19160 is defined.
19161 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19162 FINITEF is defined.
19163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19164 and finitef multiarch implementations.
19165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19166 New file.
19167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19168 file.
19169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19170 multiarch finite for PowerPC32.
19171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19172 New file.
19173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19174 file: multiarch finitef for PowerPC32.
19175
19176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19177 and isinff multiarch implementations.
19178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19179 file.
19180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19181 file.
19182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19183 multiarch isinf for PowerPC32.
19184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19185 New file.
19186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19187 multiarch isinff for PowerPC32.
19188
19189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19190 alias when __isnan is defined.
19191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19192 and isnanf multiarch implementations.
19193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19194 file.
19195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19196 file.
19197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19198 file.
19199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19200 file.
19201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19202 multiarch isnan for PowerPC32.
19203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19204 New file.
19205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19206 New file.
19207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19208 multiarch isnanf for PowerPC32.
19209
19210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19211 and sqrtf multiarch implementations.
19212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19213 file.
19214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19215 file.
19216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19217 multiarch sqrt for PowerPC32.
19218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19219 file.
19220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19221 file.
19222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19223 multiarch sqrtf for PowerPC32.
19224
19225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19226 and llroundf multiarch implementations.
19227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19228 New file.
19229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19230 New file.
19231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19232 New file.
19233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19234 file: multiarch llround for PowerPC32.
19235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19236 file: multiarch llroundf for PowerPC32.
19237
19238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19239 multiarch PowerPC32 fpu implementations.
19240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19241 New file.
19242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19243 New file.
19244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19245 multiarch llrint for PowerPC32.
19246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19247 New file.
19248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19249 New file.
19250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19251 file.
19252
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19254
19255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19256 file.
19257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19258 file.
19259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19260 file.
19261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19262 multiarch wordcopy for PPC32.
19263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19264 wordcopy objects.
19265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19266 (__libc_ifunc_impl_list): Likewise.
19267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19273
19274 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19276 file.
19277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19278 file.
19279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19280 file.
19281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19282 multiarch wcscpy for PPC32.
19283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19284 multiarch objects.
19285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19286 (__libc_ifunc_impl_list): Likewise.
19287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19289 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19290 sysdeps/powerpc/power6/wcscpy.c.
19291
19292 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19294 file.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19296 file.
19297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19298 file.
19299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19300 multiarch wcsrchr for PPC32.
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19302 multiarch objects.
19303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19304 (__libc_ifunc_impl_list): Likewise.
19305 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19306 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19307 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19308 sysdeps/powerpc/power6/wcsrchr.c.
19309
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19311 file.
19312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19313 file.
19314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19316 multiarch wcschr for PPc32.
19317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19318 multiarch objects.
19319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19320 (__libc_ifunc_impl_list): Likewise.
19321 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19322 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19323 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19324 sysdeps/powerpc/power6/wcschr.c.
19325
19326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19328 file.
19329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19330 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19331 file: multiarch strchr for PPC32.
19332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19333 multiarch objects.
19334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19335 (__libc_ifunc_impl_list): Likewise.
19336
19337 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19338 name.
19339 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19340 file.
19341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19342 file.
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19344 multiarch strchrnul for PPC32.
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19346 multiarch objects.
19347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19348 (__libc_ifunc_impl_list): Likewise.
19349
19350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19351 file.
19352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19353 multiarch strncasecmp for PPC32.
19354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19355 file.
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19357 multiarch strncasecmp_l for PPC32.
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19359 strncasecmp multiarch objects.
19360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19361 (__libc_ifunc_impl_list): Likewise.
19362
19363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19364 file.
19365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19366 multiarch strncasecmp for PPC32.
19367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19368 New file.
19369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19370 multiarch strcasecmp_l for PPC32.
19371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19372 multiarch objects.
19373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19374 (__libc_ifunc_impl_list): Likewise.
19375
19376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19377 file.
19378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19379 file.
19380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19381 multiarch strncmp for PPC32.
19382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19383 multiarch objects.
19384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19385 (__libc_ifunc_impl_list): Likewise.
19386
19387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19388 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19389 file.
19390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19393 multiarch objects.
19394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19395 (__libc_ifunc_impl_list): Likewise.
19396
19397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19398 file.
19399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19400 file.
19401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19403 multiarch objects.
19404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19405 (__libc_ifunc_impl_list): Likewise.
19406
19407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19408 file.
19409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19410 file.
19411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19412 multiarch rawmemchr for PPC32.
19413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19414 multiarch objects.
19415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19416 (__libc_ifunc_impl_list): Likewise.
19417
19418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19419 file.
19420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19421 file.
19422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19423 file: memrchr multiarch for PPC32.
19424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19425 multiarch objects.
19426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19427 (__libc_ifunc_impl_list): Likewise.
19428
19429 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19431 file.
19432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19434 multiarch memchr for PPC32.
19435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19436 multiarch objects.
19437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19438 (__libc_ifunc_impl_list): Likewise.
19439
19440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19442 file.
19443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19444 file.
19445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19446 file: multiarch mempcpy for PPC32.
19447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19448 multiarch objects.
19449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19450 (__libc_ifunc_impl_list): Likewise.
19451
19452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19456 multiarch bzero for PPC32.
19457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19458 file.
19459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19460 file.
19461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19463 file: multiarch memset for PPC32.
19464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19466 memset multiarch objects.
19467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19468 (__libc_ifunc_impl_list): Likewise.
19469
19470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19471 file.
19472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19474 memcmp for PPC32.
19475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19477 multiarch objects.
19478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19479 (__libc_ifunc_impl_list): Likewise.
19480
19481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19484 file.
19485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19486 file.
19487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19488 file.
19489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19490 multiarch memcpy for PPC32.
19491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19492 multiarch objects.
19493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19494 (__libc_ifunc_impl_list): Likewise.
19495
19496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19497 support multiarch for POWER/PPC32.
19498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19499 Likewise.
19500 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19502 Implies file to make multiarch folder appers before the fpu and
19503 default folder for power4 configuration.
19504
195052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19506
19507 * scripts/bench.pl: Append volatile keyword to type.
19508
195092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19510
19511 * sysdeps/sh/sotruss-lib.c: New file.
19512 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19513
195142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19515
19516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19517
195182013-12-05 Joseph Myers <joseph@codesourcery.com>
19519
19520 [BZ #6810]
19521 * math/w_tgamma.c: Include <errno.h>.
19522 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19523 * math/w_tgammaf.c: Include <errno.h>.
19524 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19525 * math/w_tgammal.c: Include <errno.h>.
19526 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19527 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19528 underflow. Add more tgamma tests.
19529 * math/auto-libm-test-out: Regenerated.
19530 * sysdeps/i386/fpu/libm-test-ulps: Update.
19531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19532
19533 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19534 sin, sinh, tan, tanh, tgamma, y0 and y1.
19535 * math/auto-libm-test-out: Regenerated.
19536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19537 (TEST_COND_x86): Likewise.
19538 (M_E2l): Remove macro.
19539 (M_E3l): Likewise.
19540 (M_2_SQRT_PIl): Likewise.
19541 (M_SQRT_PIl): Likewise.
19542 (M_1_DIV_El): Likewise.
19543 (log_test_data): Use AUTO_TESTS_f_f.
19544 (log10_test_data): Likewise.
19545 (log1p_test_data): Likewise.
19546 (log2_test_data): Likewise.
19547 (sin_test_data): Likewise.
19548 (sin_tonearest_test_data): Likewise.
19549 (sin_towardzero_test_data): Likewise.
19550 (sin_downward_test_data): Likewise.
19551 (sin_upward_test_data): Likewise.
19552 (sinh_test_data): Likewise.
19553 (sinh_tonearest_test_data): Likewise.
19554 (sinh_towardzero_test_data): Likewise.
19555 (sinh_downward_test_data): Likewise.
19556 (sinh_upward_test_data): Likewise.
19557 (tan_test_data): Likewise.
19558 (tan_tonearest_test_data): Likewise.
19559 (tan_towardzero_test_data): Likewise.
19560 (tan_downward_test_data): Likewise.
19561 (tan_upward_test_data): Likewise.
19562 (tanh_test_data): Likewise.
19563 (tgamma_test_data): Likewise.
19564 (y0_test_data): Likewise.
19565 (y1_test_data): Likewise.
19566 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19567 (special_real_inputs): Add pi/4.
19568 * sysdeps/i386/fpu/libm-test-ulps: Update.
19569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19570
195712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19572
19573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19574 "longjmp_target" static probes.
19575 (__longjmp): Rename to __longjmp_symbol.
19576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19577 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19578 on which longjmp to generate.
19579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19581 probe.
19582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19583 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19586 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19589 __longjmp_symbol based on which __longjmp to generate.
19590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19591 probe.
19592 (setjmp): Rename to setjmp_symbol.
19593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19594 (_setjmp): Rename to _setjmp_symbol.
19595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19596 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19597 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19598 which setjmp to generate.
19599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19600 "longjmp_target" static probes.
19601
196022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19603
19604 * benchtests/README: Add note about output arguments.
19605 * benchtests/bench-sincos.c: Remove file.
19606 * benchtests/sincos-inputs: New file.
19607 * scripts/bench.pl: Identify output arguments and define
19608 static variables for them.
19609
19610 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19611
19612 [BZ #15941]
19613 * Makefile (INSTALL): Add install-plain.texi as the primary
19614 dependency.
19615 * manual/install-plain.texi: New file.
19616 * manual/install.texi: Include node directive only for
19617 non-plaintext output.
19618
196192013-12-04 Joseph Myers <joseph@codesourcery.com>
19620
19621 * stdlib/longlong.h: Update from GCC.
19622
19623 [BZ #6807]
19624 [BZ #15901]
19625 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19626 * math/w_j0f.c (y0f): Likewise.
19627 * math/w_j0l.c (__y0l): Likewise.
19628 * math/w_j1.c (y1): Likewise.
19629 * math/w_j1f.c (y1f): Likewise.
19630 * math/w_j1l.c (__y1l): Likewise
19631 * math/w_jn.c (yn): Likewise.
19632 * math/w_jnf.c (ynf): Likewise.
19633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19634 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19635 value for Bessel function domain errors outside _SVID_ mode.
19636 Adjust sign of return value for yn (negative integer, 0).
19637 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19638 by zero in return for negative x and set sign appropriately for
19639 negative n.
19640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19642 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19643 expectations in error cases.
19644 (y1_test_data): Likewise.
19645 (yn_test_data): Likewise.
19646 * sysdeps/i386/fpu/libm-test-ulps: Update.
19647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19648
196492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19650
19651 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19652 "64" to "64-v1". Add "64-v2".
19653 (abi-64-options): Rename to ...
19654 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19655 (abi-64-condition): Rename to ...
19656 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19657 (abi-64-ld-soname): Rename to ...
19658 (abi-64-v1-ld-soname): ... this.
19659 (abi-64-v2-options): Define.
19660 (abi-64-v2-condition): Likewise.
19661 (abi-64-v2-ld-soname): Likewise.
19662 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19663 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19667
196682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19669 Alan Modra <amodra@gmail.com>
19670
19671 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19672 New versions for use with the ELFv2 ABI.
19673 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19674 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19675 declaration.
19676 (struct La_ppc64v2_retval): Likewise.
19677 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19678 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19679 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19680 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19681 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19683 Do not save or restore CR.
19684 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19685 (_dl_profile_resolve): Do no save or restore CR. Support extended
19686 return values for ELFv2 ABI. Fix location of FPR return registers.
19687 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19688 updated values for _CALL_ELF == 2.
19689 (La_regs, La_retval, int_retval): Likewise.
19690
196912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19692
19693 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19694 (FRAME_MIN_SIZE_PARM): Likewise.
19695 (FRAME_BACKCHAIN): Likewise.
19696 (FRAME_CR_SAVE): Likewise.
19697 (FRAME_LR_SAVE): Likewise.
19698 (FRAME_TOC_SAVE): Likewise.
19699 (FRAME_PARM_SAVE): Likewise.
19700 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19701 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19702 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19703 (call_mcount_parm_offset): New macro.
19704 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19705 (PROF): Use symbolic stack frame offsets.
19706 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19708 Redefine in terms of FRAME_MIN_SIZE.
19709 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19710 (_dl_profile_resolve): Likewise. Update comment.
19711 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19712 symbols stack frame offsets.
19713 (__sigsetjmp): Likewise.
19714 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19715 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19717 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19718
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19720 (FRAME_BACKCHAIN): Remove.
19721 (FRAME_CR_SAVE): Likewise.
19722 (FRAME_LR_SAVE): Likewise.
19723 (FRAME_COMPILER_DW): Likewise.
19724 (FRAME_LINKER_DW): Likewise.
19725 (FRAME_TOC_SAVE): Likewise.
19726 (FRAME_PARM_SAVE): Likewise.
19727 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19728 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19729 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19731 (CHECK_SP): Use symbolic stack frame offsets.
19732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19733 zone" instead of caller's parameter save area for temp storage.
19734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19735 Likewise. Also, use symbolic stack frame offsets.
19736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19737 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19738 our own stack frame instead of the caller's.
19739 (__socket): Use symbolic stack frame offsets.
19740
197412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19742 Alan Modra <amodra@gmail.com>
19743
19744 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19745 Define.
19746 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19747 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19748 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19749 New function.
19750 (elf_machine_fixup_plt): Call it.
19751 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19752 reloc arguments.
19753 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19755 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19756 r2 before calling target.
19757
197582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19759 Alan Modra <amodra@gmail.com>
19760
19761 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19762 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19763 versions of macros to support ELFv2 ABI.
19764 (LOCALENTRY): New macro.
19765 (ENTRY, EALIGN): Use it.
19766 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19767 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19768 fall through into ENTRY entry point.
19769 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19770 Only define if _CALL_ELF != 2.
19771
19772 (elf_machine_matches_host): Verify ABI version matches.
19773 (RTLD_START): Use LOCALENTRY.
19774 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19775 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19776 (PLT_ENTRY_WORDS): New macro.
19777 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19778 (elf_machine_runtime_setup): Support ELFv2 ABI.
19779 (elf_machine_fixup_plt): Likewise.
19780 (elf_machine_plt_conflict): Likewise.
19781 (resolve_ifunc): Likewise.
19782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19784 Likewise.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19786 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19788 (makecontext): Support ELFv2 ABI.
19789 * elf/elf.h (EF_PPC64_ABI): Define.
19790
197912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19792
19793 * sysdeps/powerpc/powerpc64/sysdep.h
19794 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19795 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19796 (ENTRY) [ASSEMBLER]: ... but instead here ...
19797 (EALIGN) [ASSEMBLER]: ... and here.
19798 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19799 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19800 (ENTRY_2) [!ASSEMBLER]: Use it.
19801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19802 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19804 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19807 Use PPC64_LOAD_FUNCPTR.
19808
19809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19810
198112013-12-04 Alan Modra <amodra@gmail.com>
19812
19813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19817
19818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19824
198252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19826
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19828 (__makecontext): Fix incorrect CFI when backtracing out of
19829 context created via makecontext.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19831 (__setcontext): Fix incorrect CFI during switch to new context.
19832 (__novec_setcontext): Likewise.
19833
198342013-12-04 Ondřej Bílka <neleai@seznam.cz>
19835
19836 [BZ #4772]
19837 * time/strptime_l.c (__strptime_internal): Allow modifiers
19838 in strptime.
19839 * time/tst-strptime.c (day_tests): Add testcase.
19840
198412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19842
19843 * scripts/bench.pl: Skip over blank lines.
19844
198452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19846
19847 [BZ #926]
19848 * manual/time.texi (Calendar Time): Clarify what timezone functions
19849 use.
19850
198512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19852
19853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19854
198552013-12-04 Ondřej Bílka <neleai@seznam.cz>
19856
19857 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19858 implementation.
19859 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19860 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19861 * debug/memset_chk.c (__memset_chk): Likewise.
19862 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19863 * debug/strncpy_chk.c: Likewise.
19864
198652013-12-03 Joseph Myers <joseph@codesourcery.com>
19866
19867 [BZ #15268]
19868 [BZ #15425]
19869 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19870 (__ieee754_exp): For possibly underflowing results, check size of
19871 result and force underflow exception if required.
19872 * math/auto-libm-test-in: Add more tests of exp.
19873 * math/auto-libm-test-out: Regenerated.
19874 * sysdeps/i386/fpu/libm-test-ulps: Update.
19875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876
19877 [BZ #16283]
19878 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19879 * math/w_exp2f.c (__exp2f): Likewise.
19880 * math/w_exp2l.c (__exp2l): Likewise.
19881 * math/auto-libm-test-in: Do not allow missing errno on exp2
19882 underflow.
19883 * math/auto-libm-test-out: Regenerated.
19884
198852013-12-03 Ondřej Bílka <neleai@seznam.cz>
19886
19887 [BZ #16274]
19888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19889 handle filename validation.
19890 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19891 (do_open): Delete.
19892
198932013-12-03 Joseph Myers <joseph@codesourcery.com>
19894
19895 [BZ #6786]
19896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19897 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19898 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19899 <float.h>.
19900 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19907 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19908 Add more erfc tests.
19909 * math/auto-libm-test-out: Regenerated.
19910 * sysdeps/i386/fpu/libm-test-ulps: Update.
19911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19912
19913 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19914 exp2, expm1, j0 and j1.
19915 * math/auto-libm-test-out: Regenerated.
19916 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19917 (erfc_test_data): Likewise.
19918 (exp_test_data): Likewise.
19919 (exp_tonearest_test_data): Likewise.
19920 (exp_towardzero_test_data): Likewise.
19921 (exp_downward_test_data): Likewise.
19922 (exp_upward_test_data): Likewise.
19923 (exp10_test_data): Likewise.
19924 (exp2_test_data): Likewise.
19925 (expm1_test_data): Likewise.
19926 (j0_test_data): Likewise.
19927 (j1_test_data): Likewise.
19928 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19929 (input_flag_type): Add flag_xfail_rounding.
19930 (input_flags): Add xfail-rounding.
19931 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19932 (output_for_one_input_case): Handle flag_xfail_rounding.
19933 * sysdeps/i386/fpu/libm-test-ulps: Update.
19934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935
199362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19937
19938 [BZ #16289]
19939 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19940 division by 0.
19941
199422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19943
19944 [BZ #16195]
19945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19946 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19947 (STAP_PROBE0): New macro.
19948 (STAP_PROBE1): Likewise.
19949 (STAP_PROBE2): Likewise.
19950 (STAP_PROBE3): Likewise.
19951 (STAP_PROBE4): Likewise.
19952
199532013-12-02 Ondřej Bílka <neleai@seznam.cz>
19954
19955 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19956
199572013-12-02 Steve Ellcey <sellcey@mips.com>
19958
19959 * benchtests/Makefile (bench): Add sqrt.
19960 (LDLIBS-bench-sqrt): New.
19961 * benchtests/sqrt-input: New.
19962
199632013-12-02 Pavel Simerda <psimerda@redhat.com>
19964
19965 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19966 (GAIH_EAI): Likewise.
19967 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19968 (gaih_inet): Likewise.
19969 (getaddrinfo): Don't use GAIH_EAI.
19970
19971 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19972 (struct gaih): Remove definition.
19973
199742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
19976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19977 Use HERRNOP directly.
19978
199792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19980
19981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19982
199832013-11-30 Joseph Myers <joseph@codesourcery.com>
19984
19985 * math/gen-auto-libm-tests.c (test_functions): Add more
19986 single-argument functions.
19987 (special_fill_pi_2): New function.
19988 (special_fill_minus_pi_2): Likewise.
19989 (special_fill_pi_6): Likewise.
19990 (special_fill_minus_pi_6): Likewise.
19991 (special_fill_pi_3): Likewise.
19992 (special_fill_2pi_3): Likewise.
19993 (special_fill_e): Likewise.
19994 (special_fill_1_e): Likewise.
19995 (special_fill_e_minus_1): Likewise.
19996 (special_real_inputs): Add more special inputs.
19997 (output_for_one_input_case): Do not require ERANGE on underflow to
19998 zero if round-to-nearest result does not underflow to zero, unless
19999 exact results required.
20000 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20001 atan, atanh, cbrt, cos and cosh.
20002 * math/auto-libm-test-out: Regenerated.
20003 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20004 (acos_tonearest_test_data): Likewise.
20005 (acos_towardzero_test_data): Likewise.
20006 (acos_downward_test_data): Likewise.
20007 (acos_upward_test_data): Likewise.
20008 (acosh_test_data): Likewise.
20009 (asin_test_data): Likewise.
20010 (asin_tonearest_test_data): Likewise.
20011 (asin_towardzero_test_data): Likewise.
20012 (asin_upward_test_data): Likewise.
20013 (asinh_test_data): Likewise.
20014 (atan_test_data): Likewise.
20015 (atanh_test_data): Likewise.
20016 (cbrt_test_data): Likewise.
20017 (cos_test_data): Likewise.
20018 (cos_tonearest_test_data): Likewise.
20019 (cos_towardzero_test_data): Likewise.
20020 (cos_downward_test_data): Likewise.
20021 (cos_upward_test_data): Likewise.
20022 (cosh_test_data): Likewise.
20023 (cosh_tonearest_test_data): Likewise.
20024 (cosh_towardzero_test_data): Likewise.
20025 (cosh_downward_test_data): Likewise.
20026 (cosh_upward_test_data): Likewise.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029
200302013-11-29 Joseph Myers <joseph@codesourcery.com>
20031
20032 [BZ #6787]
20033 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20034 * math/w_exp10f.c (__exp10f): Likewise.
20035 * math/w_exp10l.c (__exp10l): Likewise.
20036 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20037 errno settings in existing tests.
20038
20039 [BZ #14032]
20040 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20041 precision control set to double precision.
20042 * sysdeps/i386/fpu/w_sqrt.c: New file.
20043 * math/auto-libm-test-in: Add more tests.
20044 * math/auto-libm-test-out: Update.
20045
20046 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20047 (sqrt_test_tonearest): New function.
20048 (sqrt_towardzero_test_data): New variable.
20049 (sqrt_test_towardzero): New function.
20050 (sqrt_downward_test_data): New variable.
20051 (sqrt_test_downward): New function.
20052 (sqrt_upward_test_data): New variable.
20053 (sqrt_test_upward): New function.
20054 (main): Call the new functions.
20055
20056 * math/gen-auto-libm-tests.c: New file.
20057 * math/auto-libm-test-in: Likewise.
20058 * math/auto-libm-test-out: New generated file.
20059 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20060 variables.
20061 (%beautify): Add generated representations of zero.
20062 (top level): Set $auto_input and call parse_auto_input.
20063 (beautify): Remove trailing "f" from hex float constants.
20064 (parse_args): Handle XFAIL_TEST.
20065 (convert_condition): New function.
20066 (or_value): Likewise.
20067 (or_cond_value): Likewise.
20068 (generate_testfile): Handle AUTO_TESTS_* lines.
20069 (parse_auto_input): New function.
20070 * math/libm-test.inc (XFAIL_TEST): New macro.
20071 (ERRNO_UNCHANGED): Update value.
20072 (ERRNO_EDOM): Likewise.
20073 (ERRNO_ERANGE): Likewise.
20074 (IGNORE_RESULT): Likewise.
20075 (TEST_COND_flt_32): New macro.
20076 (TEST_COND_dbl_64): Likewise.
20077 (TEST_COND_ldbl_96_intel): Likewise.
20078 (TEST_COND_ldbl_96_m68k): Likewise.
20079 (TEST_COND_ldbl_128): Likewise.
20080 (TEST_COND_ldbl_128ibm): Likewise.
20081 (TEST_COND_long32): Likewise.
20082 (TEST_COND_long64): Likewise.
20083 (TEST_COND_before_rounding): Likewise.
20084 (TEST_COND_after_rounding): Likewise.
20085 (enable_test): Handle XFAIL_TEST flag.
20086 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20087 with finite results.
20088 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20089 auto-libm-test-out.
20090
200912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20093
20094 [BZ #16214]
20095 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20096 __tls_get_addr_internal instead of __tls_get_offset in order to
20097 avoid GOT pointer dependency. Make rtld export
20098 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20099 __tls_get_addr since we are a __tls_get_offset platform.
20100 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20101 GOT pointer being set up before.
20102 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20103
201042013-11-28 Joseph Myers <joseph@codesourcery.com>
20105
20106 * manual/math.texi (Errors in Math Functions): Document accuracy
20107 goals.
20108
20109 [BZ #15004]
20110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20120 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20121 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20122 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20126
20127 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20128 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20129 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20130 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20132 Likewise.
20133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20134 Likewise.
20135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20136 Likewise.
20137 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20139 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20140 atomic-feupdateenv and flt-rounds.
20141 * sysdeps/powerpc/nofpu/Versions (libc): Add
20142 __atomic_feholdexcept, __atomic_feclearexcept,
20143 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20145 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20147 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20148 here.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20150 Update.
20151
20152 * manual/arith.texi (FP Exceptions): Document that exceptions may
20153 not be raised when matherr is used.
20154 (Math Error Reporting): Document overflow in directed rounding
20155 modes. Document that errno may not be set when finite values are
20156 returned on overflow. Document intent to set errno on underflow
20157 only for underflow to zero.
20158
20159 [BZ #16271]
20160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20161 round-to-nearest then adjust result for other rounding modes.
20162 * include/fenv.h (fegetround): Use libm_hidden_proto.
20163 * math/fegetround.c (fegetround): Use libm_hidden_def.
20164 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20168 Likewise.
20169 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20173
201742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20175
20176 [BZ #16077]
20177 * nss/Versions (libnss_files): Add
20178 _nss_files_gethostbyname3_r.
20179 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20180 New function.
20181 (HOST_DB_LOOKUP): Remove macro.
20182 (_nss_files_gethostbyname_r): Implement function without the
20183 HOST_DB_LOOKUP macro.
20184 (_nss_files_gethostbyname2_r): Likewise.
20185
201862013-11-28 Ondřej Bílka <neleai@seznam.cz>
20187
20188 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20189
201902013-11-26 Uros Bizjak <ubizjak@gmail.com>
20191
20192 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20193 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20194 warning.
20195
201962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20197
20198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20199 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20200 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20201 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20203 __fe_nomask_env_priv and attribute_hidden.
20204 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20205 (libc_feupdateenv_test_ppc): Likewise.
20206 (libc_feresetround_ppc): Likewise.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20208 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20209 compat_symbol macro.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20211 (__fe_nomask_env): Likewise.
20212 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20213
202142013-11-26 Ondřej Bílka <neleai@seznam.cz>
20215
20216 * string/Makefile: Remove ifunc tests.
20217 * string/test-string.h: Define TEST_IFUNC.
20218 * string/test-bcopy-ifunc.c: Remove.
20219 * string/test-bzero-ifunc.c: Likewise.
20220 * string/test-memccpy-ifunc.c: Likewise.
20221 * string/test-memchr-ifunc.c: Likewise.
20222 * string/test-memcmp-ifunc.c: Likewise.
20223 * string/test-memcpy-ifunc.c: Likewise.
20224 * string/test-memmem-ifunc.c: Likewise.
20225 * string/test-memmove-ifunc.c: Likewise.
20226 * string/test-mempcpy-ifunc.c: Likewise.
20227 * string/test-memrchr-ifunc.c: Likewise.
20228 * string/test-memset-ifunc.c: Likewise.
20229 * string/test-rawmemchr-ifunc.c: Likewise.
20230 * string/test-stpcpy-ifunc.c: Likewise.
20231 * string/test-stpncpy-ifunc.c: Likewise.
20232 * string/test-strcasecmp-ifunc.c: Likewise.
20233 * string/test-strcasestr-ifunc.c: Likewise.
20234 * string/test-strcat-ifunc.c: Likewise.
20235 * string/test-strchr-ifunc.c: Likewise.
20236 * string/test-strchrnul-ifunc.c: Likewise.
20237 * string/test-strcmp-ifunc.c: Likewise.
20238 * string/test-strcpy-ifunc.c: Likewise.
20239 * string/test-strcspn-ifunc.c: Likewise.
20240 * string/test-strlen-ifunc.c: Likewise.
20241 * string/test-strncasecmp-ifunc.c: Likewise.
20242 * string/test-strncat-ifunc.c: Likewise.
20243 * string/test-strncmp-ifunc.c: Likewise.
20244 * string/test-strncpy-ifunc.c: Likewise.
20245 * string/test-strnlen-ifunc.c: Likewise.
20246 * string/test-strpbrk-ifunc.c: Likewise.
20247 * string/test-strrchr-ifunc.c: Likewise.
20248 * string/test-strspn-ifunc.c: Likewise.
20249 * string/test-strstr-ifunc.c: Likewise.
20250
202512013-11-26 Ondřej Bílka <neleai@seznam.cz>
20252
20253 * benchtests/Makefile: Remove ifunc tests.
20254 * benchtests/bench-string.h: Define TEST_IFUNC.
20255 * benchtests/bench-bcopy-ifunc.c: Remove.
20256 * benchtests/bench-bzero-ifunc.c: Likewise.
20257 * benchtests/bench-memccpy-ifunc.c: Likewise.
20258 * benchtests/bench-memchr-ifunc.c: Likewise.
20259 * benchtests/bench-memcmp-ifunc.c: Likewise.
20260 * benchtests/bench-memcpy-ifunc.c: Likewise.
20261 * benchtests/bench-memmem-ifunc.c: Likewise.
20262 * benchtests/bench-memmove-ifunc.c: Likewise.
20263 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20264 * benchtests/bench-memrchr-ifunc.c: Likewise.
20265 * benchtests/bench-memset-ifunc.c: Likewise.
20266 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20267 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20268 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20269 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20270 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20271 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20272 * benchtests/bench-strcat-ifunc.c: Likewise.
20273 * benchtests/bench-strchr-ifunc.c: Likewise.
20274 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20275 * benchtests/bench-strcmp-ifunc.c: Likewise.
20276 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20277 * benchtests/bench-strcpy-ifunc.c: Likewise.
20278 * benchtests/bench-strcspn-ifunc.c: Likewise.
20279 * benchtests/bench-strlen-ifunc.c: Likewise.
20280 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20281 * benchtests/bench-strncat-ifunc.c: Likewise.
20282 * benchtests/bench-strncmp-ifunc.c: Likewise.
20283 * benchtests/bench-strncpy-ifunc.c: Likewise.
20284 * benchtests/bench-strnlen-ifunc.c: Likewise.
20285 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20286 * benchtests/bench-strrchr-ifunc.c: Likewise.
20287 * benchtests/bench-strsep-ifunc.c: Likewise.
20288 * benchtests/bench-strspn-ifunc.c: Likewise.
20289 * benchtests/bench-strstr-ifunc.c: Likewise.
20290
202912013-11-26 Ondřej Bílka <neleai@seznam.cz>
20292
20293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20294
202952013-11-26 Ondřej Bílka <neleai@seznam.cz>
20296
20297 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20298 * rt/aio.h: Likewise.
20299 * sysdeps/gnu/bits/utmp.h: Likewise.
20300 * sysdeps/gnu/bits/utmpx.h: Likewise.
20301 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20302 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20303 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20304 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20305 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20307 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20308 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20311 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20312 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20313 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20316 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20317 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20318 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20319 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20320 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20321 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20322 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20325 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20328 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20331 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20336 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20341 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20342 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20343
203442013-11-25 Carlos O'Donell <carlos@redhat.com>
20345
20346 [BZ #16245]
20347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20348 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20349
203502013-11-25 Joseph Myers <joseph@codesourcery.com>
20351
20352 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20353 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20354 Likewise.
20355
203562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20357
20358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20359 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20361 (__fesetround): Remove define.
20362 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20363 rounding and exceptions handling.
20364 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20366 (__fe_nomask_env): Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20368 __fegetround instead of fegetround.
20369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20371
203722013-11-21 Roland McGrath <roland@hack.frob.com>
20373
20374 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20375 it's there.
20376
20377 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20378
203792013-11-21 Meador Inge <meadori@codesourcery.com>
20380
20381 [BZ #11157]
20382 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20383 (encrypt_r): Likewise.
20384 * malloc/obstack.h (obstack_free): Likewise.
20385 * posix/unistd.h (encrypt): Likewise.
20386
203872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20388
20389 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20390 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20391 DL_CALL_DT_FINI() that call the functions directly.
20392 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20393 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20394 * elf/dl-fini.c: Likewise.
20395
203962013-11-20 Ondřej Bílka <neleai@seznam.cz>
20397
20398 * malloc/hooks.c (memalign_check): Add alignment rounding.
20399 * malloc/malloc.c (_mid_memalign): New function.
20400 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20401 Implement by calling _mid_memalign.
20402 * manual/probes.texi (Memory Allocation Probes): Remove
20403 memory_valloc_retry and memory_pvalloc_retry.
20404
204052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20406
20407 * locale/programs/locarchive.c (open_archive): Add const
20408 qualifier to ARCHIVEFNAME and copy default fname to
20409 DEFAULT_FNAME.
20410
20411 [BZ #15601]
20412 * libio/tst-widetext.input: Rename Oriya to Odia.
20413 * locale/iso-639.def: Likewise.
20414
20415 * manual/probes.texi (Mathematical Function Probes): Add
20416 documentation for sin, cos, asin and acos probes.
20417 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20418 (__sin32): Add slowasin probe.
20419 (__cos32): Add slowacos probe.
20420 (__mpsin): Add slowsin probe.
20421 (__mpcos): Add slowcos probe.
20422
204232013-11-19 Joseph Myers <joseph@codesourcery.com>
20424
20425 [BZ #15483]
20426 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20427 thread-local __sim_exceptions_thread and global
20428 __sim_exceptions_global.
20429 (__sim_disabled_exceptions): Change to thread-local
20430 __sim_disabled_exceptions_thread and global
20431 __sim_disabled_exceptions_global.
20432 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20433 and global __sim_round_mode_global.
20434 (__simulate_exceptions): Use thread-local floating-point state and
20435 set global state from it as needed.
20436 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20437 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20438 __sim_round_mode_thread.
20439 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20440 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20441 and global __sim_exceptions_global.
20442 (__sim_disabled_exceptions): Change to thread-local
20443 __sim_disabled_exceptions_thread and global
20444 __sim_disabled_exceptions_global.
20445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20446 and global __sim_round_mode_global.
20447 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20448 (SIM_SET_GLOBAL): Likewise.
20449 * sysdeps/powerpc/soft-fp/sfp-machine.h
20450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20451 __sim_round_mode_thread.
20452 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20453 __sim_disabled_exceptions_thread.
20454 (__sim_exceptions): Change to __sim_exceptions_thread.
20455 (__sim_disabled_exceptions): Change to
20456 __sim_disabled_exceptions_thread.
20457 (__sim_round_mode): Change to __sim_round_mode_thread.
20458 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20459 thread-local floating-point state and set global state from it as
20460 needed.
20461 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20462 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20463 (__sim_disabled_exceptions): Remove extern declaration.
20464 (feenableexcept): Use thread-local floating-point state and set
20465 global state from it as needed.
20466 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20467 extern declaration.
20468 (__sim_disabled_exceptions): Likewise.
20469 (__sim_round_mode): Likewise.
20470 (__fegetenv): Use thread-local floating-point state.
20471 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20472 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20473 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20474 floating-point state and set global state from it as needed.
20475 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20476 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20477 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20478 Likewise.
20479 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20480 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20481 Likewise.
20482 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20483 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20484 Use __sim_round_mode_thread.
20485 * math/test-fenv-tls.c: New file.
20486 * math/Makefile (tests): Add test-fenv-tls.
20487 ($(objpfx)test-fenv-tls): Depend on
20488 $(common-objpfx)nptl/libpthread.so.
20489
204902013-11-19 Andreas Schwab <schwab@suse.de>
20491
20492 * locale/programs/locale.c (show_info): Decode wordarray elements.
20493 * locale/categories.def (LC_MONETARY): Add element for
20494 _NL_MONETARY_CRNCYSTR.
20495 * locale/C-monetary.c (conversion_rate): New variable.
20496 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20497 element.
20498
204992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20500
20501 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20502 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20503
205042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20505
20506 * elf/Makefile (tst-auxv): New test.
20507 * elf/tst-auxv.c: New
20508 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20509
205102013-11-18 Joseph Myers <joseph@codesourcery.com>
20511
20512 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20513 (hidden_proto): Caller changed.
20514 (hidden_tls_proto): New macro.
20515 (libc_hidden_tls_proto): Likewise.
20516 (rtld_hidden_tls_proto): Likewise.
20517 (libm_hidden_tls_proto): Likewise.
20518 (libresolv_hidden_tls_proto): Likewise.
20519 (librt_hidden_tls_proto): Likewise.
20520 (libdl_hidden_tls_proto): Likewise.
20521 (libnss_files_hidden_tls_proto): Likewise.
20522 (libnsl_hidden_tls_proto): Likewise.
20523 (libnss_nisplus_hidden_tls_proto): Likewise.
20524 (libutil_hidden_tls_proto): Likewise.
20525
205262013-11-18 Ondřej Bílka <neleai@seznam.cz>
20527
20528 [BZ #10253]
20529 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20530 (decompose_rpath): Defer expansion to fillin_rpath.
20531 (_dl_init_paths): Pass linkmap to fillin_rpath.
20532
205332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20534
20535 * benchtests/Makefile: Add strsep.
20536 * benchtests/bench-strsep.c: New file: strsep benchtest.
20537 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20538
205392013-11-18 Andreas Schwab <schwab@suse.de>
20540
20541 * locale/programs/locale.c (show_info) [case byte]: Check for
20542 '\377' instead of '\177'.
20543 * locale/C-monetary.c (not_available): Always use "\377".
20544 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20545 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20546 detect unavailable sign_posn locale elements.
20547 * locale/localeconv.c (__localeconv): For grouping and
20548 mon_grouping handle "\177" and "\377" like no grouping.
20549 (INT_ELEM): New macro. Use it to set all numeric members.
20550 * locale/programs/ld-monetary.c (monetary_read)
20551 <tok_mon_grouping>: Normalize single -1 to the empty string.
20552 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20553 Likewise.
20554
205552013-11-07 Ondřej Bílka <neleai@seznam.cz>
20556
20557 [BZ #16055]
20558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20559 when we match (nil).
20560 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20561
205622013-11-16 Joseph Myers <joseph@codesourcery.com>
20563
20564 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20565 (NO_TEST_INLINE): Update value.
20566 (ERRNO_UNCHANGED): Likewise.
20567 (ERRNO_EDOM): Likewise.
20568 (ERRNO_ERANGE): Likewise.
20569 (IGNORE_RESULT): Likewise.
20570 (check_float_internal): Check signs of NaN results if
20571 TEST_NAN_SIGN used.
20572 (check_complex): Pass TEST_NAN_SIGN flag through to second
20573 check_float_internal call.
20574 (copysign_test_data): Add tests with quiet NaNs as second
20575 argument. Use TEST_NAN_SIGN.
20576 (fabs_test_data): Add test of negative quiet NaN argument. Use
20577 TEST_NAN_SIGN.
20578 (signbit_test_data): Add tests of quiet NaN argument.
20579 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20580
20581 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20582 $ignore_result.
20583 (parse_args): Handle function results specified as IGNORE.
20584 * math/libm-test.inc (IGNORE_RESULT): New macro.
20585 (check_float_internal): Do not check numerical result if flag
20586 IGNORE_RESULT set.
20587 (check_complex): Pass through IGNORE_RESULT to second
20588 check_float_internal call.
20589 (check_int): Do not check numerical result if flag IGNORE_RESULT
20590 set.
20591 (check_long): Likewise.
20592 (check_bool): Likewise.
20593 (check_longlong): Likewise.
20594 (lrint_test_data): Add tests of infinite and NaN arguments.
20595 (lrint_tonearest_test_data): Likewise.
20596 (lrint_towardzero_test_data): Likewise.
20597 (lrint_downward_test_data): Likewise.
20598 (lrint_upward_test_data): Likewise.
20599 (llrint_test_data): Likewise.
20600 (llrint_tonearest_test_data): Likewise.
20601 (llrint_towardzero_test_data): Likewise.
20602 (llrint_downward_test_data): Likewise.
20603 (llrint_upward_test_data): Likewise.
20604 (lround_test_data): Likewise.
20605 (llround_test_data): Likewise.
20606
20607 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20608 (ERRNO_UNCHANGED): Update value.
20609 (ERRNO_EDOM): Likewise.
20610 (ERRNO_ERANGE): Likewise.
20611 (NO_TEST_INLINE_FLOAT): New macro.
20612 (NO_TEST_INLINE_DOUBLE): Likewise.
20613 (enable_test): New function.
20614 (RUN_TEST_f_f): Check enable_test before running test.
20615 (RUN_TEST_2_f): Likewise.
20616 (RUN_TEST_fff_f): Likewise.
20617 (RUN_TEST_c_f): Likewise.
20618 (RUN_TEST_f_f1): Likewise.
20619 (RUN_TEST_fF_f1): Likewise.
20620 (RUN_TEST_fI_f1): Likewise.
20621 (RUN_TEST_ffI_f1): Likewise.
20622 (RUN_TEST_c_c): Likewise.
20623 (RUN_TEST_cc_c): Likewise.
20624 (RUN_TEST_f_i): Likewise.
20625 (RUN_TEST_f_i_tg): Likewise.
20626 (RUN_TEST_ff_i_tg): Likewise.
20627 (RUN_TEST_f_b): Likewise.
20628 (RUN_TEST_f_b_tg): Likewise.
20629 (RUN_TEST_f_l): Likewise.
20630 (RUN_TEST_f_L): Likewise.
20631 (RUN_TEST_fFF_11): Likewise.
20632 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20633 conditionals.
20634 (cosh_test_data): Likewise.
20635 (exp_test_data): Likewise.
20636 (expm1_test_data): Likewise.
20637 (hypot_test_data): Likewise.
20638 (pow_test_data): Likewise.
20639 (sinh_test_data): Likewise.
20640 (tanh_test_data): Likewise.
20641 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20642 flags argument.
20643
20644 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20645 tests with quiet NaN input and output.
20646 (acosh_test_data): Likewise.
20647 (asin_test_data): Likewise.
20648 (asinh_test_data): Likewise.
20649 (atan_test_data): Likewise.
20650 (atanh_test_data): Likewise.
20651 (atan2_test_data): Likewise.
20652 (cbrt_test_data): Likewise.
20653 (cos_test_data): Likewise.
20654 (cosh_test_data): Likewise.
20655 (erf_test_data): Likewise.
20656 (erfc_test_data): Likewise.
20657 (exp_test_data): Likewise.
20658 (exp10_test_data): Likewise.
20659 (exp2_test_data): Likewise.
20660 (expm1_test_data): Likewise.
20661 (hypot_test_data): Likewise.
20662 (j0_test_data): Likewise.
20663 (j1_test_data): Likewise.
20664 (jn_test_data): Likewise.
20665 (lgamma_test_data): Likewise.
20666 (log_test_data): Likewise.
20667 (log10_test_data): Likewise.
20668 (log1p_test_data): Likewise.
20669 (log2_test_data): Likewise.
20670 (pow_test_data): Likewise.
20671 (scalb_test_data): Likewise.
20672 (sin_test_data): Likewise.
20673 (sincos_test_data): Likewise.
20674 (sinh_test_data): Likewise.
20675 (tan_test_data): Likewise.
20676 (tanh_test_data): Likewise.
20677 (tgamma_test_data): Likewise.
20678 (y0_test_data): Likewise.
20679 (y1_test_data): Likewise.
20680 (yn_test_data): Likewise.
20681
20682 [BZ #16167]
20683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20684 argument being NaN and avoid computations with second argument in
20685 that case.
20686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20689
206902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20691
20692 * locale/iso-639.def: Add Chitwani Tharu (the).
20693
206942013-11-14 Andreas Schwab <schwab@suse.de>
20695
20696 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20697 word instead of empty string.
20698
206992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20700
20701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20702 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20704 (__fe_nomask_env): Likewise.
20705
207062013-11-13 Steve Ellcey <sellcey@mips.com>
20707
20708 * benchtests/bench-timing.h: Include time.h.
20709
207102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20711
20712 [BZ #15997]
20713 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20714 to 3.4.0 for x32.
20715 * sysdeps/unix/sysv/linux/configure: Regenerated.
20716
207172013-11-13 Joseph Myers <joseph@codesourcery.com>
20718
20719 [BZ #16151]
20720 * stdlib/strtod_l.c (round_and_return): Do not consider
20721 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20722 exponent one less than half the least subnormal exponent.
20723 * stdlib/test-strtod-round-data: Add more tests.
20724 * stdlib/tst-strtod-round.c (tests): Regenerated.
20725
207262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20727
20728 [BZ #14143]
20729 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20730 (__fe_mask_env): Likewise.
20731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20732 libm_hidden_proto and add function prototype.
20733 (__fe_mask_env): Add function prototype.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20735 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20737 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20739 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20740
207412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20742
20743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20744 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20745
207462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20747
20748 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20749 of htab_find_slot().
20750
207512013-11-11 David S. Miller <davem@davemloft.net>
20752
20753 [BZ #16150]
20754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20755 symbol in the non-vis3 case in static builds.
20756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20757 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20758 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20759 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20760
207612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20762
20763 [BZ #387]
20764 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20765 it is empty.
20766
207672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20768
20769 * benchtests/Makefile: Add bench-strtod.
20770 * benchtests/bench-strtod.c: New file: strtod benchtest
20771
207722013-11-11 Andreas Schwab <schwab@suse.de>
20773
20774 [BZ #16153]
20775 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20776 terminating NUL in key length.
20777
207782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20779
20780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20781 Add artificial ODP entry for vDSO symbol for PPC64.
20782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20783 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20784
207852013-11-07 Ondřej Bílka <neleai@seznam.cz>
20786
20787 [BZ #15374]
20788 * nss/getent.c (services_keys): Recognize services starting with digit.
20789
207902013-11-06 David S. Miller <davem@davemloft.net>
20791
20792 [BZ #15985]
20793 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20794 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20795
207962013-11-06 Will Newton <will.newton@linaro.org>
20797
20798 * manual/memory.texi (Malloc Examples): Remove register
20799 keyword from examples.
20800
208012013-11-04 Chris Leonard <cjl@sugarlabs.org>
20802
20803 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20804
208052013-11-04 Joseph Myers <joseph@codesourcery.com>
20806
20807 [BZ #6981]
20808 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20809 depending on [__GCC_IEC_559 > 0].
20810 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20811 depending on [__GCC_IEC_559_COMPLEX > 0].
20812
208132013-11-03 Chris Leonard <cjl@sugarlabs.org>
20814
20815 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20816 to iso-639.def.
20817
208182013-11-03 Ondřej Bílka <neleai@seznam.cz>
20819
20820 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20821
208222013-11-01 Ondřej Bílka <neleai@seznam.cz>
20823
20824 [BZ #16112]
20825 * malloc/malloc (malloc_info): Do not handle first bin as
20826 special case.
20827
208282013-11-01 Chris Leonard <cjl@sugarlabs.org>
20829
20830 * locale/iso-639.def: Add Central Nahuatl (nhn).
20831
208322013-11-01 Bruno Haible <bruno@clisp.org>
20833
20834 [BZ #7003]
20835 * manual/math.texi (BSD Random): Specify range upper bound as
20836 in POSIX.
20837
208382013-10-31 Chris Leonard <cjl@sugarlabs.org>
20839
20840 * locale/iso-639.def: Add Meadow Mari (mhr).
20841
208422013-10-31 Ondřej Bílka <neleai@seznam.cz>
20843
20844 [BZ #14752], [BZ #15763]
20845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20846 Validate name.
20847 * rt/tst_shm.c: Add test for escaping directory.
20848
208492013-10-31 Andreas Schwab <schwab@suse.de>
20850
20851 [BZ #15917]
20852 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20853 followed by 'x' as part of digit sequence.
20854 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20855
208562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20857
20858 [BZ #16037]
20859 * configure.ac: allow GNU Make 4.0 and greater.
20860 * configure: Regenerated.
20861
208622013-10-30 Will Newton <will.newton@linaro.org>
20863
20864 [BZ #16038]
20865 * malloc/hooks.c (memalign_check): Limit alignment to the
20866 maximum representable power of two.
20867 * malloc/malloc.c (__libc_memalign): Likewise.
20868 * malloc/tst-memalign.c (do_test): Add test for very
20869 large alignment values.
20870 * malloc/tst-posix_memalign.c (do_test): Likewise.
20871
208722013-10-30 Ondřej Bílka <neleai@seznam.cz>
20873
20874 [BZ #11087]
20875 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20876 (munmap_chunk): Likewise.
20877 (mremap_chunk): Likewise.
20878
208792013-10-30 Ondřej Bílka <neleai@seznam.cz>
20880
20881 [BZ #15799]
20882 * stdlib/div.c (div): Remove obsolete code.
20883 * stdlib/ldiv.c (ldiv): Likewise.
20884 * stdlib/lldiv.c (lldiv): Likewise.
20885
208862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20887
20888 [BZ #16071]
20889 * nss/nss_files/files-XXX.c (get_contents_ret): New
20890 enumerator.
20891 (get_contents): New function.
20892 (internal_getent): Use it. Expand size of LINEBUFLEN.
20893
208942013-10-30 Mike Frysinger <vapier@gentoo.org>
20895
20896 * configure.in: Moved to ...
20897 * configure.ac: ... here. Change reference to configure.in
20898 to configure.ac.
20899 * sysdeps/arm/preconfigure.ac: ... here.
20900 configure.in to configure.ac.
20901 * sysdeps/gnu/configure.in: Moved to ...
20902 * sysdeps/gnu/configure.ac: ... here.
20903 * sysdeps/i386/configure.in: Moved to ...
20904 * sysdeps/i386/configure.ac: ... here.
20905 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20906 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20907 * sysdeps/mach/configure.in: Moved to ...
20908 * sysdeps/mach/configure.ac: ... here.
20909 * sysdeps/mach/hurd/configure.in: Moved to ...
20910 * sysdeps/mach/hurd/configure.ac: ... here.
20911 * sysdeps/powerpc/configure.in: Moved to ...
20912 * sysdeps/powerpc/configure.ac: ... here.
20913 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20914 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20915 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20916 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20917 * sysdeps/s390/s390-32/configure.in: Moved to ...
20918 * sysdeps/s390/s390-32/configure.ac: ... here.
20919 * sysdeps/s390/s390-64/configure.in: Moved to ...
20920 * sysdeps/s390/s390-64/configure.ac: ... here.
20921 * sysdeps/sh/configure.in: Moved to ...
20922 * sysdeps/sh/configure.ac: ... here.
20923 * sysdeps/sparc/configure.in: Moved to ...
20924 * sysdeps/sparc/configure.ac: ... here.
20925 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20926 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20927 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20928 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20929 * sysdeps/x86_64/configure.in: Moved to ...
20930 * sysdeps/x86_64/configure.ac: ... here.
20931 * sysdeps/x86_64/preconfigure.in: Moved to ...
20932 * sysdeps/x86_64/preconfigure.ac: ... here.
20933 * aclocal.m4: Change reference to configure.in to configure.ac.
20934 * config.h.in: Likewise.
20935 * manual/install.texi: Likewise.
20936 * manual/maint.texi: Likewise.
20937 * Makefile: Likewise.
20938 * malloc/Makefile: Likewise.
20939 * nscd/Makefile: Likewise.
20940 * Makeconfig: Change reference to configure.in and
20941 preconfigure.in to configure.ac and preconfigure.ac
20942 respectively.
20943 * INSTALL: Regenerated.
20944 * configure: Likewise.
20945 * sysdeps/gnu/configure: Likewise.
20946 * sysdeps/i386/configure: Likewise.
20947 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20948 * sysdeps/mach/configure: Likewise.
20949 * sysdeps/mach/hurd/configure: Likewise.
20950 * sysdeps/powerpc/configure: Likewise.
20951 * sysdeps/powerpc/powerpc32/configure: Likewise.
20952 * sysdeps/powerpc/powerpc64/configure: Likewise.
20953 * sysdeps/s390/s390-32/configure: Likewise.
20954 * sysdeps/s390/s390-64/configure: Likewise.
20955 * sysdeps/sh/configure: Likewise.
20956 * sysdeps/sparc/configure: Likewise.
20957 * sysdeps/unix/sysv/linux/configure: Likewise.
20958 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20959 * sysdeps/x86_64/configure: Likewise.
20960 * sysdeps/x86_64/preconfigure: Likewise.
20961
209622013-10-29 Andreas Schwab <schwab@suse.de>
20963
20964 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20965
209662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20967
20968 * benchtests/pow-inputs: Add new inputs.
20969
20970 * benchtests/exp-inputs: Add new inputs.
20971
20972 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20973 conditional check for return value.
20974 (__cos32): Likewise.
20975
209762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20977
20978 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20979 to provide a boost for large inputs with word alignment.
20980 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20981 implementation based on optimized PPC64 strcpy.
20982 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20983 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20984 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20985 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20986
209872013-10-25 Ondřej Bílka <neleai@seznam.cz>
20988
20989 [BZ #2801]
20990 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20991
209922013-10-25 Ondřej Bílka <neleai@seznam.cz>
20993
20994 [BZ #14876]
20995 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20996 * time/tst-strptime.c (day_tests): Add testcase.
20997
209982013-10-25 Ondřej Bílka <neleai@seznam.cz>
20999
21000 [BZ #14029]
21001 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21002
210032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21004
21005 [BZ #16074]
21006 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21007 MAP_FAILED on error.
21008
210092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21010
21011 [BZ #16072]
21012 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21013 heap for large requests.
21014
210152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21016
21017 [BZ #9954]
21018 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21019 result if the result has no associated interface.
21020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21021 interface for all 127.X.Y.Z addresses.
21022
210232013-10-24 Chris Leonard <cjl@sugarlabs.org>
21024
21025 * locale/iso-639.def: Add Ligurian (lij)
21026
210272013-10-21 Ondřej Bílka <neleai@seznam.cz>
21028
21029 [BZ #15825]
21030 * sunrpc/rpc_main.c: Document rpcgen -5.
21031
210322013-10-19 Michael Stahl <mstahl@redhat.com>
21033
21034 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21035
210362013-10-19 Ondřej Bílka <neleai@seznam.cz>
21037
21038 [BZ #10278]
21039 * posix/glob.c: Match only directories when trailing slash is present.
21040 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21041 (main): Add testcase.
21042
210432013-10-19 Ondřej Bílka <neleai@seznam.cz>
21044
21045 [BZ #15670]
21046 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21047
210482013-10-18 Carlos O'Donell <carlos@redhat.com>
21049
21050 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21051 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21052 AUTH_DES and cindex for FIPS 140-2.
21053 (DES Encryption): Add cindex FIPS 46-3.
21054
21055 * locale/locarchive.h (struct locarhandle): Add fname.
21056 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21057 if an optional argument was specified to --list-archive,
21058 otherwise NULL.
21059 * locale/programs/locarchive.c (show_archive_content): Take new
21060 argument fname and pass it via ah.fname to open_archive.
21061 * locale/programs/localedef.h: Update decl.
21062 (open_archive): If AH->fname is non-null, open that file
21063 rather than the default file name, and don't ignore ENOENT.
21064 (create_archive): Set AH.fname to NULL.
21065 (delete_locales_from_archive): Likewise.
21066 (add_locales_to_archive): Likewise.
21067 * locale/programs/locfile.c (write_all_categories): Likewise.
21068
210692013-10-18 Joseph Myers <joseph@codesourcery.com>
21070 Aldy Hernandez <aldyh@redhat.com>
21071
21072 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21073 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21074 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21075 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21076 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21080 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21087 Likewise.
21088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21089 Likewise.
21090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21091 Likewise.
21092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21093 Likewise.
21094 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21096 Likewise.
21097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21098 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21099 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21100 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21101 Likewise.
21102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21103 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21104 * sysdeps/powerpc/preconfigure: Likewise.
21105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21106 Likewise.
21107 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21108 Replace contents of file by #include of <fenv_libc.h>.
21109 * sysdeps/powerpc/soft-fp/sfp-machine.h
21110 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21111 and <sys/prctl.h>.
21112 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21125 Allow copysignl PLT reference to be missing.
21126
211272013-10-18 Richard Sandiford <richard@codesourcery.com>
21128 Joseph Myers <joseph@codesourcery.com
21129
21130 [BZ #15948]
21131 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21132 single character.
21133 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21134
211352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21136
21137 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21138 * elf/tst-tls1.c: Likewise.
21139 * elf/tst-tls10.h: Likewise.
21140 * elf/tst-tls14.c: Likewise.
21141 * elf/tst-tls2.c: Likewise.
21142 * elf/tst-tls3.c: Likewise.
21143 * elf/tst-tls4.c: Likewise.
21144 * elf/tst-tls5.c: Likewise.
21145 * elf/tst-tls6.c: Likewise.
21146 * elf/tst-tls7.c: Likewise.
21147 * elf/tst-tls8.c: Likewise.
21148 * elf/tst-tls9.c: Likewise.
21149 * elf/tst-tlsmod1.c: Likewise.
21150 * elf/tst-tlsmod13.c: Likewise.
21151 * elf/tst-tlsmod13a.c: Likewise.
21152 * elf/tst-tlsmod14a.c: Likewise.
21153 * elf/tst-tlsmod16a.c: Likewise.
21154 * elf/tst-tlsmod16b.c: Likewise.
21155 * elf/tst-tlsmod2.c: Likewise.
21156 * elf/tst-tlsmod3.c: Likewise.
21157 * elf/tst-tlsmod4.c: Likewise.
21158 * elf/tst-tlsmod5.c: Likewise.
21159 * elf/tst-tlsmod6.c: Likewise.
21160
211612013-10-18 Ondřej Bílka <neleai@seznam.cz>
21162
21163 [BZ #12486]
21164 * malloc/malloc.c: remove checks for statistics.
21165
211662013-10-17 Ondřej Bílka <neleai@seznam.cz>
21167
21168 [BZ #15277]
21169 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21170 * inet/tst-network.c: Add testcase.
21171
211722013-10-17 Andreas Schwab <schwab@suse.de>
21173
21174 [BZ #15218]
21175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21176 to determine canonical name.
21177
211782013-10-17 Ondřej Bílka <neleai@seznam.cz>
21179
21180 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21181 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21203 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21207 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21209 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21238
212392013-10-17 Joseph Myers <joseph@codesourcery.com>
21240
21241 [BZ #16041]
21242 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21243 make result into a quiet NaN.
21244
212452013-10-16 Joseph Myers <joseph@codesourcery.com>
21246
21247 * soft-fp/adddf3.c: Fix horizontal whitespace.
21248 * soft-fp/addsf3.c: Likewise.
21249 * soft-fp/addtf3.c: Likewise.
21250 * soft-fp/divdf3.c: Likewise.
21251 * soft-fp/divsf3.c: Likewise.
21252 * soft-fp/divtf3.c: Likewise.
21253 * soft-fp/double.h: Likewise.
21254 * soft-fp/eqdf2.c: Likewise.
21255 * soft-fp/eqsf2.c: Likewise.
21256 * soft-fp/eqtf2.c: Likewise.
21257 * soft-fp/extenddftf2.c: Likewise.
21258 * soft-fp/extended.h: Likewise.
21259 * soft-fp/extendsfdf2.c: Likewise.
21260 * soft-fp/extendsftf2.c: Likewise.
21261 * soft-fp/extendxftf2.c: Likewise.
21262 * soft-fp/fixdfdi.c: Likewise.
21263 * soft-fp/fixdfsi.c: Likewise.
21264 * soft-fp/fixdfti.c: Likewise.
21265 * soft-fp/fixsfdi.c: Likewise.
21266 * soft-fp/fixsfsi.c: Likewise.
21267 * soft-fp/fixsfti.c: Likewise.
21268 * soft-fp/fixtfdi.c: Likewise.
21269 * soft-fp/fixtfsi.c: Likewise.
21270 * soft-fp/fixtfti.c: Likewise.
21271 * soft-fp/fixunsdfdi.c: Likewise.
21272 * soft-fp/fixunsdfsi.c: Likewise.
21273 * soft-fp/fixunsdfti.c: Likewise.
21274 * soft-fp/fixunssfdi.c: Likewise.
21275 * soft-fp/fixunssfsi.c: Likewise.
21276 * soft-fp/fixunssfti.c: Likewise.
21277 * soft-fp/fixunstfdi.c: Likewise.
21278 * soft-fp/fixunstfsi.c: Likewise.
21279 * soft-fp/fixunstfti.c: Likewise.
21280 * soft-fp/floatdidf.c: Likewise.
21281 * soft-fp/floatdisf.c: Likewise.
21282 * soft-fp/floatditf.c: Likewise.
21283 * soft-fp/floatsidf.c: Likewise.
21284 * soft-fp/floatsisf.c: Likewise.
21285 * soft-fp/floatsitf.c: Likewise.
21286 * soft-fp/floattidf.c: Likewise.
21287 * soft-fp/floattisf.c: Likewise.
21288 * soft-fp/floattitf.c: Likewise.
21289 * soft-fp/floatundidf.c: Likewise.
21290 * soft-fp/floatundisf.c: Likewise.
21291 * soft-fp/floatunditf.c: Likewise.
21292 * soft-fp/floatunsidf.c: Likewise.
21293 * soft-fp/floatunsisf.c: Likewise.
21294 * soft-fp/floatunsitf.c: Likewise.
21295 * soft-fp/floatuntidf.c: Likewise.
21296 * soft-fp/floatuntisf.c: Likewise.
21297 * soft-fp/floatuntitf.c: Likewise.
21298 * soft-fp/fmadf4.c: Likewise.
21299 * soft-fp/fmasf4.c: Likewise.
21300 * soft-fp/fmatf4.c: Likewise.
21301 * soft-fp/gedf2.c: Likewise.
21302 * soft-fp/gesf2.c: Likewise.
21303 * soft-fp/getf2.c: Likewise.
21304 * soft-fp/ledf2.c: Likewise.
21305 * soft-fp/lesf2.c: Likewise.
21306 * soft-fp/letf2.c: Likewise.
21307 * soft-fp/muldf3.c: Likewise.
21308 * soft-fp/mulsf3.c: Likewise.
21309 * soft-fp/multf3.c: Likewise.
21310 * soft-fp/negdf2.c: Likewise.
21311 * soft-fp/negsf2.c: Likewise.
21312 * soft-fp/negtf2.c: Likewise.
21313 * soft-fp/op-1.h: Likewise.
21314 * soft-fp/op-2.h: Likewise.
21315 * soft-fp/op-4.h: Likewise.
21316 * soft-fp/op-8.h: Likewise.
21317 * soft-fp/op-common.h: Likewise.
21318 * soft-fp/quad.h: Likewise.
21319 * soft-fp/single.h: Likewise.
21320 * soft-fp/soft-fp.h: Likewise.
21321 * soft-fp/sqrtdf2.c: Likewise.
21322 * soft-fp/sqrtsf2.c: Likewise.
21323 * soft-fp/sqrttf2.c: Likewise.
21324 * soft-fp/subdf3.c: Likewise.
21325 * soft-fp/subsf3.c: Likewise.
21326 * soft-fp/subtf3.c: Likewise.
21327 * soft-fp/truncdfsf2.c: Likewise.
21328 * soft-fp/trunctfdf2.c: Likewise.
21329 * soft-fp/trunctfsf2.c: Likewise.
21330 * soft-fp/trunctfxf2.c: Likewise.
21331 * soft-fp/unorddf2.c: Likewise.
21332 * soft-fp/unordsf2.c: Likewise.
21333 * soft-fp/unordtf2.c: Likewise.
21334
213352013-10-15 Joseph Myers <joseph@codesourcery.com>
21336
21337 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21338 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21339
213402013-10-15 Ondřej Bílka <neleai@seznam.cz>
21341
21342 * elf/dl-libc.c: Clear initfini list after freeing.
21343
213442013-10-14 Joseph Myers <joseph@codesourcery.com>
21345
21346 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21347 * soft-fp/addsf3.c: Likewise.
21348 * soft-fp/addtf3.c: Likewise.
21349 * soft-fp/divdf3.c: Likewise.
21350 * soft-fp/divsf3.c: Likewise.
21351 * soft-fp/divtf3.c: Likewise.
21352 * soft-fp/double.h: Likewise.
21353 * soft-fp/eqdf2.c: Likewise.
21354 * soft-fp/eqsf2.c: Likewise.
21355 * soft-fp/eqtf2.c: Likewise.
21356 * soft-fp/extenddftf2.c: Likewise.
21357 * soft-fp/extended.h: Likewise.
21358 * soft-fp/extendsfdf2.c: Likewise.
21359 * soft-fp/extendsftf2.c: Likewise.
21360 * soft-fp/extendxftf2.c: Likewise.
21361 * soft-fp/fixdfdi.c: Likewise.
21362 * soft-fp/fixdfsi.c: Likewise.
21363 * soft-fp/fixdfti.c: Likewise.
21364 * soft-fp/fixsfdi.c: Likewise.
21365 * soft-fp/fixsfsi.c: Likewise.
21366 * soft-fp/fixsfti.c: Likewise.
21367 * soft-fp/fixtfdi.c: Likewise.
21368 * soft-fp/fixtfsi.c: Likewise.
21369 * soft-fp/fixtfti.c: Likewise.
21370 * soft-fp/fixunsdfdi.c: Likewise.
21371 * soft-fp/fixunsdfsi.c: Likewise.
21372 * soft-fp/fixunsdfti.c: Likewise.
21373 * soft-fp/fixunssfdi.c: Likewise.
21374 * soft-fp/fixunssfsi.c: Likewise.
21375 * soft-fp/fixunssfti.c: Likewise.
21376 * soft-fp/fixunstfdi.c: Likewise.
21377 * soft-fp/fixunstfsi.c: Likewise.
21378 * soft-fp/fixunstfti.c: Likewise.
21379 * soft-fp/floatdidf.c: Likewise.
21380 * soft-fp/floatdisf.c: Likewise.
21381 * soft-fp/floatditf.c: Likewise.
21382 * soft-fp/floatsidf.c: Likewise.
21383 * soft-fp/floatsisf.c: Likewise.
21384 * soft-fp/floatsitf.c: Likewise.
21385 * soft-fp/floattidf.c: Likewise.
21386 * soft-fp/floattisf.c: Likewise.
21387 * soft-fp/floattitf.c: Likewise.
21388 * soft-fp/floatundidf.c: Likewise.
21389 * soft-fp/floatundisf.c: Likewise.
21390 * soft-fp/floatunsidf.c: Likewise.
21391 * soft-fp/floatunsisf.c: Likewise.
21392 * soft-fp/floatuntidf.c: Likewise.
21393 * soft-fp/floatuntisf.c: Likewise.
21394 * soft-fp/floatuntitf.c: Likewise.
21395 * soft-fp/fmadf4.c: Likewise.
21396 * soft-fp/fmasf4.c: Likewise.
21397 * soft-fp/fmatf4.c: Likewise.
21398 * soft-fp/gedf2.c: Likewise.
21399 * soft-fp/gesf2.c: Likewise.
21400 * soft-fp/getf2.c: Likewise.
21401 * soft-fp/ledf2.c: Likewise.
21402 * soft-fp/lesf2.c: Likewise.
21403 * soft-fp/letf2.c: Likewise.
21404 * soft-fp/muldf3.c: Likewise.
21405 * soft-fp/mulsf3.c: Likewise.
21406 * soft-fp/multf3.c: Likewise.
21407 * soft-fp/negdf2.c: Likewise.
21408 * soft-fp/negsf2.c: Likewise.
21409 * soft-fp/negtf2.c: Likewise.
21410 * soft-fp/op-1.h: Likewise.
21411 * soft-fp/op-2.h: Likewise.
21412 * soft-fp/op-4.h: Likewise.
21413 * soft-fp/op-8.h: Likewise.
21414 * soft-fp/op-common.h: Likewise.
21415 * soft-fp/quad.h: Likewise.
21416 * soft-fp/single.h: Likewise.
21417 * soft-fp/soft-fp.h: Likewise.
21418 * soft-fp/sqrtdf2.c: Likewise.
21419 * soft-fp/sqrtsf2.c: Likewise.
21420 * soft-fp/sqrttf2.c: Likewise.
21421 * soft-fp/subdf3.c: Likewise.
21422 * soft-fp/subsf3.c: Likewise.
21423 * soft-fp/subtf3.c: Likewise.
21424 * soft-fp/truncdfsf2.c: Likewise.
21425 * soft-fp/trunctfdf2.c: Likewise.
21426 * soft-fp/trunctfsf2.c: Likewise.
21427 * soft-fp/trunctfxf2.c: Likewise.
21428 * soft-fp/unorddf2.c: Likewise.
21429 * soft-fp/unordsf2.c: Likewise.
21430 * soft-fp/unordtf2.c: Likewise.
21431
214322013-10-14 Ondřej Bílka <neleai@seznam.cz>
21433
21434 [BZ #15672]
21435 * misc/error.c (error_tail): Fix possible buffer overflow.
21436
214372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21438
21439 [BZ #13028]
21440 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21441 address.
21442
214432013-10-14 P. J. McDermott <pj@pehjota.net>
21444
21445 [BZ #832]
21446 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21447 testing pipefail option.
21448
214492013-10-12 Joseph Myers <joseph@codesourcery.com>
21450
21451 * soft-fp/double.h: Indent preprocessor directives inside #if.
21452 * soft-fp/extended.h: Likewise.
21453 * soft-fp/op-2.h: Likewise.
21454 * soft-fp/op-4.h: Likewise.
21455 * soft-fp/op-common.h: Likewise.
21456 * soft-fp/quad.h: Likewise.
21457 * soft-fp/single.h: Likewise.
21458 * soft-fp/soft-fp.h: Likewise.
21459
214602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21461
21462 * iconv/iconv_prog.c: Fix typos.
21463 * stdio-common/psiginfo-data.h: Likewise.
21464
214652013-10-12 Reuben Thomas <rrt@sc3d.org>
21466
21467 [BZ #15764]
21468 * locale/setlocale.c: Fix typo.
21469
214702013-10-12 Joseph Myers <joseph@codesourcery.com>
21471
21472 [BZ #16036]
21473 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21474 signaling NaN arguments.
21475 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21476 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21477
21478 [BZ #14910]
21479 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21480 unordered operands.
21481 * soft-fp/gesf2.c (__gesf2): Likewise.
21482 * soft-fp/getf2.c (__getf2): Likewise.
21483 * soft-fp/ledf2.c (__ledf2): Likewise.
21484 * soft-fp/lesf2.c (__lesf2): Likewise.
21485 * soft-fp/letf2.c (__letf2): Likewise.
21486
21487 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21488 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21489 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21490 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21491 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21492 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21493 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21494 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21495 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21496 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21497 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21498 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21499 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21500 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21501 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21502 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21503 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21504 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21505 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21506 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21507 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21508 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21509 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21510 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21511 * soft-fp/floattidf.c (__floattidf): Likewise.
21512 * soft-fp/floattisf.c (__floattisf): Likewise.
21513 * soft-fp/floattitf.c (__floattitf): Likewise.
21514 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21515 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21516 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21517 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21518 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21519 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21520 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21521 * soft-fp/gesf2.c (__gesf2): Likewise.
21522 * soft-fp/getf2.c (__getf2): Likewise.
21523 * soft-fp/ledf2.c (__ledf2): Likewise.
21524 * soft-fp/lesf2.c (__lesf2): Likewise.
21525 * soft-fp/letf2.c (__letf2): Likewise.
21526
21527 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21528 Undefine and redefine.
21529 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21530 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21531 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21532 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21533 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21534 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21535 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21536 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21537 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21538 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21539 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21540 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21541 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21542 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21543 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21544
21545 [BZ #16032]
21546 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21547 without decrementing exponent if mantissa >= that for the
21548 denominator, not >.
21549 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21550 denominator, not >. Decrement exponent in < case instead of
21551 incrementing in >= case.
21552 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21553 without decrementing exponent if mantissa >= that for the
21554 denominator, not >.
21555
21556 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21557 computing saturated result for unsigned overflow.
21558
215592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21560 Jeff Law <law@redhat.com>
21561
21562 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21563 (atan2Mp): Add systemtap probe marker.
21564 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21565 (__ieee754_log): Add systemtap probe marker.
21566 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21567 (atanMp): Add systemtap probe marker.
21568 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21569 (tanMp): Add systemtap probe marker.
21570 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21571 (__slowexp): Add systemtap probe marker.
21572 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21573 (__slowpow): Add systemtap probe marker.
21574 * manual/probes.texi: Document probes.
21575
215762013-10-11 Eric Biggers <ebiggers3@gmail.com>
21577
21578 [BZ #15362]
21579 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21580 written.
21581 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21582 written.
21583 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21584 written to buffer but not flushed.
21585 * libio/iofwrite_u.c: Likewise.
21586 * libio/iopadn.c: Return bytes returned even if EOF was
21587 encountered.
21588 * libio/iowpadn.c: Likewise.
21589 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21590 if _IO_padn does not write the whole buffer.
21591 [!COMPILE_WPRINTF] (PAD): Likewise.
21592
215932013-10-10 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21596 directory block.
21597
215982013-10-10 Joseph Myers <joseph@codesourcery.com>
21599
21600 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21601 instead of FSF address.
21602 * soft-fp/fixdfti.c: Likewise.
21603 * soft-fp/fixsfti.c: Likewise.
21604 * soft-fp/fixtfti.c: Likewise.
21605 * soft-fp/fixunsdfti.c: Likewise.
21606 * soft-fp/fixunssfti.c: Likewise.
21607 * soft-fp/fixunstfti.c: Likewise.
21608 * soft-fp/floattidf.c: Likewise.
21609 * soft-fp/floattisf.c: Likewise.
21610 * soft-fp/floattitf.c: Likewise.
21611 * soft-fp/floatuntidf.c: Likewise.
21612 * soft-fp/floatuntisf.c: Likewise.
21613 * soft-fp/floatuntitf.c: Likewise.
21614 * soft-fp/trunctfxf2.c: Likewise.
21615
21616 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21617 * soft-fp/fixdfti.c: Likewise.
21618 * soft-fp/fixsfti.c: Likewise.
21619 * soft-fp/fixtfti.c: Likewise.
21620 * soft-fp/fixunsdfti.c: Likewise.
21621 * soft-fp/fixunssfti.c: Likewise.
21622 * soft-fp/fixunstfti.c: Likewise.
21623 * soft-fp/floattidf.c: Likewise.
21624 * soft-fp/floattisf.c: Likewise.
21625 * soft-fp/floattitf.c: Likewise.
21626 * soft-fp/floatuntidf.c: Likewise.
21627 * soft-fp/floatuntisf.c: Likewise.
21628 * soft-fp/floatuntitf.c: Likewise.
21629 * soft-fp/trunctfxf2.c: Likewise.
21630
216312013-10-10 David S. Miller <davem@davemloft.net>
21632
21633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21634
216352013-10-10 Joseph Myers <joseph@codsourcery.com>
21636
21637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21638 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21639 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21640 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21641 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21642 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21643 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21644
21645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21646 for NaNs before doing comparisons on argument.
21647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21648 Likewise.
21649
216502013-10-10 Will Newton <will.newton@linaro.org>
21651
21652 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21653 passed to _int_memalign does not overflow.
21654
216552013-10-10 Torvald Riegel <triegel@redhat.com>
21656
21657 * scripts/bench.pl: Add include-sources directive.
21658 * benchtests/README: Update documentation.
21659
216602013-10-10 Joseph Myers <joseph@codesourcery.com>
21661
21662 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21663 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21664 instead of FP_INIT_ROUNDMODE.
21665 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21666 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21667
21668 [BZ #16034]
21669 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21670 copy class of input value.
21671 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21672 not handle exceptions.
21673 * soft-fp/negsf2.c (__negsf2): Likewise.
21674 * soft-fp/negtf2.c (__negtf2): Likewise.
21675 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21676
216772013-10-09 Joseph Myers <joseph@codesourcery.com>
21678
21679 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21680 semicolon. From Linux kernel.
21681
216822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21683
21684 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21685
216862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21687
21688 [BZ #156]
21689 * manual/socket.texi: Added statement about buffer
21690 for gethostbyname2_r.
21691
216922013-10-08 Ondřej Bílka <neleai@seznam.cz>
21693
21694 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21695 Use .p2align directive instead, throughout.
21696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21701 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21702 * sysdeps/x86_64/strchr.S: Likewise.
21703 * sysdeps/x86_64/strrchr.S: Likewise.
21704
217052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21706
21707 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21708
21709 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21710
21711 * sysdeps/generic/math_private.h (__mpsin1): Remove
21712 declaration.
21713 (__mpcos1): Likewise.
21714 (__mpsin): New argument __range_reduce.
21715 (__mpcos): Likewise.
21716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21717 (slow): Use __mpsin and __mpcos.
21718 (slow1): Likewise.
21719 (slow2): Likewise.
21720 (sloww): Likewise.
21721 (sloww1): Likewise.
21722 (sloww2): Likewise.
21723 (bsloww): Likewise.
21724 (bsloww1): Likewise.
21725 (bsloww2): Likewise.
21726 (cslow2): Likewise.
21727 (csloww): Likewise.
21728 (csloww1): Likewise.
21729 (csloww2): Likewise.
21730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21731 range_reduce. Merge in __mpsin1.
21732 (__mpcos): Likewise.
21733 (__mpsin1): Remove.
21734 (__mpcos1): Likewise.
21735
217362013-10-07 Joseph Myers <joseph@codesourcery.com>
21737
21738 * locale/loadlocale.c (_nl_intern_locale_data): Use
21739 LOCFILE_ALIGNED_P.
21740 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21741 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21742 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21743 obstack data is appropriately aligned.
21744 (obstack_int32_grow_fast): Likewise.
21745 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21746 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21747 (add_locale_uint32_array): Likewise.
21748
217492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21750
21751 * benchtests/Makefile: Remove ARGLIST and RET variables.
21752 ($(objpfx)bench-%.c): Pass only function name to the script.
21753 * benchtests/README: Update documentation.
21754 * benchtests/acos-inputs: Add new directives.
21755 * benchtests/acosh-inputs: Likewise.
21756 * benchtests/asin-inputs: Likewise.
21757 * benchtests/asinh-inputs: Likewise.
21758 * benchtests/atan-inputs: Likewise.
21759 * benchtests/atanh-inputs: Likewise.
21760 * benchtests/cos-inputs: Likewise.
21761 * benchtests/cosh-inputs: Likewise.
21762 * benchtests/exp-inputs: Likewise.
21763 * benchtests/log-inputs: Likewise.
21764 * benchtests/pow-inputs: Likewise.
21765 * benchtests/rint-inputs: Likewise.
21766 * benchtests/sin-inputs: Likewise.
21767 * benchtests/sinh-inputs: Likewise.
21768 * benchtests/tan-inputs: Likewise.
21769 * benchtests/tanh-inputs: Likewise.
21770 * scripts/bench.pl: Add support for new directives.
21771
217722013-10-07 Alan Modra <amodra@gmail.com>
21773
21774 * README: Fix careless merge.
21775
217762013-10-05 Alan Modra <amodra@gmail.com>
21777
21778 * NEWS: Mention powerpc64le support and bugs fixed.
21779 * README: Both big-endian and little-endian powerpc64 supported.
21780
217812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21782
21783 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21784 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21785 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21786 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21787
217882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21789
21790 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21791 match prototype.
21792
217932013-10-04 Joseph Myers <joseph@codesourcery.com>
21794
21795 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21796 Move -mhard-float appending from
21797 ports/sysdeps/powerpc/powerpc32/Makefile.
21798 [$(with-fp) = yes] (ASFLAGS): Likewise.
21799 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21800 * sysdeps/powerpc/nofpu: Move directory from
21801 ports/sysdeps/powerpc/nofpu.
21802 * sysdeps/powerpc/soft-fp: Move directory from
21803 ports/sysdeps/powerpc/soft-fp.
21804 * sysdeps/powerpc/powerpc32/405: Move directory from
21805 ports/sysdeps/powerpc/powerpc32/405.
21806 * sysdeps/powerpc/powerpc32/440: Move directory from
21807 ports/sysdeps/powerpc/powerpc32/440.
21808 * sysdeps/powerpc/powerpc32/464: Move directory from
21809 ports/sysdeps/powerpc/powerpc32/464.
21810 * sysdeps/powerpc/powerpc32/476: Move directory from
21811 ports/sysdeps/powerpc/powerpc32/476.
21812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21822 * README: Update for powerpc-*-linux-gnu software floating point
21823 support in libc.
21824
21825 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21826 case to powerpc/powerpc32*.
21827 * sysdeps/unix/sysv/linux/configure: Regenerated.
21828
21829 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21830 (_FPU_MASK_OM): Define as 0x04.
21831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21833 0x00c10080.
21834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21835 0x0000003c.
21836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21837
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21840 getcontext_e500.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21843 setcontext_e500.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21846 and setcontext_e500.
21847
218482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21849
21850 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21851
218522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21853
21854 * manual/threads.texi (Default Thread Attributes): Fix typo.
21855
218562013-10-04 Will Newton <will.newton@linaro.org>
21857
21858 * malloc/Makefile: Add tst-memalign.
21859 * malloc/tst-memalign.c: New file.
21860
21861 * malloc/tst-posix_memalign.c: Add comments.
21862 (do_test): Add comments and call free on all potentially
21863 allocated pointers. Add space after cast.
21864
21865 * malloc/tst-pvalloc.c: Add comments.
21866 (do_test): Add comments and call free on all potentially
21867 allocated pointers. Remove duplicate check for NULL pointer.
21868 Add space after cast.
21869
21870 * malloc/tst-valloc.c: Add comments.
21871 (do_test): Add comments and call free on all potentially
21872 allocated pointers. Remove duplicate check for NULL pointer.
21873 Add space after cast.
21874
218752013-10-04 Alan Modra <amodra@gmail.com>
21876
21877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21878 Use stdint types in rather than __attribute__((mode())).
21879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21880
218812013-10-04 Alan Modra <amodra@gmail.com>
21882
21883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21884 Correct handling of unaligned relocs for little-endian.
21885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21886
218872013-10-04 Alan Modra <amodra@gmail.com>
21888
21889 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21890 * configure: Regenerate.
21891 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21892 * shlib-versions: Likewise.
21893
218942013-10-04 Alan Modra <amodra@gmail.com>
21895
21896 * string/tester.c (test_memrchr): Increment reported test cycle.
21897
218982013-10-04 Alan Modra <amodra@gmail.com>
21899
21900 * string/test-memcpy.c (do_one_test): When reporting errors, print
21901 string address and don't overrun end of string.
21902
219032013-10-04 Alan Modra <amodra@gmail.com>
21904
21905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21906 insrdi. Make better use of reg selection to speed exit slightly.
21907 Schedule entry path a little better. Remove useless "are we done"
21908 checks on entry to main loop. Handle wrapping around zero address.
21909 Correct main loop count. Handle single left-over word from main
21910 loop inline rather than by using loop_small. Remove extra word
21911 case in loop_small caused by wrong loop count. Add little-endian
21912 support.
21913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21915 cache hint.
21916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21918 support. Avoid rlwimi.
21919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21920
219212013-10-04 Alan Modra <amodra@gmail.com>
21922
21923 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21924 insrdi. Formatting.
21925 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21926 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21927 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21928 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21929 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21930 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21931
219322013-10-04 Alan Modra <amodra@gmail.com>
21933
21934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21943 use of regs. Use power7 mtocrf. Tidy function tails.
21944
219452013-10-04 Alan Modra <amodra@gmail.com>
21946
21947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21948 Formatting. Consistently use rXXX register defines or rN defines.
21949 Use early exit labels that avoid restoring unused non-volatile regs.
21950 Make cr field use more consistent with rWORDn compares. Rename
21951 regs used as shift registers for unaligned loop, using rN defines
21952 for short lifetime/multiple use regs.
21953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21955 addi 1,1,64 to pop stack frame. Simplify return value code.
21956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21957
219582013-10-04 Alan Modra <amodra@gmail.com>
21959
21960 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21961 support. Correct typos, formatting. Optimize tail. Use insrdi
21962 rather than rlwimi.
21963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21965 little-endian support. Correct typos.
21966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21967 rather than rlwimi.
21968 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21969 in loop and entry code to keep "and." results.
21970 (strchr): Add little-endian support. Comment. Move cntlzd
21971 earlier in tail.
21972 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21973
219742013-10-04 Alan Modra <amodra@gmail.com>
21975
21976 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21977 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21978 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21979 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21980
219812013-10-04 Alan Modra <amodra@gmail.com>
21982
21983 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21984 (rTMP): Define as r11.
21985 (strcmp): Add little-endian support. Optimise tail.
21986 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21993
219942013-10-04 Alan Modra <amodra@gmail.com>
21995
21996 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21997 little-endian support. Remove unnecessary "are we done" tests.
21998 Handle "s" wrapping around zero and extremely large "size".
21999 Correct main loop count. Handle single left-over word from main
22000 loop inline rather than by using small_loop. Correct comments.
22001 Delete "zero" tail, use "end_max" instead.
22002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22003
220042013-10-04 Alan Modra <amodra@gmail.com>
22005
22006 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22007 support. Don't branch over align.
22008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22009 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22010 support. Rearrange tmp reg use to suit. Comment.
22011 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22012
220132013-10-04 Alan Modra <amodra@gmail.com>
22014
22015 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22016
220172013-10-04 Alan Modra <amodra@gmail.com>
22018
22019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22020 conditional form of branch and link when obtaining pc.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22022
220232013-10-04 Alan Modra <amodra@gmail.com>
22024
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22026 HIWORD/LOWORD.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22029
220302013-10-04 Alan Modra <amodra@gmail.com>
22031
22032 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22033 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22035 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22038 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22040 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22042
220432013-10-04 Anton Blanchard <anton@au1.ibm.com>
22044 Alistair Popple <alistair@ozlabs.au.ibm.com>
22045 Alan Modra <amodra@gmail.com>
22046
22047 [BZ #15723]
22048 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22050 _dl_hwcap access for little-endian.
22051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22052 destroy vmx regs when saving unaligned.
22053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22055 destroy vmx regs when saving unaligned.
22056
220572013-10-04 Alan Modra <amodra@gmail.com>
22058
22059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22060 Don't use a union to pack hi/low value.
22061
220622013-10-04 Anton Blanchard <anton@au1.ibm.com>
22063
22064 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22065 for little-endian.
22066 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22071
220722013-10-04 Alan Modra <amodra@gmail.com>
22073
22074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22075 constants to usual value for .cst8 section, and remove redundant
22076 high address load.
22077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22078 constant for 0x1p52. Load little-endian words of double from
22079 correct stack offsets.
22080
220812013-10-04 Alan Modra <amodra@gmail.com>
22082
22083 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22084 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22085 words of double from correct stack offsets.
22086 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22087 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22093 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22094 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22103
221042013-10-04 Alan Modra <amodra@gmail.com>
22105
22106 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22107 64-bit int/double union.
22108 (_FPU_SETCW): Likewise.
22109 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22110 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22111
221122013-10-04 Alan Modra <amodra@gmail.com>
22113
22114 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22115 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22116
221172013-10-04 Alan Modra <amodra@gmail.com>
22118
22119 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22120 use vector int constants.
22121 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22122
221232013-10-04 Anton Blanchard <anton@au1.ibm.com>
22124
22125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22126 array with long long.
22127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22130 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22132 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22136 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22137 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22138 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22140
221412013-10-04 Anton Blanchard <anton@au1.ibm.com>
22142
22143 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22144 (__signbit): Likewise. Correct for little-endian.
22145 (__signbitl): Call __signbit.
22146 (lrint): Correct for little-endian.
22147 (lrintf): Call lrint.
22148
221492013-10-04 Alan Modra <amodra@gmail.com>
22150
22151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22152 union 32-bit int array member with 64-bit int array.
22153 (t515, tm256): Double rather than long double.
22154 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22155
221562013-10-04 Alan Modra <amodra@gmail.com>
22157
22158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22159 Delete.
22160 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22162 version of math_ldbl.h.
22163
221642013-10-04 Alan Modra <amodra@gmail.com>
22165
22166 [BZ #15734], [BZ #15735]
22167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22168 all uses of ieee875 long double macros and unions. Simplify test
22169 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22170 ldbl_extract_mantissa value for ix,iy exponents. Properly
22171 normalize after ldbl_extract_mantissa, and don't add hidden bit
22172 already handled. Don't treat low word of ieee854 mantissa like
22173 low word of IBM long double and mask off bit when testing for
22174 zero.
22175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22176 all uses of ieee875 long double macros and unions. Simplify tests
22177 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22178 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22179 two1022, instead use their values. Recognise that tests for large
22180 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22182 Rewrite all uses of ieee875 long double macros and unions. Simplify
22183 test for 0.0L and nan. Correct negation.
22184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22185 ieee875 long double macros and unions. Correct output for large
22186 magnitude x. Correct absolute value calculation.
22187 (__erfcl): Likewise.
22188 * math/libm-test.inc: Add tests for errors discovered in IBM long
22189 double versions of fmodl, remainderl, erfl and erfcl.
22190
221912013-10-04 Alan Modra <amodra@gmail.com>
22192
22193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22194 all uses of ieee854 long double macros and unions. Simplify tests
22195 for long doubles that are fully specified by the high double.
22196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22197 Likewise.
22198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22199 Remove dead code too.
22200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22201 (__ieee754_ynl): Likewise.
22202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22205 Remove dead code too.
22206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22210 Simplify.
22211 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22212 Simplify.
22213 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22216 Comment on variable precision.
22217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22219 Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22225
222262013-10-04 Alan Modra <amodra@gmail.com>
22227
22228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22230 all uses of ieee854 long double macros and unions.
22231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22237 Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22244 Simplify sign and nan test too.
22245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22249 Likewise.
22250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22252 Likewise.
22253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22259
222602013-10-04 Alan Modra <amodra@gmail.com>
22261
22262 * stdio-common/printf_size.c (__printf_size): Don't use
22263 union ieee854_long_double in fpnum union.
22264 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22265 signbit macro to retrieve sign from long double.
22266 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22267 retrieve sign from long double.
22268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22269 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22272 * math/test-misc.c (main): Don't use union ieee854_long_double.
22273
222742013-10-04 Alan Modra <amodra@gmail.com>
22275
22276 [BZ #15680]
22277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22279 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22280 calculation. Remove unnecessary test for denormal exponent.
22281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22282 Correct handling of denormals. Avoid undefined shift behaviour.
22283 Correct normalisation of low mantissa when low double is denormal.
22284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22285 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22286 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22287 Correct normalisation of low mantissa. Test for overflow of high
22288 mantissa and normalise.
22289 (ldbl_nearbyint): Use more readable constant for two52.
22290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22291 (__mpn_construct_long_double): Fix test for overflow of high
22292 mantissa and correct normalisation. Avoid undefined shift.
22293
222942013-10-04 Alan Modra <amodra@gmail.com>
22295
22296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22297 (union ibm_extended_long_double): Define as an array of ieee754_double.
22298 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22300 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22309
223102013-10-03 Joseph Myers <joseph@codesourcery.com>
22311
22312 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22313 page size instead of calling getpagesize.
22314
22315 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22316 (LOCFILE_ALIGN_MASK): Likewise.
22317 (LOCFILE_ALIGN_UP): Likewise.
22318 (LOCFILE_ALIGNED_P): Likewise.
22319 * locale/programs/ld-collate.c (collate_output): Use the new
22320 macros instead of __alignof__ (int32_t).
22321 * locale/weight.h (findidx): Likewise.
22322
223232013-10-03 Ondřej Bílka <neleai@seznam.cz>
22324
22325 [BZ #431]
22326 * manual/string.texi: Fix strncat and wcsncat.
22327
223282013-10-03 Brooks Moses <bmoses@google.com>
22329
22330 [BZ #15915]
22331 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22332 * Makerules: ...here, and adjust associated comments.
22333
223342013-10-02 Will Newton <will.newton@linaro.org>
22335
22336 * malloc/Makefile: Add tst-pvalloc.
22337 * malloc/tst-pvalloc.c: New file.
22338
223392013-10-02 Will Newton <will.newton@linaro.org>
22340
22341 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22342 improve test coverage.
22343
223442013-10-02 Will Newton <will.newton@linaro.org>
22345
22346 * malloc/Makefile: Add tst-posix_memalign.
22347 * malloc/tst-posix_memalign.c: New file.
22348
223492013-10-01 Eric Blake <eblake@redhat.com>
22350
22351 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22352 Use __THROWNL rather than __THROW on static functions.
22353
223542013-09-30 Petr Machata <pmachata@redhat.com>
22355
22356 * elf/elf.h (R_AARCH64_ABS16): New macro.
22357 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22358 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22359 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22360 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22361 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22362 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22363 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22364 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22365 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22366 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22367 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22368 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22369 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22370 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22371 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22372 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22373 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22374 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22375 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22376 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22377 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22378 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22379 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22380 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22381 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22382 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22383 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22384 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22385 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22386 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22387 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22389 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22391 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22392 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22394 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22396 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22398 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22400 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22402 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22404 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22406 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22407 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22408 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22409 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22410 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22411 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22412 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22413 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22414 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22415 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22416 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22417 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22419 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22421 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22423 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22425 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22427 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22428 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22429 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22430 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22431 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22432 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22433 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22434 (R_AARCH64_TLSDESC_LDR): Likewise.
22435 (R_AARCH64_TLSDESC_ADD): Likewise.
22436 (R_AARCH64_TLSDESC_CALL): Likewise.
22437
224382013-09-30 Andreas Schwab <schwab@suse.de>
22439
22440 [BZ #15048]
22441 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22442 the nss database lookup.
22443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22445
224462013-09-28 Mike Frysinger <vapier@gentoo.org>
22447
22448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22449
224502013-09-28 P. J. McDermott <pj@pehjota.net>
22451
22452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22453 ${Bash-specific parameter/pattern/string} parameter expansion.
22454 * sysdeps/unix/make-syscalls.sh: Likewise.
22455
224562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22457
22458 * sysdeps/sh/stackguard-macros.h: New file.
22459
224602013-09-26 Ondřej Bílka <neleai@seznam.cz>
22461
22462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22464 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22467 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22468
224692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470
22471 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22472 Fix thread ID register.
22473
224742013-09-25 Joseph Myers <joseph@codesourcery.com>
22475
22476 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22477 [POSIX || UNIX98]: Require rather than permitting all symbols from
22478 <time.h>.
22479 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22480 element of struct sched_param.
22481 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22482 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22483 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22484 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22485 constant.
22486
224872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22488
22489 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22490 argument calculation.
22491
224922013-09-24 Joseph Myers <joseph@codesourcery.com>
22493
22494 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22495 Expect macro.
22496 [POSIX] (pthread_attr_t): Do not require type.
22497 [POSIX] (pthread_cond_t): Likewise.
22498 [POSIX] (pthread_condattr_t): Likewise.
22499 [POSIX] (pthread_key_t): Likewise.
22500 [POSIX] (pthread_mutex_t): Likewise.
22501 [POSIX] (pthread_mutexattr_t): Likewise.
22502 [POSIX] (pthread_once_t): Likewise.
22503 [POSIX] (pthread_t): Likewise.
22504 [POSIX-based standards] (pthread_atfork): Expect function.
22505
225062013-09-24 Joseph Myers <joseph@codesourcery.com>
22507 Richard Sandiford <richard@codesourcery.com>
22508
22509 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22510 (swap_endianness_p): New extern variable.
22511 (set_big_endian): New inline function.
22512 (maybe_swap_uint32): Likewise.
22513 (maybe_swap_uint32_array): Likewise.
22514 (maybe_swap_uint32_obstack): Likewise.
22515 * locale/programs/locfile.c: Include <stdbool.h>.
22516 (swap_endianness_p): New variable.
22517 (add_locale_uint32): Call maybe_swap_uint32.
22518 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22519 (write_locale_data): Call maybe_swap_uint32_array.
22520 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22521 maybe_swap_uint32.
22522 (obstack_int32_grow_fast): Likewise.
22523 (output_weightwc): Call maybe_swap_uint32_obstack.
22524 (collate_output): Likewise.
22525 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22526 (OPT_LITTLE_ENDIAN): Likewise.
22527 (options): Add --little-endian and --big-endian options.
22528 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22529 * locale/programs/locarchive.c: Include "locfile.h".
22530 (GET): New macro.
22531 (SET): Likewise.
22532 (INC): Likewise.
22533 (create_archive): Use the new macros to access fields of
22534 structures directly mapped from or written to locale archives.
22535 (oldlocrecentcmp): Likewise.
22536 (enlarge_archive): Likewise.
22537 (insert_name): Likewise.
22538 (add_alias): Likewise.
22539 (add_locale): Likewise.
22540 (delete_locales_from_archive): Likewise.
22541 (show_archive_content): Likewise.
22542 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22543 locale data.
22544
225452013-09-24 Roland McGrath <roland@hack.frob.com>
22546
22547 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22548 http://www.gnu.org/doc/freemanuals.texi.
22549 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22550
225512013-09-24 Will Newton <will.newton@linaro.org>
22552
22553 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22554 macro.
22555
225562013-09-23 Joseph Myers <joseph@codesourcery.com>
22557
22558 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22559 unsigned char.
22560
225612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22562
22563 * manual/threads.texi (POSIX Threads): Fix a typo.
22564
225652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 [BZ #14547]
22568 * string/tst-strcoll-overflow.c: New test case.
22569 * string/Makefile (xtests): Add tst-strcoll-overflow.
22570 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22571 cache if string sizes may cause integer overflow.
22572
22573 [BZ #14547]
22574 * string/strcoll_l.c (coll_seq): New members rule, idx,
22575 save_idx and back_us.
22576 (get_next_seq_nocache): New function.
22577 (do_compare_nocache): New function.
22578 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22579 when malloc fails.
22580
225812013-09-23 Carlos O'Donell <carlos@redhat.com>
22582
22583 [BZ #15754]
22584 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22585 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22586 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22587
22588 [BZ #15754]
22589 * elf/Makefile (tests): Add tst-ptrguard1.
22590 (tests-static): Add tst-ptrguard1-static.
22591 (tst-ptrguard1-ARGS): Define.
22592 (tst-ptrguard1-static-ARGS): Define.
22593 * elf/tst-ptrguard1.c: New file.
22594 * elf/tst-ptrguard1-static.c: New file.
22595 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22596 * sysdeps/i386/stackguard-macros.h: Likewise.
22597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22603
226042013-09-23 Hector Marco <hecmargi@upv.es>
22605 Ismael Ripoll <iripoll@disca.upv.es>
22606 Carlos O'Donell <carlos@redhat.com>
22607
22608 [BZ #15754]
22609 * sysdeps/generic/stackguard-macros.h: Define
22610 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22611 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22612 Define __pointer_chk_guard_local.
22613 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22614 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22615
226162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22617
22618 [BZ #15859]
22619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22620
226212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22622
22623 * include/string.h (__ffs): Declare as hidden.
22624 * string/ffs.c (__ffs): Define as hidden.
22625 * sysdeps/i386/ffs.c (__ffs): Likewise.
22626 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22627 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22628 * sysdeps/s390/ffs.c (__ffs): Likewise.
22629 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22630
226312013-09-20 Alexandre Oliva <aoliva@redhat.com>
22632
22633 * NEWS: Mention malloc probes.
22634
22635 * malloc/arena.c (new_heap): New memory_heap_new probe.
22636 (grow_heap): New memory_heap_more probe.
22637 (shrink_heap): New memory_heap_less probe.
22638 (heap_trim): New memory_heap_free probe.
22639 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22640 (systrim): New memory_sbrk_less probe.
22641 * manual/probes.texi: Document them.
22642
22643 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22644 * manual/probes.texi: Document it.
22645
22646 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22647 (__libc_realloc): Add memory_realloc_retry probe.
22648 (__libc_memalign): Add memory_memalign_retry probe.
22649 (__libc_valloc): Add memory_valloc_retry probe.
22650 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22651 (__libc_calloc): Add memory_calloc_retry probe.
22652 * manual/probes.texi: Document them.
22653
22654 * malloc/arena.c (get_free_list): Add probe
22655 memory_arena_reuse_free_list.
22656 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22657 and memory_arena_reuse.
22658 (arena_get2) [!PER_THREAD]: Likewise.
22659 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22660 memory_arena_reuse_realloc.
22661 * manual/probes.texi: Document them.
22662
22663 * malloc/malloc.c (__libc_free): Add
22664 memory_mallopt_free_dyn_thresholds probe.
22665 (__libc_mallopt): Add multiple memory_mallopt probes.
22666 * manual/probes.texi: Document them.
22667
22668 * malloc/malloc.c: Include stap-probe.h.
22669 (__libc_mallopt): Add memory_mallopt probe.
22670 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22671 * manual/probes.texi: New.
22672 * manual/Makefile (chapters): Add probes.
22673 * manual/threads.texi: Set next node.
22674
226752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22676
22677 [BZ #15963, #13985]
22678 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22679 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22680 Add `Chinese' to `nan' entry name.
22681
226822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22683
22684 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22685 (POLYNOMIAL): Likewise.
22686 (TAYLOR_SINCOS): Likewise.
22687 (TAYLOR_SLOW): Likewise.
22688 (__sin): Use TAYLOR_SINCOS.
22689 (__cos): Likewise.
22690 (slow): Use TAYLOR_SLOW.
22691 (sloww): Likewise.
22692 (bsloww): Likewise.
22693 (csloww): Likewise.
22694
226952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22696
22697 * stdlib/strtod_l.c: Fix buffer overrun.
22698
226992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22700
22701 * benchtests/Makefile (bench): Add sincos.
22702 * benchtests/bench-sincos.c: New file.
22703
22704 * math/libm-test.inc (cos_test_data): New test inputs.
22705 (sin_test_data): Likewise.
22706
22707 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22708 macro.
22709 (__sin): Use it.
22710 (__cos): Likewise.
22711 (slow1): Likewise.
22712 (slow2): Likewise.
22713 (sloww1): Likewise.
22714 (sloww2): Likewise.
22715 (bsloww1): Likewise.
22716 (bsloww2): Likewise.
22717 (cslow2): Likewise.
22718 (csloww1): Likewise.
22719 (csloww2): Likewise.
22720
22721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22722 function.
22723 (__sin): Use it.
22724 (__cos): Likewise.
22725
22726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22727 gotos.
22728 (__cos): Likewise.
22729
227302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22731
22732 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22733 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22734 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22735 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22736 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22737 * elf/cache.c (print_entry): Handle the new cache flags.
22738
227392013-09-18 Joseph Myers <joseph@codesourcery.com>
22740 Aldy Hernandez <aldyh@redhat.com>
22741
22742 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22743 Change condition to [_SOFT_FLOAT].
22744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22756 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22759 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22760 declaration.
22761
227622013-09-18 Joseph Myers <joseph@codesourcery.com>
22763
22764 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22766 (__longjmp): Use LOAD_GP to load saved GPRs.
22767 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22768 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22769 (__sigsetjmp): Use SAVE_GP to save GPRs.
22770
22771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22772 Do not append -msoft-float.
22773 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22774
227752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22776
22777 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22778
227792013-09-17 Joseph Myers <joseph@codesourcery.com>
22780
22781 [BZ #15966]
22782 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22783 (_FPU_GETCW): Use initial "__" on variable and field names but not
22784 on macro parameter name.
22785 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22786 parentheses around reference to macro parameter.
22787
227882013-09-13 Richard Sandiford <richard@codesourcery.com>
22789
22790 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22791 prototype.
22792 (ctype_startup): Use uint32_t in cast and sizeof for
22793 ctype->charnames.
22794
227952013-09-11 Jia Liu <proljc@gmail.com>
22796
22797 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22798 __daddr_t_defined.
22799 [__FreeBSD__]: Likewise.
22800
228012013-09-11 Ondřej Bílka <neleai@seznam.cz>
22802
22803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22804 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22805 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22806 (strchr): Remove __strchr_sse42 ifunc selection.
22807 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22808 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22809
228102013-09-11 Will Newton <will.newton@linaro.org>
22811
22812 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22813 parameter to RES. Remove hardcoded 1000 value.
22814 * benchtests/bench-skeleton.c (main): Pass RES parameter
22815 to TIMING_INIT and multiply result by 1000.
22816
228172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22818
22819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22820
228212013-09-11 Andreas Schwab <schwab@suse.de>
22822
22823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22824 if not defined.
22825 (O_TMPFILE) [__USE_GNU]: Define.
22826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22827 Define.
22828
228292013-09-11 Will Newton <will.newton@linaro.org>
22830
22831 [BZ #15857]
22832 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22833 does not overflow.
22834
228352013-09-11 Will Newton <will.newton@linaro.org>
22836
22837 [BZ #15856]
22838 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22839 does not overflow.
22840
228412013-09-11 Will Newton <will.newton@linaro.org>
22842
22843 [BZ #15855]
22844 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22845 does not overflow.
22846
228472013-09-10 Ondřej Bílka <neleai@seznam.cz>
22848
22849 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22854
228552013-09-10 Allan McRae <allan@archlinux.org>
22856
22857 [BZ #15748]
22858 * manual/arith.texi (Parsing of Floats): Clarify
22859 cross-reference.
22860
22861 [BZ #15849]
22862 * manual/install.texi (Running make install): Mention
22863 --enable-pt-chown.
22864 * INSTALL: Regenerated.
22865
228662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22867
22868 * csu/init-first.c (_init): Remove the !SHARED condition around
22869 FPU control word initialization.
22870 * elf/dl-support.c (_dl_fpu_control): New variable.
22871 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22872 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22873 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22874 * math/test-fpucw-static.c: New file.
22875 * math/test-fpucw-ieee.c: New file.
22876 * math/test-fpucw-ieee-static.c: New file.
22877 * math/Makefile (tests): Add `test-fpucw-ieee' and
22878 `$(tests-static)'.
22879 (tests-static): New variable.
22880 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22881 dependency to...
22882 [($(build-shared),yes)]
22883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22884 ... this.
22885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22886 New dependency.
22887
228882013-09-09 Allan McRae <allan@archlinux.org>
22889
22890 [BZ #15939]
22891 * manual/string.texi (Collation Functions): Fix typo in
22892 strcoll example.
22893 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22894
22895 [BZ #15893]
22896 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22897
22898 [BZ #15892]
22899 * libio/memstream.c (open_memstream): Fix memory leak.
22900 * libio/wmemstream.c (open_wmemstream): Likewise.
22901
22902 [BZ #15895]
22903 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22904
229052013-09-09 Will Newton <will.newton@linaro.org>
22906
22907 * malloc/Makefile: Add tst-realloc to tests.
22908 * malloc/tst-realloc.c: New file.
22909
229102013-09-09 Allan McRae <allan@archlinux.org>
22911
22912 [BZ #15844]
22913 * COPYING: Update from GNU website to fix FSF address.
22914 * COPYING.LIB: Likewise.
22915
229162013-09-06 David S. Miller <davem@davemloft.net>
22917
22918 * po/zh_TW.po: Update Chinese (traditional) translation from
22919 translation project.
22920
229212013-09-06 Richard Sandiford <richard@codesourcery.com>
22922 Joseph Myers <joseph@codesourcery.com>
22923
22924 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22925 "localeinfo.h".
22926 (obstack_chunk_alloc): New macro.
22927 (obstack_chunk_free): Likewise.
22928 (record_offset): New function.
22929 (init_locale_data): Likewise.
22930 (align_locale_data): Likewise.
22931 (add_locale_empty): Likewise.
22932 (add_locale_raw_data): Likewise.
22933 (add_locale_raw_obstack): Likewise.
22934 (add_locale_string): Likewise.
22935 (add_locale_wstring): Likewise.
22936 (add_locale_uint32): Likewise.
22937 (add_locale_uint32_array): Likewise.
22938 (add_locale_char): Likewise.
22939 (start_locale_structure): Likewise.
22940 (end_locale_structure): Likewise.
22941 (start_locale_prelude): Likewise.
22942 (end_locale_prelude): Likewise.
22943 (write_locale_data): Take locale_file structure rather than an
22944 iovec.
22945 * locale/programs/locfile.h: Include "obstack.h".
22946 (struct locale_file): Change to store locale file contents instead
22947 of header.
22948 (init_locale_data): New prototype.
22949 (align_locale_data): Likewise.
22950 (add_locale_empty): Likewise.
22951 (add_locale_raw_data): Likewise.
22952 (add_locale_raw_obstack): Likewise.
22953 (add_locale_string): Likewise.
22954 (add_locale_wstring): Likewise.
22955 (add_locale_uint32): Likewise.
22956 (add_locale_uint32_array): Likewise.
22957 (add_locale_char): Likewise.
22958 (start_locale_structure): Likewise.
22959 (end_locale_structure): Likewise.
22960 (start_locale_prelude): Likewise.
22961 (end_locale_prelude): Likewise.
22962 (write_locale_data): Update prototype.
22963 * locale/programs/3level.h (struct TABLE): Remove result field.
22964 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22965 Use new locale_file interface.
22966 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22967 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22968 * locale/programs/ld-address.c (address_output): Use new
22969 locale_file interface.
22970 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22971 NO_ADD_LOCALE.
22972 (collate_finish): Don't call collseq_table_finalize.
22973 (collate_output): Use new locale_file interface.
22974 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22975 in file.
22976 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22977 (TABLE): Move defines earlier in file.
22978 (ELEMENT): Likewise.
22979 (DEFAULT): Likewise.
22980 (wctrans_table_add): Move macro and inline function earlier in
22981 file.
22982 (struct wctype_table): Move type earlier in file.
22983 (add_locale_wctype_table): New static prototype.
22984 (struct locale_ctype_t): Use logical types instead of struct iovec
22985 pointers for members.
22986 (ctype_output): Use new locale_file interface.
22987 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22988 new locale_file interface.
22989 (allocate_arrays): Update for use of new locale_file interface.
22990 * locale/programs/ld-identification.c (identification_output): Use
22991 new locale_file interface.
22992 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22993 * locale/programs/ld-messages.c (messages_output): Likewise.
22994 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22995 * locale/programs/ld-name.c (name_output): Likewise.
22996 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22997 * locale/programs/ld-paper.c (paper_output): Likewise.
22998 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22999 * locale/programs/ld-time.c (time_output): Likewise.
23000
230012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23002
23003 * benchtests/Makefile: Add memrchr benchmark.
23004 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23005 benchmark as memrchr.
23006 * benchtests/bench-memrchr-ifunc.c: New file.
23007 * benchtests/bench-memrchr.c: New file.
23008
230092013-09-06 Will Newton <will.newton@linaro.org>
23010
23011 * benchtests/Makefile (string-bench): Add memcpy.
23012
230132013-09-05 Carlos O'Donell <carlos@redhat.com>
23014 Cong Wang <amwang@redhat.com>
23015
23016 [BZ #15850]
23017 * sysdeps/unix/sysv/linux/bits/in.h
23018 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23019 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23020 before __USE_KERNEL_IPV6_DEFS uses.
23021 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23022 IPPROTO_BEETPH.
23023 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23024 sockaddr_in6, or ipv6_mreq.
23025
230262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23027
23028 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23029 memory access for final bytes in some large inputs.
23030 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23031
230322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23033
23034 * string/test-memrchr.c: New file.
23035 * string/test-memrchr-ifunc.c: New file.
23036 * string/Makefile: Add new memrchr testcase.
23037
230382013-09-05 Mike Frysinger <vapier@gentoo.org>
23039
23040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23041 fanotify_init returns EPERM.
23042
230432013-09-04 Joseph Myers <joseph@codesourcery.com>
23044
23045 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23046 errors.
23047 (top level): Treat second token from macro or constant entries for
23048 allowed headers as allowed.
23049 * include/complex.h: Condition internal declarations on
23050 [!_ISOMAC].
23051 * include/fenv.h: Condition include of <stdbool.h> and internal
23052 declarations on [!_ISOMAC].
23053
230542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23055
23056 [BZ #15923]
23057 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23058
230592013-09-04 Joseph Myers <joseph@codesourcery.com>
23060
23061 * configure.in (--enable-versioning): Remove configure option.
23062 (libc_cv_asm_symver_directive): Remove configure test.
23063 (libc_cv_ld_version_script_option): Likewise.
23064 (VERSIONING): Remove variable and AC_SUBST.
23065 (DO_VERSIONING): Remove AC_DEFINE.
23066 * configure: Regenerated.
23067 * config.h.in (DO_VERSIONING): Remove macro.
23068 * Makerules [$(versioning) = yes]: Change conditionals to
23069 [$(build-shared) = yes].
23070 * config.make.in (versioning): Remove variable.
23071 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23072 [$(build-shared) = yes].
23073 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23074 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23075 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23076 [$(build-shared) = yes].
23077 * extra-lib.mk [$(versioning) = yes]: Likewise.
23078 * hurd/Makefile [$(versioning) = yes]: Likewise.
23079 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23080 [SHARED].
23081 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23082 [SHARED].
23083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23084 [SHARED && !NO_HIDDEN].
23085 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23086 [SHARED].
23087 [SHARED && DO_VERSIONING]: Likewise..
23088 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23089 [$(build-shared) = yes].
23090 * manual/install.texi (--disable-versioning): Remove
23091 documentation.
23092 * INSTALL: Regenerated.
23093 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23094 to [SHARED].
23095 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23096 [$(build-shared) = yes].
23097 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23098 * sysdeps/i386/i686/multiarch/strstr-c.c
23099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23100 [SHARED && !NO_HIDDEN].
23101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23102 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23103 * sysdeps/powerpc/powerpc32/dl-machine.c
23104 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23105 * sysdeps/powerpc/powerpc32/sysdep.h
23106 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23107 to [SHARED && PIC && !NO_HIDDEN].
23108 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23109 conditional to [SHARED].
23110
231112013-09-04 Will Newton <will.newton@linaro.org>
23112
23113 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23114 * benchtests/bench-string.h: Include bench-timing.h instead
23115 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23116 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23117 call to HP_TIMING_DIFF_INIT.
23118 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23119 instead of hp-timing.h macros.
23120 * benchtests/bench-memchr.c: Likewise.
23121 * benchtests/bench-memcmp.c: Likewise.
23122 * benchtests/bench-memcpy.c: Likewise.
23123 * benchtests/bench-memmem.c: Likewise.
23124 * benchtests/bench-memmove.c: Likewise.
23125 * benchtests/bench-memset.c: Likewise.
23126 * benchtests/bench-rawmemchr.c: Likewise.
23127 * benchtests/bench-strcasecmp.c: Likewise.
23128 * benchtests/bench-strcasestr.c: Likewise.
23129 * benchtests/bench-strcat.c: Likewise.
23130 * benchtests/bench-strchr.c: Likewise.
23131 * benchtests/bench-strcmp.c: Likewise.
23132 * benchtests/bench-strcpy.c: Likewise.
23133 * benchtests/bench-strcpy_chk.c: Likewise.
23134 * benchtests/bench-strlen.c: Likewise.
23135 * benchtests/bench-strncasecmp.c: Likewise.
23136 * benchtests/bench-strncat.c: Likewise.
23137 * benchtests/bench-strncmp.c: Likewise.
23138 * benchtests/bench-strncpy.c: Likewise.
23139 * benchtests/bench-strnlen.c: Likewise.
23140 * benchtests/bench-strpbrk.c: Likewise.
23141 * benchtests/bench-strrchr.c: Likewise.
23142 * benchtests/bench-strspn.c: Likewise.
23143 * benchtests/bench-strstr.c: Likewise.
23144
231452013-09-04 Will Newton <will.newton@linaro.org>
23146
23147 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23148
231492013-09-03 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #15427]
23152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23153 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23154 * math/libm-test.inc (lgamma_test_data): Add more tests.
23155 * sysdeps/i386/fpu/libm-test-ulps: Update.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23157
231582013-09-03 Ondřej Bílka <neleai@seznam.cz>
23159
23160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23162 Add ifunc.
23163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23164 Add strcmp-sse2-unaligned
23165 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23166
231672013-09-02 Mike Frysinger <vapier@gentoo.org>
23168
23169 * Versions.def (libc): Add GLIBC_2.19.
23170
231712013-09-02 Mike Frysinger <vapier@gentoo.org>
23172
23173 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23174 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23175
231762013-09-02 Joseph Myers <joseph@codesourcery.com>
23177
23178 [BZ #14155]
23179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23180 intermediate calculations in recurrence.
23181 (__ieee754_ynf): Likewise.
23182 * math/libm-test.inc (jn_test_data): Do not allow spurious
23183 underflow exception. Add more tests.
23184 (yn_test_data): Add more tests.
23185 * sysdeps/i386/fpu/libm-test-ulps: Update.
23186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23187
231882013-09-02 Ondřej Bílka <neleai@seznam.cz>
23189
23190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23191
231922013-08-30 Ondřej Bílka <neleai@seznam.cz>
23193
23194 * csu/init-first.c: Fix then/than typos.
23195 * locale/programs/ld-collate.c: Likewise.
23196 * locale/programs/linereader.h: Likewise.
23197 * manual/charset.texi: Likewise.
23198 * manual/filesys.texi: Likewise.
23199 * manual/stdio.texi: Likewise.
23200 * manual/string.texi: Likewise.
23201 * stdlib/fmtmsg.c: Likewise.
23202 * sysdeps/i386/stpncpy.S: Likewise.
23203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23204 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23207
232082013-08-30 Ondřej Bílka <neleai@seznam.cz>
23209
23210 * elf/dl-open.c: Fix typos.
23211 * iconvdata/gbbig5.c: Likewise.
23212 * iconvdata/iso-2022-jp.c: Likewise.
23213 * iconv/gconv_int.h: Likewise.
23214 * iconv/loop.c: Likewise.
23215 * nis/rpcsvc/nis.h: Likewise.
23216 * resolv/ns_name.c: Likewise.
23217 * stdio-common/vfscanf.c: Likewise.
23218 * streams/stropts.h: Likewise.
23219 * sunrpc/rpc_thread.c: Likewise.
23220 * sysdeps/i386/strpbrk.S: Likewise.
23221 * sysdeps/ieee754/k_standard.c: Likewise.
23222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23224 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23225 * sysdeps/mach/hurd/profil.c: Likewise.
23226 * sysdeps/s390/dl-procinfo.h: Likewise.
23227 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23229 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23230 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23232
232332013-08-30 Ondřej Bílka <neleai@seznam.cz>
23234
23235 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23237
232382013-08-29 Ondřej Bílka <neleai@seznam.cz>
23239
23240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23241 aix specific files.
23242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23245 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23246 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23247 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23248 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23249 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23250
232512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23252 Roland McGrath <roland@hack.frob.com>
23253
23254 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23255 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23256
232572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23258
23259 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23260 __executable_start symbol instead of _start.
23261
232622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23263
23264 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23265 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23266 Move macros to...
23267 * sysdeps/gnu/ldsodefs.h: ... this new file.
23268
23269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23270 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23271 instead of ELFOSABI_LINUX.
23272
23273 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23274 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23275 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23276 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23277 Likewise.
23278 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23279 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23281 Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23283 (ibm_extended_long_double): Add ieee_nan member.
23284 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23285 (do_test): New function.
23286
23287 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23288 TEST_TRUNC.
23289 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23290 functions, renamed from truncdfsf_test, trunctfsf_test,
23291 trunctfdf_test.
23292 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23293 functions.
23294 (do_test): Run all these.
23295
232962013-08-29 Ondřej Bílka <neleai@seznam.cz>
23297
23298 * argp/argp-help.c: Fix typos.
23299 * argp/argp-parse.c: Likewise.
23300 * debug/backtracesyms.c: Likewise.
23301 * elf/elf.h: Likewise.
23302 * malloc/malloc.c: Likewise.
23303 * nis/nis_print.c: Likewise.
23304 * resolv/res_comp.c: Likewise.
23305 * stdlib/stdlib.h: Likewise.
23306 * sunrpc/clnt_tcp.c: Likewise.
23307 * sunrpc/clnt_udp.c: Likewise.
23308 * sunrpc/clnt_unix.c: Likewise.
23309 * sysdeps/unix/bsd/ptsname.c: Likewise.
23310 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23313 Likewise.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23315 Likewise.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23317 Likewise.
23318 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23319
233202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23321
23322 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23324
233252013-08-27 Mike Frysinger <vapier@gentoo.org>
23326
23327 [BZ #15897]
23328 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23329 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23330 ($(objpfx)bug-dl-leaf): New rule.
23331 ($(objpfx)bug-dl-leaf.so): Likewise.
23332 ($(objpfx)bug-dl-leaf.out): Likewise.
23333 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23334 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23335 * dlfcn/bug-dl-leaf.c: New test.
23336 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23337 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23338 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23339 (dlclose): Likewise.
23340 (dlmopen): Likewise.
23341
233422013-08-27 Roland McGrath <roland@hack.frob.com>
23343
23344 * include/netdb.h [!_ISOMAC]:
23345 Don't include <tls.h>.
23346 (h_errno, __libc_h_errno): Move declaration and macros out of
23347 [_LIBC_REENTRANT].
23348
23349 * include/resolv.h [_RESOLV_H_]:
23350 Don't include <tls.h>.
23351 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23352 * resolv/res_libc.c: Don't include <tls.h>.
23353 (_res): Use __attribute__ ((nocommon)) in place of
23354 __attribute__ ((section (".bss"))).
23355
23356 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23357 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23358
23359 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23360
23361 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23362 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23363
23364 * resolv/res_mkquery.c: Include <sys/time.h>.
23365
23366 * inet/ifreq.c: Moved to ...
23367 * sysdeps/unix/ifreq.c: ... here.
23368 * inet/ifreq.c: New file, true stub version.
23369
23370 * socket/sa_len.c: New file.
23371 * socket/Makefile (aux): Add it.
23372 * sysdeps/unix/sysv/linux/Makefile
23373 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23374 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23375 and #include <socket/sa_len.c>.
23376 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23377 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23378
23379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23380 * bits/socket.h: ... here.
23381
23382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23383 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23384 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23385
233862013-08-27 Andreas Schwab <schwab@suse.de>
23387
23388 [BZ #15736]
23389 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23390 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23391 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23392 * string/test-strcasecmp.c (test_main): Run tests in several
23393 locales.
23394 * string/test-strncasecmp.c (test_main): Likewise.
23395
23396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23397 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23398 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23400 (__strncasecmp_ssse3) [PIC]: Likewise.
23401
234022013-08-26 Roland McGrath <roland@hack.frob.com>
23403
23404 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23405
23406 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23407 instead of explicitly declaring xdecrypt.
23408 * nis/nss_nis/nis-publickey.c: Likewise.
23409
234102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23411
23412 [BZ #15890]
23413 * nscd/aicache.c: Include res_hconf.h.
23414 (addhstaiX): Initialize res_hconf.
23415
234162013-08-26 Andreas Schwab <schwab@suse.de>
23417
23418 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23419 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23420
234212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23422
23423 * nscd/aicache.c (addhstaiX): Fix indentation.
23424
234252013-08-25 Mike Frysinger <vapier@gentoo.org>
23426
23427 * configure.ac: Quote $build_pt_chown test.
23428 * configure: Regenerated.
23429
234302013-08-23 Joseph Myers <joseph@codesourcery.com>
23431
23432 [BZ #15532]
23433 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23434 * math/s_cexpf.c (__cexpf): Likewise.
23435 * math/s_cexpl.c (__cexpl): Likewise.
23436 * math/libm-test.inc (cexp_test_data): Correct expected return
23437 value for NaN + i0. Add another test.
23438
234392013-08-22 David S. Miller <davem@davemloft.net>
23440
23441 * po/ca.po: Update Catalan translation from translation project.
23442 * po/uk.po: Add Ukrainian translations from translation project.
23443
234442013-08-21 Joseph Myers <joseph@codesourcery.com>
23445
23446 [BZ #15797]
23447 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23448 is infinite, not alongside NaN test.
23449 * math/s_fdimf.c (__fdimf): Likewise.
23450 * math/s_fdiml.c (__fdiml): Likewise.
23451 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23452 errno is unchanged.
23453
234542013-08-21 Ondřej Bílka <neleai@seznam.cz>
23455
23456 * argp/argp-help.c: Fix typos.
23457 * crypt/speeds.c: Likewise.
23458 * csu/check_fds.c: Likewise.
23459 * elf/dl-load.c: Likewise.
23460 * elf/dl-open.c: Likewise.
23461 * elf/reldep3.c: Likewise.
23462 * elf/reldep.c: Likewise.
23463 * elf/sprof.c: Likewise.
23464 * iconv/iconv_charmap.c: Likewise.
23465 * iconv/skeleton.c: Likewise.
23466 * iconv/strtab.c: Likewise.
23467 * io/lockf64.c: Likewise.
23468 * libio/libioP.h: Likewise.
23469 * resolv/gai_notify.c: Likewise.
23470 * resolv/ns_name.c: Likewise.
23471 * resolv/ns_samedomain.c: Likewise.
23472 * resolv/res_send.c: Likewise.
23473 * stdlib/random.c: Likewise.
23474 * sunrpc/rpc/xdr.h: Likewise.
23475 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23483 * sysdeps/mach/hurd/check_fds.c: Likewise.
23484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23490 * sysdeps/pthread/aio_notify.c: Likewise.
23491 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23492 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23496
234972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23498
23499 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23500 version if bit_Slow_SSE4_2 is set.
23501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23503
235042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23505
23506 [BZ #15867]
23507 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23508 trampoline stack frame information.
23509 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23511 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23512 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23513 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23514 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23515 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23516 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23517 sa_flags value.
23518 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23519 interrupting a syscall and set with option SA_SIGINFO.
23520
235212013-08-20 Joseph Myers <joseph@codesourcery.com>
23522
23523 [BZ #15531]
23524 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23525 argument is infinite.
23526 * math/s_cprojf.c (__cprojf): Likewise.
23527 * math/s_cprojl.c (__cprojl): Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23529 * math/libm-test.inc (cproj_test_data): Add more tests.
23530
23531 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23532
23533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23534 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23535 size. Use __ffs to determine corresponding shift.
23536
235372013-08-20 Joseph Myers <joseph@codesourcery.com>
23538 Roland McGrath <roland@hack.frob.com>
23539
23540 * Makefile (INSTALL): Remove trailing blank lines from output of
23541 makeinfo.
23542
235432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23544
23545 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23546 Align 32 bit compat elf_greg to 8 bytes.
23547
235482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23549
23550 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23551
235522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23553
23554 * string/strcoll_l.c (coll_seq): New structure.
23555 (get_next_seq_cached): New function.
23556 (get_next_seq): New function.
23557 (do_compare): New function.
23558 (STRCOLL): Use GNU style definition. Simplify implementation
23559 by using get_next_seq, get_next_seq_cached and do_compare.
23560
235612013-08-16 Florian Weimer <fweimer@redhat.com>
23562
23563 [BZ #14699]
23564 CVE-2013-4237
23565 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23566 member.
23567 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23568 member.
23569 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23570 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23571 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23572 conditional.
23573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23574 GETDENTS_64BIT_ALIGNED.
23575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23576 * manual/filesys.texi (Reading/Closing Directory): Document
23577 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23578 strongly.
23579 * manual/conf.texi (Limits for Files): Add portability note to
23580 NAME_MAX, PATH_MAX.
23581 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23582
235832013-08-13 Andreas Schwab <schwab@suse.de>
23584
23585 [BZ #15749]
23586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23587 of fabs.
23588 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23589 LDBL_MAX_EXP >= 16384]: Add tests for it.
23590
235912013-08-12 David S. Miller <davem@davemloft.net>
23592
23593 * version.h (RELEASE): Set to "development".
23594 (VERSION): Set to "2.18.90".
23595 * NEWS: Add 2.19 section.
23596
235972013-08-03 David S. Miller <davem@davemloft.net>
23598
23599 * po/ko.po: Update Korean translation from translation project.
23600
236012013-08-01 David S. Miller <davem@davemloft.net>
23602
23603 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23604 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23605 Bilka.
23606
236072013-07-30 David S. Miller <davem@davemloft.net>
23608
23609 * po/fr.po: Update French translation from translation project.
23610
236112013-07-28 David S. Miller <davem@davemloft.net>
23612
23613 * po/cs.po: Update Czech translation from translation project.
23614
23615 * po/sv.po: Update Swedish translation from translation project.
23616
236172013-07-27 David S. Miller <davem@davemloft.net>
23618
23619 * po/eo.po: Update Esperanto translation from translation project.
23620
23621 * po/vi.po: Update Vietnamese translation from translation project.
23622
23623 * po/de.po: Update German translation from translation project.
23624
236252013-07-26 David S. Miller <davem@davemloft.net>
23626
23627 * po/bg.po: Update Bulgarian translation from translation project.
23628
23629 * po/nl.po: Update Dutch translation from translation project.
23630 * po/pl.po: Update Polish translation from translation project.
23631 * po/ru.po: Update Russian translation from translation project.
23632
236332013-07-24 David S. Miller <davem@davemloft.net>
23634
23635 * po/libc.pot: Update.
23636
236372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23638
23639 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23640 variable page size.
23641 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23642 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23644
236452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23646
23647 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23648
236492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23650 Andreas Schwab <schwab@suse.de>
23651 Roland McGrath <roland@hack.frob.com>
23652 Joseph Myers <joseph@codesourcery.com>
23653 Carlos O'Donell <carlos@redhat.com>
23654
23655 [BZ #15755]
23656 * config.h.in: Define HAVE_PT_CHOWN.
23657 * config.make.in (build-pt-chown): New variable.
23658 * configure.in (--enable-pt_chown): New configure option.
23659 * configure: Regenerate.
23660 * login/Makefile: Include Makeconfig. Build pt_chown only if
23661 build-pt-chown is enabled.
23662 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23663 pt_chown to fix pty ownership.
23664 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23665 CLOSE_ALL_FDS.
23666 * manual/install.texi (Configuring and compiling): Mention
23667 --enable-pt_chown. Add @findex for grantpt.
23668 * INSTALL: Regenerate.
23669
236702013-07-20 David S. Miller <davem@davemloft.net>
23671
23672 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23673 difference between 32-bit and 64-bit.
23674
236752013-07-15 Carlos O'Donell <carlos@redhat.com>
23676
23677 [BZ #15711]
23678 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23679 Avoid system header dependency with -ffreestanding.
23680 ($(objpfx)bits/syscall%d): Likewise.
23681
236822013-07-13 David S. Miller <davem@davemloft.net>
23683
23684 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23685 underflows from atanl/atan2l due to bug 15319.
23686 (casinh_test_data): Likewise.
23687
236882013-07-07 David S. Miller <davem@davemloft.net>
23689
23690 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23691
236922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23693
23694 * sysdeps/i386/fpu/libm-test-ulps: Update.
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23696
236972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23698
23699 * configure.in (--enable-lock-elision): Fix message text.
23700 * INSTALL: Regenerate.
23701 * configure: Regenerate.
23702
237032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23704
23705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23706
237072013-07-03 Andreas Jaeger <aj@suse.de>
23708
23709 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23710 define.
23711 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23712 (ptrace_peeksiginfo_args): Add.
23713 (__ptrace_peeksiginfo_flags): Add.
23714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23717
237182013-07-03 Allan McRae <allan@archlinux.org>
23719
23720 * sysdeps/i386/fpu/libm-test-ulps: Update.
23721
237222013-07-02 David S. Miller <davem@davemloft.net>
23723
23724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23725
237262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23727
23728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23729
237302013-07-02 Joseph Myers <joseph@codesourcery.com>
23731
23732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23734
237352013-07-02 Andi Kleen <ak@linux.intel.com>
23736
23737 * config.h.in (ENABLE_LOCK_ELISION): Add.
23738 * configure.in (--enable-lock-elision): Add option.
23739 * manual/install.texi: Document --enable lock elision.
23740 * configure: Regenerate
23741 * INSTALL: Regenerate.
23742
237432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23744
23745 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23746 SSE4.2 strcasecmp for libc.a.
23747 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23748
237492013-07-02 Joseph Myers <joseph@codesourcery.com>
23750
23751 [BZ #13304]
23752 * soft-fp/op-common.h (_FP_FMA): New macro.
23753 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23754 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23755 (_FP_MUL_MEAT_1_imm): ... here.
23756 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23757 (_FP_MUL_MEAT_1_wide): ... here.
23758 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23759 (_FP_MUL_MEAT_1_hard): ... here.
23760 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23761 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23762 (_FP_MUL_MEAT_2_wide): ... here.
23763 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23764 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23765 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23766 (_FP_MUL_MEAT_2_gmp): ... here.
23767 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23768 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23769 (_FP_MUL_MEAT_4_wide): ... here.
23770 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23771 (_FP_MUL_MEAT_4_gmp): ... here.
23772 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23773 (_FP_WFRACBITS_DW_S): Likewise.
23774 (_FP_WFRACXBITS_DW_S): Likewise.
23775 (_FP_HIGHBIT_DW_S): Likewise.
23776 (FP_FMA_S): Likewise.
23777 (_FP_FRAC_HIGH_DW_S): Likewise.
23778 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23779 (_FP_WFRACBITS_DW_D): Likewise.
23780 (_FP_WFRACXBITS_DW_D): Likewise.
23781 (_FP_HIGHBIT_DW_D): Likewise.
23782 (FP_FMA_D): Likewise.
23783 (_FP_FRAC_HIGH_DW_D): Likewise.
23784 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23785 (_FP_WFRACBITS_DW_E): Likewise.
23786 (_FP_WFRACXBITS_DW_E): Likewise.
23787 (_FP_HIGHBIT_DW_E): Likewise.
23788 (FP_FMA_E): Likewise.
23789 (_FP_FRAC_HIGH_DW_E): Likewise.
23790 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23791 (_FP_WFRACBITS_DW_Q): Likewise.
23792 (_FP_WFRACXBITS_DW_Q): Likewise.
23793 (_FP_HIGHBIT_DW_Q): Likewise.
23794 (FP_FMA_Q): Likewise.
23795 (_FP_FRAC_HIGH_DW_Q): Likewise.
23796 * soft-fp/fmasf4.c: New file.
23797 * soft-fp/fmadf4.c: Likewise.
23798 * soft-fp/fmatf4.c: Likewise.
23799
238002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23801
23802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23803 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23804 Silvermont.
23805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23806 macro.
23807 (index_Slow_SSE4_2): Likewise.
23808 (index_Prefer_PMINUB_for_stringop): Likewise.
23809 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23810 bit_Slow_SSE4_2 is set.
23811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23813
238142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23815
23816 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23817 rtld_global._dl_hwcap2.
23818 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23819 POWER8.
23820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23821 POWER8 feature descriptions defined in _dl_hwcap2.
23822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23823 string handling for POWER8 feature bits.
23824 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23825 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23826 _dl_powerpc_cap_flags.
23827 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23828 * sysdeps/powerpc/rtld-global-offsets.sym
23829 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23830 _dl_hwcap2 in the rtld_global_ro structure.
23831
238322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23833
23834 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23835 hardware capabilities in support of AT_HWCAP2.
23836 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23837 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23838 GLRO(dl_hwcap2).
23839 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23840 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23841 explicitly the unknown a_type display mechanism is used.
23842 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23843 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23844 struct member.
23845 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23846 to macro prototype for AT_HWCAP2 support.
23847 * sysdeps/i386/dl-procinfo.h: Likewise.
23848 * sysdeps/s390/dl-procinfo.h: Likewise.
23849 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23850 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23851 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23852 return -1 for unknown a_type display fallback.
23853 * sysdeps/sparc/dl-procinfo.h: Likewise.
23854 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23855 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23856
238572013-06-28 Joseph Myers <joseph@codesourcery.com>
23858
23859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23860 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23861
238622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23863
23864 [BZ #12492]
23865 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23866 mprotect making __stack_prot writable.
23867
238682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23869 Joseph Myers <joseph@codesourcery.com>
23870
23871 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23872 as being properly aligned.
23873
238742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23875
23876 * dlfcn/modstatic5.c: New file.
23877 * dlfcn/tststatic5.c: New file.
23878 * dlfcn/Makefile (tests): Add tststatic5.
23879 (tests-static): Likewise.
23880 (modules-names): Add modstatic5.
23881 (tststatic5-ENV): New variable.
23882 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23883
23884 [BZ #15022]
23885 * elf/dl-support.c (_dl_main_map): New variable.
23886 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23887 (_dl_nns, _dl_load_adds): Set to 1.
23888 (_dl_initial_searchlist): Refer to _dl_main_map.
23889 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23890 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23891 call to _dl_get_origin.
23892 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23893 around call_map.
23894 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23895 * dlfcn/modstatic3.c: New file.
23896 * dlfcn/tststatic3.c: New file.
23897 * dlfcn/tststatic4.c: New file.
23898 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23899 (tests-static): Likewise.
23900 (modules-names): Add modstatic3.
23901 (tststatic3-ENV, tststatic4-ENV): New variables.
23902 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23903 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23904
239052013-06-26 Joseph Myers <joseph@codesourcery.com>
23906
23907 * configure.in (CC): Require GCC version 4.4 or later.
23908 * configure: Regenerated.
23909 * manual/install.texi (Tools for Compilation): Update GCC version
23910 requirement.
23911 * INSTALL: Regenerated.
23912
239132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23914
23915 [BZ #15674]
23916 * string/test-memcmp.c (check2): New.
23917 (main): Call check2.
23918
23919 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23920
239212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23922
23923 [BZ #15022]
23924 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23925 over to...
23926 (dl_open_worker) [!SHARED]: ... here.
23927
239282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23929
23930 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23931
239322013-06-25 Richard Henderson <rth@redhat.com>
23933
23934 * locale/programs/locarchive.c: Include <libc-internal.h>
23935
239362013-06-25 Joseph Myers <joseph@codesourcery.com>
23937
23938 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23939 trailing whitespace removed.
23940
239412013-06-24 Mike Frysinger <vapier@gentoo.org>
23942
23943 [BZ #10283]
23944 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23945 * locale/programs/locarchive.c: Include libc-mmap.h.
23946 (prepare_address_space): Take two new outputs (the mmap base and len).
23947 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23948 values.
23949 (create_archive): Declare new mmap base and len values for
23950 prepare_address_space, and store the result in ah.
23951 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23952 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23953 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23954 Declare new mmap base and len values for
23955 prepare_address_space, and store the result in new_ah.
23956 (open_archive): Declare new mmap base and len values for
23957 prepare_address_space, and store the result in ah.
23958 (close_archive): If ah->mmap_base is not NULL, use that and
23959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23960 * sysdeps/generic/libc-mmap.h: New file.
23961
239622013-06-24 Mike Frysinger <vapier@gentoo.org>
23963
23964 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23965 (ALIGN_UP): Likewise.
23966 (PTR_ALIGN_DOWN): Likewise.
23967 (PTR_ALIGN_UP): Likewise.
23968
239692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23970
23971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23972 entry mapped to PPC_PLATFORM_POWER8.
23973 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23974 POWER8.
23975 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23976 (_dl_string_platform): Add case for exporting platform position for
23977 POWER8.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23979 search path to sysdeps/powerpc/powerpc32/power8 directory.
23980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23981 search path to sysdeps/powerpc/powerpc64/power8 directory.
23982 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23983 power7 directories.
23984 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23985 power7 directories.
23986
239872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23988
23989 * INSTALL: Regenerate.
23990
23991 * nscd/connections.c (nscd_init): Fix comment.
23992
239932013-06-22 Joseph Myers <joseph@codesourcery.com>
23994
23995 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23996
23997 [BZ #15667]
23998 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23999 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24000
240012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24002
24003 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24004 DL_DST_REQ_STATIC.
24005 (DL_DST_REQ_STATIC): Remove macro.
24006
240072013-06-21 Joseph Myers <joseph@codesourcery.com>
24008
24009 [BZ #7006]
24010 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24011 with a shift of 0 bits.
24012
240132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24014
24015 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24016 $(tststatic-ENV).
24017
240182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24019
24020 [BZ #15655]
24021 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24022
240232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24024
24025 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24026 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24027 accepts -fno-tree-loop-distribute-patterns.
24028 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24029 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24030 recursive call.
24031 * string/memset.c (memset): Likewise.
24032 * string/test-memmove.c (simple_memmove): Disable loop transformation
24033 to library calls.
24034 * string/test-memset.c (simple_memset): Likewise.
24035 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24036 * benchtests/bench-memset.c (simple_memset): Likewise.
24037 * configure: Regenerated.
24038
240392013-06-20 Joseph Myers <joseph@codesourcery.com>
24040
24041 * math/test-misc.c (main): Ignore fesetround failure when failures
24042 of subsequent rounding tests would be ignored.
24043
24044 [BZ #15654]
24045 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24046 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24047 * math/fegetenv.c (__fegetenv): Return 0.
24048 * math/fegetexcept.c (fegetexcept): Return 0.
24049 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24050 FE_TONEAREST.
24051 * math/feholdexcpt.c (feholdexcept): Return 0.
24052 * math/fesetenv.c (__fesetenv): Return 0.
24053 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24054 argument FE_TONEAREST.
24055 * math/feupdateenv.c (__feupdateenv): Return 0.
24056 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24057
240582013-06-18 Roland McGrath <roland@hack.frob.com>
24059
24060 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24061 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24062 ($(objpfx)rtld-%.os rules): Use them.
24063
240642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24065
24066 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24067 fields.
24068
240692013-06-17 Roland McGrath <roland@hack.frob.com>
24070
24071 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24072 length of target pattern, then descending length of dependency pattern.
24073 * configure.in (AWK): Require gawk 3.1.2 or newer.
24074 * manual/install.texi (Tools for Compilation): Say that we do.
24075 * configure: Regenerated.
24076
24077 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24078 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24079 * scripts/sysd-rules.awk: ... this new script.
24080 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24081 than a glob-style pattern.
24082
240832013-06-17 Joseph Myers <joseph@codesourcery.com>
24084
24085 * math/test-misc.c (main): Do not treat incorrectly rounded
24086 conversions as failure unless ROUNDING_TESTS passes.
24087
240882013-06-15 Joseph Myers <joseph@codesourcery.com>
24089
24090 [BZ #15631]
24091 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24092 restore exception state around main square root computation, then
24093 check for inexactness explicitly.
24094
24095 * math/libm-test.inc (fma_test_data): Add another test.
24096
240972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24098
24099 * manual/threads.texi (Non-POSIX Extensions): New document
24100 node. Document pthread_getattr_default_np and
24101 pthread_setattr_default_np.
24102
24103 * Versions.def (libpthread): Add GLIBC_2.18.
24104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24106 Likewise.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24108 Likewise.
24109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24110 Likewise.
24111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24112 Likewise.
24113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24114 Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24116 Likewise.
24117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24118 Likewise.
24119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24120 Likewise.
24121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24122 Likewise.
24123
241242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24125
24126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24128
241292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 H.J. Lu <hjl.tools@gmail.com>
24131
24132 [BZ #15627]
24133 * sysdeps/x86_64/rtld-memset.c: Remove file.
24134 * sysdeps/x86_64/rtld-memset.S: New file.
24135
241362013-06-14 Joseph Myers <joseph@codesourcery.com>
24137
24138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24139 (test_in_one_mode): Take arguments for whether the rounding mode
24140 is supported for each floating-point type.
24141 (do_test): Pass new arguments to test_in_one_mode using
24142 ROUNDING_TESTS.
24143
241442013-06-13 Roland McGrath <roland@hack.frob.com>
24145
24146 * posix/tst-waitid.c (do_test): Distinguish different instances of
24147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24149 before entering the kernel for waitpid.
24150
241512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24152
24153 * NEWS: Fix note on clock function precision. Text by Roland
24154 McGrath.
24155
241562013-06-13 Roland McGrath <roland@hack.frob.com>
24157
24158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24159 it into place only when and if the sanity check passes.
24160
241612013-06-13 Joseph Myers <joseph@codesourcery.com>
24162
24163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24164 output for whether conversion result is exact. Take argument
24165 indicating whether type is IBM long double.
24166 (round_for_all): Change need_exact field to ibm_ld.
24167 * stdlib/tst-strtod-round.c (struct exactness): New type.
24168 (struct test): Change bool ld_ok field to struct exactness exact.
24169 (TEST): Update all definitions for change to field.
24170 (tests): Regenerate array contents.
24171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24172 field value. Check for IBM long double here.
24173 (do_test): Update calls to test_in_one_mode.
24174
241752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24176
24177 [BZ #12515]
24178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24180
241812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24182
24183 [BZ #15605]
24184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24185 generated by the compiler on loop optimizations.
24186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24187 general definitions.
24188
241892013-06-12 Joseph Myers <joseph@codesourcery.com>
24190
24191 * math/bug-nextafter.c: Include <math-tests.h>.
24192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24193 the relevant type.
24194 * math/bug-nexttoward.c: Include <math-tests.h>.
24195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24196 the relevant type.
24197 * math/test-misc.c: Include <math-tests.h>.
24198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24199 the relevant type.
24200
242012013-06-12 Andreas Jaeger <aj@suse.de>
24202
24203 * po/ia.po: Update Interlingua translation from translation
24204 project.
24205
242062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24207
24208 * include/fenv.h: Include stdbool.h.
24209 (struct rm_ctx): New structure.
24210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24211 Define macro.
24212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24213 (SET_RESTORE_ROUNDF): Likewise.
24214 (SET_RESTORE_ROUNDL): Likewise.
24215 (SET_RESTORE_ROUND_NOEX): Likewise.
24216 (SET_RESTORE_ROUND_NOEXF): Likewise.
24217 (SET_RESTORE_ROUND_NOEXL): Likewise.
24218 (SET_RESTORE_ROUND_53BIT): Likewise.
24219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24220 (libc_feresetround_noexf_ctx): Likewise.
24221 (libc_feresetround_noexl_ctx): Likewise.
24222 (libc_feholdsetround_53bit_ctx): Likewise.
24223 (libc_feresetround_53bit_ctx): Likewise.
24224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24225 (libc_feholdexcept_setround_sse_ctx): New function.
24226 (libc_fesetenv_sse_ctx): Likewise.
24227 (libc_feupdateenv_sse_ctx): Likewise.
24228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24229 (libc_feholdexcept_setround_387_ctx): Likewise.
24230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24231 (libc_feholdsetround_387_prec_ctx): Likewise.
24232 (libc_feholdsetround_387_ctx): Likewise.
24233 (libc_feholdsetround_387_53bit_ctx): Likewise.
24234 (libc_feholdsetround_sse_ctx): Likewise.
24235 (libc_feresetround_sse_ctx): Likewise.
24236 (libc_feresetround_387_ctx): Likewise.
24237 (libc_feupdateenv_387_ctx): Likewise.
24238 (libc_feholdexcept_setroundf_ctx): Define macro.
24239 (libc_fesetenvf_ctx): Likewise.
24240 (libc_feupdateenvf_ctx): Likewise.
24241 (libc_feholdsetroundf_ctx): Likewise.
24242 (libc_feresetroundf_ctx): Likewise.
24243 (libc_feholdexcept_setround_ctx): Likewise.
24244 (libc_fesetenv_ctx): Likewise.
24245 (libc_feupdateenv_ctx): Likewise.
24246 (libc_feholdsetround_ctx): Likewise.
24247 (libc_feresetround_ctx): Likewise.
24248 (libc_feholdexcept_setroundl_ctx): Likewise.
24249 (libc_feupdateenvl_ctx): Likewise.
24250 (libc_feholdsetroundl_ctx): Likewise.
24251 (libc_feresetroundl_ctx): Likewise.
24252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24253 (libc_feresetround_53bit_ctx): Likewise.
24254
242552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24256
24257 * locale/iso-639.def: Convert to UTF-8.
24258
242592013-06-11 Joseph Myers <joseph@codesourcery.com>
24260
24261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24262 (EXCEPTION_TESTS_double): Likewise.
24263 (EXCEPTION_TESTS_long_double): Likewise.
24264 (EXCEPTION_TESTS): Likewise.
24265 * math/libm-test.inc (test_exceptions): Only test exceptions if
24266 EXCEPTION_TESTS (FLOAT).
24267
242682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24269
24270 * benchtests/Makefile (string-bench): Add strcpy_chk and
24271 stpcpy_chk.
24272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24273 * benchtests/bench-stpcpy_chk.c: New file.
24274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24275 * benchtests/bench-strcpy_chk.c: New file.
24276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24277 code.
24278 (do_test): Likewise.
24279
242802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24281
24282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24285 with tabs where appropriate.
24286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24287 dl-procinfo.h.
24288 [PPC_PLATFORM_PPC440]: Likewise.
24289 [PPC_PLATFORM_PPC464]: Likewise.
24290 [PPC_PLATFORM_PPC476]: Likewise.
24291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24292 ppc464, and ppc476 platform strings merging from ports/
24293 dl-procinfo.h.
24294
242952013-06-11 Andreas Schwab <schwab@suse.de>
24296
24297 [BZ #14991]
24298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24299 (from_ucs4_idx): Regenerate.
24300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24308 from FROM_LOOP and TO_LOOP specific macros.
24309 (BODY): Handle combining characters.
24310 * iconvdata/BIG5HKSCS.irreversible: Update.
24311 * iconvdata/BIG5HKSCS.precomposed: New file.
24312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24313 characters.
24314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24315
243162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24317
24318 * include/sys/time.h: Fix indentation and add copyright header.
24319
24320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24321 (do_test): Likewise.
24322 * string/test-memchr.c (do_one_test): Likewise.
24323 (do_test): Likewise.
24324 * string/test-memcmp.c (do_one_test): Likewise.
24325 (do_test): Likewise.
24326 * string/test-memcpy.c (do_one_test): Likewise.
24327 (do_test): Likewise.
24328 * string/test-memmem.c (do_one_test): Likewise.
24329 (do_test): Likewise.
24330 (do_random_tests): Likewise.
24331 * string/test-memmove.c (do_one_test): Likewise.
24332 (do_test): Likewise.
24333 * string/test-memset.c (do_one_test): Likewise.
24334 (do_test): Likewise.
24335 * string/test-rawmemchr.c (do_one_test): Likewise.
24336 (do_test): Likewise.
24337 * string/test-strcasecmp.c (do_one_test): Likewise.
24338 (do_test): Likewise.
24339 * string/test-strcasestr.c (do_one_test): Likewise.
24340 (do_test): Likewise.
24341 * string/test-strcat.c (do_one_test): Likewise.
24342 (do_test): Likewise.
24343 * string/test-strchr.c (do_one_test): Likewise.
24344 (do_test): Likewise.
24345 * string/test-strcmp.c (do_one_test): Likewise.
24346 (do_test): Likewise.
24347 * string/test-strcpy.c (do_one_test): Likewise.
24348 (do_test): Likewise.
24349 * string/test-string.h: Likewise.
24350 (test_init): Likewise.
24351 * string/test-strlen.c (do_one_test): Likewise.
24352 (do_test): Likewise.
24353 * string/test-strncasecmp.c (do_one_test): Likewise.
24354 (do_test): Likewise.
24355 * string/test-strncat.c (do_one_test): Likewise.
24356 (do_test): Likewise.
24357 * string/test-strncmp.c (do_one_test): Likewise.
24358 (do_test_limit): Likewise.
24359 (do_test): Likewise.
24360 * string/test-strncpy.c (do_one_test): Likewise.
24361 (do_test): Likewise.
24362 * string/test-strnlen.c (do_one_test): Likewise.
24363 (do_test): Likewise.
24364 * string/test-strpbrk.c (do_one_test): Likewise.
24365 (do_test): Likewise.
24366 * string/test-strrchr.c (do_one_test): Likewise.
24367 (do_test): Likewise.
24368 * string/test-strspn.c (do_one_test): Likewise.
24369 (do_test): Likewise.
24370 * string/test-strstr.c (do_one_test): Likewise.
24371 (do_test): Likewise.
24372
24373 * benchtests/Makefile (string-bench): Add string benchmarks.
24374 * benchtests/bench-bcopy-ifunc.c: New file.
24375 * benchtests/bench-bcopy.c: New file.
24376 * benchtests/bench-bzero-ifunc.c: New file.
24377 * benchtests/bench-bzero.c: New file.
24378 * benchtests/bench-memccpy-ifunc.c: New file.
24379 * benchtests/bench-memccpy.c: New file.
24380 * benchtests/bench-memchr-ifunc.c: New file.
24381 * benchtests/bench-memchr.c: New file.
24382 * benchtests/bench-memcmp-ifunc.c: New file.
24383 * benchtests/bench-memcmp.c: New file.
24384 * benchtests/bench-memmem-ifunc.c: New file.
24385 * benchtests/bench-memmem.c: New file.
24386 * benchtests/bench-memmove-ifunc.c: New file.
24387 * benchtests/bench-memmove.c: New file.
24388 * benchtests/bench-mempcpy-ifunc.c: New file.
24389 * benchtests/bench-mempcpy.c: New file.
24390 * benchtests/bench-memset-ifunc.c: New file.
24391 * benchtests/bench-memset.c: New file.
24392 * benchtests/bench-rawmemchr-ifunc.c: New file.
24393 * benchtests/bench-rawmemchr.c: New file.
24394 * benchtests/bench-stpcpy-ifunc.c: New file.
24395 * benchtests/bench-stpcpy.c: New file.
24396 * benchtests/bench-stpncpy-ifunc.c: New file.
24397 * benchtests/bench-stpncpy.c: New file.
24398 * benchtests/bench-strcasecmp-ifunc.c: New file.
24399 * benchtests/bench-strcasecmp.c: New file.
24400 * benchtests/bench-strcasestr-ifunc.c: New file.
24401 * benchtests/bench-strcasestr.c: New file.
24402 * benchtests/bench-strcat-ifunc.c: New file.
24403 * benchtests/bench-strcat.c: New file.
24404 * benchtests/bench-strchr-ifunc.c: New file.
24405 * benchtests/bench-strchr.c: New file.
24406 * benchtests/bench-strchrnul-ifunc.c: New file.
24407 * benchtests/bench-strchrnul.c: New file.
24408 * benchtests/bench-strcmp-ifunc.c: New file.
24409 * benchtests/bench-strcmp.c: New file.
24410 * benchtests/bench-strcpy-ifunc.c: New file.
24411 * benchtests/bench-strcpy.c: New file.
24412 * benchtests/bench-strcspn-ifunc.c: New file.
24413 * benchtests/bench-strcspn.c: New file.
24414 * benchtests/bench-strlen-ifunc.c: New file.
24415 * benchtests/bench-strlen.c: New file.
24416 * benchtests/bench-strncasecmp-ifunc.c: New file.
24417 * benchtests/bench-strncasecmp.c: New file.
24418 * benchtests/bench-strncat-ifunc.c: New file.
24419 * benchtests/bench-strncat.c: New file.
24420 * benchtests/bench-strncmp-ifunc.c: New file.
24421 * benchtests/bench-strncmp.c: New file.
24422 * benchtests/bench-strncpy-ifunc.c: New file.
24423 * benchtests/bench-strncpy.c: New file.
24424 * benchtests/bench-strnlen-ifunc.c: New file.
24425 * benchtests/bench-strnlen.c: New file.
24426 * benchtests/bench-strpbrk-ifunc.c: New file.
24427 * benchtests/bench-strpbrk.c: New file.
24428 * benchtests/bench-strrchr-ifunc.c: New file.
24429 * benchtests/bench-strrchr.c: New file.
24430 * benchtests/bench-strspn-ifunc.c: New file.
24431 * benchtests/bench-strspn.c: New file.
24432 * benchtests/bench-strstr-ifunc.c: New file.
24433 * benchtests/bench-strstr.c: New file.
24434
24435 * benchtests/Makefile: Disable parallel execution of targets.
24436 (string-bench): Add memcpy.
24437 (benchset): New variable to store a list of benchmark sets.
24438 (bench-func): Renamed from bench.
24439 (bench-set): New target.
24440 (bench): Depend on bench-func and bench-set.
24441 * benchtests/README: Add section on benchmark sets.
24442 * benchtests/bench-memcpy-ifunc.c: New file.
24443 * benchtests/bench-memcpy.c: New file.
24444 * benchtests/bench-string.h: New file.
24445
244462013-06-11 Andreas Schwab <schwab@suse.de>
24447
24448 [BZ #15577]
24449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24451 values in the triple.
24452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24453 terminator in the group key.
24454
244552013-06-11 Andreas Jaeger <aj@suse.de>
24456
24457 * po/zh_TW.po: Update Chinese (traditional) translation from
24458 translation project.
24459
244602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24461
24462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24466 (clock_getcpuclockid): Likewise.
24467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24468 Add weak_alias and libc_hidden_def.
24469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24470 * rt/clock_gettime.c (clock_gettime): Rename to
24471 __clock_gettime. Add weak_alias and libc_hidden_def.
24472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24477 Likewise.
24478 * rt/clock_settime.c (clock_settime): Rename to
24479 __clock_settime. Add weak_alias and libc_hidden_def.
24480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24481
244822013-06-10 Joseph Myers <joseph@codesourcery.com>
24483
24484 * mach/err_boot.sub: Remove trailing whitespace.
24485 * mach/err_ipc.sub: Likewise.
24486 * mach/err_mach.sub: Likewise.
24487
24488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24489 (ROUNDING_TESTS_double): Likewise.
24490 (ROUNDING_TESTS_long_double): Likewise.
24491 (ROUNDING_TESTS): Likewise.
24492 * math/libm-test.inc: Include <math-tests.h>.
24493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24497
244982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24499
24500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24501 of assigning.
24502
245032013-06-08 Joseph Myers <joseph@codesourcery.com>
24504
24505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24506 otherwise empty TRANS lines.
24507 * sysdeps/gnu/errlist.c: Regenerated.
24508
24509 * catgets/gencat.c (error_print): Use (void) in function
24510 definition.
24511 * crypt/crypt_util.c (__init_des): Likewise.
24512 * crypt/speeds.c (Stop): Likewise.
24513 (main): Likewise.
24514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24515 * inet/ruserpass.c (token): Likewise.
24516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24517 * intl/localealias.c (extend_alias_table): Likewise.
24518 * intl/plural-exp.c (init_germanic_plural): Likewise.
24519 * libio/fcloseall.c (__fcloseall): Likewise.
24520 * libio/genops.c (_IO_flush_all): Likewise.
24521 (_IO_flush_all_linebuffered): Likewise.
24522 (_IO_cleanup): Likewise.
24523 (_IO_iter_begin): Likewise.
24524 (_IO_iter_end): Likewise.
24525 (_IO_list_lock): Likewise.
24526 (_IO_list_unlock): Likewise.
24527 (_IO_list_resetlock): Likewise.
24528 * libio/getchar.c (getchar): Likewise.
24529 * libio/getchar_u.c (getchar_unlocked): Likewise.
24530 * libio/getwchar.c (getwchar): Likewise.
24531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24533 * login/getpt.c (__getpt): Likewise.
24534 * login/tst-utmp.c (main): Likewise.
24535 * malloc/hooks.c (__malloc_check_init): Likewise.
24536 * malloc/malloc.c (__malloc_stats): Likewise.
24537 * malloc/mtrace.c (tr_break): Likewise.
24538 (mtrace): Likewise.
24539 (muntrace): Likewise.
24540 * misc/fstab.c (endfsent): Likewise.
24541 * misc/getclktck.c (__getclktck): Likewise.
24542 * misc/getdtsz.c (__getdtablesize): Likewise.
24543 * misc/gethostid.c (gethostid): Likewise.
24544 * misc/getpagesize.c (__getpagesize): Likewise.
24545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24546 (__get_nprocs): Likewise.
24547 (__get_phys_pages): Likewise.
24548 (__get_avphys_pages): Likewise.
24549 * misc/getttyent.c (getttyent): Likewise.
24550 (setttyent): Likewise.
24551 (endttyent): Likewise.
24552 * misc/getusershell.c (getusershell): Likewise.
24553 (endusershell): Likewise.
24554 (setusershell): Likewise.
24555 (initshells): Likewise.
24556 * misc/hsearch.c (__hdestroy): Likewise.
24557 * misc/sync.c (sync): Likewise.
24558 * misc/syslog.c (closelog_internal): Likewise.
24559 (closelog): Likewise.
24560 * misc/ttyslot.c (ttyslot): Likewise.
24561 * misc/vhangup.c (vhangup): Likewise.
24562 * posix/fork.c (__fork): Likewise.
24563 * posix/getegid.c (__getegid): Likewise.
24564 * posix/geteuid.c (__geteuid): Likewise.
24565 * posix/getgid.c (__getgid): Likewise.
24566 * posix/getpid.c (__getpid): Likewise.
24567 * posix/getppid.c (__getppid): Likewise.
24568 * posix/getuid.c (__getuid): Likewise.
24569 * posix/pause.c (pause): Likewise.
24570 * posix/setpgrp.c (setpgrp): Likewise.
24571 * posix/setsid.c (__setsid): Likewise.
24572 * posix/test-vfork.c (noop): Likewise.
24573 * resolv/gethnamaddr.c (_endhtent): Likewise.
24574 (_gethtent): Likewise.
24575 (ht_endhostent): Likewise.
24576 (gethostent): Likewise.
24577 (dns_service): Likewise.
24578 * stdlib/drand48.c (drand48): Likewise.
24579 * stdlib/lrand48.c (lrand48): Likewise.
24580 * stdlib/mrand48.c (mrand48): Likewise.
24581 * stdlib/rand.c (rand): Likewise.
24582 * stdlib/random.c (__random): Likewise.
24583 * stdlib/setenv.c (clearenv): Likewise.
24584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24588 (__get_nprocs): Likewise.
24589 (__get_phys_pages): Likewise.
24590 (__get_avphys_pages): Likewise.
24591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24603 * sysdeps/posix/clock.c (clock): Likewise.
24604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24610 (__get_nprocs_conf): Likewise.
24611 (__get_phys_pages): Likewise.
24612 (__get_avphys_pages): Likewise.
24613 * time/clock.c (clock): Likewise.
24614 * time/tzset.c (__tzname_max): Likewise.
24615
246162013-06-07 Joseph Myers <joseph@codesourcery.com>
24617
24618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24619 (__bswap_32): Do not use "register".
24620 * crypt/crypt.c (_ufc_doit_r): Likewise.
24621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24623 * gmon/gmon.c (__monstartup): Likewise.
24624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24625 * hurd/hurdmalloc.c (more_memory): Likewise.
24626 (malloc): Likewise.
24627 (free): Likewise.
24628 (realloc): Likewise.
24629 (malloc_fork_prepare): Likewise.
24630 (malloc_fork_parent): Likewise.
24631 (malloc_fork_child): Likewise.
24632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24633 (_svcauth_des): Likewise.
24634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24635 * inet/inet_net.c (inet_network): Likewise.
24636 * inet/inet_netof.c (inet_netof): Likewise.
24637 * inet/rcmd.c (__validuser2_sa): Likewise.
24638 * io/fts.c (fts_open): Likewise.
24639 (fts_load): Likewise.
24640 (fts_close): Likewise.
24641 (fts_read): Likewise.
24642 (fts_children): Likewise.
24643 (fts_build): Likewise.
24644 (fts_stat): Likewise.
24645 (fts_sort): Likewise.
24646 (fts_alloc): Likewise.
24647 (fts_lfree): Likewise.
24648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24649 (_IO_file_xsgetn): Likewise.
24650 (_IO_file_xsgetn_mmap): Likewise.
24651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24652 (_IO_cookie_write): Likewise.
24653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24656 * malloc/obstack.c (_obstack_begin): Likewise.
24657 (_obstack_begin_1): Likewise.
24658 (_obstack_newchunk): Likewise.
24659 (_obstack_allocated_p): Likewise.
24660 (obstack_free): Likewise.
24661 (_obstack_memory_used): Likewise.
24662 * misc/getttyent.c (getttynam): Likewise.
24663 (getttyent): Likewise.
24664 (skip): Likewise.
24665 (value): Likewise.
24666 * misc/getusershell.c (initshells): Likewise.
24667 * misc/syslog.c (__vsyslog_chk): Likewise.
24668 * misc/ttyslot.c (ttyslot): Likewise.
24669 * nis/nis_hash.c (__nis_hash): Likewise.
24670 * posix/fnmatch_loop.c (FCT): Likewise.
24671 * posix/getconf.c (print_all): Likewise.
24672 (main): Likewise.
24673 * posix/getopt.c (exchange): Likewise.
24674 * posix/glob.c (globfree): Likewise.
24675 (prefix_array): Likewise.
24676 (__glob_pattern_type): Likewise.
24677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24678 (NS_GET32): Likewise.
24679 (NS_PUT16): Likewise.
24680 (NS_PUT32): Likewise.
24681 * resolv/gethnamaddr.c (getanswer): Likewise.
24682 (gethostbyname2): Likewise.
24683 (gethostbyaddr): Likewise.
24684 (_gethtent): Likewise.
24685 (_gethtbyname2): Likewise.
24686 (_gethtbyaddr): Likewise.
24687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24689 * resolv/res_init.c (__res_vinit): Likewise.
24690 (net_mask): Likewise.
24691 * resolv/res_mkquery.c (outchar): Likewise.
24692 (PRINT): Likewise.
24693 * stdio-common/printf_fp.c (outchar): Likewise.
24694 (PRINT): Likewise.
24695 * stdio-common/printf_fphex.c (outchar): Likewise.
24696 (PRINT): Likewise.
24697 * stdio-common/printf_size.c (outchar): Likewise.
24698 (PRINT): Likewise.
24699 * stdio-common/test_rdwr.c (main): Likewise.
24700 * stdio-common/tfformat.c (matches): Likewise.
24701 * stdio-common/vfprintf.c (outchar): Likewise.
24702 (printf_unknown): Likewise.
24703 (buffered_vfprintf): Likewise.
24704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24706 (ReadFile): Likewise.
24707 * stdlib/qsort.c (SWAP): Likewise.
24708 (_quicksort): Likewise.
24709 * stdlib/setenv.c (__add_to_environ): Likewise.
24710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24711 * stdlib/strtol_l.c (__strtol_l): Likewise.
24712 * stdlib/tst-strtod.c (main): Likewise.
24713 * stdlib/tst-strtol.c (main): Likewise.
24714 * stdlib/tst-strtoll.c (main): Likewise.
24715 * string/bits/string2.h (__strcmp_cc): Likewise.
24716 (__strcmp_cg): Likewise.
24717 (__strcspn_c1): Likewise.
24718 (__strcspn_c2): Likewise.
24719 (__strcspn_c3): Likewise.
24720 (__strspn_c1): Likewise.
24721 (__strspn_c2): Likewise.
24722 (__strspn_c3): Likewise.
24723 (__strsep_1c): Likewise.
24724 (__strsep_2c): Likewise.
24725 (__strsep_3c): Likewise.
24726 * string/memccpy.c (__memccpy): Likewise.
24727 * string/stpcpy.c (__stpcpy): Likewise.
24728 * string/strcmp.c (strcmp): Likewise.
24729 * string/strrchr.c (strrchr): Likewise.
24730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24731 Likewise.
24732 * sysdeps/mach/hurd/getcwd.c
24733 (_hurd_canonicalize_directory_name_internal): Likewise.
24734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24738 Likewise, in both definitions.
24739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24740 definitions.
24741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24742 64] (__bswap_64): Likewise.
24743 * time/test_time.c (main): Likewise.
24744 * time/tzfile.c (__tzfile_read): Likewise.
24745 (__tzfile_compute): Likewise.
24746 * time/tzset.c (__tzset_parse_tz): Likewise.
24747 (tzset_internal): Likewise.
24748 (compute_change): Likewise.
24749 * wcsmbs/wcscat.c (__wcscat): Likewise.
24750 * wcsmbs/wcschr.c (wcschr): Likewise.
24751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24759 * wcsmbs/wmemset.c (wmemset): Likewise.
24760
247612013-06-06 Joseph Myers <joseph@codesourcery.com>
24762
24763 * scripts/config.guess: Update to version 2013-05-16.
24764 * scripts/config.sub: Update to version 2013-04-24.
24765 * scripts/install-sh: Update to version 2011-11-20.07.
24766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24768
247692013-06-06 Ondřej Bílka <neleai@seznam.cz>
24770
24771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24772 * elf/sln.c: Likewise.
24773 * hurd/hurd/ioctl.h: Likewise.
24774 * hurd/hurdmalloc.c: Likewise.
24775 * hurd/xattr.c: Likewise.
24776 * include/shlib-compat.h: Likewise.
24777 * inet/ruserpass.c: Likewise.
24778 * libio/iofgets_u.c: Likewise.
24779 * libio/iofgetws_u.c: Likewise.
24780 * locale/programs/ld-identification.c: Likewise.
24781 * locale/programs/ld-time.c: Likewise.
24782 * mach/msg-destroy.c: Likewise.
24783 * nss/nss_files/files-netgrp.c: Likewise.
24784 * resolv/res_data.c: Likewise.
24785 * soft-fp/op-1.h: Likewise.
24786 * soft-fp/op-2.h: Likewise.
24787 * soft-fp/op-4.h: Likewise.
24788 * soft-fp/op-common.h: Likewise.
24789 * stdio-common/printf_fphex.c: Likewise.
24790 * stdlib/strtod_l.c: Likewise.
24791 * sunrpc/rpc/clnt.h: Likewise.
24792 * sysdeps/generic/framestate.c: Likewise.
24793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24794 * sysdeps/i386/bsd-setjmp.S: Likewise.
24795 * sysdeps/i386/__longjmp.S: Likewise.
24796 * sysdeps/i386/setjmp.S: Likewise.
24797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24815 * sysdeps/ieee754/support.c: Likewise.
24816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24834
248352013-06-05 Ondřej Bílka <neleai@seznam.cz>
24836
24837 * posix/transbug.c: Remove executable mode.
24838
248392013-06-05 Joseph Myers <joseph@codesourcery.com>
24840
24841 * crypt/speeds.c: Remove trailing whitespace.
24842 * dlfcn/default.c: Likewise.
24843 * elf/ifuncdep2.c: Likewise.
24844 * elf/ifuncmain1.c: Likewise.
24845 * elf/ifuncmain1vis.c: Likewise.
24846 * elf/testobj.h: Likewise.
24847 * elf/tst-stackguard1.c: Likewise.
24848 * gmon/sys/gmon.h: Likewise.
24849 * hurd/hurdmsg.c: Likewise.
24850 * hurd/new-fd.c: Likewise.
24851 * hurd/ports-get.c: Likewise.
24852 * iconvdata/ibm1008_420.c: Likewise.
24853 * inet/tst-getni1.c: Likewise.
24854 * inet/tst-getni2.c: Likewise.
24855 * libio/ioungetc.c: Likewise.
24856 * libio/wfiledoalloc.c: Likewise.
24857 * manual/libm-err-tab.pl: Likewise.
24858 * math/w_dremf.c: Likewise.
24859 * misc/ftruncate.c: Likewise.
24860 * posix/bug-glob2.c: Likewise.
24861 * posix/tst-pcre.c: Likewise.
24862 * posix/wait4.c: Likewise.
24863 * resolv/README: Likewise.
24864 * resolv/res_debug.h: Likewise.
24865 * resolv/tst-inet_ntop.c: Likewise.
24866 * setjmp/bug269-setjmp.c: Likewise.
24867 * soft-fp/extended.h: Likewise.
24868 * soft-fp/op-1.h: Likewise.
24869 * soft-fp/op-2.h: Likewise.
24870 * soft-fp/op-4.h: Likewise.
24871 * soft-fp/op-8.h: Likewise.
24872 * soft-fp/testit.c: Likewise.
24873 * stdio-common/bug16.c: Likewise.
24874 * stdlib/random.c: Likewise.
24875 * sunrpc/rpcsvc/rquota.x: Likewise.
24876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24905 * sysdeps/ieee754/s_lib_version.c: Likewise.
24906 * sysdeps/mach/hurd/check_fds.c: Likewise.
24907 * sysdeps/mach/hurd/getsockname.c: Likewise.
24908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24910 * sysdeps/powerpc/bits/link.h: Likewise.
24911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24975 * sysdeps/powerpc/sysdep.h: Likewise.
24976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24978 * sysdeps/sh/dl-trampoline.S: Likewise.
24979 * sysdeps/sh/memset.S: Likewise.
24980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24981 * sysdeps/sh/strlen.S: Likewise.
24982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24985 * sysdeps/sparc/sparc32/rem.S: Likewise.
24986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24990 * sysdeps/sparc/sparc32/urem.S: Likewise.
24991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24999 * sysdeps/unix/bsd/times.c: Likewise.
25000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25031 * sysdeps/x86_64/strcspn.S: Likewise.
25032
250332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25034
25035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25036 generated file. Regenerate properly from gen-translit.pl.
25037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25038 locale/C-translit.h.
25039
250402013-06-05 Andreas Schwab <schwab@suse.de>
25041
25042 [BZ #15100]
25043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25044 week as 6 instead of -1.
25045 * time/tst-strptime.c (day_tests): Add test case.
25046
250472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25048
25049 * sysdeps/generic/math_private.h
25050 (libc_feholdexcept_setround_53bit): Replace with
25051 libc_feholdsetround_53bit.
25052 (libc_feupdateenv_53bit): Replace with
25053 libc_feresetround_53bit.
25054 (SET_RESTORE_ROUND_53BIT): Adjust.
25055
250562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25057
25058 * string/test-strchrnul.c: Add copyright header.
25059
25060 * posix/tst-getaddrinfo4.c: Increase test timeout.
25061
250622013-06-03 Carlos O'Donell <carlos@redhat.com>
25063
25064 [BZ #15536]
25065 * math/libm-test.inc (MAX_EXP): Remove
25066 (MIN_EXP): Define.
25067 (ulp): Use MIN_EXP - MANT_DIG.
25068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25069
250702013-05-31 Carlos O'Donell <carlos@redhat.com>
25071
25072 * po/be.po: Revert last change.
25073 * po/zh_CN.po: Likewise.
25074 * po/header.pot: Likewise.
25075
250762013-05-31 Joseph Myers <joseph@codesourcery.com>
25077
25078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25079 link-libc-deps to empty as target-specific variable.
25080 * Makerules (link-libc-args): New variable.
25081 (libc-for-link): Likewise.
25082 (link-libc-deps): Likewise.
25083 (lib%.so): Depend on $(link-libc-deps). Link with
25084 $(link-libc-args).
25085 (build-module): Link with $(link-libc-args).
25086 (build-module-asneeded): Likewise.
25087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25088 list of objects.
25089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25090 target-specific variable.
25091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25094 libc.
25095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25096 libc and ld.so.
25097 ($(objpfx)libpcprofile.so): Likewise.
25098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25099 libc_nonshared.a.
25100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25103 $(link-libc-deps).
25104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25106 * login/Makefile ($(objpfx)libutil.so): Likewise.
25107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25108 * math/Makefile ($(objpfx)libm.so): Likewise.
25109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25111 variable instead of depending directly on libc.
25112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25114 $(link-libc-deps).
25115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25116 libc.
25117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25119 ($(objpfx)libanl.so): Likewise.
25120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25121 ld.so.
25122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25123 $(link-libc-deps).
25124 * sysdeps/i386/fpu/Makefile: Remove file.
25125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25126 ($(objpfx)libm.so): Remove dependency on ld.so.
25127
251282013-05-30 Patsy Franklin <pfrankli@redhat.com>
25129
25130 [BZ # 15553]
25131 * nis/yp_xdr.c (XDRMAXNAME): Define.
25132 (XDRMAXRECORD): Define.
25133 (xdr_domainname): Use XDRMAXNAME.
25134 (xdr_mapname): Likewise.
25135 (xdr_peername): Likewise.
25136 (xdr_keydat): Use XDRMAXRECORD.
25137 (xdr_valdat): Likewise.
25138
251392013-05-30 Jeff Law <law@redhat.com>
25140
25141 [BZ #14256]
25142 * manual/errno.texi (ESTALE): Update to account for more than
25143 just NFS file systems.
25144 * sysdeps/gnu/errlist.c: Regenerated.
25145
251462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25147
25148 [BZ #15465]
25149 * elf/Makefile (tests): Add tst-null-argv.
25150 (modules-names): Add tst-null-argv-lib.
25151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25152 (tst-null-argv-ENV): Set environment for tst-null-argv.
25153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25154 (RTLD_PROGNAME): New macro.
25155 * elf/tst-null-argv.c: New test case.
25156 * elf/tst-null-argv-lib.c: Library for test case.
25157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25161 * elf/dl-init.c (call_init): Likewise.
25162 (_dl_init): Likewise.
25163 * elf/dl-load.c (print_search_path): Likewise.
25164 (_dl_map_object): Likewise.
25165 * elf/dl-lookup.c (do_lookup_x): Likewise.
25166 (add_dependency): Likewise.
25167 (_dl_lookup_symbol_x): Likewise.
25168 (_dl_debug_bindings): Likewise.
25169 * elf/dl-open.c (_dl_show_scope): Likewise.
25170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25171 * elf/dl-version.c (match_symbol): Likewise.
25172 (_dl_check_map_versions): Likewise.
25173 * elf/rtld.c (dl_main): Likewise.
25174 (print_unresolved): Use RTLD_PROGNAME.
25175 (print_missing_version): Likewise.
25176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25177 (elf_machine_rela): Likewise.
25178 * sysdeps/powerpc/powerpc32/dl-machine.c
25179 (__process_machine_rela): Likewise.
25180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25181 Likewise.
25182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25183 Likewise.
25184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25185 Likewise.
25186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25188 Likewise.
25189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25190 Likewise.
25191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25192
251932013-05-28 Carlos O'Donell <carlos@redhat.com>
25194
25195 * po/be.po: Add descriptive title.
25196 * po/zh_CN.po: Likewise.
25197 * po/header.pot: Likewise.
25198
251992013-05-28 Mike Frysinger <vapier@gentoo.org>
25200
25201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25202 error message.
25203 (enlarge_archive): Likewise.
25204
252052013-05-28 Ben North <ben@redfrontdoor.org>
25206
25207 * manual/arith.texi (frexp): It is the magnitude of the return
25208 value which lies in [0.5, 1), not the return value itself.
25209
252102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25211
25212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25213
252142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25215
25216 * stdio-common/bug26.c (main): Correct fscanf template.
25217
25218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25219 declare _dl_skip_args.
25220
25221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25222 Don't declare.
25223
25224 * manual/platform.texi: Add missing @end deftypefun.
25225
252262013-05-24 Joseph Myers <joseph@codesourcery.com>
25227
25228 [BZ #15529]
25229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25230 bit of mantissa of 2^16382.
25231 * math/libm-test.inc (hypot_test_data): Add more tests.
25232
25233 * math/libm-test.inc: Add drem and pow10 to list of tested
25234 functions.
25235 (pow10_test): New function.
25236 (drem_test): Likewise.
25237 (drem_test_tonearest): Likewise.
25238 (drem_test_towardzero): Likewise.
25239 (drem_test_downward): Likewise.
25240 (drem_test_upward): Likewise.
25241 (main): Call the new functions.
25242
25243 * math/libm-test.inc (finite_test_data): Remove.
25244 (finite_test): Run tests from isfinite_test_data.
25245 (gamma_test_data): Remove.
25246 (gamma_test): Run tests from lgamma_test_data.
25247 * sysdeps/i386/fpu/libm-test-ulps: Update.
25248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25249
252502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25251
25252 * manual/platform.texi: Add PowerPC PPR function set documentation.
25253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25254 implementation.
25255
252562013-05-24 Carlos O'Donell <carlos@redhat.com>
25257
25258 * math/libm-test.inc (MAX_EXP): Define.
25259 (ULPDIFF): Define.
25260 (ulp): New function.
25261 (check_float_internal): Use ULPDIFF.
25262 (cpow_test): Disable failing test.
25263 (check_ulp): Test ulp() implemetnation.
25264 (main): Call check_ulp before starting tests.
25265
252662013-05-24 Joseph Myers <joseph@codesourcery.com>
25267
25268 * math/gen-libm-test.pl (generate_testfile): Do not handle
25269 START_DATA and END_DATA.
25270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25271 END_DATA.
25272 (acos_tonearest_test_data): Likewise.
25273 (acos_towardzero_test_data): Likewise.
25274 (acos_downward_test_data): Likewise.
25275 (acos_upward_test_data): Likewise.
25276 (acosh_test_data): Likewise.
25277 (asin_test_data): Likewise.
25278 (asin_tonearest_test_data): Likewise.
25279 (asin_towardzero_test_data): Likewise.
25280 (asin_downward_test_data): Likewise.
25281 (asin_upward_test_data): Likewise.
25282 (asinh_test_data): Likewise.
25283 (atan_test_data): Likewise.
25284 (atanh_test_data): Likewise.
25285 (atan2_test_data): Likewise.
25286 (cabs_test_data): Likewise.
25287 (cacos_test_data): Likewise.
25288 (cacosh_test_data): Likewise.
25289 (carg_test_data): Likewise.
25290 (casin_test_data): Likewise.
25291 (casinh_test_data): Likewise.
25292 (catan_test_data): Likewise.
25293 (catanh_test_data): Likewise.
25294 (cbrt_test_data): Likewise.
25295 (ccos_test_data): Likewise.
25296 (ccosh_test_data): Likewise.
25297 (ceil_test_data): Likewise.
25298 (cexp_test_data): Likewise.
25299 (cimag_test_data): Likewise.
25300 (clog_test_data): Likewise.
25301 (clog10_test_data): Likewise.
25302 (conj_test_data): Likewise.
25303 (copysign_test_data): Likewise.
25304 (cos_test_data): Likewise.
25305 (cos_tonearest_test_data): Likewise.
25306 (cos_towardzero_test_data): Likewise.
25307 (cos_downward_test_data): Likewise.
25308 (cos_upward_test_data): Likewise.
25309 (cosh_test_data): Likewise.
25310 (cosh_tonearest_test_data): Likewise.
25311 (cosh_towardzero_test_data): Likewise.
25312 (cosh_downward_test_data): Likewise.
25313 (cosh_upward_test_data): Likewise.
25314 (cpow_test_data): Likewise.
25315 (cproj_test_data): Likewise.
25316 (creal_test_data): Likewise.
25317 (csin_test_data): Likewise.
25318 (csinh_test_data): Likewise.
25319 (csqrt_test_data): Likewise.
25320 (ctan_test_data): Likewise.
25321 (ctan_tonearest_test_data): Likewise.
25322 (ctan_towardzero_test_data): Likewise.
25323 (ctan_downward_test_data): Likewise.
25324 (ctan_upward_test_data): Likewise.
25325 (ctanh_test_data): Likewise.
25326 (ctanh_tonearest_test_data): Likewise.
25327 (ctanh_towardzero_test_data): Likewise.
25328 (ctanh_downward_test_data): Likewise.
25329 (ctanh_upward_test_data): Likewise.
25330 (erf_test_data): Likewise.
25331 (erfc_test_data): Likewise.
25332 (exp_test_data): Likewise.
25333 (exp_tonearest_test_data): Likewise.
25334 (exp_towardzero_test_data): Likewise.
25335 (exp_downward_test_data): Likewise.
25336 (exp_upward_test_data): Likewise.
25337 (exp10_test_data): Likewise.
25338 (exp2_test_data): Likewise.
25339 (expm1_test_data): Likewise.
25340 (fabs_test_data): Likewise.
25341 (fdim_test_data): Likewise.
25342 (finite_test_data): Likewise.
25343 (floor_test_data): Likewise.
25344 (fma_test_data): Likewise.
25345 (fma_towardzero_test_data): Likewise.
25346 (fma_downward_test_data): Likewise.
25347 (fma_upward_test_data): Likewise.
25348 (fmax_test_data): Likewise.
25349 (fmin_test_data): Likewise.
25350 (fmod_test_data): Likewise.
25351 (fpclassify_test_data): Likewise.
25352 (frexp_test_data): Likewise.
25353 (gamma_test_data): Likewise.
25354 (hypot_test_data): Likewise.
25355 (ilogb_test_data): Likewise.
25356 (isfinite_test_data): Likewise.
25357 (isgreater_test_data): Likewise.
25358 (isgreaterequal_test_data): Likewise.
25359 (isinf_test_data): Likewise.
25360 (isless_test_data): Likewise.
25361 (islessequal_test_data): Likewise.
25362 (islessgreater_test_data): Likewise.
25363 (isnan_test_data): Likewise.
25364 (isnormal_test_data): Likewise.
25365 (issignaling_test_data): Likewise.
25366 (isunordered_test_data): Likewise.
25367 (j0_test_data): Likewise.
25368 (j1_test_data): Likewise.
25369 (jn_test_data): Likewise.
25370 (ldexp_test_data): Likewise.
25371 (lgamma_test_data): Likewise.
25372 (lrint_test_data): Likewise.
25373 (lrint_tonearest_test_data): Likewise.
25374 (lrint_towardzero_test_data): Likewise.
25375 (lrint_downward_test_data): Likewise.
25376 (lrint_upward_test_data): Likewise.
25377 (llrint_test_data): Likewise.
25378 (llrint_tonearest_test_data): Likewise.
25379 (llrint_towardzero_test_data): Likewise.
25380 (llrint_downward_test_data): Likewise.
25381 (llrint_upward_test_data): Likewise.
25382 (log_test_data): Likewise.
25383 (log10_test_data): Likewise.
25384 (log1p_test_data): Likewise.
25385 (log2_test_data): Likewise.
25386 (logb_test_data): Likewise.
25387 (logb_downward_test_data): Likewise.
25388 (lround_test_data): Likewise.
25389 (llround_test_data): Likewise.
25390 (modf_test_data): Likewise.
25391 (nearbyint_test_data): Likewise.
25392 (nextafter_test_data): Likewise.
25393 (nexttoward_test_data): Likewise.
25394 (pow_test_data): Likewise.
25395 (pow_tonearest_test_data): Likewise.
25396 (pow_towardzero_test_data): Likewise.
25397 (pow_downward_test_data): Likewise.
25398 (pow_upward_test_data): Likewise.
25399 (remainder_test_data): Likewise.
25400 (remainder_tonearest_test_data): Likewise.
25401 (remainder_towardzero_test_data): Likewise.
25402 (remainder_downward_test_data): Likewise.
25403 (remainder_upward_test_data): Likewise.
25404 (remquo_test_data): Likewise.
25405 (rint_test_data): Likewise.
25406 (rint_tonearest_test_data): Likewise.
25407 (rint_towardzero_test_data): Likewise.
25408 (rint_downward_test_data): Likewise.
25409 (rint_upward_test_data): Likewise.
25410 (round_test_data): Likewise.
25411 (scalb_test_data): Likewise.
25412 (scalbn_test_data): Likewise.
25413 (scalbln_test_data): Likewise.
25414 (signbit_test_data): Likewise.
25415 (sin_test_data): Likewise.
25416 (sin_tonearest_test_data): Likewise.
25417 (sin_towardzero_test_data): Likewise.
25418 (sin_downward_test_data): Likewise.
25419 (sin_upward_test_data): Likewise.
25420 (sincos_test_data): Likewise.
25421 (sinh_test_data): Likewise.
25422 (sinh_tonearest_test_data): Likewise.
25423 (sinh_towardzero_test_data): Likewise.
25424 (sinh_downward_test_data): Likewise.
25425 (sinh_upward_test_data): Likewise.
25426 (sqrt_test_data): Likewise.
25427 (tan_test_data): Likewise.
25428 (tan_tonearest_test_data): Likewise.
25429 (tan_towardzero_test_data): Likewise.
25430 (tan_downward_test_data): Likewise.
25431 (tan_upward_test_data): Likewise.
25432 (tanh_test_data): Likewise.
25433 (tgamma_test_data): Likewise.
25434 (trunc_test_data): Likewise.
25435 (y0_test_data): Likewise.
25436 (y1_test_data): Likewise.
25437 (yn_test_data): Likewise.
25438 (significand_test_data): Likewise.
25439
25440 * math/gen-libm-test.pl (@functions): Remove variable.
25441 (generate_testfile): Don't handle START and END lines.
25442 * math/libm-test.inc (START): New macro.
25443 (END): Likewise.
25444 (END_COMPLEX): Likewise.
25445 (acos_test): Use END macro without arguments.
25446 (acos_test_tonearest): Likewise.
25447 (acos_test_towardzero): Likewise.
25448 (acos_test_downward): Likewise.
25449 (acos_test_upward): Likewise.
25450 (acosh_test): Likewise.
25451 (asin_test): Likewise.
25452 (asin_test_tonearest): Likewise.
25453 (asin_test_towardzero): Likewise.
25454 (asin_test_downward): Likewise.
25455 (asin_test_upward): Likewise.
25456 (asinh_test): Likewise.
25457 (atan_test): Likewise.
25458 (atanh_test): Likewise.
25459 (atan2_test): Likewise.
25460 (cabs_test): Likewise.
25461 (cacos_test): Use END_COMPLEX macro without arguments.
25462 (cacosh_test): Likewise.
25463 (carg_test): Use END macro without arguments.
25464 (casin_test): Use END_COMPLEX macro without arguments.
25465 (casinh_test): Likewise.
25466 (catan_test): Likewise.
25467 (catanh_test): Likewise.
25468 (cbrt_test): Use END macro without arguments.
25469 (ccos_test): Use END_COMPLEX macro without arguments.
25470 (ccosh_test): Likewise.
25471 (ceil_test): Use END macro without arguments.
25472 (cexp_test): Use END_COMPLEX macro without arguments.
25473 (cimag_test): Use END macro without arguments.
25474 (clog_test): Use END_COMPLEX macro without arguments.
25475 (clog10_test): Likewise.
25476 (conj_test): Likewise.
25477 (copysign_test): Use END macro without arguments.
25478 (cos_test): Likewise.
25479 (cos_test_tonearest): Likewise.
25480 (cos_test_towardzero): Likewise.
25481 (cos_test_downward): Likewise.
25482 (cos_test_upward): Likewise.
25483 (cosh_test): Likewise.
25484 (cosh_test_tonearest): Likewise.
25485 (cosh_test_towardzero): Likewise.
25486 (cosh_test_downward): Likewise.
25487 (cosh_test_upward): Likewise.
25488 (cpow_test): Use END_COMPLEX macro without arguments.
25489 (cproj_test): Likewise.
25490 (creal_test): Use END macro without arguments.
25491 (csin_test): Use END_COMPLEX macro without arguments.
25492 (csinh_test): Likewise.
25493 (csqrt_test): Likewise.
25494 (ctan_test): Likewise.
25495 (ctan_test_tonearest): Likewise.
25496 (ctan_test_towardzero): Likewise.
25497 (ctan_test_downward): Likewise.
25498 (ctan_test_upward): Likewise.
25499 (ctanh_test): Likewise.
25500 (ctanh_test_tonearest): Likewise.
25501 (ctanh_test_towardzero): Likewise.
25502 (ctanh_test_downward): Likewise.
25503 (ctanh_test_upward): Likewise.
25504 (erf_test): Use END macro without arguments.
25505 (erfc_test): Likewise.
25506 (exp_test): Likewise.
25507 (exp_test_tonearest): Likewise.
25508 (exp_test_towardzero): Likewise.
25509 (exp_test_downward): Likewise.
25510 (exp_test_upward): Likewise.
25511 (exp10_test): Likewise.
25512 (exp2_test): Likewise.
25513 (expm1_test): Likewise.
25514 (fabs_test): Likewise.
25515 (fdim_test): Likewise.
25516 (finite_test): Likewise.
25517 (floor_test): Likewise.
25518 (fma_test): Likewise.
25519 (fma_test_towardzero): Likewise.
25520 (fma_test_downward): Likewise.
25521 (fma_test_upward): Likewise.
25522 (fmax_test): Likewise.
25523 (fmin_test): Likewise.
25524 (fmod_test): Likewise.
25525 (fpclassify_test): Likewise.
25526 (frexp_test): Likewise.
25527 (gamma_test): Likewise.
25528 (hypot_test): Likewise.
25529 (ilogb_test): Likewise.
25530 (isfinite_test): Likewise.
25531 (isgreater_test): Likewise.
25532 (isgreaterequal_test): Likewise.
25533 (isinf_test): Likewise.
25534 (isless_test): Likewise.
25535 (islessequal_test): Likewise.
25536 (islessgreater_test): Likewise.
25537 (isnan_test): Likewise.
25538 (isnormal_test): Likewise.
25539 (issignaling_test): Likewise.
25540 (isunordered_test): Likewise.
25541 (j0_test): Likewise.
25542 (j1_test): Likewise.
25543 (jn_test): Likewise.
25544 (ldexp_test): Likewise.
25545 (lgamma_test): Likewise.
25546 (lrint_test): Likewise.
25547 (lrint_test_tonearest): Likewise.
25548 (lrint_test_towardzero): Likewise.
25549 (lrint_test_downward): Likewise.
25550 (lrint_test_upward): Likewise.
25551 (llrint_test): Likewise.
25552 (llrint_test_tonearest): Likewise.
25553 (llrint_test_towardzero): Likewise.
25554 (llrint_test_downward): Likewise.
25555 (llrint_test_upward): Likewise.
25556 (log_test): Likewise.
25557 (log10_test): Likewise.
25558 (log1p_test): Likewise.
25559 (log2_test): Likewise.
25560 (logb_test): Likewise.
25561 (logb_test_downward): Likewise.
25562 (lround_test): Likewise.
25563 (llround_test): Likewise.
25564 (modf_test): Likewise.
25565 (nearbyint_test): Likewise.
25566 (nextafter_test): Likewise.
25567 (nexttoward_test): Likewise.
25568 (pow_test): Likewise.
25569 (pow_test_tonearest): Likewise.
25570 (pow_test_towardzero): Likewise.
25571 (pow_test_downward): Likewise.
25572 (pow_test_upward): Likewise.
25573 (remainder_test): Likewise.
25574 (remainder_test_tonearest): Likewise.
25575 (remainder_test_towardzero): Likewise.
25576 (remainder_test_downward): Likewise.
25577 (remainder_test_upward): Likewise.
25578 (remquo_test): Likewise.
25579 (rint_test): Likewise.
25580 (rint_test_tonearest): Likewise.
25581 (rint_test_towardzero): Likewise.
25582 (rint_test_downward): Likewise.
25583 (rint_test_upward): Likewise.
25584 (round_test): Likewise.
25585 (scalb_test): Likewise.
25586 (scalbn_test): Likewise.
25587 (scalbln_test): Likewise.
25588 (signbit_test): Likewise.
25589 (sin_test): Likewise.
25590 (sin_test_tonearest): Likewise.
25591 (sin_test_towardzero): Likewise.
25592 (sin_test_downward): Likewise.
25593 (sin_test_upward): Likewise.
25594 (sincos_test): Likewise.
25595 (sinh_test): Likewise.
25596 (sinh_test_tonearest): Likewise.
25597 (sinh_test_towardzero): Likewise.
25598 (sinh_test_downward): Likewise.
25599 (sinh_test_upward): Likewise.
25600 (sqrt_test): Likewise.
25601 (tan_test): Likewise.
25602 (tan_test_tonearest): Likewise.
25603 (tan_test_towardzero): Likewise.
25604 (tan_test_downward): Likewise.
25605 (tan_test_upward): Likewise.
25606 (tanh_test): Likewise.
25607 (tgamma_test): Likewise.
25608 (trunc_test): Likewise.
25609 (y0_test): Likewise.
25610 (y1_test): Likewise.
25611 (yn_test): Likewise.
25612 (significand_test): Likewise.
25613
256142013-05-24 Ondřej Bílka <neleai@seznam.cz>
25615
25616 [BZ #15381]
25617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25618
256192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25620
25621 [BZ #14894]
25622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25623 __ppc_mdoio and __ppc_mdoom.
25624 * manual/platform.texi: Document new functions __ppc_yield,
25625 __ppc_mdoio and __ppc_mdoom.
25626
256272013-05-22 Carlos O'Donell <carlos@redhat.com>
25628
25629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25630 (main): Mention "tls" pseudo-hwcap is legacy.
25631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25632
256332013-05-22 Joseph Myers <joseph@codesourcery.com>
25634
25635 * math/gen-libm-test.pl (parse_args): Output only string of
25636 arguments as text for test name, not full call or descriptions of
25637 tests for extra outputs.
25638 (generate_testfile): Do not pass function name to parse_args.
25639 Generate this_func variable from START.
25640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25641 field to arg_str.
25642 (struct test_ff_f_data): Likewise.
25643 (test_ff_f_data_nexttoward): Likewise.
25644 (struct test_fi_f_data): Likewise.
25645 (struct test_fl_f_data): Likewise.
25646 (struct test_if_f_data): Likewise.
25647 (struct test_fff_f_data): Likewise.
25648 (struct test_c_f_data): Likewise.
25649 (struct test_f_f1_data): Likewise. Remove field extra_name.
25650 (struct test_fF_f1_data): Likewise.
25651 (struct test_ffI_f1_data): Likewise.
25652 (struct test_c_c_data): Rename test_name field to arg_str.
25653 (struct test_cc_c_data): Likewise.
25654 (struct test_f_i_data): Likewise.
25655 (struct test_ff_i_data): Likewise.
25656 (struct test_f_l_data): Likewise.
25657 (struct test_f_L_data): Likewise.
25658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25659 and extra2_name.
25660 (COMMON_TEST_SETUP): New macro.
25661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25662 (COMMON_TEST_CLEANUP): Likewise.
25663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25665 macros.
25666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25668 macros.
25669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25670 (RUN_TEST_fff_f): Take argument string. Call new setup and
25671 cleanup macros.
25672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25674 macros.
25675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25677 macros.
25678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25680 cleanup macros.
25681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25683 cleanup macros.
25684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25686 cleanup macros.
25687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25689 macros.
25690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25692 macros.
25693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25695 macros.
25696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25698 cleanup macros.
25699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25701 cleanup macros.
25702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25704 macros.
25705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25707 cleanup macros.
25708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25710 macros.
25711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25713 macros.
25714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25716 cleanup macros.
25717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25718
257192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25720
25721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25722 to _sifields.sigfault.
25723 (si_addr_lsb): Define new macro.
25724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25727
257282013-05-03 Carlos O'Donell <carlos at redhat.com>
25729
25730 [BZ #15441]
25731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25732 returns -1.
25733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25734 null return -1.
25735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25736 loading the domain.
25737
257382013-05-22 Joseph Myers <joseph@codesourcery.com>
25739
25740 * math/gen-libm-test.pl (parse_args): Do not include expected
25741 result in test name.
25742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25748
257492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25750
25751 * benchtests/Makefile: Sort function entries.
25752
25753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25754 tanh, asinh, acosh, atanh.
25755 * benchtests/acos-inputs: New file.
25756 * benchtests/acosh-inputs: New file.
25757 * benchtests/asin-inputs: New file.
25758 * benchtests/asinh-inputs: New file.
25759 * benchtests/atanh-inputs: New file.
25760 * benchtests/cosh-inputs: New file.
25761 * benchtests/log-inputs: New file.
25762 * benchtests/sinh-inputs: New file.
25763 * benchtests/tanh-inputs: New file.
25764
257652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25766
25767 [BZ #15339]
25768 * posix/tst-getaddrinfo4.c: New test.
25769 * posix/Makefile (tests): Add it.
25770
257712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25772
25773 [BZ #15339]
25774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25775 when no services were used.
25776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25778
257792013-05-21 Andreas Schwab <schwab@suse.de>
25780
25781 [BZ #15014]
25782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25784 successful.
25785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25786 redundant variable declarations and reallocation of buffer when
25787 parsing as IPv6 address. Always set NSS status when called from
25788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25789 buffer too small. Correct computation of needed size.
25790 * nss/Makefile (tests): Add test-digits-dots.
25791 * nss/test-digits-dots.c: New test.
25792
257932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25794
25795 * benchtests/Makefile: Remove instructions for adding
25796 benchmark tests.
25797 * benchtests/README: New file to explain how to execute and
25798 enhance the benchmark tests.
25799
258002013-05-21 Andreas Schwab <schwab@suse.de>
25801
25802 [BZ #15493]
25803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25804 * setjmp/tst-sigsetjmp.c: New test.
25805
258062013-05-20 Ondřej Bílka <neleai@seznam.cz>
25807
25808 * sysdeps/x86_64/memset.S (memset): New implementation.
25809 (__bzero): Likewise.
25810 (__memset_tail): New function.
25811
258122013-05-20 Ondřej Bílka <neleai@seznam.cz>
25813
25814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25816 __memcpy_sse2_unaligned ifunc selection.
25817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25818 Add memcpy-sse2-unaligned.S.
25819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25820 Add: __memcpy_sse2_unaligned.
25821
258222013-05-19 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #15490]
25825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25826 math_force_eval before restoring floating-point envrionment.
25827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25829 Likewise.
25830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25831 <math_private.h>.
25832 (__nearbyintl): Use math_force_eval before restoring
25833 floating-point environment.
25834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25835
25836 * math/gen-libm-test.pl (special_functions): Remove.
25837 (parse_args): Don't handle TEST_extra. Handle functions with no
25838 return value.
25839 * math/libm-test.inc (struct test_sincos_data): Replace with
25840 struct test_fFF_11_data.
25841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25843 (sincos_test_data): Change element type to struct
25844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25846 RUN_TEST_LOOP_sincos.
25847 * math/README.libm-test: Don't mention special handling of
25848 individual functions.
25849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25855
25856 * math/gen-libm-test.pl (get_variable): Remove function.
25857 (parse_args): Don't show pointer parameters to call in test
25858 names. Use "extra output N" in test names for extra outputs
25859 rather than naming variables.
25860
258612013-05-18 Joseph Myers <joseph@codesourcery.com>
25862
25863 [BZ #15488]
25864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25867 double tests.
25868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25869 disable.
25870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25871 check_long_double.
25872
25873 * math/gen-libm-test.pl (@tests): Remove variable.
25874 ($count): Likewise.
25875 (new_test): Remove function.
25876 (show_exceptions): New function.
25877 (special_functions): Use show_exceptions instead of new_test.
25878 (parse_args): Likewise.
25879 (generate_testfile): Pass only function name in generated call to
25880 print_max_error or print_complex_max_error.
25881 (get_ulps): Do not handle complex tests specially.
25882 (output_test): Rename to ...
25883 (get_all_ulps_for_test): ... this. Return a string rather than
25884 printing to a file. Require ulps to be present.
25885 (output_ulps): Generate arrays rather than #defines.
25886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25887 (struct ulp_data): New type.
25888 (BUILD_COMPLEX_ULP): Remove macro.
25889 (compare_ulp_data): New function.
25890 (find_ulps): Likewise.
25891 (find_test_ulps): Likewise.
25892 (find_function_ulps): Likewise.
25893 (find_complex_function_ulps): Likewise.
25894 (print_max_error): Determine allowed ulps using
25895 find_function_ulps.
25896 (print_complex_max_error): Determine allowed ulps using
25897 find_complex_function_ulps.
25898 (check_float_internal): Determine max ulps using find_test_ulps.
25899 (check_float): Do not take max_ulp parameter. Update call to
25900 check_float_internal.
25901 (check_complex): Likewise.
25902 (check_int): Do not take max_ulp parameter.
25903 (check_long): Likewise.
25904 (check_bool): Likewise.
25905 (check_longlong): Likewise.
25906 (struct test_f_f_data): Remove max_ulp field.
25907 (struct test_ff_f_data): Likewise.
25908 (struct test_ff_f_data_nexttoward): Likewise.
25909 (struct test_fi_f_data): Likewise.
25910 (struct test_fl_f_data): Likewise.
25911 (struct test_if_f_data): Likewise.
25912 (struct test_fff_f_data): Likewise.
25913 (struct test_c_f_data): Likewise.
25914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25915 (struct test_fF_f1_data): Likewise.
25916 (struct test_ffI_f1_data): Likewise.
25917 (struct test_c_c_data): Remove max_ulp field.
25918 (struct test_cc_c_data): Likewise.
25919 (struct test_f_i_data): Likewise.
25920 (struct test_ff_i_data): Likewise.
25921 (struct test_f_l_data): Likewise.
25922 (struct test_f_L_data): Likewise.
25923 (struct test_sincos_data): Likewise.
25924 (RUN_TEST_f_f): Do not handle ulps.
25925 (RUN_TEST_LOOP_f_f): Likewise.
25926 (RUN_TEST_2_f): Likewise.
25927 (RUN_TEST_LOOP_2_f): Likewise.
25928 (RUN_TEST_fff_f): Likewise.
25929 (RUN_TEST_LOOP_fff_f): Likewise.
25930 (RUN_TEST_c_f): Likewise.
25931 (RUN_TEST_LOOP_c_f): Likewise.
25932 (RUN_TEST_f_f1): Likewise.
25933 (RUN_TEST_LOOP_f_f1): Likewise.
25934 (RUN_TEST_fF_f1): Likewise.
25935 (RUN_TEST_LOOP_fF_f1): Likewise.
25936 (RUN_TEST_fI_f1): Likewise.
25937 (RUN_TEST_LOOP_fI_f1): Likewise.
25938 (RUN_TEST_ffI_f1): Likewise.
25939 (RUN_TEST_LOOP_ffI_f1): Likewise.
25940 (RUN_TEST_c_c): Likewise.
25941 (RUN_TEST_LOOP_c_c): Likewise.
25942 (RUN_TEST_cc_c): Likewise.
25943 (RUN_TEST_LOOP_cc_c): Likewise.
25944 (RUN_TEST_f_i): Likewise.
25945 (RUN_TEST_LOOP_f_i): Likewise.
25946 (RUN_TEST_f_i_tg): Likewise.
25947 (RUN_TEST_LOOP_f_i_tg): Likewise.
25948 (RUN_TEST_ff_i_tg): Likewise.
25949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25950 (RUN_TEST_f_b): Likewise.
25951 (RUN_TEST_LOOP_f_b): Likewise.
25952 (RUN_TEST_f_b_tg): Likewise.
25953 (RUN_TEST_LOOP_f_b_tg): Likewise.
25954 (RUN_TEST_f_l): Likewise.
25955 (RUN_TEST_LOOP_f_l): Likewise.
25956 (RUN_TEST_f_L): Likewise.
25957 (RUN_TEST_LOOP_f_L): Likewise.
25958 (RUN_TEST_sincos): Likewise.
25959 (RUN_TEST_LOOP_sincos): Likewise.
25960
259612013-05-17 Joseph Myers <joseph@codesourcery.com>
25962
25963 [BZ #15480]
25964 [BZ #15485]
25965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25966 main case of finite arguments, set rounding mode to FE_TONEAREST
25967 and discard exceptions.
25968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25969 exceptions.
25970 (remainder_tonearest_test_data): New variable.
25971 (remainder_test_tonearest): New function.
25972 (remainder_towardzero_test_data): New variable.
25973 (remainder_test_towardzero): New function.
25974 (remainder_downward_test_data): New variable.
25975 (remainder_test_downward): New function.
25976 (remainder_upward_test_data): New variable.
25977 (remainder_test_upward): New function.
25978 (main): Call the new test functions.
25979
25980 * math/libm-test.inc (struct test_f_f1_data): Remove field
25981 extra_init.
25982 (struct test_fF_f1_data): Likewise.
25983 (struct test_ffI_f1_data): Likewise.
25984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25985 based on value of EXTRA_EXPECTED.
25986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25988 EXTRA_VAR based on value of EXTRA_EXPECTED.
25989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25991 EXTRA_VAR based on value of EXTRA_EXPECTED.
25992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25994 EXTRA_VAR based on value of EXTRA_EXPECTED.
25995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25996 * math/gen-libm-test.pl (parse_args): Don't output initializers
25997 for extra output values.
25998
25999 * math/libm-test.inc (check_int): Expect result to be exactly
26000 equal to expected value and do not handle ulps.
26001 (check_long): Likewise.
26002 (check_longlong): Likewise.
26003
26004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26005 exceptions.
26006 (cimag_test_data): Likewise.
26007 (conj_test_data): Likewise.
26008 (copysign_test_data): Likewise.
26009 (cproj_test_data): Likewise.
26010 (creal_test_data): Likewise.
26011 (fabs_test_data): Likewise.
26012 (fdim_test_data): Likewise.
26013 (finite_test_data): Likewise.
26014 (floor_test_data): Likewise.
26015 (fmax_test_data): Likewise.
26016 (fmin_test_data): Likewise.
26017 (fmod_test_data): Likewise.
26018 (fpclassify_test_data): Likewise.
26019 (frexp_test_data): Likewise.
26020 (ilogb_test_data): Likewise.
26021 (isfinite_test_data): Likewise.
26022 (isgreater_test_data): Likewise.
26023 (isgreaterequal_test_data): Likewise.
26024 (isinf_test_data): Likewise.
26025 (isless_test_data): Likewise.
26026 (islessequal_test_data): Likewise.
26027 (islessgreater_test_data): Likewise.
26028 (isnan_test_data): Likewise.
26029 (isnormal_test_data): Likewise.
26030 (issignaling_test_data): Likewise.
26031 (isunordered_test_data): Likewise.
26032 (ldexp_test_data): Likewise.
26033 (lrint_test_data): Likewise.
26034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26040 test input.
26041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26045 that test input.
26046 (lrint_downward_test_data): Test for "inexact" exceptions.
26047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26050 test input.
26051 (lrint_upward_test_data): Test for "inexact" exceptions.
26052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26053 test input.
26054 (llrint_test_data): Test for "inexact" exceptions.
26055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26060 (llrint_downward_test_data): Test for "inexact" exceptions.
26061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26062 (llrint_upward_test_data): Test for "inexact" exceptions.
26063 (logb_test_data): Likewise.
26064 (logb_downward_test_data): Likewise.
26065 (nextafter_test_data): Likewise.
26066 (nexttoward_test_data): Likewise.
26067 (remainder_test_data): Likewise.
26068 (remquo_test_data): Likewise.
26069 (scalbn_test_data): Likewise.
26070 (scalbln_test_data): Likewise.
26071 (signbit_test_data): Likewise.
26072 (sqrt_test_data): Likewise.
26073 (significand_test_data): Likewise.
26074
260752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26076
26077 [BZ #15424]
26078 * benchtests/bench-modf.c (struct args): Mark arg0 as
26079 volatile.
26080 * scripts/bench.pl: Mark members of struct args as volatile.
26081
260822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26083
26084 [BZ # 15497]
26085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26086 negative infinity on POWER6 or lower.
26087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26088
260892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26090
26091 [BZ #15442]
26092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26096 (_FP_SETQNAN): New macro.
26097 (_FP_SETQNAN_SEMIRAW): Likewise.
26098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26101 (FP_EXTEND): Use _FP_FRAC_SNANP.
26102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26104 into account.
26105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26106 New macro.
26107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26108 Likewise.
26109
261102013-05-16 Joseph Myers <joseph@codesourcery.com>
26111
26112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26113 with DIVIDE_BY_ZERO_EXCEPTION.
26114 (gamma_test_data): Likewise.
26115 (lgamma_test_data): Likewise.
26116 (log_test_data): Likewise.
26117 (log10_test_data): Likewise.
26118 (log2_test_data): Likewise.
26119 (tgamma_test_data): Likewise.
26120
26121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26122 (acos_test_tonearest): Likewise.
26123 (acos_test_towardzero): Likewise.
26124 (acos_test_downward): Likewise.
26125 (acos_test_upward): Likewise.
26126 (acosh_test): Likewise.
26127 (asin_test): Likewise.
26128 (asin_test_tonearest): Likewise.
26129 (asin_test_towardzero): Likewise.
26130 (asin_test_downward): Likewise.
26131 (asin_test_upward): Likewise.
26132 (asinh_test): Likewise.
26133 (atan_test): Likewise.
26134 (atanh_test): Likewise.
26135 (atan2_test): Likewise.
26136 (cabs_test): Likewise.
26137 (cacos_test): Likewise.
26138 (cacosh_test): Likewise.
26139 (casin_test): Likewise.
26140 (casinh_test): Likewise.
26141 (catan_test): Likewise.
26142 (catanh_test): Likewise.
26143 (cbrt_test): Likewise.
26144 (ccos_test): Likewise.
26145 (ccosh_test): Likewise.
26146 (cexp_test): Likewise.
26147 (clog_test): Likewise.
26148 (clog10_test): Likewise.
26149 (cos_test): Likewise.
26150 (cos_test_tonearest): Likewise.
26151 (cos_test_towardzero): Likewise.
26152 (cos_test_downward): Likewise.
26153 (cos_test_upward): Likewise.
26154 (cosh_test): Likewise.
26155 (cosh_test_tonearest): Likewise.
26156 (cosh_test_towardzero): Likewise.
26157 (cosh_test_downward): Likewise.
26158 (cosh_test_upward): Likewise.
26159 (cpow_test): Likewise.
26160 (csin_test): Likewise.
26161 (csinh_test): Likewise.
26162 (csqrt_test): Likewise.
26163 (ctan_test): Likewise.
26164 (ctan_test_tonearest): Likewise.
26165 (ctan_test_towardzero): Likewise.
26166 (ctan_test_downward): Likewise.
26167 (ctan_test_upward): Likewise.
26168 (ctanh_test): Likewise.
26169 (ctanh_test_tonearest): Likewise.
26170 (ctanh_test_towardzero): Likewise.
26171 (ctanh_test_downward): Likewise.
26172 (ctanh_test_upward): Likewise.
26173 (erf_test): Likewise.
26174 (erfc_test): Likewise.
26175 (exp_test): Likewise.
26176 (exp_test_tonearest): Likewise.
26177 (exp_test_towardzero): Likewise.
26178 (exp_test_downward): Likewise.
26179 (exp_test_upward): Likewise.
26180 (exp10_test): Likewise.
26181 (exp2_test): Likewise.
26182 (expm1_test): Likewise.
26183 (fmod_test): Likewise.
26184 (gamma_test): Likewise.
26185 (hypot_test): Likewise.
26186 (j0_test): Likewise.
26187 (j1_test): Likewise.
26188 (jn_test): Likewise.
26189 (lgamma_test): Likewise.
26190 (log_test): Likewise.
26191 (log10_test): Likewise.
26192 (log1p_test): Likewise.
26193 (log2_test): Likewise.
26194 (logb_test_downward): Likewise.
26195 (pow_test): Likewise.
26196 (pow_test_tonearest): Likewise.
26197 (pow_test_towardzero): Likewise.
26198 (pow_test_downward): Likewise.
26199 (pow_test_upward): Likewise.
26200 (remainder_test): Likewise.
26201 (remquo_test): Likewise.
26202 (sin_test): Likewise.
26203 (sin_test_tonearest): Likewise.
26204 (sin_test_towardzero): Likewise.
26205 (sin_test_downward): Likewise.
26206 (sin_test_upward): Likewise.
26207 (sincos_test): Likewise.
26208 (sinh_test): Likewise.
26209 (sinh_test_tonearest): Likewise.
26210 (sinh_test_towardzero): Likewise.
26211 (sinh_test_downward): Likewise.
26212 (sinh_test_upward): Likewise.
26213 (sqrt_test): Likewise.
26214 (tan_test): Likewise.
26215 (tan_test_tonearest): Likewise.
26216 (tan_test_towardzero): Likewise.
26217 (tan_test_downward): Likewise.
26218 (tan_test_upward): Likewise.
26219 (tanh_test): Likewise.
26220 (tgamma_test): Likewise.
26221 (y0_test): Likewise.
26222 (y1_test): Likewise.
26223 (yn_test): Likewise.
26224
26225 * math/gen-libm-test.pl (adjust_arg): Remove function.
26226 (special_function): Remove argument $in_func. Only handle
26227 generating output for tables of tests, not inside functions.
26228 (parse_args): Likewise.
26229 (generate_testfile): Remove variable $in_func. Update call to
26230 parse_args.
26231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26236 (MAX_VALUE_INIT): Rename macro to max_value.
26237 (MIN_VALUE_INIT): Rename macro to min_value.
26238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26239 (plus_zero): Remove variable.
26240 (minus_zero): Likewise.
26241 (plus_infty): Likewise.
26242 (minus_infty): Likewise.
26243 (qnan_value): Likewise.
26244 (max_value): Likewise.
26245 (min_value): Likewise.
26246 (min_subnorm_value): Likewise.
26247
262482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26249
26250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26251 uint64_t or uint32_t usage.
26252 * crypt/sha256-block.c: Likewise.
26253 * crypt/sha256-crypt.c: Likewise.
26254 * crypt/sha256.c: Likewise.
26255 * crypt/sha512-block.c: Likewise.
26256 * crypt/sha512-crypt.c: Likewise.
26257 * crypt/sha512.c: Likewise.
26258 * debug/backtrace-tst.c: Likewise.
26259 * debug/pcprofiledump.c: Likewise.
26260 * elf/cache.c: Likewise.
26261 * elf/dl-cache.c: Likewise.
26262 * elf/dl-misc.c: Likewise.
26263 * elf/dl-profile.c: Likewise.
26264 * elf/dl-support.c: Likewise.
26265 * elf/ldconfig.c: Likewise.
26266 * elf/sprof.c: Likewise.
26267 * iconv/dummy-repertoire.c: Likewise.
26268 * iconv/iconv_charmap.c: Likewise.
26269 * iconv/skeleton.c: Likewise.
26270 * iconvdata/8bit-generic.c: Likewise.
26271 * iconvdata/cp737.h: Likewise.
26272 * iconvdata/cp775.h: Likewise.
26273 * iconvdata/ibm1008.h: Likewise.
26274 * iconvdata/ibm1025.h: Likewise.
26275 * iconvdata/ibm1046.h: Likewise.
26276 * iconvdata/ibm1097.h: Likewise.
26277 * iconvdata/ibm1112.h: Likewise.
26278 * iconvdata/ibm1122.h: Likewise.
26279 * iconvdata/ibm1123.h: Likewise.
26280 * iconvdata/ibm1124.h: Likewise.
26281 * iconvdata/ibm1129.h: Likewise.
26282 * iconvdata/ibm1130.h: Likewise.
26283 * iconvdata/ibm1132.h: Likewise.
26284 * iconvdata/ibm1133.h: Likewise.
26285 * iconvdata/ibm1137.h: Likewise.
26286 * iconvdata/ibm1140.h: Likewise.
26287 * iconvdata/ibm1141.h: Likewise.
26288 * iconvdata/ibm1142.h: Likewise.
26289 * iconvdata/ibm1143.h: Likewise.
26290 * iconvdata/ibm1144.h: Likewise.
26291 * iconvdata/ibm1145.h: Likewise.
26292 * iconvdata/ibm1146.h: Likewise.
26293 * iconvdata/ibm1147.h: Likewise.
26294 * iconvdata/ibm1148.h: Likewise.
26295 * iconvdata/ibm1149.h: Likewise.
26296 * iconvdata/ibm1153.h: Likewise.
26297 * iconvdata/ibm1154.h: Likewise.
26298 * iconvdata/ibm1155.h: Likewise.
26299 * iconvdata/ibm1156.h: Likewise.
26300 * iconvdata/ibm1157.h: Likewise.
26301 * iconvdata/ibm1158.h: Likewise.
26302 * iconvdata/ibm1160.h: Likewise.
26303 * iconvdata/ibm1161.h: Likewise.
26304 * iconvdata/ibm1162.h: Likewise.
26305 * iconvdata/ibm1163.h: Likewise.
26306 * iconvdata/ibm1164.h: Likewise.
26307 * iconvdata/ibm1166.h: Likewise.
26308 * iconvdata/ibm1167.h: Likewise.
26309 * iconvdata/ibm12712.h: Likewise.
26310 * iconvdata/ibm1390.h: Likewise.
26311 * iconvdata/ibm1399.h: Likewise.
26312 * iconvdata/ibm16804.h: Likewise.
26313 * iconvdata/ibm4517.h: Likewise.
26314 * iconvdata/ibm4899.h: Likewise.
26315 * iconvdata/ibm4909.h: Likewise.
26316 * iconvdata/ibm4971.h: Likewise.
26317 * iconvdata/ibm5347.h: Likewise.
26318 * iconvdata/ibm803.h: Likewise.
26319 * iconvdata/ibm856.h: Likewise.
26320 * iconvdata/ibm901.h: Likewise.
26321 * iconvdata/ibm902.h: Likewise.
26322 * iconvdata/ibm9030.h: Likewise.
26323 * iconvdata/ibm9066.h: Likewise.
26324 * iconvdata/ibm921.h: Likewise.
26325 * iconvdata/ibm922.h: Likewise.
26326 * iconvdata/ibm9448.h: Likewise.
26327 * iconvdata/isiri-3342.h: Likewise.
26328 * iconvdata/jis0201.h: Likewise.
26329 * include/link.h: Likewise.
26330 * include/netdb.h: Likewise.
26331 * inet/check_native.c: Likewise.
26332 * inet/check_pf.c: Likewise.
26333 * inet/getipv4sourcefilter.c: Likewise.
26334 * inet/getnameinfo.c: Likewise.
26335 * inet/getsourcefilter.c: Likewise.
26336 * inet/htonl.c: Likewise.
26337 * inet/setipv4sourcefilter.c: Likewise.
26338 * inet/setsourcefilter.c: Likewise.
26339 * inet/test-inet6_opt.c: Likewise.
26340 * inet/tst-network.c: Likewise.
26341 * locale/C-collate.c: Likewise.
26342 * locale/C-ctype.c: Likewise.
26343 * locale/C-time.c: Likewise.
26344 * locale/C-translit.h: Likewise.
26345 * locale/loadarchive.c: Likewise.
26346 * locale/programs/3level.h: Likewise.
26347 * locale/programs/charmap.c: Likewise.
26348 * locale/programs/charmap.h: Likewise.
26349 * locale/programs/ld-address.c: Likewise.
26350 * locale/programs/ld-collate.c: Likewise.
26351 * locale/programs/ld-ctype.c: Likewise.
26352 * locale/programs/ld-identification.c: Likewise.
26353 * locale/programs/ld-measurement.c: Likewise.
26354 * locale/programs/ld-messages.c: Likewise.
26355 * locale/programs/ld-monetary.c: Likewise.
26356 * locale/programs/ld-name.c: Likewise.
26357 * locale/programs/ld-numeric.c: Likewise.
26358 * locale/programs/ld-paper.c: Likewise.
26359 * locale/programs/ld-telephone.c: Likewise.
26360 * locale/programs/ld-time.c: Likewise.
26361 * locale/programs/linereader.c: Likewise.
26362 * locale/programs/locale.c: Likewise.
26363 * locale/programs/locarchive.c: Likewise.
26364 * locale/programs/locfile.h: Likewise.
26365 * locale/programs/repertoire.c: Likewise.
26366 * locale/programs/simple-hash.c: Likewise.
26367 * locale/programs/simple-hash.h: Likewise.
26368 * malloc/memusage.c: Likewise.
26369 * malloc/memusagestat.c: Likewise.
26370 * nis/nis_defaults.c: Likewise.
26371 * nis/nis_hash.c: Likewise.
26372 * nis/nis_print.c: Likewise.
26373 * nis/nis_xdr.c: Likewise.
26374 * nscd/connections.c: Likewise.
26375 * nscd/hstcache.c: Likewise.
26376 * nscd/nscd_gethst_r.c: Likewise.
26377 * nscd/nscd_getserv_r.c: Likewise.
26378 * nscd/nscd_helper.c: Likewise.
26379 * nscd/servicescache.c: Likewise.
26380 * nss/makedb.c: Likewise.
26381 * nss/nss_db/db-XXX.c: Likewise.
26382 * nss/nss_db/db-initgroups.c: Likewise.
26383 * nss/nss_db/db-netgrp.c: Likewise.
26384 * nss/nss_files/files-network.c: Likewise.
26385 * nss/nss_files/files-parse.c: Likewise.
26386 * posix/bug-regex5.c: Likewise.
26387 * posix/fnmatch_loop.c: Likewise.
26388 * posix/regcomp.c: Likewise.
26389 * posix/regexec.c: Likewise.
26390 * posix/tst-rfc3484-2.c: Likewise.
26391 * posix/tst-rfc3484-3.c: Likewise.
26392 * posix/tst-rfc3484.c: Likewise.
26393 * resolv/nss_dns/dns-canon.c: Likewise.
26394 * resolv/nss_dns/dns-network.c: Likewise.
26395 * resolv/res_init.c: Likewise.
26396 * resolv/res_mkquery.c: Likewise.
26397 * resolv/tst-aton.c: Likewise.
26398 * stdlib/cxa_atexit.c: Likewise.
26399 * stdlib/cxa_finalize.c: Likewise.
26400 * stdlib/gen-fpioconst.c: Likewise.
26401 * stdlib/strtol_l.c: Likewise.
26402 * string/tst-endian.c: Likewise.
26403 * sunrpc/auth_des.c: Likewise.
26404 * sunrpc/clnt_udp.c: Likewise.
26405 * sunrpc/rtime.c: Likewise.
26406 * sunrpc/svcauth_des.c: Likewise.
26407 * sunrpc/xdr.c: Likewise.
26408 * sunrpc/xdr_intXX_t.c: Likewise.
26409 * sunrpc/xdr_rec.c: Likewise.
26410 * sysdeps/generic/ldconfig.h: Likewise.
26411 * sysdeps/generic/ldsodefs.h: Likewise.
26412 * sysdeps/generic/memusage.h: Likewise.
26413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26423 * sysdeps/posix/getaddrinfo.c: Likewise.
26424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26439 * sysdeps/x86_64/dl-tls.h: Likewise.
26440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26441 * time/alt_digit.c: Likewise.
26442 * time/era.c: Likewise.
26443 * wcsmbs/tst-c16c32-1.c: Likewise.
26444
264452013-05-16 Joseph Myers <joseph@codesourcery.com>
26446
26447 * math/libm-test.inc (struct test_sincos_data): New type.
26448 (RUN_TEST_LOOP_sincos): New macro.
26449 (sincos_test_data): New variable.
26450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26451
264522013-05-16 Richard Henderson <rth@redhat.com>
26453
26454 * math/atest-exp2.c (LIMB64): New macro.
26455 (CONSTSZ): New macro.
26456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26457 (hexdig): Move ...
26458 (print_mpn_fp): ... to function scope.
26459 (read_mpn_hex): Remove.
26460 (get_log2): Remove.
26461 (exp2_mpn): Use mp_log2.
26462 (main): Use mp_exp1.
26463
264642013-05-16 Joseph Myers <joseph@codesourcery.com>
26465
26466 * math/libm-test.inc: Remove comment about not testing "inexact"
26467 exceptions.
26468 (INEXACT_EXCEPTION): New macro.
26469 (NO_INEXACT_EXCEPTION): Likewise.
26470 (INVALID_EXCEPTION_OK): Update value.
26471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26472 (OVERFLOW_EXCEPTION_OK): Likewise.
26473 (UNDERFLOW_EXCEPTION_OK): Likewise.
26474 (IGNORE_ZERO_INF_SIGN): Likewise.
26475 (ERRNO_UNCHANGED): Likewise.
26476 (ERRNO_EDOM): Likewise.
26477 (ERRNO_ERANGE): Likewise.
26478 (test_exceptions): Handle testing "inexact" exceptions.
26479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26483 INEXACT_EXCEPTION.
26484 (rint_towardzero_test_data): Likewise.
26485 (rint_downward_test_data): Likewise.
26486 (rint_upward_test_data): Likewise.
26487
26488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26489 with OVERFLOW_EXCEPTION.
26490 (exp10_test_data): Likewise.
26491 (exp2_test_data): Likewise.
26492 (expm1_test_data): Likewise.
26493 (lgamma_test_data): Likewise.
26494 (pow_test_data): Likewise.
26495 (tgamma_test_data): Likewise.
26496 (yn_test_data): Remove duplicate test of overflow.
26497
26498 * math/libm-test.inc (struct test_cc_c_data): New type.
26499 (RUN_TEST_LOOP_cc_c): New macro.
26500 (cpow_test_data): New variable.
26501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26502
26503 * math/libm-test.inc (struct test_f_L_data): New type.
26504 (RUN_TEST_LOOP_f_L): New macro.
26505 (llrint_test_data): New variable.
26506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26507 (llrint_tonearest_test_data): New variable.
26508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26509 (llrint_towardzero_test_data): New variable.
26510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26511 (llrint_downward_test_data): New variable.
26512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26513 (llrint_upward_test_data): New variable.
26514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26515 (llround_test_data): New variable.
26516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26517
265182013-05-13 Peter Collingbourne <pcc@google.com>
26519
26520 * math/atest-exp2.c (get_log2): Remove const attribute.
26521
265222013-05-15 Joseph Myers <joseph@codesourcery.com>
26523
26524 * math/libm-test.inc (struct test_f_l_data): New type.
26525 (RUN_TEST_LOOP_f_l): New macro.
26526 (lrint_test_data): New variable.
26527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26528 (lrint_tonearest_test_data): New variable.
26529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26530 (lrint_towardzero_test_data): New variable.
26531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26532 (lrint_downward_test_data): New variable.
26533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26534 (lrint_upward_test_data): New variable.
26535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26536 (lround_test_data): New variable.
26537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26538
265392013-05-15 Peter Collingbourne <pcc@google.com>
26540
26541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26542 (EXTRACT_WORDS64) Use where appropriate.
26543 (INSERT_WORDS64) Likewise.
26544
26545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26546 constraints with x constraints.
26547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26548
26549 * malloc/obstack.c (_obstack_compat): Add initializer.
26550
265512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26552
26553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26554 si_trapno and add si_addr_lsb to _sifields.sigfault.
26555 (si_trapno): Remove macro.
26556 (si_addr_lsb): Define new macro.
26557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26558
265592013-05-15 Joseph Myers <joseph@codesourcery.com>
26560
26561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26562 instead of TEST_f_l.
26563 (llrint_test_tonearest): Likewise.
26564 (llrint_test_towardzero): Likewise.
26565 (llrint_test_downward): Likewise.
26566 (llrint_test_upward): Likewise.
26567 (llround_test): Likewise.
26568
26569 * math/libm-test.inc (struct test_f_i_data): Add comment.
26570 (RUN_TEST_LOOP_f_b): New macro.
26571 (RUN_TEST_LOOP_f_b_tg): Likewise.
26572 (finite_test_data): New variable.
26573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26574 (isfinite_test_data): New variable.
26575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26576 (isinf_test_data): New variable.
26577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26578 (isnan_test_data): New variable.
26579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26580 (isnormal_test_data): New variable.
26581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26582 (issignaling_test_data): New variable.
26583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26584 (signbit_test_data): New variable.
26585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26586
26587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26588 with INVALID_EXCEPTION.
26589 (acosh_test_data): Likewise.
26590 (asin_test_data): Likewise.
26591 (atanh_test_data): Likewise.
26592 (fmod_test_data): Likewise.
26593 (log_test_data): Likewise.
26594 (log10_test_data): Likewise.
26595 (log2_test_data): Likewise.
26596 (pow_test_data): Likewise.
26597 (sqrt_test_data): Likewise.
26598 (y0_test_data): Likewise.
26599 (y1_test_data): Likewise.
26600 (yn_test_data): Likewise.
26601
26602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26603 function contents.
26604
26605 * math/libm-test.inc (struct test_ff_i_data): New type.
26606 (RUN_TEST_LOOP_ff_i_tg): New macro.
26607 (isgreater_test_data): New variable.
26608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26609 (isgreaterequal_test_data): New variable.
26610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26611 (isless_test_data): New variable.
26612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26613 (islessequal_test_data): New variable.
26614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26615 (islessgreater_test_data): New variable.
26616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26617 (isunordered_test_data): New variable.
26618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26619
266202013-05-14 David S. Miller <davem@davemloft.net>
26621
26622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26623
266242013-05-14 Joseph Myers <joseph@codesourcery.com>
26625
26626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26627
26628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26629 extra_test to int.
26630 (struct test_f_i_data): Change type of max_ulp to int.
26631
26632 * math/libm-test.inc (test_ffI_f1_data): New type.
26633 (RUN_TEST_LOOP_ffI_f1): New macro.
26634 (remquo_test_data): New variable.
26635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26636
26637 * setjmp/tst-setjmp-fp.c: New file.
26638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26639 (link-libm): New variable.
26640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26641
26642 * math/libm-test.inc (struct test_f_i_data): New type.
26643 (RUN_TEST_LOOP_f_i): New macro.
26644 (RUN_TEST_LOOP_f_i_tg): Likewise.
26645 (fpclassify_test_data): New variable.
26646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26647 (ilogb_test_data): New variable.
26648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26649
26650 * math/libm-test.inc (scalbln_test): Correct function name in END
26651 call.
26652
26653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26654 (RUN_TEST_LOOP_fI_f1): New macro.
26655 (frexp_test_data): New variable.
26656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26657
26658 * math/libm-test.inc (struct test_fF_f1_data): New type.
26659 (RUN_TEST_LOOP_fF_f1): New macro.
26660 (modf_test_data): New variable.
26661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26662
26663 * math/libm-test.inc (struct test_f_f1_data): New type.
26664 (RUN_TEST_LOOP_f_f1): New macro.
26665 (gamma_test_data): New variable.
26666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26667 (lgamma_test_data): New variable.
26668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26669
266702013-05-13 Carlos O'Donell <carlos@redhat.com>
26671
26672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26674 (main): Comment "tls" pseudo-hwcap.
26675
266762013-05-13 Joseph Myers <joseph@codesourcery.com>
26677
26678 * math/libm-test.inc (struct test_fl_f_data): New type.
26679 (RUN_TEST_LOOP_fl_f): New variable.
26680 (scalbln_test_data): New variable.
26681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26682
26683 * math/libm-test.inc (struct test_fi_f_data): New type.
26684 (RUN_TEST_LOOP_fi_f): New macro.
26685 (ldexp_test_data): New variable.
26686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26687 (scalbn_test_data): New variable.
26688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26689
26690 * math/libm-test.inc (struct test_c_f_data): New type.
26691 (RUN_TEST_LOOP_c_f): New macro.
26692 (cabs_test_data): New variable.
26693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26694 (carg_test_data): New variable.
26695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26696 (cimag_test_data): New variable.
26697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26698 (creal_test_data): New variable.
26699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26700
26701 * math/libm-test.inc (struct test_if_f_data): New type.
26702 (RUN_TEST_LOOP_if_f): New macro.
26703 (jn_test_data): New variable.
26704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26705 (yn_test_data): New variable.
26706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26707
26708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26709
267102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26711
26712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26714
267152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26716
26717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26719 (bench-deps): Add bench-timing.h.
26720 * benchtests-bench-skeleton.c: Include bench-timing.h.
26721 (main): Use TIMING_* macros instead of clock_gettime.
26722 * benchtests/bench-timing.h: New file.
26723
26724 [BZ #14582]
26725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26726 Renamed from _LIB_VERSION.
26727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26728
267292013-05-12 Joseph Myers <joseph@codesourcery.com>
26730
26731 * math/libm-test.inc (struct test_fff_f_data): New type.
26732 (RUN_TEST_LOOP_fff_f): New macro.
26733 (fma_test_data): New variable.
26734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26735 (fma_towardzero_test_data): New variable.
26736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26737 (fma_downward_test_data): New variable.
26738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26739 (fma_upward_test_data): New variable.
26740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26741
26742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26743 (struct test_c_c_data): New type.
26744 (RUN_TEST_LOOP_c_c): New macro.
26745 (cacos_test_data): New variable.
26746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26747 (cacosh_test_data): New variable.
26748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26749 (casin_test_data): New variable.
26750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26751 (casinh_test_data): New variable.
26752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26753 (catan_test_data): New variable.
26754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26755 (catanh_test_data): New variable.
26756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26757 (ccos_test_data): New variable.
26758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26759 (ccosh_test_data): New variable.
26760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26761 (cexp_test_data): New variable.
26762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26763 (clog_test_data): New variable.
26764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26765 (clog10_test_data): New variable.
26766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26767 (conj_test_data): New variable.
26768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26769 (cproj_test_data): New variable.
26770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26771 (csin_test_data): New variable.
26772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26773 (csinh_test_data): New variable.
26774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26775 (csqrt_test_data): New variable.
26776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26777 (ctan_test_data): New variable.
26778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26779 (ctan_tonearest_test_data): New variable.
26780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26781 (ctan_towardzero_test_data): New variable.
26782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26783 (ctan_downward_test_data): New variable.
26784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26785 (ctan_upward_test_data): New variable.
26786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26787 (ctanh_test_data): New variable.
26788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26789 (ctanh_tonearest_test_data): New variable.
26790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26791 (ctanh_towardzero_test_data): New variable.
26792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26793 (ctanh_downward_test_data): New variable.
26794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26795 (ctanh_upward_test_data): New variable.
26796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26798 of BUILD_COMPLEX.
26799
26800 * math/libm-test.inc (struct test_ff_f_data): New type.
26801 (struct test_ff_f_data_nexttoward): Likewise.
26802 (RUN_TEST_LOOP_2_f): New macro.
26803 (RUN_TEST_LOOP_ff_f): Likewise.
26804 (atan2_test_data): New variable.
26805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26806 (copysign_test_data): New variable.
26807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26808 (fdim_test_data): New variable.
26809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26810 (fmax_test_data): New variable.
26811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26812 (fmin_test_data): New variable.
26813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26814 (fmod_test_data): New variable.
26815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26816 (hypot_test_data): New variable.
26817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26818 (nextafter_test_data): New variable.
26819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26820 (nexttoward_test_data): New variable.
26821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26822 (pow_test_data): New variable.
26823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26824 (pow_tonearest_test_data): New variable.
26825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26826 (pow_towardzero_test_data): New variable.
26827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26828 (pow_downward_test_data): New variable.
26829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26830 (pow_upward_test_data): New variable.
26831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26832 (remainder_test_data): New variable.
26833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26834 (scalb_test_data): New variable.
26835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26836 * sysdeps/i386/fpu/libm-test-ulps: Update.
26837
268382013-05-11 Joseph Myers <joseph@codesourcery.com>
26839
26840 * math/libm-test.inc (fma_test): Use max_value instead of local
26841 variable fltmax.
26842 (nextafter_test): Likewise.
26843
26844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26846 (acos_downward_test_data): New variable.
26847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26848 (acos_upward_test_data): New variable.
26849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26850 (acosh_test_data): New variable.
26851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26852 (asin_test_data): New variable.
26853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26854 (asin_tonearest_test_data): New variable.
26855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26856 (asin_towardzero_test_data): New variable.
26857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26858 (asin_downward_test_data): New variable.
26859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26860 (asin_upward_test_data): New variable.
26861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26862 (asinh_test_data): New variable.
26863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26864 (atan_test_data): New variable.
26865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26866 (atanh_test_data): New variable.
26867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26868 (cbrt_test_data): New variable.
26869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26870 (ceil_test_data): New variable.
26871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26872 (cos_test_data): New variable.
26873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26874 (cos_tonearest_test_data): New variable.
26875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26876 (cos_towardzero_test_data): New variable.
26877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26878 (cos_downward_test_data): New variable.
26879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26880 (cos_upward_test_data): New variable.
26881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26882 (cosh_test_data): New variable.
26883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26884 (cosh_tonearest_test_data): New variable.
26885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26886 (cosh_towardzero_test_data): New variable.
26887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26888 (cosh_downward_test_data): New variable.
26889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26890 (cosh_upward_test_data): New variable.
26891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26892 (erf_test_data): New variable.
26893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26894 (erfc_test_data): New variable.
26895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26896 (exp_test_data): New variable.
26897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26898 (exp_tonearest_test_data): New variable.
26899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26900 (exp_towardzero_test_data): New variable.
26901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26902 (exp_downward_test_data): New variable.
26903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26904 (exp_upward_test_data): New variable.
26905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26906 (exp10_test_data): New variable.
26907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26908 (exp2_test_data): New variable.
26909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26910 (expm1_test_data): New variable.
26911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26912 (fabs_test_data): New variable.
26913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26914 (floor_test_data): New variable.
26915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26916 (j0_test_data): New variable.
26917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26918 (j1_test_data): New variable.
26919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26920 (log_test_data): New variable.
26921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26922 (log10_test_data): New variable.
26923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26924 (log1p_test_data): New variable.
26925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26926 (log2_test_data): New variable.
26927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26928 (logb_test_data): New variable.
26929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26930 (logb_downward_test_data): New variable.
26931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26932 (nearbyint_test_data): New variable.
26933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26934 (rint_test_data): New variable.
26935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26936 (rint_tonearest_test_data): New variable.
26937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26938 (rint_towardzero_test_data): New variable.
26939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26940 (rint_downward_test_data): New variable.
26941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26942 (rint_upward_test_data): New variable.
26943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26944 (round_test_data): New variable.
26945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26946 (sin_test_data): New variable.
26947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26948 (sin_tonearest_test_data): New variable.
26949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26950 (sin_towardzero_test_data): New variable.
26951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26952 (sin_downward_test_data): New variable.
26953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26954 (sin_upward_test_data): New variable.
26955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26956 (sinh_test_data): New variable.
26957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26958 (sinh_tonearest_test_data): New variable.
26959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26960 (sinh_towardzero_test_data): New variable.
26961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26962 (sinh_downward_test_data): New variable.
26963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26964 (sinh_upward_test_data): New variable.
26965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26966 (sqrt_test_data): New variable.
26967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26968 (tan_test_data): New variable.
26969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26970 (tan_tonearest_test_data): New variable.
26971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26972 (tan_towardzero_test_data): New variable.
26973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26974 (tan_downward_test_data): New variable.
26975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26976 (tan_upward_test_data): New variable.
26977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26978 (tanh_test_data): New variable.
26979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26980 (tgamma_test_data): New variable.
26981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26982 (trunc_test_data): New variable.
26983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26984 (y0_test_data): New variable.
26985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26986 (y1_test_data): New variable.
26987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26988 (significand_test_data): New variable.
26989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26990
269912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26992
26993 [BZ #12387]
26994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26995
269962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26997
26998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26999
270002013-05-10 Andreas Jaeger <aj@suse.de>
27001
27002 [BZ #15448]
27003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27005
270062013-05-10 Joseph Myers <joseph@codesourcery.com>
27007
27008 * math/gen-libm-test.pl (adjust_arg): New function.
27009 (special_functions): Handle generating output in both functions
27010 and arrays.
27011 (parse_args): Likewise.
27012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27013 $in_func argument to parse_args.
27014 * math/libm-test.inc (struct test_f_f_data): New type.
27015 (IF_ROUND_INIT_): New macro.
27016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27020 (ROUND_RESTORE_): Likewise.
27021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27024 (ROUND_RESTORE_FE_UPWARD): Likewise.
27025 (RUN_TEST_LOOP_f_f): New macro.
27026 (acos_test_data): New variable.
27027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27028 (acos_tonearest_test_data): New variable.
27029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27030
270312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27032
27033 * benchtests/bench-skeleton.c (startup): Fix coding style.
27034
270352013-05-10 Joseph Myers <joseph@codesourcery.com>
27036
27037 [BZ #6809]
27038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27039 negative infinity argument.
27040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27041 negative infinity argument.
27042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27043 negative infinity argument.
27044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27045 domain errors.
27046
270472013-05-10 Florian Weimer <fweimer@redhat.com>
27048
27049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27051 * iconv/iconv_prog.c (main): Likewise.
27052 * locale/programs/charmap-dir.c (charmap_readdir)
27053 (fopen_uncompressed): Likewise.
27054 * locale/programs/locfile.c (siblings_uncached)
27055 (write_locale_data): Use lstat64 instead of lstat.
27056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27057 stat.
27058
270592013-05-10 Andreas Jaeger <aj@suse.de>
27060
27061 [BZ #15395]
27062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27063 localization.
27064 Include <locale.h>.
27065
270662013-05-09 Carlos O'Donell <carlos@redhat.com>
27067
27068 * elf/dl-close.c (_dl_close_worker): Add comments.
27069
270702013-05-09 Joseph Myers <joseph@codesourcery.com>
27071
27072 [BZ #15359]
27073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27074 high part of pi/2.
27075 (__ieee754_rem_pio2l): Update comments.
27076
27077 [BZ #15429]
27078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27079 high part of pi/2.
27080 (__ieee754_rem_pio2l): Update comments.
27081
27082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27084
27085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27086 M_PI_4l.
27087
27088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27089 (M_PI_34_LOG10El): Likewise.
27090 (M_PI2_LOG10El): Likewise.
27091 (M_PI4_LOG10El): Likewise.
27092 (M_PI_LOG10El): Likewise.
27093
270942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095
27096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27097
270982013-05-08 Joseph Myers <joseph@codesourcery.com>
27099
27100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27101 (MINUS_ZERO_INIT): Likewise.
27102 (PLUS_INFTY_INIT): Likewise.
27103 (MINUS_INFTY_INIT): Likewise.
27104 (QNAN_VALUE_INIT): Likewise.
27105 (MAX_VALUE_INIT): Likewise.
27106 (MIN_VALUE_INIT): Likewise.
27107 (MIN_SUBNORM_VALUE_INIT): Likewise.
27108 (plus_zero): Initialize with PLUS_ZERO_INIT.
27109 (minus_zero): Initialize with MINUS_ZERO_INIT.
27110 (plus_infty): Initialize with PLUS_INFTY_INIT.
27111 (minus_infty): Initialize with MINUS_INFTY_INIT.
27112 (qnan_value): Initialize with QNAN_VALUE_INIT.
27113 (max_value): Initialize with MAX_VALUE_INIT.
27114 (min_value): Initialize with MIN_VALUE_INIT.
27115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27116
27117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27121
27122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27123 (RUN_TEST_2_f): Likewise.
27124 (RUN_TEST_ff_f): Likewise.
27125 (RUN_TEST_fi_f): Likewise.
27126 (RUN_TEST_fl_f): Likewise.
27127 (RUN_TEST_fff_f): Likewise.
27128 (RUN_TEST_c_f): Likewise.
27129 (RUN_TEST_f_f1): Likewise.
27130 (RUN_TEST_fF_f1): Likewise.
27131 (RUN_TEST_fI_f1): Likewise.
27132 (RUN_TEST_ffI_f1): Likewise.
27133 (RUN_TEST_c_c): Likewise.
27134 (RUN_TEST_cc_c): Likewise.
27135 (RUN_TEST_f_i): Likewise.
27136 (RUN_TEST_f_i_tg): Likewise.
27137 (RUN_TEST_ff_i_tg): Likewise.
27138 (RUN_TEST_f_b): Likewise.
27139 (RUN_TEST_f_b_tg): Likewise.
27140 (RUN_TEST_f_l): Likewise.
27141 (RUN_TEST_f_L): Likewise.
27142 (RUN_TEST_sincos): Likewise.
27143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27144 whether to show exceptions. Do not include ");\n" in return
27145 value.
27146 (special_functions): Output call to RUN_TEST_sincos instead of
27147 check_float calls. Update calls to new_test.
27148 (parse_args): Output call to single RUN_TEST_* macro instead of
27149 check_* calls and other assignments. Update calls to new_test.
27150
27151 [BZ #2546]
27152 [BZ #2560]
27153 [BZ #5159]
27154 [BZ #15426]
27155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27156 input to result for tgamma overflow.
27157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27158 (gamma_coeff): New variable.
27159 (NCOEFF): New macro.
27160 (gamma_positive): New function.
27161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27162 underflow here. Use gamma_positive instead of exp (lgamma) for
27163 other arguments.
27164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27165 (gamma_coeff): New variable.
27166 (NCOEFF): New macro.
27167 (gammaf_positive): New function.
27168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27169 underflow here. Use gamma_positive instead of exp (lgamma) for
27170 other arguments.
27171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27172 (gamma_coeff): New variable.
27173 (NCOEFF): New macro.
27174 (gammal_positive): New function.
27175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27176 underflow here. Use gamma_positive instead of exp (lgamma) for
27177 other arguments.
27178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27179 (gamma_coeff): New variable.
27180 (NCOEFF): New macro.
27181 (gammal_positive): New function.
27182 (__ieee754_gammal_r): Handle positive infinity, overflow and
27183 underflow here. Handle NaN the same as positive infinity. Remove
27184 check x < 0xffffffff for negative integers. Use gamma_positive
27185 instead of exp (lgamma) for other arguments.
27186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27187 (gamma_coeff): New variable.
27188 (NCOEFF): New macro.
27189 (gammal_positive): New function.
27190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27196 * sysdeps/generic/math_private.h (__gamma_productf): New
27197 prototype.
27198 (__gamma_product): Likewise.
27199 (__gamma_productl): Likewise.
27200 * math/Makefile (libm-calls): Add gamma_product.
27201 * math/libm-test.inc (tgamma_test): Add more tests.
27202 * sysdeps/i386/fpu/libm-test-ulps: Update.
27203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27204
272052013-05-08 Ondřej Bílka <neleai@seznam.cz>
27206
27207 * benchtests/bench-skeleton.c (main): Preheat CPU.
27208
272092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27210
27211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27212
272132013-05-07 Roland McGrath <roland@hack.frob.com>
27214
27215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27216 and _dl_skip_args_internal.
27217
272182013-05-07 Carlos O'Donell <carlos@redhat.com>
27219
27220 * manual/message.texi (Message Translation): Talk about users.
27221 Message to key mapping impacts design.
27222
272232013-05-06 Roland McGrath <roland@hack.frob.com>
27224
27225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27226
27227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27228
27229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27230 * sysdeps/wordsize-64/glob64.c: ... here.
27231
27232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27234 New macros.
27235
27236 * debug/getlogin_r_chk.c: Moved to ...
27237 * login/getlogin_r_chk.c: ... here.
27238 * debug/Makefile (routines): Move getlogin_r_chk to ...
27239 * login/Makefile (routines): ... here.
27240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27241 * login/Versions (libc: GLIBC_2.4): ... here.
27242
27243 * io/poll.c (__poll): Renamed from poll.
27244 Add libc_hidden_def.
27245 (poll): Define as weak alias.
27246
27247 * debug/ptsname_r_chk.c: Moved to ...
27248 * login/ptsname_r_chk.c: ... here.
27249 * debug/Makefile (routines): Move ptsname_r_chk to ...
27250 * login/Makefile (routines): ... here.
27251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27252 * login/Versions (libc: GLIBC_2.4): ... here.
27253
27254 * posix/getlogin.c: Moved to ...
27255 * login/getlogin.c: ... here.
27256 * posix/getlogin_r.c: Moved to ...
27257 * login/getlogin_r.c: ... here.
27258 * posix/getlogin_r.c: Moved to ...
27259 * login/getlogin_r.c: ... here.
27260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27261 * login/Makefile (routines): ... here.
27262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27263 * login/Versions (libc: GLIBC_2.0): ... here.
27264
27265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27266 (setrlimit): Define as weak alias.
27267
27268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27269 Call __ names for open, ftruncate, and close.
27270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27271 (truncate): Define as weak alias.
27272
272732013-05-06 Joseph Myers <joseph@codesourcery.com>
27274
27275 * math/gen-libm-test.pl (parse_args): Initialize x before each
27276 test of frexp, modf and remquo.
27277
27278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27279 test signgam value.
27280
272812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27282
27283 [BZ #15418]
27284 [BZ #15419]
27285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27286 internal tests.
27287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27288
272892013-05-06 Roland McGrath <roland@hack.frob.com>
27290
27291 * elf/dl-writev.h: New file.
27292 * elf/dl-misc.c: Include it.
27293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27295
272962013-05-04 Joseph Myers <joseph@codesourcery.com>
27297
27298 * math/libm-test.inc (noXFails): Remove variable.
27299 (noXPasses): Likewise.
27300 (BUILD_COMPLEX_INT): Remove macro.
27301 (print_screen): Remove xfail argument.
27302 (print_screen_max_error): Likewise.
27303 (update_stats): Likewise.
27304 (print_max_error): Likewise. Update calls to other affected
27305 functions.
27306 (print_complex_max_error): Likewise.
27307 (test_single_exception): Update calls to print_screen.
27308 (test_single_errno): Likewise.
27309 (check_float_internal): Remove xfail argument. Update calls to
27310 other affected functions.
27311 (check_float): Likewise.
27312 (check_complex): Likewise.
27313 (check_int): Likewise.
27314 (check_long): Likewise.
27315 (check_bool): Likewise.
27316 (check_longlong): Likewise.
27317 (main): Don't print noXFails and noXPasses.
27318 * math/gen-libm-test.pl (top level): Don't mention expected
27319 failure handling in comment.
27320 (new_test): Don't handle expected failures.
27321 (parse_args): Don't mention expected failure handling in comment.
27322 (generate_testfile): Don't handle expected failures.
27323 (parse_ulps): Likewise.
27324 (print_ulps_file): Likewise.
27325 (get_failure): Remove function.
27326 (output_test): Don't handle expected failures.
27327 * make/README.libm-test: Don't mention expected failure handling.
27328
27329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27330 (minus_zero): Likewise.
27331 (plus_infty): Likewise.
27332 (minus_infty): Likewise.
27333 (qnan_value): Likewise.
27334 (max_value): Likewise.
27335 (min_value): Likewise.
27336 (min_subnorm_value): Likewise.
27337 (initialize): Do not initialize those variables dynamically.
27338
273392013-05-03 Roland McGrath <roland@hack.frob.com>
27340
27341 * io/open.c (__open_2): Moved to ...
27342 * io/open_2.c: ... this new file.
27343 * io/open64.c (__open64_2): Moved to ...
27344 * io/open64_2.c: ... this new file.
27345 * io/openat.c (__openat_2): Moved to ...
27346 * io/openat_2.c: ... this new file.
27347 * io/openat64.c (__openat64_2): Moved to ...
27348 * io/openat64_2.c: ... this new file.
27349 * io/Makefile (routines): Add them.
27350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27356 (__openat64): Add hidden_ver.
27357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27359
27360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27361 Separately conditionalize setting of GLRO(dl_sysinfo) so
27362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27364
273652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27366
27367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27369 definition.
27370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27375
273762013-05-03 Joseph Myers <joseph@codesourcery.com>
27377
27378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27379 test signgam value.
27380
27381 * math/libm-test.inc (hypot_test): Do not use
27382 IGNORE_ZERO_INF_SIGN.
27383
273842013-05-03 Andreas Jaeger <aj@suse.de>
27385
27386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27387 Linux 3.9.
27388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27389 (PF_MAX): Adjust for VSOCK change.
27390
273912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27392
27393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27394
273952013-05-02 Carlos O'Donell <carlos@redhat.com>
27396
27397 [BZ #15264]
27398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27401
274022013-05-02 David S. Miller <davem@davemloft.net>
27403
27404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27405
274062013-05-01 Ondřej Bílka <neleai@seznam.cz>
27407
27408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27409
274102013-05-01 Roland McGrath <roland@hack.frob.com>
27411
27412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27413
274142013-05-01 Richard Smith <richard@metafoo.co.uk>
27415
27416 [BZ #14952]
27417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27419 Use __attribute__ ((__gnu_inline__)).
27420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27421 Don't use __attribute__ ((__gnu_inline__)).
27422
274232013-05-01 Joseph Myers <joseph@codesourcery.com>
27424
27425 [BZ #15423]
27426 * math/s_catan.c (__catan): Handle small real or imaginary part of
27427 input specially to avoid spurious underflow.
27428 * math/s_catanf.c (__catanf): Likewise.
27429 * math/s_catanh.c (__catanh): Likewise.
27430 * math/s_catanhf.c (__catanhf): Likewise.
27431 * math/s_catanhl.c (__catanhl): Likewise.
27432 * math/s_catanl.c (__catanl): Likewise.
27433 * math/libm-test.inc (catan_test): Add more tests.
27434 (catanh_test): Likewise.
27435 * sysdeps/i386/fpu/libm-test-ulps: Update.
27436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27437
274382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27439
27440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27441
274422013-04-30 Joseph Myers <joseph@codesourcery.com>
27443
27444 [BZ #15416]
27445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27446 accurately for denominator in atan2.
27447 * math/s_catanf.c (__catanf): Likewise.
27448 * math/s_catanh.c (__catanh): Likewise.
27449 * math/s_catanhf.c (__catanhf): Likewise.
27450 * math/s_catanhl.c (__catanhl): Likewise.
27451 * math/s_catanl.c (__catanl): Likewise.
27452 * math/libm-test.inc (catan_test): Add more tests.
27453 (catanh_test): Likewise.
27454 * sysdeps/i386/fpu/libm-test-ulps: Update.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
274572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27458
27459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27460
27461 * benchtests/Makefile (bench): Remove slow benchmarks.
27462 * benchtests/atan-inputs: Add slow benchmark inputs.
27463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27464 (BENCH_FUNC): Accept variant offset.
27465 (VARIANT): Define.
27466 * benchtests/bench-skeleton.c (main): Run benchmark for each
27467 variant.
27468 * benchtests/cos-inputs: Add slow benchmark inputs.
27469 * benchtests/exp-inputs: Likewise.
27470 * benchtests/pow-inputs: Likewise.
27471 * benchtests/sin-inputs: Likewise.
27472 * benchtests/slowatan-inputs: Remove.
27473 * benchtests/slowatan.c: Remove.
27474 * benchtests/slowcos-inputs: Remove.
27475 * benchtests/slowcos.c: Remove.
27476 * benchtests/slowexp-inputs: Remove.
27477 * benchtests/slowexp.c: Remove.
27478 * benchtests/slowpow-inputs: Remove.
27479 * benchtests/slowpow.c: Remove.
27480 * benchtests/slowsin-inputs: Remove.
27481 * benchtests/slowsin.c: Remove.
27482 * benchtests/slowtan-inputs: Remove.
27483 * benchtests/slowtan.c: Remove.
27484 * benchtests/tan-inputs: Add slow benchmark inputs.
27485 * scripts/bench.pl: Parse comments and directives.
27486
27487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27488 in CPPFLAGS.
27489 ($(objpfx)bench-%.c): Remove *-ITER.
27490 * benchtests/bench-modf.c: Remove definition of ITER.
27491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27492 (main): Loop for DURATION seconds instead of fixed number of
27493 iterations.
27494 * scripts/bench.pl: Don't expect iterations in parameters.
27495
274962013-04-29 Roland McGrath <roland@hack.frob.com>
27497
27498 * io/fchdir.c (__fchdir): Renamed from fchdir.
27499 (fchdir): Define as weak alias.
27500
275012013-04-29 Joseph Myers <joseph@codesourcery.com>
27502
27503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27504 (ERRNO_EDOM): Likewise.
27505 (ERRNO_ERANGE): Likewise.
27506 (noErrnoTests): New variable.
27507 (init_max_error): Set errno to 0.
27508 (test_single_errno): New function.
27509 (test_errno): Likewise.
27510 (check_float_internal): Call test_errno. Set errno to 0.
27511 (check_complex): Refer to errno tests in comment.
27512 (check_int): Call test_errno. Set errno to 0.
27513 (check_long): Likewise.
27514 (check_bool): Likewise.
27515 (check_longlong): Likewise.
27516 (cos_test): Use ERRNO_* flags for errno tests instead of
27517 check_int.
27518 (expm1_test): Likewise.
27519 (fmod_test): Likewise.
27520 (ilogb_test): Likewise.
27521 (lgamma_test): Likewise.
27522 (pow_test): Likewise.
27523 (remainder_test): Likewise.
27524 (sin_test): Likewise.
27525 (tan_test): Likewise.
27526 (yn_test): Likewise.
27527 (initialize): Set errno to 0.
27528 (main): Print number of errno tests.
27529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27530
275312013-04-29 Andreas Jaeger <aj@suse.de>
27532
27533 [BZ #15084]
27534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27535 and RES_USEVC.
27536
27537 [BZ #15085]
27538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27540 unimplemented.
27541
27542 [BZ #15380]
27543 * stdlib/random.c (__initstate): Return NULL if
27544 __initstate fails.
27545
27546 [BZ #15086]
27547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27549 RES_SNGLKUPREOP.
27550
275512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27552
27553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27554
275552013-04-29 Joseph Myers <joseph@codesourcery.com>
27556
27557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27558 of individual tests.
27559 (casin_test): Likewise.
27560 (casinh_test): Likewise.
27561
275622013-04-27 Joseph Myers <joseph@codesourcery.com>
27563
27564 [BZ #15409]
27565 * math/s_catan.c (__catan): Handle arguments with large real or
27566 imaginary part separately without squaring.
27567 * math/s_catanf.c (__catanf): Likewise.
27568 * math/s_catanh.c (__catanh): Likewise.
27569 * math/s_catanhf.c (__catanhf): Likewise.
27570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27571 and redefine.
27572 (__catanhl): Handle arguments with large real or imaginary part
27573 separately without squaring.
27574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27575 and redefine.
27576 (__catanl): Handle arguments with large real or imaginary part
27577 separately without squaring.
27578 * math/libm-test.inc (catan_test): Add more tests.
27579 (catanh_test): Likewise.
27580 * sysdeps/i386/fpu/libm-test-ulps: Update.
27581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27582
275832013-04-27 Andreas Jaeger <aj@suse.de>
27584
27585 [BZ #15007]
27586 * stdlib/stdlib.h: Update guards for qecvt.
27587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27588 <stdlib.h>.
27589
275902013-04-27 Allan McRae <allan@archlinux.org>
27591
27592 * sysdeps/i386/fpu/libm-test-ulps: Update.
27593
275942013-04-26 Joseph Myers <joseph@codesourcery.com>
27595
27596 [BZ #15406]
27597 * math/s_catan.c: Include <float.h>.
27598 (__catan): Ensure underflow exception occurs for underflowed
27599 result.
27600 * math/s_catanf.c: Include <float.h>.
27601 (__catanf): Ensure underflow exception occurs for underflowed
27602 result.
27603 * math/s_catanh.c: Include <float.h>.
27604 (__catanh): Ensure underflow exception occurs for underflowed
27605 result.
27606 * math/s_catanhf.c: Include <float.h>.
27607 (__catanhf): Ensure underflow exception occurs for underflowed
27608 result.
27609 * math/s_catanhl.c: Include <float.h>.
27610 (__catanhl): Ensure underflow exception occurs for underflowed
27611 result.
27612 * math/s_catanl.c: Include <float.h>.
27613 (__catanl): Ensure underflow exception occurs for underflowed
27614 result.
27615 * math/libm-test.inc (catan_test): Add more tests.
27616 (catanh_test): Likewise.
27617
27618 [BZ #15405]
27619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27620 underflowed result.
27621 * math/s_ccoshf.c (__ccoshf): Likewise.
27622 * math/s_ccoshl.c (__ccoshl): Likewise.
27623 * math/s_csin.c (__csin): Likewise.
27624 * math/s_csinf.c (__csinf): Likewise.
27625 * math/s_csinh.c (__csinh): Likewise.
27626 * math/s_csinhf.c (__csinhf): Likewise.
27627 * math/s_csinhl.c (__csinhl): Likewise.
27628 * math/s_csinl.c (__csinl): Likewise.
27629 * math/libm-test.inc (ccos_test): Add more tests.
27630 (ccosh_test): Likewise.
27631 (csin_test): Likewise.
27632 (csinh_test): Likewise.
27633
276342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27635
27636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27641 powerpc/power5+/fpu folders.
27642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27643
27644
276452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27646
27647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27648
276492013-04-25 Joseph Myers <joseph@codesourcery.com>
27650
27651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27652 additions to variable.
27653 [$(config-machine) = x86_64] (modules-names): Likewise.
27654 ($(objpfx)tst-audit3): Remove dependency.
27655 ($(objpfx)tst-audit3.out): Likewise.
27656 ($(objpfx)tst-audit4): Likewise.
27657 ($(objpfx)tst-audit4.out): Likewise.
27658 ($(objpfx)tst-audit5): Likewise.
27659 ($(objpfx)tst-audit5.out): Likewise.
27660 ($(objpfx)tst-audit6): Likewise.
27661 ($(objpfx)tst-audit6.out): Likewise.
27662 ($(objpfx)tst-audit7): Likewise.
27663 ($(objpfx)tst-audit7.out): Likewise.
27664 (tst-audit3-ENV): Remove variable.
27665 (tst-audit4-ENV): Likewise.
27666 (tst-audit5-ENV): Likewise.
27667 (tst-audit6-ENV): Likewise.
27668 (tst-audit7-ENV): Likewise.
27669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27671 addition to variable.
27672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27678 tst-audit3, tst-audit4 and tst-audit5.
27679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27680 tst-audit6 and tst-audit7.
27681 [$(subdir) = elf] (modules-names): Add audit modules for those
27682 tests.
27683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27699 Likewise.
27700 [$(subdir) = elf && $(config-cflags-avx) = yes]
27701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27702 [$(subdir) = elf && $(config-cflags-avx) = yes]
27703 (CFLAGS-tst-auditmod4a.c): Likewise.
27704 [$(subdir) = elf && $(config-cflags-avx) = yes]
27705 (CFLAGS-tst-auditmod4b.c): Likewise.
27706 [$(subdir) = elf && $(config-cflags-avx) = yes]
27707 (CFLAGS-tst-auditmod6b.c): Likewise.
27708 [$(subdir) = elf && $(config-cflags-avx) = yes]
27709 (CFLAGS-tst-auditmod6c.c): Likewise.
27710 [$(subdir) = elf && $(config-cflags-avx) = yes]
27711 (CFLAGS-tst-auditmod7b.c): Likewise.
27712 * elf/tst-audit3.c: Move to ...
27713 * sysdeps/x86_64/tst-audit3.c: ... here.
27714 * elf/tst-audit4.c: Move to ...
27715 * sysdeps/x86_64/tst-audit4.c: ... here.
27716 * elf/tst-audit5.c: Move to ...
27717 * sysdeps/x86_64/tst-audit5.c: ... here.
27718 * elf/tst-audit6.c: Move to ...
27719 * sysdeps/x86_64/tst-audit6.c: ... here.
27720 * elf/tst-audit7.c: Move to ...
27721 * sysdeps/x86_64/tst-audit7.c: ... here.
27722 * elf/tst-auditmod3a.c: Move to ...
27723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27724 * elf/tst-auditmod3b.c: Move to ...
27725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27726 * elf/tst-auditmod4a.c: Move to ...
27727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27728 * elf/tst-auditmod4b.c: Move to ...
27729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27730 * elf/tst-auditmod5a.c: Move to ...
27731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27732 * elf/tst-auditmod5b.c: Move to ...
27733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27734 * elf/tst-auditmod6a.c: Move to ...
27735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27736 * elf/tst-auditmod6b.c: Move to ...
27737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27738 * elf/tst-auditmod6c.c: Move to ...
27739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27740 * elf/tst-auditmod7a.c: Move to ...
27741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27742 * elf/tst-auditmod7b.c: Move to ...
27743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27744
277452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27746
27747 [BZ #15366]
27748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27749 define unconditionally.
27750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27751 define unconditionally.
27752 (INT8_C, INT16_C, etc.): Likewise.
27753
277542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27755
27756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27757 __ehdr_start with hidden visibility.
27758
27759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27760
277612013-04-24 Carlos O'Donell <carlos@redhat.com>
27762
27763 * math/libm-test.inc (cos_test): Use accurate hex constants.
27764 (sincost_test): Likewise.
27765
277662013-04-24 Joseph Myers <joseph@codesourcery.com>
27767
27768 * math/libm-test.inc (catan_test): Add more tests.
27769 (catanh_test): Likewise.
27770
27771 * math/s_catanf.c (__catanf): Use suffixed floating-point
27772 constants.
27773 * math/s_catanhf.c (__catanhf): Likewise.
27774 * math/s_catanhl.c (__catanhl): Likewise.
27775 * math/s_catanl.c (__catanl): Likewise.
27776
27777 [BZ #15394]
27778 * math/s_catan.c (__catan): Calculate imaginary part of result
27779 with log1p not log unless computing log of number close to 0.
27780 * math/s_catanf.c (__catanf): Likewise.
27781 * math/s_catanl.c (__catanl): Likewise.
27782 * math/s_catanh.c (__catanh): Calculate real part of result with
27783 log1p not log unless computing log of number close to 0.
27784 * math/s_catanhf.c (__catanhf): Likewise.
27785 * math/s_catanhl.c (__catanhl): Likewise.
27786 * math/libm-test.inc (catan_test): Add more tests.
27787 (catanh_test): Likewise.
27788 * sysdeps/i386/fpu/libm-test-ulps: Update.
27789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27790
277912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27792
27793 * benchtests/Makefile: Mention files in which fast and slow
27794 paths of math functions are implemented.
27795
277962013-04-23 Roland McGrath <roland@hack.frob.com>
27797
27798 * sysdeps/posix/timespec_get.c: New file.
27799
278002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27801
27802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27803 POWER.
27804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27805 for POWER.
27806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27807 powerpc/power5/fpu folders.
27808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27809 * benchtests/Makefile: Add modf testcase.
27810 * benchtests/bench-modf.c: New file: Benchmark test for mo
27811
278122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27813
27814 [BZ #14888]
27815 * time/Makefile (tests): Add tst-strptime-whitespace.
27816 * time/strptime_l.c (get_number): Use ISSPACE.
27817 (__strptime_internal): Likewise.
27818 * time/tst-strptime-whitespace.c: New test case.
27819
278202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27821
27822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27823 member.
27824 (_nss_files_init): Set it here.
27825
278262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27827
27828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27830 unsigned.
27831
278322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27833
27834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27835
278362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27837
27838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27839 size just once.
27840
278412013-04-21 David S. Miller <davem@davemloft.net>
27842
27843 * po/ru.po: Update Russion translation from translation project.
27844
278452013-04-17 Adam Conrad <adconrad@0c3.net>
27846
27847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27848 and setfsgid.
27849
278502013-04-17 Carlos O'Donell <carlos@redhat.com>
27851
27852 * configure.in: Remove i386 configure warning. Remove i386 case.
27853 * configure: Regenerate.
27854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27855 Add example to error message.
27856 * sysdeps/i386/configure: Regenerate.
27857
278582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27859
27860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27861 slowtan.
27862 * benchtests/cos-inputs: New file.
27863 * benchtests/slowcos-inputs: New file.
27864 * benchtests/slowcos.c: New file.
27865 * benchtests/slowtan-inputs: New file.
27866 * benchtests/slowtan.c: New file.
27867 * benchtests/tan-inputs: New file.
27868
278692013-04-16 Roland McGrath <roland@hack.frob.com>
27870
27871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27872 considered kosher.
27873
278742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27875
27876 * benchtests/Makefile: Include cppflags-iterator.mk to add
27877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27878
27879 * Makefile.in (bench-clean): New target.
27880 * benchtests/Makefile (bench-clean): Likewise.
27881
278822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27883
27884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27885
278862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27887
27888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27889
278902013-04-15 Andreas Schwab <schwab@suse.de>
27891
27892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27894 * nscd/pwdcache.c (cache_addpw): Likewise.
27895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27896 more than recsize.
27897
278982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27899
27900 * benchtests/Makefile (bench): Write all output to
27901 bench-out.tmp together.
27902
279032013-04-15 Andreas Schwab <schwab@suse.de>
27904
27905 * nscd/nscd.c (main): Don't fork again after closing files.
27906
279072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27908
27909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27910
27911 * benchtests/Rules (bench-deps): Collect dependencies into a
27912 single variable. Add Makefile to dependencies.
27913 ($(objpfx)bench-%.c): Depend on bench-deps.
27914
279152013-04-12 Roland McGrath <roland@hack.frob.com>
27916 Xavier Roche <roche+kml2@exalead.com>
27917
27918 [BZ #15361]
27919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27920 just that it's a file descriptor.
27921 * manual/llio.texi (Synchronizing AIO Operations): Update description
27922 for EBADF error from aio_fsync.
27923
279242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27925
27926 * Rules (bench): Move target definition...
27927 * benchtests/Makefile: ... here.
27928
279292013-04-11 Carlos O'Donell <carlos@redhat.com>
27930
27931 * math/libm-test.inc (cos_test): Fix PI/2 test.
27932 (sincos_test): Likewise.
27933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27935
279362013-04-11 Andreas Schwab <schwab@suse.de>
27937
27938 [BZ #13988]
27939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27940 accept exponent character only when digits were seen.
27941 * stdio-common/Makefile (tests): Add bug26.
27942 * stdio-common/bug26.c: New file.
27943
27944 [BZ #14293]
27945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27946 non-freeable.
27947
279482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27949
27950 * Makeconfig (rtld-prefix): Define built linker prefix.
27951 * Rules (run-bench): Use it.
27952 * math/Makefile (run-regen-ulps): Likewise.
27953
27954 * Rules (bench): Remove eval.
27955
279562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27957 Roland McGrath <roland@hack.frob.com>
27958 Ondrej Bilka <neleai@seznam.cz>
27959
27960 [BZ #15346]
27961 * time/getdate.c: Include ctype.h and alloca.h.
27962 (__getdate_r): Trim leading and trailing spaces of input.
27963 * time/tst-getdate.c (tests): Add tests with leading and
27964 trailing spaces.
27965
279662013-04-08 Roland McGrath <roland@hack.frob.com>
27967
27968 [BZ #14280]
27969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27970 when computing value.
27971
279722013-04-06 Carlos O'Donell <carlos@redhat.com>
27973
27974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27975 Use testrun.sh to run libm tests.
27976
27977 [BZ #15309]
27978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27979
279802013-04-06 Marko Myllynen <myllynen@redhat.com>
27981
27982 [BZ #15264]
27983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27984
279852013-04-06 Carlos O'Donell <carlos@redhat.com>
27986
27987 * Makefile.in (regen-ulps): New target.
27988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27990 [ifneq (no,$(PERL)] (regen-ulps): New target.
27991 [ifeq (no,$(PERL)] (regen-ulps): New target.
27992 * math/libm-test.inc (ulps_file_name): Define.
27993 (output_dir): New variable.
27994 (options): Add "output-dir" option.
27995 (parse_opt): Handle 'o' case.
27996 (main): If output_dir is non-NULL use it as a prefix
27997 otherwise use "".
27998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27999
280002013-04-06 Carlos O'Donell <carlos@redhat.com>
28001
28002 [BZ #10060, #10062]
28003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28005 fail configure if __sync_val_compare_and_swap is not inlined.
28006 * sysdeps/i386/configure: Regenerate.
28007 * configure.in: Build for i686 when configured for i386.
28008 * configure: Regenerate.
28009 * README: Remove i386 reference.
28010
280112013-04-06 Carlos O'Donell <carlos@redhat.com>
28012
28013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28015
280162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28017
28018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28019 (lmsnanval): New variables.
28020 (F): Add conversion tests.
28021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28023
28024 * stdio-common/tstdiomisc.c (F): Properly collect individual
28025 tests' results.
28026
28027 [BZ #14686, #15336]
28028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28030 Instead, use input NaN values or generate a qNaN by arithmetic
28031 operation. Also fix bugs to comply with the standard.
28032 * math/libm-test.inc (remainder_test): Add more tests.
28033
28034 [BZ #15335, #15342]
28035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28037 input NaN values or generate a qNaN by arithmetic operation.
28038
28039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28040 unreachable code.
28041
28042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28043 definitions.
28044
280452013-04-03 Joseph Myers <joseph@codesourcery.com>
28046
28047 [BZ #14478]
28048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28049 underflowed result.
28050 * math/s_cexpf.c (__cexpf): Likewise.
28051 * math/s_cexpl.c (__cexpl): Likewise.
28052 * math/libm-test.inc (cexp_test): Add more tests.
28053
280542013-04-03 Andreas Schwab <schwab@suse.de>
28055
28056 [BZ #15330]
28057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28058 order arrays from heap if bigger than alloca cutoff.
28059
280602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28061
28062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28063 (SNAN_TESTS_double): Refer to GCC PR56831.
28064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28065 GCC PR56828.
28066
280672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28068
28069 * Rules (bench): Move bench.out after the run is complete.
28070
28071 * Rules (bench): Echo currently running benchmark.
28072
28073 * benchtests/Makefile (bench): Add atan and slowatan.
28074 * benchtests/atan-inputs: New file.
28075 * benchtests/slowatan-inputs: New file.
28076 * benchtests/slowatan.c: New file.
28077
28078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28080 its value.
28081
28082 [BZ #15305]
28083 * sysdeps/unix/sysv/linux/kernel-features.h
28084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28085 __ASSUME_XFS_RESTRICTED_CHOWN.
28086 * sysdeps/unix/sysv/linux/pathconf.c
28087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28088 Save and restore errno.
28089
280902013-04-02 Joseph Myers <joseph@codesourcery.com>
28091
28092 [BZ #15327]
28093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28094 arguments using __kernel_casinh.
28095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28096 arguments using __kernel_casinhf.
28097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28098 arguments using __kernel_casinhl.
28099 * math/libm-test.inc (cacosh_test): Add more tests.
28100 * sysdeps/i386/fpu/libm-test-ulps: Update.
28101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28102
281032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28104
28105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28107
28108 * bench/Makefile (bench): Add sin and slowsin.
28109 * benchtests/sin-inputs: New file.
28110 * benchtests/slowsin-inputs: New file.
28111 * benchtests/slowsin.c: New file.
28112
28113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28114 (bench): Add slowexp and slowpow.
28115 (exp-ITER): Increase iterations.
28116 (pow-ITER): Likewise.
28117 * benchtests/exp-inputs: Change input.
28118 * benchtests/pow-inputs: Likewise.
28119 * benchtests/slowexp-inputs: New file.
28120 * benchtests/slowexp.c: New file.
28121 * benchtests/slowpow-inputs: New file.
28122 * benchtests/slowpow.c: New file.
28123
281242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28125
28126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28127 instructions.
28128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28131 * benchtests/Makefile: Add rint benchtest.
28132 * benchtests/rint-inputs: Input for rint benchtest.
28133
281342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28135
28136 * Versions.def (libm): Add GLIBC_2.18.
28137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28138 hidden libm prototypes.
28139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28140 * math/Makefile (libm-calls): Add s_issignaling.
28141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28144 declaration.
28145 * math/math.h [__USE_GNU] (issignaling): New macro.
28146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28152 * manual/arith.texi (issignaling): New section.
28153 * manual/libm-err-tab.pl (@all_functions): Update comment.
28154 * math/gen-libm-test.pl (parse_args): Apply special handling for
28155 issignaling.
28156 * math/libm-test.inc (print_float, issignaling_test): New
28157 functions.
28158 (check_float_internal): Add issignaling checks.
28159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28160 default definition.
28161 * sysdeps/powerpc/math-tests.h: New file.
28162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28163 tests.
28164 * math/test-snan.c (TEST_FUNC): Likewise.
28165
281662013-03-30 David S. Miller <davem@davemloft.net>
28167
28168 * po/de.po: Update from translation team.
28169
281702013-03-30 Joseph Myers <joseph@codesourcery.com>
28171
28172 [BZ #10357]
28173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28174 imaginary part less than 1.0 and real part less than 0.5
28175 specially.
28176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28179 (cacos_test): Add more tests.
28180 (casin_test): Likewise.
28181 (casinh_test): Likewise.
28182 * sysdeps/i386/fpu/libm-test-ulps: Update.
28183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28184
281852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28186
28187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28188 ONE with its value.
28189
28190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28191 (__pow_mp): Replace ONE and MONE with their values.
28192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28198
28199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28200
28201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28202 (__pow_mp): Replace ZERO and MZERO with their values.
28203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28209 (__sqr): Likewise.
28210
28211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28212
28213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28214
282152013-03-28 Roland McGrath <roland@hack.frob.com>
28216
28217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28218 Declare with __attribute__ ((weak)).
28219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28220 Call __call_tls_dtors only if it's not NULL.
28221
282222013-03-28 Roland McGrath <roland@hack.frob.com>
28223
28224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28226 magic __ehdr_start linker symbol if it's defined.
28227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28228 them up here if it was already done.
28229
28230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28231 (_dl_aux_init): Use const in cast when setting it.
28232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28235
28236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28237 Declare them here.
28238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28239 * csu/libc-tls.c: Nor here.
28240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28241
28242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28243 (__libc_message): Never call vsyslog.
28244
282452013-03-28 Alan Modra <amodra@gmail.com>
28246
28247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28248 Define as empty.
28249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28250 Likewise.
28251
282522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28253
28254 [BZ #15214]
28255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28256 underflow.
28257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28258
282592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28260
28261 [BZ #15304]
28262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28263 Don't add gid passed as argument.
28264
28265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28266
282672013-03-27 Joseph Myers <joseph@codesourcery.com>
28268
28269 [BZ #15307]
28270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28271 imaginary part between 1.0 and 1.5 and real part less than 0.5
28272 specially.
28273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28275 * math/libm-test.inc (cacos_test): Add more tests.
28276 (casin_test): Likewise.
28277 (casinh_test): Likewise.
28278 * sysdeps/i386/fpu/libm-test-ulps: Update.
28279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28280
282812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28282
28283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28284 constants.
28285 (norm): Likewise.
28286 (denorm): Likewise.
28287 (__dbl_mp): Likewise.
28288 (add_magnitudes): Likewise.
28289 (sub_magnitudes): Likewise.
28290 (__add): Likewise.
28291 (__sub): Likewise.
28292 (__mul): Likewise.
28293 (__sqr): Likewise.
28294 (__inv): Likewise.
28295 (__dvd): Likewise.
28296
28297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28298 commented code.
28299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28300 (__dubcos): Likewise.
28301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28302 (__ieee754_acos): Likewise.
28303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28305 (__exp1): Likewise.
28306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28308 (log1): Likewise.
28309 (my_log2): Likewise.
28310 (checkint): Likewise.
28311 * sysdeps/ieee754/dbl-64/e_remainder.c
28312 (__ieee754_remainder): Likewise.
28313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28315 (bsloww): Likewise.
28316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28317
28318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28320 MANTISSA_STORE_T to store computations on mantissa. Use
28321 macros for rounding and division.
28322 (denorm): Likewise.
28323 (__dbl_mp): Likewise.
28324 (add_magnitudes): Likewise.
28325 (sub_magnitudes): Likewise.
28326 (__mul): Likewise.
28327 (__sqr): Likewise.
28328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28329 powers of two in terms of TWOPOW macro.
28330 (mp_no): Make type of mantissa as MANTISSA_T.
28331 [!RADIXI]: Define RADIXI.
28332 [!TWO52]: Define TWO52.
28333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28334
283352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28336
28337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28338 llroundl symbol when building for PPC32.
28339
283402013-03-24 Mark H Weaver <mhw@netris.org>
28341
28342 * manual/arith.texi (Normalization Functions): Fix prototypes for
28343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28344
283452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28346
28347 [BZ #13889]
28348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28349 high value to check if expl overflow.
28350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28351 to check for underflow and overflow.
28352 * math/libm-test.inc: Add exp test.
28353
283542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28355
28356 [BZ #11120]
28357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28358 with NOT_IN_libc.
28359
283602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28361
28362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28363 symbol.
28364
283652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28366
28367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28368 wrap blocks consisting of several statements.
28369
28370 * sysdeps/generic/math-tests.h: New file.
28371 * sysdeps/i386/fpu/math-tests.h: Likewise.
28372 * math/test-snan.c: Include it.
28373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28374
283752013-03-21 Joseph Myers <joseph@codesourcery.com>
28376
28377 [BZ #15285]
28378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28379 (__ieee754_j0l): Do not improve calculations using cos of twice
28380 input for inputs above LDBL_MAX / 2.0L.
28381 (__ieee754_y0l): Likewise.
28382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28383 (__ieee754_j1l): Do not improve calculations using cos of twice
28384 input for inputs above LDBL_MAX / 2.0L.
28385 (__ieee754_y1l): Likewise.
28386 * math/libm-test.inc (j0_test): Add another test.
28387 (j1_test): Likewise.
28388 (y0_test): Likewise.
28389 (y1_test): Likewise.
28390 * sysdeps/i386/fpu/libm-test-ulps: Update.
28391
283922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28393
28394 * Rules ($(objpfx)bench-%.c): Include code from a C source
28395 file.
28396
283972013-03-21 Joseph Myers <joseph@codesourcery.com>
28398
28399 [BZ #15287]
28400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28401 imaginary part 1.0 and real part less than 0.5 specially.
28402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28404 * math/libm-test.inc (cacos_test): Add more tests.
28405 (casin_test): Likewise.
28406 (casinh_test): Likewise.
28407 * sysdeps/i386/fpu/libm-test-ulps: Update.
28408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28409
284102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28411
28412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28414
284152013-03-20 Joseph Myers <joseph@codesourcery.com>
28416
28417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28418 * config.make.in (config-cflags-sse4): Remove variable.
28419 (config-cflags-avx): Likewise.
28420 (config-cflags-sse2avx): Likewise.
28421 (config-cflags-novzeroupper): Likewise.
28422 (config-asflags-i686): Likewise.
28423 (have-mfma4): Likewise.
28424 (have-as-vis3): Likewise.
28425 (MIG): Likewise.
28426 * configure.in (MIG): Do not AC_SUBST.
28427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28428 (libc_cv_cc_sse4): Do not AC_SUBST.
28429 (libc_cv_cc_avx): Likewise.
28430 (libc_cv_cc_sse2avx): Likewise.
28431 (libc_cv_cc_novzeroupper): Likewise.
28432 (libc_cv_cc_fma4): Likewise.
28433 (libc_cv_as_i686): Likewise.
28434 (libc_cv_sparc_as_vis3): Likewise.
28435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28436 LIBC_CONFIG_VAR.
28437 (config-asflags-i686): Likewise.
28438 (config-cflags-avx): Likewise.
28439 (config-cflags-sse2avx): Likewise.
28440 (have-mfma4): Likewise.
28441 (config-cflags-novzeroupper): Likewise.
28442 * sysdeps/mach/configure.in (MIG): Likewise.
28443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28445 LIBC_CONFIG_VAR.
28446 (config-cflags-avx): Likewise.
28447 (config-cflags-sse2avx): Likewise.
28448 (have-mfma4): Likewise.
28449 (config-cflags-novzeroupper): Likewise.
28450 * configure: Regenerated.
28451 * sysdeps/i386/configure: Likewise.
28452 * sysdeps/mach/configure: Likewise.
28453 * sysdeps/sparc/configure: Likewise.
28454 * sysdeps/x86_64/configure: Likewise.
28455
284562013-03-20 Roland McGrath <roland@hack.frob.com>
28457
28458 [BZ #14812]
28459 * locale/programs/localedef.c (options): Put N_ translation marker
28460 on argument names, not just descriptions.
28461
284622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28463
28464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28465
284662013-03-20 Ondřej Bílka <neleai@seznam.cz>
28467
28468 [BZ #14176]
28469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28470
284712013-03-19 Roland McGrath <roland@hack.frob.com>
28472
28473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28476 [!BEFORE_ABORT] (before_abort): New function.
28477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28479 (writev_for_fatal): New function.
28480 (WRITEV_FOR_FATAL): New macro; call that.
28481 (backtrace_and_maps): New function.
28482 (BEFORE_ABORT): New macro; call that.
28483 (struct str_list): Type removed.
28484 (__libc_message, __libc_fatal): Functions removed.
28485 Include <sysdeps/posix/libc_fatal.c> instead.
28486
284872013-03-19 Joseph Myers <joseph@codesourcery.com>
28488
28489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28490 constants.
28491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28492 double constants.
28493
284942013-03-19 Andreas Schwab <schwab@suse.de>
28495
28496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28497 * sysdeps/gnu/configure: Regenerate.
28498
28499 * configure.in: Substitute libc_cv_rtlddir.
28500 * configure: Regenerate.
28501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28504 * elf/Makefile (install-others, CFLAGS-interp.c)
28505 (ldso_install, common-ldd-rewrite): Likewise.
28506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28507 $(inst_slibdir)/$(rtld-installed-name).
28508 * scripts/rellns-sh: Add -p option.
28509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28510 for source.
28511
285122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28513
28514 * manual/nptl.texi: Renamed to ...
28515 * manual/threads.texi: ... this.
28516 * manual/Makefile (chapters): Update.
28517
285182013-03-18 Roland McGrath <roland@hack.frob.com>
28519
28520 [BZ #14812]
28521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28522 on argument names, not just descriptions.
28523 * malloc/memusagestat.c (options): Likewise.
28524 * nss/getent.c (options): Likewise.
28525
285262013-03-18 Benno Schulenberg <bensberg@justemail.net>
28527
28528 [BZ #14812]
28529 * iconv/iconv_prog.c (options): Put N_ translation marker
28530 on argument names, not just descriptions.
28531 * iconv/iconvconfig.c (options): Likewise.
28532
285332013-03-18 Ondrej Bilka <neleai@seznam.cz>
28534
28535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28536 implementation which is faster on all x86_64 architectures.
28537 Tested on AMD, Intel Nehalem, SNB, IVB.
28538 * sysdeps/x86_64/strnlen.S: Likewise.
28539
28540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28541 Remove all multiarch strlen and strnlen versions.
28542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28543 Remove strlen and strnlen related parts.
28544
28545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28546 Inline strlen part.
28547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28548
28549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28555
285562013-03-17 Carlos O'Donell <carlos@redhat.com>
28557
28558 * manual/memory.texi (Malloc Tunable Parameters):
28559 Sort parameters alphabetically. Add comments for missing entries.
28560
285612013-03-17 David S. Miller <davem@davemloft.net>
28562
28563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28564
285652013-03-16 Joseph Myers <joseph@codesourcery.com>
28566
28567 [BZ #15283]
28568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28569 for arguments at most half maximum finite value.
28570 * math/libm-test.inc (j0_test): Add more tests.
28571 (j1_test): Likewise.
28572 (y0_test): Likewise.
28573 (y1_test): Likewise.
28574 * sysdeps/i386/fpu/libm-test-ulps: Update.
28575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28576
28577 [BZ #14155]
28578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28579 1 / x and functions P and Q for arguments above 0x1p256L.
28580 (__ieee754_y0l): Likewise.
28581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28582 (__ieee754_y1l): Likewise.
28583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28584 (j1_test): Likewise.
28585 (y0_test): Likewise.
28586 (y1_test): Likewise.
28587
285882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28589
28590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28591 variable.
28592
285932013-03-15 Roland McGrath <roland@hack.frob.com>
28594
28595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28597 zero since it's initialized to EXEC_PAGESIZE.
28598
28599 * sysdeps/unix/sysv/linux/ldsodefs.h
28600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28601 * sysdeps/generic/ldsodefs.h: ... here.
28602
286032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28604
28605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28606
28607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28608 math/test-snan.c.
28609 * math/test-snan.c: Renamed from
28610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28611 * math/Makefile (tests): Add test-snan.
28612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28613 test-powerpc-snan.
28614
28615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28617 functions.
28618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28619 __builtin_nan family of functions.
28620 * math/libm-test.inc (initialize): Initialize qnan_value with
28621 __builtin_nan family of functions.
28622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28623 Remove variables.
28624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28625 Remove functions.
28626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28627 storage class. Initialize qNaN_var and sNaN_var with
28628 __builtin_nan and __builtin_nans families of functions,
28629 respectively.
28630
28631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28632 (sqrt_test): Remove duplicate test with qNaN input.
28633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28634 (round_test, signbit_test, significand_test): Note missing +/-Inf
28635 as well as qNaN tests.
28636
28637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28638 qNaN_var. Fix a few strings, too.
28639 * math/libm-test.inc (nan_value): Rename to qnan_value.
28640 * math/gen-libm-test.pl (%beautify): Adjust to that.
28641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28642 * math/test-misc.c (main): Likewise.
28643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28644 to __qnan_bytes, and __qnan_union, respectively.
28645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28646 Likewise.
28647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28648 and lqnanval, respectively.
28649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28653
28654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28656 doubles.
28657
28658 * math/test-misc.c (main): Fix copy'n'pastos.
28659 * misc/tst-efgcvt.c (special): Likewise.
28660
28661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28662 Remove declarations.
28663
286642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28665
28666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28670
286712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28672
28673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28674 macro to return vdso values correctly in IFUNC implementations.
28675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28676 Optimization by using IFUNC.
28677
286782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28679 Richard Henderson <rth@redhat.com>
28680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28681
28682 * Makefile.in (bench): New target.
28683 * NEWS: Mention the benchmark framework.
28684 * Rules (bench): Likewise.
28685 (binaries-bench): Generate binaries for functions to
28686 benchmark.
28687 * benchtests/Makefile: New makefile for benchmark tests.
28688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28689 programs.
28690 * benchtests/exp-inputs: New input file for EXP function.
28691 * benchtests/pow-inputs: New input file for POW function.
28692 * scripts/bench.pl: New script to generate source files for
28693 benchmark programs.
28694
286952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28696
28697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28699 computations on mantissa. Use macros for rounding and
28700 division.
28701 (denorm): Likewise.
28702 (__dbl_mp): Likewise.
28703 (add_magnitudes): Likewise.
28704 (sub_magnitudes): Likewise.
28705 (__mul): Likewise.
28706 (__sqr): Likewise.
28707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28708 powers of two in terms of TWOPOW macro.
28709 (mp_no): Make type of mantissa as MANTISSA_T.
28710 [!RADIXI]: Define RADIXI.
28711 [!TWO52]: Define TWO52.
28712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28713
28714 * manual/nptl.texi (cindex): Modify threads to pthreads.
28715
287162013-03-15 Joseph Myers <joseph@codesourcery.com>
28717
28718 * sysdeps/x86_64/preconfigure: Regenerated.
28719
287202013-03-14 Joseph Myers <joseph@codesourcery.com>
28721
28722 [BZ #14155]
28723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28724 0x1p28 and above.
28725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28727 0x1p28 and above.
28728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28729 * math/libm-test.inc (j0_test): Do not allow one spurious
28730 underflow exception.
28731 (y1_test): Likewise.
28732
287332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28734
28735 * manual/Makefile (chapters): Add nptl.
28736 * manual/debug.texi (Debugging Support): Add link to Threads
28737 chapter.
28738 * manual/nptl.texi: New file.
28739
28740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28741
287422013-03-14 Petr Baudis <pasky@ucw.cz>
28743
28744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28745 for non-NULL pointer before the memory validity test. Pointed
28746 out by Holger Brunck <holger.brunck@keymile.com>.
28747
287482013-03-13 Andreas Schwab <schwab@suse.de>
28749
28750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28751 instead of .os.
28752
287532013-03-13 Joseph Myers <joseph@codesourcery.com>
28754
28755 * timezone/zic.c: Update from tzcode 2013b.
28756
287572013-03-12 Carlos O'Donell <carlos@redhat.com>
28758
28759 * manual/install.texi (Configuring and compiling):
28760 Mention i686 and i586.
28761 * INSTALL: Regenerate.
28762
287632013-03-12 Roland McGrath <roland@hack.frob.com>
28764
28765 * sysdeps/init_array/elf-init.c: New file.
28766 * csu/elf-init.c
28767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28769
28770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28771 __gmon_start__ as global, but as static with a .preinit_array pointer.
28772 * sysdeps/init_array/gmon-start.c: New file. Use that.
28773 * sysdeps/init_array/crti.S: New file, empty except for comments.
28774 * sysdeps/init_array/crtn.S: Likewise.
28775
287762013-03-11 Ondřej Bílka <neleai@seznam.cz>
28777
28778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28779 definining bcopy.
28780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28781 Remove Prefer_SSE_for_memop.
28782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28784 HAS_PREFER_SSE_FOR_MEMOP.
28785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28786 memset-x86-64.
28787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28788 Remove bzero, memset ifunc support.
28789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28793
287942013-03-11 Andreas Schwab <schwab@suse.de>
28795
28796 [BZ #15234]
28797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28798 by SHLIB_COMPAT.
28799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28800 (GLIBC_2.16): Remove pthread_atfork.
28801
288022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28803
28804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28805 (ptestcases.h): Likewise.
28806
288072013-03-08 Roland McGrath <roland@hack.frob.com>
28808
28809 * Makeconfig ($(common-objpfx)config.status): Depend on
28810 sysdeps/*/preconfigure{,.in} too.
28811
288122013-03-08 Joseph Myers <joseph@codesourcery.com>
28813
28814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28815 (__free_hook): Use void * instead of __malloc_ptr_t.
28816 (__malloc_hook): Likewise.
28817 (__realloc_hook): Likewise.
28818 (__memalign_hook): Likewise.
28819 (__after_morecore_hook): Likewise.
28820 * malloc/arena.c (save_malloc_hook): Likewise.
28821 (save_free_hook): Likewise.
28822 * malloc/hooks.c (malloc_hook_ini): Likewise.
28823 (realloc_hook_ini): Likewise.
28824 (memalign_hook_ini): Likewise.
28825 * malloc/malloc.c (malloc_hook_ini): Likewise.
28826 (realloc_hook_ini): Likewise.
28827 (memalign_hook_ini): Likewise.
28828 (__free_hook): Likewise.
28829 (__malloc_hook): Likewise.
28830 (__realloc_hook): Likewise.
28831 (__memalign_hook): Likewise.
28832 (__libc_malloc): Likewise.
28833 (__libc_free): Likewise.
28834 (__libc_realloc): Likewise.
28835 (__libc_memalign): Likewise.
28836 (__libc_valloc): Likewise.
28837 (__libc_pvalloc): Likewise.
28838 (__libc_calloc): Likewise.
28839 (__posix_memalign): Likewise.
28840 * malloc/morecore.c (__sbrk): Likewise.
28841 (__default_morecore): Likewise.
28842
28843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28844
28845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28847 __malloc_ptrdiff_t.
28848
28849 * malloc/malloc.h (__malloc_size_t): Remove macro.
28850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28851 __malloc_size_t.
28852 (old_memalign_hook): Likewise.
28853 (old_realloc_hook): Likewise.
28854 (struct hdr): Likewise.
28855 (flood): Likewise.
28856 (mallochook): Likewise.
28857 (memalignhook): Likewise.
28858 (reallochook): Likewise.
28859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28860 (tr_old_realloc_hook): Likewise.
28861 (tr_old_memalign_hook): Likewise.
28862 (tr_mallochook): Likewise.
28863 (tr_reallochook): Likewise.
28864 (tr_memalignhook): Likewise.
28865
288662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28867
28868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28869 default_ldbl_pack and using as default implementation.
28870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28871 implementation.
28872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28873 redundant definition.
28874 (ldbl_insert_mantissa): Likewise.
28875 (ldbl_canonicalize): Likewise.
28876 (ldbl_nearbyint): Likewise.
28877 (ldbl_pack): Rename to ldbl_pack_ppc.
28878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28881
288822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28883
28884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28892
288932013-03-07 Andreas Jaeger <aj@suse.de>
28894
28895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28896 bits/mman-linux.h.
28897
288982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28899
28900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28901 Include mpa.h and declare __MPEXP.
28902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28909
28910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28911 (__slowpow): Use long double EXPL and LOGL functions to
28912 compute POW.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28919
28920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28921 intermediate variable to calculate exponent.
28922 (__sqr): Likewise.
28923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28924 Likewise.
28925 (__sqr): Likewise.
28926
28927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28928 [!NO__SQR]: Define __sqr.
28929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28930 and NO__SQR. Remove all code except __mul and __sqr. Include
28931 sysdeps/ieee754/dbl-64/mpa.c.
28932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28933
28934 [BZ #12723]
28935 * posix/Makefile (tests): Add tst-pathconf.
28936 * posix/tst-pathconf.c: New test case.
28937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28938 _PC_PIPE_BUF.
28939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28940
289412013-03-06 Patsy Franklin <pfrankli@redhat.com>
28942
28943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28944
289452013-03-06 Andreas Jaeger <aj@suse.de>
28946
28947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28948 definition via __MAP_ANONYMOUS.
28949
28950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28951 it's not part of Linux headers.
28952
28953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28954 (MAP_HUGE_MASK): Define.
28955
28956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28957 Define.
28958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28960 Define.
28961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28963 Define.
28964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28966 Define.
28967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28968
28969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28975
28976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28977 Handle f2fs.
28978
28979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28980 Handle f2fs and efivarfs.
28981
28982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28983 f2fs.
28984
28985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28986 (EFIVARFS_MAGIC): Add.
28987 (F2FS_LINK_MAX): Add.
28988
289892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28990
28991 * stdio-common/vfprintf.c: Replace __builtin_expect with
28992 __glibc_unlikely.
28993
289942013-03-06 Joseph Myers <joseph@codesourcery.com>
28995
28996 [BZ #13550]
28997 * sysdeps/generic/bp-sym.h: Remove file.
28998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29000 <bp-sym.h> and <bp-asm.h>.
29001 (__longjmp): Don't use BP_SYM.
29002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29003 and <bp-asm.h>.
29004 (memcpy): Don't use BP_SYM.
29005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29006 <bp-sym.h> and <bp-asm.h>.
29007 (memcpy): Don't use BP_SYM.
29008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29009 <bp-asm.h>.
29010 (memcpy): Don't use BP_SYM.
29011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29012 <bp-asm.h>.
29013 (memset): Don't use BP_SYM.
29014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29016 (__bzero): Don't use BP_SYM.
29017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29020 <bp-sym.h> and <bp-asm.h>.
29021 (memcmp): Don't use BP_SYM. Remove comment about bounded
29022 pointers.
29023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29024 <bp-sym.h> and <bp-asm.h>.
29025 (memcpy): Don't use BP_SYM.
29026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29027 <bp-sym.h> and <bp-asm.h>.
29028 (memset): Don't use BP_SYM.
29029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29031 (__bzero): Don't use BP_SYM.
29032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29035 <bp-sym.h> and <bp-asm.h>.
29036 (strncmp): Don't use BP_SYM. Remove comment about bounded
29037 pointers.
29038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29039 <bp-sym.h> and <bp-asm.h>.
29040 (memcpy): Don't use BP_SYM.
29041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29042 <bp-sym.h> and <bp-asm.h>.
29043 (memset): Don't use BP_SYM.
29044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29046 (__bzero): Don't use BP_SYM.
29047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29050 <bp-sym.h> and <bp-asm.h>.
29051 (__memchr): Don't use BP_SYM.
29052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29053 <bp-sym.h> and <bp-asm.h>.
29054 (memcmp): Don't use BP_SYM. Remove comment about bounded
29055 pointers.
29056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29057 <bp-sym.h> and <bp-asm.h>.
29058 (memcpy): Don't use BP_SYM.
29059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29060 <bp-sym.h> and <bp-asm.h>.
29061 (__mempcpy): Don't use BP_SYM.
29062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29063 <bp-sym.h> and <bp-asm.h>.
29064 (__memrchr): Don't use BP_SYM.
29065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29066 <bp-sym.h> and <bp-asm.h>.
29067 (memset): Don't use BP_SYM.
29068 (__bzero): Likewise.
29069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (__rawmemchr): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29073 <bp-sym.h> and <bp-asm.h>.
29074 (__STRCMP): Don't use BP_SYM.
29075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29076 <bp-sym.h> and <bp-asm.h>.
29077 (strchr): Don't use BP_SYM.
29078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (__strchrnul): Don't use BP_SYM.
29081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (strlen): Don't use BP_SYM.
29084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29085 <bp-sym.h> and <bp-asm.h>.
29086 (strncmp): Don't use BP_SYM. Remove comment about bounded
29087 pointers.
29088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29089 <bp-sym.h> and <bp-asm.h>.
29090 (__strnlen): Don't use BP_SYM.
29091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29092 <bp-sym.h> and <bp-asm.h>.
29093 (__GI__setjmp): Don't use BP_SYM.
29094 (_setjmp): Likewise.
29095 (__sigsetjmp): Likewise.
29096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29097 (L(start_addresses)): Don't use BP_SYM.
29098 (_start): Likewise.
29099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29100 <bp-asm.h>.
29101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29106 <bp-asm.h>.
29107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29109 about bounded pointers.
29110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29113 <bp-asm.h>.
29114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29115 about bounded pointers. Remove GKM FIXME comments.
29116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29118 <bp-asm.h>.
29119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29121 Remove GKM FIXME comments.
29122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29125 <bp-asm.h>.
29126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29127 about bounded pointers. Remove GKM FIXME comment.
29128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29129 and <bp-asm.h>.
29130 (strncmp): Don't use BP_SYM. Remove comment about bounded
29131 pointers.
29132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29133 <bp-sym.h> and <bp-asm.h>.
29134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29136 <bp-sym.h> and <bp-asm.h>.
29137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29138 comment.
29139
291402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29141
29142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29143 call free(NULL).
29144
291452013-03-05 David S. Miller <davem@davemloft.net>
29146
29147 * po/es.po: Update from translation team.
29148
291492013-03-05 Andreas Jaeger <aj@suse.de>
29150
29151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29152 <bits/mman-linux.h>.
29153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29154 is fine.
29155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29156 <bits/mman-linux.h> to end of file.
29157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29158 is fine.
29159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29160 <bits/mman-linux.h> to end of file.
29161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29162 is fine.
29163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29164 <bits/mman-linux.h> to end of file.
29165
29166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29167 (MCL_CURRENT, MCL_FUTURE): Define here.
29168
291692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29170
29171 [BZ #15232]
29172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29173 attribute_hidden.
29174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29175
291762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29177
29178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29179 fourth parameter needed for rt_sigprocmask syscall.
29180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29186
291872013-03-04 Joseph Myers <joseph@codesourcery.com>
29188
29189 [BZ #13550]
29190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29191 comment about bounded pointers.
29192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29194
291952013-03-04 Andreas Jaeger <aj@suse.de>
29196
29197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29198 common definitions.
29199
29200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29206
292072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29208
29209 [BZ #15055]
29210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29211 __ieee754_sqrl instead of __sqrl.
29212
292132013-03-01 Joseph Myers <joseph@codesourcery.com>
29214
29215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29216 * sysdeps/powerpc/fpu_control.h: ... here.
29217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29220 * sysdeps/powerpc/bits/mathinline.h: ... here.
29221
292222013-03-01 Roland McGrath <roland@hack.frob.com>
29223
29224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29226 to just [NEED_DL_SYSINFO_DSO].
29227 * elf/dl-support.c: Likewise.
29228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29229 * elf/rtld.c (dl_main): Likewise.
29230 * elf/setup-vdso.h (setup_vdso): Likewise.
29231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29232 * sysdeps/unix/sysv/linux/dl-sysdep.c
29233 (_dl_discover_osversion): Likewise.
29234
292352013-03-01 Carlos O'Donell <carlos@redhat.com>
29236
29237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29239
292402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29241
29242 * NEWS: Mention libm performance improvements and non-x86 PI
29243 futex support.
29244
29245 * csu/libc-start.c (__pthread_initialize_minimal): Change
29246 function arguments.
29247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29248
292492013-02-28 Joseph Myers <joseph@codesourcery.com>
29250
29251 [BZ #13550]
29252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29254 <bp-sym.h> and <bp-asm.h>.
29255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29257 and <bp-asm.h>.
29258 (memcpy): Don't use BP_SYM.
29259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29260 <bp-asm.h>.
29261 (__mpn_add_n): Don't use BP_SYM.
29262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29264 and <bp-asm.h>.
29265 (__mpn_addmul_1): Don't use BP_SYM.
29266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29268 <bp-sym.h>.
29269 (_setjmp): Don't use BP_SYM.
29270 (__novmx_setjmp): Likewise.
29271 (__GI__setjmp): Likewise.
29272 (__vmx_setjmp): Likewise.
29273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29274 <bp-sym.h>.
29275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29276 (__bzero): Don't use BP_SYM.
29277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29280 <bp-sym.h> and <bp-asm.h>.
29281 (memcpy): Don't use BP_SYM.
29282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29283 <bp-sym.h> and <bp-asm.h>.
29284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29286 <bp-sym.h> and <bp-asm.h>.
29287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29289 <bp-asm.h>.
29290 (__mpn_lshift): Don't use BP_SYM.
29291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29293 <bp-asm.h>.
29294 (memset): Don't use BP_SYM.
29295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29298 <bp-asm.h>.
29299 (__mpn_mul_1): Don't use BP_SYM.
29300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29302 <bp-sym.h> and <bp-asm.h>.
29303 (memcmp): Don't use BP_SYM.
29304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29305 <bp-sym.h> and <bp-asm.h>.
29306 (memcpy): Don't use BP_SYM.
29307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29308 <bp-sym.h> and <bp-asm.h>.
29309 (memset): Don't use BP_SYM.
29310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29311 <bp-sym.h> and <bp-asm.h>.
29312 (strncmp): Don't use BP_SYM.
29313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29314 <bp-sym.h> and <bp-asm.h>.
29315 (memcpy): Don't use BP_SYM.
29316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29317 <bp-sym.h> and <bp-asm.h>.
29318 (memset): Don't use BP_SYM.
29319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29320 <bp-sym.h> and <bp-asm.h>.
29321 (__memchr): Don't use BP_SYM.
29322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29323 <bp-sym.h> and <bp-asm.h>.
29324 (memcmp): Don't use BP_SYM.
29325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29326 <bp-sym.h> and <bp-asm.h>.
29327 (memcpy): Don't use BP_SYM.
29328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29329 <bp-sym.h> and <bp-asm.h>.
29330 (__mempcpy): Don't use BP_SYM.
29331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29332 <bp-sym.h> and <bp-asm.h>.
29333 (__memrchr): Don't use BP_SYM.
29334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29335 <bp-sym.h> and <bp-asm.h>.
29336 (memset): Don't use BP_SYM.
29337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29338 <bp-sym.h> and <bp-asm.h>.
29339 (__rawmemchr): Don't use BP_SYM.
29340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29341 <bp-sym.h> and <bp-asm.h>.
29342 (__STRCMP): Don't use BP_SYM.
29343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29344 <bp-sym.h> and <bp-asm.h>.
29345 (strchr): Don't use BP_SYM.
29346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29347 <bp-sym.h> and <bp-asm.h>.
29348 (__strchrnul): Don't use BP_SYM.
29349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29350 <bp-sym.h> and <bp-asm.h>.
29351 (strlen): Don't use BP_SYM.
29352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29353 <bp-sym.h> and <bp-asm.h>.
29354 (strncmp): Don't use BP_SYM.
29355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29356 <bp-sym.h> and <bp-asm.h>.
29357 (__strnlen): Don't use BP_SYM.
29358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29359 <bp-asm.h>.
29360 (__mpn_rshift): Don't use BP_SYM.
29361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29363 <bp-sym.h> and <bp-asm.h>.
29364 (__sigsetjmp): Don't use BP_SYM.
29365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29366 (L(start_addresses)): Don't use BP_SYM.
29367 (_start): Likewise.
29368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29369 <bp-asm.h>.
29370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29374 <bp-asm.h>.
29375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29379 <bp-asm.h>.
29380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29381 comments.
29382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29384 <bp-asm.h>.
29385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29386 FIXME comments.
29387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29390 <bp-asm.h>.
29391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29392 comment.
29393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29394 and <bp-asm.h>.
29395 (strncmp): Don't use BP_SYM,
29396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29397 <bp-asm.h>.
29398 (__mpn_sub_n): Don't use BP_SYM.
29399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29401 and <bp-asm.h>.
29402 (__mpn_submul_1): Don't use BP_SYM.
29403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29405 <bp-sym.h> and <bp-asm.h>.
29406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29408 <bp-sym.h> and <bp-asm.h>.
29409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29410 comment.
29411
294122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29413
29414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29415 Use ZK to minimize writes to Z.
29416 (sub_magnitudes): Simplify code a bit.
29417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29418 Use ZK to minimize writes to Z.
29419 (sub_magnitudes): Simplify code a bit.
29420
294212013-02-27 Roland McGrath <roland@hack.frob.com>
29422
29423 * csu/gmon-start.c: Add special exception to license text.
29424
294252013-02-27 Richard Henderson <rth@redhat.com>
29426
29427 * scripts/config.guess: Update from config.git.
29428 * scripts/config.sub: Likewise.
29429
294302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29431
29432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29433
29434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29435
29436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29437
29438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29439
29440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29441
294422013-02-26 Roland McGrath <roland@hack.frob.com>
29443
29444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29445 [$(build-shared = yes].
29446
294472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29448
29449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29450 (__mul): Reduce iterations for calculating mantissa.
29451
29452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29453 MPTWO.
29454 (__mpranred): Likewise.
29455
29456 [BZ #15160]
29457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29459
294602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29461
29462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29463 Define __attribute__.
29464
294652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29466
29467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29468 unused.
29469 * posix/regex_internal.h (__attribute): Remove.
29470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29471 (re_string_context_at): Likewise.
29472 (bitset_not): Use __attribute__ and mark function as possibly
29473 unused.
29474 (bitset_merge): Likewise.
29475 (bitset_mask): Likewise.
29476 (re_string_char_size_at): Likewise.
29477 (re_string_wchar_at): Likewise.
29478 (re_string_elem_size_at): Likewise.
29479
294802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29481
29482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29483 code.
29484 (cc32): Likewise.
29485
29486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29487 (__acr): Likewise.
29488 (__cpy): Likewise.
29489 (norm): Likewise.
29490 (denorm): Likewise.
29491 (__dbl_mp): Likewise.
29492 (add_magnitudes): Likewise.
29493 (sub_magnitudes): Likewise.
29494 (__mul): Likewise.
29495 (__inv): Likewise.
29496
29497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29498 style.
29499
29500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29501 style.
29502
29503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29504 code.
29505
29506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29507 up changes with default code.
29508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29509 Likewise.
29510
295112013-02-24 Allan McRae <allan@archlinux.org>
29512
29513 * manual/socket.texi (The Internet Namespace): Order menu items
29514 to match that in the file.
29515
29516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29517 node listing of the info page menu.
29518
295192013-02-21 Joseph Myers <joseph@codesourcery.com>
29520
29521 [BZ #13550]
29522 * sysdeps/i386/bp-asm.h: Remove file.
29523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29524 (PARMS): Do not use macros from bp-asm.h.
29525 (S1): Likewise.
29526 (S2): Likewise.
29527 (SIZE): Likewise.
29528 (__mpn_add_n): Do not use BP_SYM
29529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29530 "bp-asm.h".
29531 (PARMS): Do not use macros from bp-asm.h.
29532 (S1): Likewise.
29533 (SIZE): Likewise.
29534 (__mpn_addmul_1): Do not use BP_SYM
29535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29536 "bp-asm.h".
29537 (PARMS): Do not use macros from bp-asm.h.
29538 (SIGMSK): Likewise.
29539 (_setjmp): Likewise. Do not use BP_SYM.
29540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29541 "bp-asm.h".
29542 (PARMS): Do not use macros from bp-asm.h.
29543 (SIGMSK): Likewise.
29544 (setjmp): Likewise. Do not use BP_SYM.
29545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29546 "bp-asm.h".
29547 (PARMS): Do not use macros from bp-asm.h.
29548 (__frexp): Do not use BP_SYM.
29549 (frexp): Likewise.
29550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29551 "bp-asm.h".
29552 (PARMS): Do not use macros from bp-asm.h.
29553 (__frexpf): Do not use BP_SYM.
29554 (frexpf): Likewise.
29555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29556 "bp-asm.h".
29557 (PARMS): Do not use macros from bp-asm.h.
29558 (__frexpl): Do not use BP_SYM.
29559 (frexpl): Likewise.
29560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29561 "bp-asm.h".
29562 (PARMS): Do not use macros from bp-asm.h.
29563 (__remquo): Do not use BP_SYM.
29564 (remquo): Likewise.
29565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29566 "bp-asm.h".
29567 (PARMS): Do not use macros from bp-asm.h.
29568 (__remquof): Do not use BP_SYM.
29569 (remquof): Likewise.
29570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29571 "bp-asm.h".
29572 (PARMS): Do not use macros from bp-asm.h.
29573 (__remquol): Do not use BP_SYM.
29574 (remquol): Likewise.
29575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29576 "bp-asm.h".
29577 (PARMS): Do not use macros from bp-asm.h.
29578 (DEST): Likewise.
29579 (SRC): Likewise.
29580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29582 "bp-asm.h".
29583 (PARMS): Do not use macros from bp-asm.h.
29584 (strlen): Do not use BP_SYM.
29585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29586 "bp-asm.h".
29587 (PARMS): Do not use macros from bp-asm.h.
29588 (S1): Likewise.
29589 (S2): Likewise.
29590 (SIZE): Likewise.
29591 (__mpn_add_n): Do not use BP_SYM.
29592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29593 "bp-asm.h".
29594 (PARMS): Do not use macros from bp-asm.h.
29595 (S1): Likewise.
29596 (SIZE): Likewise.
29597 (__mpn_addmul_1): Do not use BP_SYM.
29598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29599 weak_alias.
29600 (bzero): Likewise.
29601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29602 "bp-asm.h".
29603 (PARMS): Do not use macros from bp-asm.h.
29604 (S): Likewise.
29605 (SIZE): Likewise.
29606 (__mpn_lshift): Do not use BP_SYM.
29607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29608 "bp-asm.h".
29609 (PARMS): Do not use macros from bp-asm.h.
29610 (DEST): Likewise.
29611 (SRC): Likewise.
29612 (LEN): Likewise.
29613 (memcpy): Likewise. Do not use BP_SYM.
29614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29615 libc_hidden_def and weak_alias.
29616 (mempcpy): Do not use BP_SYM in weak_alias.
29617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29618 "bp-asm.h".
29619 (PARMS): Do not use macros from bp-asm.h.
29620 (DEST): Likewise.
29621 (LEN): Likewise.
29622 [!BZERO_P] (CHR): Likewise.
29623 (memset): Likewise. Do not use BP_SYM.
29624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29625 "bp-asm.h".
29626 (PARMS): Do not use macros from bp-asm.h.
29627 (S1): Likewise.
29628 (SIZE): Likewise.
29629 (__mpn_mul_1): Do not use BP_SYM.
29630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29631 "bp-asm.h".
29632 (PARMS): Do not use macros from bp-asm.h.
29633 (S): Likewise.
29634 (SIZE): Likewise.
29635 (__mpn_rshift): Do not use BP_SYM.
29636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29637 "bp-asm.h".
29638 (PARMS): Do not use macros from bp-asm.h.
29639 (STR): Likewise.
29640 (CHR): Likewise.
29641 (strchr): Likewise. Do not use BP_SYM.
29642 (index): Do not use BP_SYM in weak_alias.
29643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29644 "bp-asm.h".
29645 (PARMS): Do not use macros from bp-asm.h.
29646 (DEST): Likewise.
29647 (SRC): Likewise.
29648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29650 "bp-asm.h".
29651 (PARMS): Do not use macros from bp-asm.h.
29652 (strlen): Do not use BP_SYM.
29653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29654 "bp-asm.h".
29655 (PARMS): Do not use macros from bp-asm.h.
29656 (S1): Likewise.
29657 (S2): Likewise.
29658 (SIZE): Likewise.
29659 (__mpn_sub_n): Do not use BP_SYM.
29660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29661 "bp-asm.h".
29662 (PARMS): Do not use macros from bp-asm.h.
29663 (S1): Likewise.
29664 (SIZE): Likewise.
29665 (__mpn_submul_1): Do not use BP_SYM.
29666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29667 "bp-asm.h".
29668 (PARMS): Do not use macros from bp-asm.h.
29669 (S1): Likewise.
29670 (S2): Likewise.
29671 (SIZE): Likewise.
29672 (__mpn_add_n): Do not use BP_SYM.
29673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29674 weak_alias.
29675 (bzero): Likewise.
29676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29677 "bp-asm.h".
29678 (PARMS): Do not use macros from bp-asm.h.
29679 (BLK2): Likewise.
29680 (LEN): Likewise.
29681 (memcmp): Do not use BP_SYM.
29682 (bcmp): Do not use BP_SYM in weak_alias.
29683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29684 "bp-asm.h".
29685 (PARMS): Do not use macros from bp-asm.h.
29686 (DEST): Likewise.
29687 (SRC): Likewise.
29688 (LEN): Likewise.
29689 (memcpy): Likewise. Do not use BP_SYM.
29690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29691 "bp-asm.h".
29692 (PARMS): Do not use macros from bp-asm.h.
29693 (DEST): Likewise.
29694 (SRC): Likewise.
29695 (LEN): Likewise.
29696 (memmove): Likewise. Do not use BP_SYM.
29697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29698 "bp-asm.h".
29699 (PARMS): Do not use macros from bp-asm.h.
29700 (DEST): Likewise.
29701 (SRC): Likewise.
29702 (LEN): Likewise.
29703 (__mempcpy): Likewise. Do not use BP_SYM.
29704 (mempcpy): Do not use BP_SYM in weak_alias.
29705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29706 "bp-asm.h".
29707 (PARMS): Do not use macros from bp-asm.h.
29708 (DEST): Likewise.
29709 (LEN): Likewise.
29710 [!BZERO_P] (CHR): Likewise.
29711 (memset): Likewise. Do not use BP_SYM.
29712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29713 "bp-asm.h".
29714 (PARMS): Do not use macros from bp-asm.h.
29715 (STR2): Likewise.
29716 (strcmp): Do not use BP_SYM.
29717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29718 "bp-asm.h".
29719 (PARMS): Do not use macros from bp-asm.h.
29720 (STR): Likewise.
29721 (DELIM): Likewise.
29722 [USE_AS_STRTOK_R] (SAVE): Likewise.
29723 (FUNCTION): Likewise. Do not use BP_SYM.
29724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29725 aliases.
29726 (strtok_r): Likewise.
29727 (__GI___strtok_r): Likewise.
29728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29729 (PARMS): Do not use macros from bp-asm.h.
29730 (S): Likewise.
29731 (SIZE): Likewise.
29732 (__mpn_lshift): Do not use BP_SYM.
29733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29734 (PARMS): Do not use macros from bp-asm.h.
29735 (STR): Likewise.
29736 (CHR): Likewise.
29737 (__memchr): Do not use BP_SYM.
29738 (memchr): Do not use BP_SYM in weak_alias.
29739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29740 (PARMS): Do not use macros from bp-asm.h.
29741 (BLK2): Likewise.
29742 (LEN): Likewise.
29743 (memcmp): Do not use BP_SYM.
29744 (bcmp): Do not use BP_SYM in weak_alias.
29745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29746 (PARMS): Do not use macros from bp-asm.h.
29747 (S1): Likewise.
29748 (SIZE): Likewise.
29749 (__mpn_mul_1): Do not use BP_SYM.
29750 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29751 "bp-asm.h".
29752 (PARMS): Do not use macros from bp-asm.h.
29753 (STR): Likewise.
29754 (CHR): Likewise.
29755 (__rawmemchr): Do not use BP_SYM.
29756 (rawmemchr): Do not use BP_SYM in weak_alias.
29757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29758 (PARMS): Do not use macros from bp-asm.h.
29759 (S): Likewise.
29760 (SIZE): Likewise.
29761 (__mpn_rshift): Do not use BP_SYM.
29762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29763 (PARMS): Do not use macros from bp-asm.h.
29764 (SIGMSK): Likewise.
29765 (__sigsetjmp): Likewise. Do not use BP_SYM.
29766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29767 (_start): Do not use BP_SYM.
29768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29769 (PARMS): Do not use macros from bp-asm.h.
29770 (DEST): Likewise.
29771 (SRC): Likewise.
29772 (__stpcpy): Likewise. Do not use BP_SYM.
29773 (stpcpy): Do not use BP_SYM in weak_alias.
29774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29775 "bp-asm.h".
29776 (PARMS): Do not use macros from bp-asm.h.
29777 (DEST): Likewise.
29778 (SRC): Likewise.
29779 (LEN): Likewise.
29780 (__stpncpy): Likewise. Do not use BP_SYM.
29781 (stpncpy): Do not use BP_SYM in weak_alias.
29782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29783 (PARMS): Do not use macros from bp-asm.h.
29784 (STR): Likewise.
29785 (CHR): Likewise.
29786 (strchr): Likewise. Do not use BP_SYM.
29787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29788 "bp-asm.h".
29789 (PARMS): Do not use macros from bp-asm.h.
29790 (STR): Likewise.
29791 (CHR): Likewise.
29792 (__strchrnul): Likewise. Do not use BP_SYM.
29793 (strchrnul): Do not use BP_SYM in weak_alias.
29794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29795 "bp-asm.h".
29796 (PARMS): Do not use macros from bp-asm.h.
29797 (STOP): Likewise.
29798 (strcspn): Do not use BP_SYM.
29799 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29800 "bp-asm.h".
29801 (PARMS): Do not use macros from bp-asm.h.
29802 (STR): Likewise.
29803 (STOP): Likewise.
29804 (strpbrk): Likewise. Do not use BP_SYM.
29805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29806 "bp-asm.h".
29807 (PARMS): Do not use macros from bp-asm.h.
29808 (STR): Likewise.
29809 (CHR): Likewise.
29810 (strrchr): Likewise. Do not use BP_SYM.
29811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29812 (PARMS): Do not use macros from bp-asm.h.
29813 (SKIP): Likewise.
29814 (strspn): Do not use BP_SYM.
29815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29816 (PARMS): Do not use macros from bp-asm.h.
29817 (STR): Likewise.
29818 (DELIM): Likewise.
29819 (SAVE): Likewise.
29820 (FUNCTION): Likewise. Do not use BP_SYM.
29821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29822 aliases.
29823 (strtok_r): Likewise.
29824 (__GI___strtok_r): Likewise.
29825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29826 (PARMS): Do not use macros from bp-asm.h.
29827 (S1): Likewise.
29828 (S2): Likewise.
29829 (SIZE): Likewise.
29830 (__mpn_sub_n): Do not use BP_SYM.
29831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29832 "bp-asm.h".
29833 (PARMS): Do not use macros from bp-asm.h.
29834 (S1): Likewise.
29835 (SIZE): Likewise.
29836 (__mpn_submul_1): Do not use BP_SYM.
29837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29838 <bp-sym.h>.
29839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29840 and <bp-asm.h>.
29841 (PARMS): Do not use macros from bp-asm.h.
29842 (FLAGS): Likewise.
29843 (PTID): Likewise.
29844 (TLS): Likewise.
29845 (CTID): Likewise.
29846 (__clone): Do not use BP_SYM.
29847 (clone): Do not use BP_SYM in weak_alias.
29848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29849 and <bp-asm.h>.
29850 (PARMS): Do not use macros from bp-asm.h.
29851 (LEN): Likewise.
29852 (__mmap64): Do not use BP_SYM.
29853 (mmap64): Do not use BP_SYM in weak_alias.
29854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29855 <bp-sym.h> and <bp-asm.h>.
29856 (PARMS): Do not use macros from bp-asm.h.
29857 (__posix_fadvise64_l64): Do not use BP_SYM.
29858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29859 (PARMS): Do not use macros from bp-asm.h.
29860 (NSOPS): Likewise.
29861 (semtimedop): Do not use BP_SYM.
29862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29863 and <bp-asm.h>.
29864
298652013-02-21 Allan McRae <allan@archlinux.org>
29866
29867 * manual/message.texi (Charset conversion in gettext):
29868 Move @end statement to beginning of line.
29869
298702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
29872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29873 static.
29874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29875 Likewise.
29876
29877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29878 (denorm): Likewise.
29879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29881
298822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29883
29884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29885 tail-call to the resolved function if pltexit isn't needed.
29886
298872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29888
29889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29890 or Y being zero as being unlikely.
29891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29892 Likewise.
29893
298942013-02-20 Carlos O'Donell <carlos@redhat.com>
29895
29896 * manual/nss.texi (System Databases and Name Service Switch):
29897 Remove frobnicate @pxref.
29898
298992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29900
29901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29903
299042013-02-20 Petr Machata <pmachata@redhat.com>
29905
29906 * elf/elf.h (R_ARM_TARGET1): New macro.
29907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29941 (R_ARM_THM_GOT_BREL12): Likewise.
29942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29951
299522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29953
29954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29955 __attribute_used__ to __attribute__ ((unused)).
29956
299572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29958
29959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29960 powerpc mpa.c.
29961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29962 comment formatting.
29963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29964
299652013-02-19 Joseph Myers <joseph@codesourcery.com>
29966
29967 [BZ #13550]
29968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29969 Remove macro.
29970 (ENTER): Remove both macro definitions.
29971 (LEAVE): Likewise.
29972 (CHECK_BOUNDS_LOW): Likewise.
29973 (CHECK_BOUNDS_HIGH): Likewise.
29974 (CHECK_BOUNDS_BOTH): Likewise.
29975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29976 (RETURN_BOUNDED_POINTER): Likewise.
29977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29979 (POP_ERRNO_LOCATION_RETURN): Likewise.
29980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29983 macros.
29984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29998 removed macros.
29999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30001 macros.
30002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30004 * sysdeps/i386/i586/memset.S (memset): Likewise.
30005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30008 macros.
30009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30011 Change uses of L(2) to L(out).
30012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30017 removed macros.
30018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30020 macros.
30021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30023 (RETURN): Do not use macro LEAVE.
30024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30027 * sysdeps/i386/i686/memset.S (memset): Likewise.
30028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30032 Likewise.
30033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30035 L(1_2) and L(1_3) into L(1).
30036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30045 macros.
30046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30057 * sysdeps/i386/strspn.S (strspn): Likewise.
30058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30059 conditional code.
30060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30064 L(1_3) into L(1_1).
30065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30068 macros.
30069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30070
300712013-02-19 Jakub Jelinek <jakub@redhat.com>
30072
30073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30074 macro.
30075
300762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30077
30078 * math/atest-exp.c (exp_mpn): Remove ROUND.
30079 * math/atest-exp2.c (exp_mpn): Likewise.
30080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30081
30082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30083 * stdlib/tst-tls-atexit-lib.c: Likewise.
30084 * stdlib/tst-tls-atexit.c: Likewise.
30085
300862013-02-18 Mike Frysinger <vapier@gentoo.org>
30087
30088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30089 and __attribute_alloc_size__.
30090
300912013-02-18 Mike Frysinger <vapier@gentoo.org>
30092
30093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30094 __attribute_alloc_size__.
30095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30097
300982013-02-18 Mike Frysinger <vapier@gentoo.org>
30099
30100 * include/programs/xmalloc.h: New file.
30101 * catgets/gencat.c: Include it.
30102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30103 * elf/pldd.c: Likewise.
30104 * iconv/iconv_charmap.c: Likewise.
30105 * iconv/iconvconfig.c: Likewise.
30106 * iconv/strtab.c: Likewise.
30107 * locale/programs/locale.c: Likewise.
30108 * locale/programs/localedef.h: Likewise.
30109 * locale/programs/simple-hash.c: Likewise.
30110 * nscd/nscd.h: Likewise.
30111 * nss/makedb.c: Likewise.
30112 * sysdeps/generic/ldconfig.h: Likewise.
30113
301142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30115
30116 * Versions.def: Add GLIBC_2.18.
30117 * include/link.h (struct link_map): New member l_tls_dtor_count.
30118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30119 (__call_tls_dtors): Likewise.
30120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30121 __cxa_thread_atexit_impl.
30122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30123 Likewise.
30124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30125 Likewise.
30126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30127 Likewise.
30128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30129 Likewise.
30130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30132 Likewise.
30133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30134 Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30137 Likewise.
30138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30139 (tests): Add test case tst-tls-atexit.
30140 (modules-names): Add shared library for tst-tls-atexit.
30141 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30142 (GLIBC_PRIVATE): Add __call_tls_dtors.
30143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30144 for libstdc++.
30145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30146 * stdlib/tst-tls-atexit.c: New test case.
30147 * stdlib/tst-tls-atexit-lib.c: New test case.
30148
30149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30150
30151 * elf/Versions (ld): Add _dl_find_dso_for_object.
30152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30154 (dl_open_worker): Use _dl_find_dso_for_object.
30155 * elf/dl-sym.c (do_sym): Likewise.
30156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30157
301582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30159
30160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30161 Syntactic changes only.
30162 (_dl_runtime_profile): Do a tail-call to the resolved function.
30163
301642013-02-17 Joseph Myers <joseph@codesourcery.com>
30165
30166 [BZ #13550]
30167 * sysdeps/x86_64/bp-asm.h: Remove file.
30168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30169 <bp-sym.h> and <bp-asm.h>.
30170 (__clone): Do not use BP_SYM.
30171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30172 <bp-sym.h> and <bp-asm.h>.
30173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30175 "bp-asm.h".
30176 (_setjmp): Do not use BP_SYM.
30177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30178 "bp-asm.h".
30179 (setjmp): Do not use BP_SYM.
30180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30181 libc_hidden_def.
30182 (mempcpy): Do not use BP_SYM in weak_alias.
30183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30184 "bp-asm.h".
30185 (strchr): Do not use BP_SYM.
30186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30187 "bp-asm.h".
30188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30190 (_start): Do not use BP_SYM.
30191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30192 "bp-asm.h".
30193 (strcat): Do not use BP_SYM.
30194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30195 "bp-asm.h".
30196 (STRCMP): Do not use BP_SYM.
30197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30198 "bp-asm.h".
30199 (STRCPY): Do not use BP_SYM.
30200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30201 "bp-asm.h".
30202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30203 "bp-asm.h".
30204 (FUNCTION): Do not use BP_SYM.
30205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30206 weak_alias.
30207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30208
302092013-02-17 Andreas Jaeger <aj@suse.de>
30210
30211 * time/Versions: Sort entries.
30212 * string/Versions: Likewise.
30213 * resolv/Versions: Likewise.
30214 * posix/Versions: Likewise.
30215 * iconv/Versions: Likewise.
30216 * elf/Versions: Likewise.
30217 * wcsmbs/Versions: Likewise.
30218
302192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30220
30221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30222 loop termination condition.
30223
30224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30225 variable to calculate EZ.
30226 (__sqr): Likewise.
30227
30228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30229 the lower precision input.
30230
302312013-02-15 Joseph Myers <joseph@codesourcery.com>
30232
30233 [BZ #13550]
30234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30236 (run-via-rtld-prefix): Do not handle %-bp tests.
30237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30238 (all-object-suffixes): Remove .ob.
30239 (bppfx): Remove variable.
30240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30243 [$(build-bounded) = yes] (libtype.ob): Likewise.
30244 * Makerules (elide-routines.ob): Remove variable.
30245 (do-tests-clean): Do not handle *-bp.out.
30246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30249 (tests): Do not include $(tests-bp.out).
30250 (xtests): Do not include $(xtests-bp.out).
30251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30252 [$(build-bounded) = yes] ($(addprefix
30253 $(objpfx),$(binaries-bounded))): Remove rule.
30254 ($(objpfx)%-bp.out): Remove rule.
30255 * config.make.in (build-bounded): Remove variable.
30256 * crypt/Makefile [$(build-bounded) = yes]
30257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30259 append to variable.
30260 [$(build-bounded) = yes] (install-lib): Likewise.
30261 [$(build-bounded) = yes] (generated): Likewise.
30262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30263 Remove rule.
30264 * intl/Makefile [$(build-bounded) = yes]
30265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30266 * math/Makefile [$(build-bounded) = yes]
30267 ($(tests:%=$(objpfx)%-bp): Likewise.
30268 * misc/Makefile [$(build-bounded) = yes]
30269 ($(objpfx)tst-tsearch-bp): Likewise.
30270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30272 Remove dependency.
30273 * string/Makefile (o-objects.ob): Remove variable.
30274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30275 (CFLAGS-.ob): Remove variable.
30276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30278 both definitions of variable.
30279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30280 (ASFLAGS-.ob): Remove variable.
30281
302822013-02-14 Joseph Myers <joseph@codesourcery.com>
30283
30284 [BZ #13550]
30285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30286 Remove __BOUNDED_POINTERS__ from condition.
30287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30288 * string/bits/string2.h [!__NO_STRING_INLINES &&
30289 !__BOUNDED_POINTERS__]: Likewise.
30290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30291 Likewise.
30292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30293 Remove conditional code.
30294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30297 condition.
30298
30299 [BZ #13550]
30300 * csu/libc-start.c: Do not include <bp-sym.h>.
30301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30302 * elf/dl-open.c: Do not include <bp-sym.h>.
30303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30304 * math/fegetenv.c: Do not include <bp-sym.h>.
30305 (fegetenv): Do not use BP_SYM in versioned symbols.
30306 * nptl/sysdeps/pthread/bits/libc-lockP.h
30307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30308 <bp-sym.h>.
30309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30312 (__pthread_mutex_destroy): Likewise.
30313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30314 (__pthread_mutex_lock): Likewise.
30315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30316 (__pthread_mutex_trylock): Likewise.
30317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30318 (__pthread_mutex_unlock): Likewise.
30319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30320 (__pthread_mutexattr_init): Likewise.
30321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30322 (__pthread_mutexattr_destroy): Likewise.
30323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30324 (__pthread_mutexattr_settype): Likewise.
30325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30326 (__pthread_rwlock_init): Likewise.
30327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30328 (__pthread_rwlock_destroy): Likewise.
30329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30330 (__pthread_rwlock_rdlock): Likewise.
30331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30332 (__pthread_rwlock_tryrdlock): Likewise.
30333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30334 (__pthread_rwlock_wrlock): Likewise.
30335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30336 (__pthread_rwlock_trywrlock): Likewise.
30337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30338 (__pthread_rwlock_unlock): Likewise.
30339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30340 (__pthread_key_create): Likewise.
30341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30342 (__pthread_setspecific): Likewise.
30343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30344 (__pthread_getspecific): Likewise.
30345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30346 Likewise.
30347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30348 (_pthread_cleanup_push_defer): Likewise.
30349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30350 (_pthread_cleanup_pop_restore): Likewise.
30351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30352 (pthread_setcancelstate): Likewise.
30353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30354 <bp-sym.h>.
30355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30356 (memchr): Do not use BP_SYM in weak_alias.
30357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30358 (fegetenv): Do not use BP_SYM in versioned symbols.
30359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30360 (fesetenv): Do not use BP_SYM in versioned symbols.
30361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30362 (feupdateenv): Do not use BP_SYM in versioned symbols.
30363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30367 (open64): Do not use BP_SYM in weak_alias.
30368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30369 (fegetenv): Do not use BP_SYM in versioned symbols.
30370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30371 (fesetenv): Do not use BP_SYM in versioned symbols.
30372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30373 (feupdateenv): Do not use BP_SYM in versioned symbols.
30374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30381 <bp-sym.h>.
30382 (__libc_start_main): Do not use BP_SYM.
30383
303842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30385
30386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30387 redundant return line.
30388 (norm): Likewise.
30389 (denorm): Likewise.
30390 (dbl_mp): Likewise.
30391 (sub_magnitudes): Likewise.
30392 (__add): Likewise.
30393 (__sub): Likewise.
30394 (__mul): Likewise.
30395 (__inv): Likewise.
30396 (__dvd): Likewise.
30397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30398 (norm): Likewise.
30399 (denorm): Likewise.
30400 (dbl_mp): Likewise.
30401 (sub_magnitudes): Likewise.
30402 (__add): Likewise.
30403 (__sub): Likewise.
30404 (__mul): Likewise.
30405 (__inv): Likewise.
30406 (__dvd): Likewise.
30407
30408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30409 instead of __mul.
30410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30412 (cc32): Likewise.
30413
30414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30417 of __mul for squares.
30418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30419 function
30420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30421 Likewise.
30422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30424
304252013-02-13 Joseph Myers <joseph@codesourcery.com>
30426
30427 [BZ #13550]
30428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30429 code.
30430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30431 prototype or function definition. Rename ubp_* variables and
30432 parameters. Remove argv definitions conditional on
30433 [__BOUNDED_POINTERS__].
30434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30435 * elf/dl-runtime.c (_dl_fixup): Likewise.
30436 * include/set-hooks.h (RUN_HOOK): Likewise.
30437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30438 definition.
30439 * string/strcpy.c (strcpy): Do not use __unbounded.
30440 * sysdeps/generic/frame.h (struct layout): Likewise.
30441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30446 (__backtrace): Likewise.
30447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30448 use __ptrvalue.
30449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30452 Likewise.
30453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30458 Do not use __unbounded.
30459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30460 Rename __unboundedrlimits parameter to rlimits in prototype.
30461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30462 Do not use __unbounded.
30463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30464 not use __ptrvalue.
30465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30469 __ptrvalue or __unbounded.
30470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30472 use __unbounded.
30473 (__new_msgctl): Do not use __ptrvalue.
30474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30475 __unbounded.
30476 (__libc_msgrcv): Do not use __ptrvalue.
30477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30478 startup_info): Do not use __unbounded.
30479 (__libc_start_main): Likewise. Rename ubp_* variables and
30480 parameters. Remove argv definitions conditional on
30481 [__BOUNDED_POINTERS__].
30482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30483 __ptrvalue.
30484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30485 use __unbounded.
30486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30487 or __ptrvalue.
30488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30489 use __unbounded.
30490 (__new_shmctl): Do not use __ptrvalue.
30491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30493 Likewise.
30494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30496 (__libc_sigaction): Likewise.
30497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30499 Likewise.
30500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30501
305022013-02-13 Ondřej Bílka <neleai@seznam.cz>
30503
30504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30505
30506 * string/mempcpy.c: Implement by calling memcpy.
30507
305082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30509
30510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30511
30512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30513 evaluation.
30514
30515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30516 values in the mantissa.
30517
30518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30519 minimize writes to Z.
30520 (sub_magnitudes): Simplify code a bit.
30521
305222013-02-12 Roland McGrath <roland@hack.frob.com>
30523
30524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30525 from the message. The linker prefixes all warnings with that already.
30526
305272013-02-12 Andreas Schwab <schwab@suse.de>
30528
30529 [BZ #15078]
30530 * posix/regexec.c (extend_buffers): Add parameter min_len.
30531 (check_matching): Pass minimum needed length.
30532 (clean_state_log_if_needed): Likewise.
30533 (get_subexp): Likewise.
30534 * posix/Makefile (tests): Add bug-regex34.
30535 (bug-regex34-ENV): Define.
30536 * posix/bug-regex34.c: New file.
30537
30538 [BZ #11561]
30539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30540 elements compare against the byte sequence of it, not its name.
30541 * posix/Makefile (tests): Add bug-regex35.
30542 (bug-regex35-ENV): Define.
30543 * posix/bug-regex35.c: New file.
30544
305452013-02-11 Tom de Vries <tom@codesourcery.com>
30546
30547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30548 comment.
30549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30551 (CHECK_EOL): Add undef.
30552
305532013-02-11 Ondřej Bílka <neleai@seznam.cz>
30554
30555 * bits/stdlib-bsearch.h: New file.
30556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30557 * stdlib/stdlib.h: Likewise.
30558
305592013-02-11 Roland McGrath <roland@hack.frob.com>
30560
30561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30563 declaration.
30564 * manual/search.texi (Array Search Function): Add missing const in
30565 lfind prototype.
30566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30567 declaration to use rlim_t.
30568 (Basic Scheduling Functions): Remove erroneous const from
30569 sched_getparam prototype. Remove erroneous * from
30570 sched_get_priority_max and sched_get_priority_min prototypes.
30571 (Resource Usage): Fix summary @comment on vtimes to refer to
30572 sys/vtimes.h rather than vtimes.h.
30573 Add missing *s in vtimes prototype.
30574 (Limits on Resources): Fix ulimit prototype to return long int.
30575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30576 prototypes to use long int rather than double.
30577 (BSD Random): Fix initstate and setstate to use char *, not void *.
30578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30579 prototype to make second argument 'struct aiocb64 *const[]'.
30580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30581 (Status of AIO Operations): Remove erroneous const in aio_return and
30582 aio_return64 prototypes.
30583 (Synchronizing I/O): Fix sync prototype to return void.
30584 * manual/startup.texi (Suboptions): Remove an erroneous const in
30585 getsubopt prototype.
30586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30588 use size_t rather than int.
30589 (Scanning All Users): Likewise for getpwent_r.
30590 (Setting Groups): Add missing const to setgroups prototype.
30591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30594 'const void *' rather than 'const char *'.
30595 (Host Address Functions): Likewise for inet_ntop.
30596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30598 ssize_t for return value.
30599 (Sending Data): Likewise for send, sendto, sendmsg.
30600 (Socket Option Functions): Add a missing const in setsockopt prototype.
30601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30602 use wchar_t for the argument.
30603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30605 take no arguments.
30606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30607 double/float/long double for second argument.
30608 Fix return types of significand, significandf, significandl.
30609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30610 argument in fchmod prototype.
30611 (File Owner): Use uid_t and gid_t in fchown prototype.
30612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30615 use 'const struct dirent **' as argument types to CMP function pointer
30616 argument.
30617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30618 (File Times): Fix summary magic @comment for struct utimbuf and utime
30619 to refer to utime.h, not time.h.
30620 * manual/string.texi (Argz Functions): Add missing const in
30621 argz_extract and argz_next prototypes.
30622 (Finding Tokens in a String): Likewise for basename.
30623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30624 (Copying and Concatenation): Fix typo in wmemmove prototype.
30625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30626 (Signal Stack): Remove erroneous const in sigstack prototype.
30627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30628 prototype.
30629 (Simple Calendar Time): Likewise for stime.
30630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30631 prototype.
30632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30633 say sys/sysctl.h instead.
30634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30635 and vsyslog prototypes.
30636
306372013-02-11 Tom de Vries <tom@codesourcery.com>
30638
30639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30640 Remove.
30641
306422013-02-11 Roland McGrath <roland@hack.frob.com>
30643
30644 * misc/sys/mman.h: Fix typo in mremap comment.
30645
306462013-02-08 Roland McGrath <roland@hack.frob.com>
30647
30648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30649 the '\0' terminator.
30650
306512013-02-08 Joseph Myers <joseph@codesourcery.com>
30652
30653 [BZ #13550]
30654 * debug/segfault.c: Don't include <bp-checks.h>.
30655 * sysdeps/generic/bp-checks.h: Remove file.
30656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30657 (__GETDENTS): Don't use CHECK_N.
30658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30660 (__getgroups): Don't use CHECK_N.
30661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30662 (setgroups): Don't use CHECK_N.
30663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30665 (__libc_msgrcv): Don't use CHECK_N.
30666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30667 (__libc_msgsnd): Don't use CHECK_N.
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30669 <bp-checks.h>.
30670 (__libc_pread): Don't use CHECK_N.
30671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30672 include <bp-checks.h>.
30673 (__libc_pread64): Don't use CHECK_N.
30674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30675 include <bp-checks.h>.
30676 (__libc_pwrite): Don't use CHECK_N.
30677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30678 include <bp-checks.h>.
30679 (__libc_pwrite64): Don't use CHECK_N.
30680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30681 <bp-checks.h>.
30682 (__libc_pread): Don't use CHECK_N.
30683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30684 include <bp-checks.h>.
30685 (__libc_pread64): Don't use CHECK_N.
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30687 include <bp-checks.h>.
30688 (__libc_pwrite): Don't use CHECK_N.
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30690 include <bp-checks.h>.
30691 (__libc_pwrite64): Don't use CHECK_N.
30692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30693 (do_pread): Don't use CHECK_N.
30694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30695 (do_pread64): Don't use CHECK_N.
30696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30697 (do_pwrite): Don't use CHECK_N.
30698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30699 (do_pwrite64): Don't use CHECK_N.
30700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30701 (__libc_readv): Don't use CHECK_N.
30702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30703 (semop): Don't use CHECK_N.
30704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30705 <bp-checks.h>.
30706 (semtimedop): Don't use CHECK_N.
30707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30708 (__libc_pread): Don't use CHECK_N.
30709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30710 <bp-checks.h>.
30711 (__libc_pread64): Don't use CHECK_N.
30712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30713 <bp-checks.h>.
30714 (__libc_pwrite): Don't use CHECK_N.
30715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30716 <bp-checks.h>.
30717 (__libc_pwrite64): Don't use CHECK_N.
30718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30719 <bp-checks.h>.
30720 (__libc_msgrcv): Don't use CHECK_N.
30721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30724 (__libc_writev): Don't use CHECK_N.
30725
307262013-02-08 Roland McGrath <roland@hack.frob.com>
30727
30728 * string/strcpy.c: Removed unused variable.
30729
30730 * Makeconfig (+sysdep-includes): Define with := rather than =.
30731 Use an existing include/ subdir of each sysdeps dir before it.
30732
307332013-02-08 Carlos O'Donell <carlos@redhat.com>
30734
30735 * nscd/connection.c (register_traced_file): Comment function.
30736 [HAVE_INOTIFY] (union __inev): Define.
30737 [HAVE_INOTIFY] (inotify_check_files): New function.
30738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30740 clear_db_cache.
30741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30742
307432013-02-08 Carlos O'Donell <carlos@redhat.com>
30744
30745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30746 loaded if not already and that a failure is permanent.
30747
307482013-02-08 Carlos O'Donell <carlos@redhat.com>
30749
30750 [BZ #15006]
30751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30753
307542013-02-08 Joseph Myers <joseph@codesourcery.com>
30755
30756 [BZ #13550]
30757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30758 (CHECK_1_NULL_OK): Likewise.
30759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30760 (__fxstat): Do not use CHECK_1.
30761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30762 <bp-checks.h>.
30763 (___fxstat64): Do not use CHECK_1.
30764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30765 <bp-checks.h>.
30766 (__fxstatat): Do not use CHECK_1.
30767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30768 <bp-checks.h>.
30769 (__fxstatat64): Do not use CHECK_1.
30770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30771 <bp-checks.h>.
30772 (__fxstat): Do not use CHECK_1.
30773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30774 <bp-checks.h>.
30775 (__fxstatat): Do not use CHECK_1.
30776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30777 <bp-checks.h>.
30778 (__getresgid): Do not use CHECK_1.
30779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30780 <bp-checks.h>.
30781 (__getresuid): Do not use CHECK_1.
30782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30783 <bp-checks.h>.
30784 (__lxstat): Do not use CHECK_1.
30785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30786 <bp-checks.h>.
30787 (__old_msgctl): Do not use CHECK_1.
30788 (__new_msgctl): Likewise.
30789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30790 <bp-checks.h>.
30791 (__new_setrlimit): Do not use CHECK_1.
30792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30793 <bp-checks.h>.
30794 (__old_shmctl): Do not use CHECK_1.
30795 (__new_shmctl): Likewise.
30796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30797 <bp-checks.h>.
30798 (__xstat): Do not use CHECK_1.
30799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30800 (__lxstat): Do not use CHECK_1.
30801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30802 <bp-checks.h>.
30803 (___lxstat64): Do not use CHECK_1.
30804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30805 (__old_msgctl): Do not use CHECK_1.
30806 (__new_msgctl): Likewise.
30807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30808 <bp-checks.h>.
30809 (__gettimeofday): Do not use CHECK_1.
30810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30813 <bp-checks.h>.
30814 (__gettimeofday): Do not use CHECK_1.
30815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30817 (__new_shmctl): Do not use CHECK_1.
30818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30819 <bp-checks.h>.
30820 (do_sigtimedwait): Do not use CHECK_1.
30821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30822 <bp-checks.h>.
30823 (do_sigwaitinfo): Do not use CHECK_1.
30824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30825 <bp-checks.h>.
30826 (msgctl): Do not use CHECK_1.
30827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30828 <bp-checks.h>.
30829 (shmctl): Do not use CHECK_1.
30830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30831 (ustat): Do not use CHECK_1.
30832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30833 <bp-checks.h>.
30834 (__fxstat): Do not use CHECK_1.
30835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30836 <bp-checks.h>.
30837 (__fxstatat): Do not use CHECK_1.
30838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30839 <bp-checks.h>.
30840 (__lxstat): Do not use CHECK_1.
30841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30842 <bp-checks.h>.
30843 (__xstat): Do not use CHECK_1.
30844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30845 (__xstat): Do not use CHECK_1.
30846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30847 (___xstat64): Do not use CHECK_1.
30848
30849 [BZ #13550]
30850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30851 definitions.
30852 (CHECK_BOUNDS_HIGH): Likewise.
30853 * string/strcpy.c: Do not include <bp-checks.h>.
30854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30855
308562013-02-07 Roland McGrath <roland@hack.frob.com>
30857
30858 * nscd/nscd-client.h (__nscd_drop_map_ref):
30859 Add __attribute__ ((unused)).
30860 * nis/nss-nisplus.h (niserr2nss): Likewise.
30861
30862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30864
30865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30866 Remove inline keyword.
30867 * include/rounding-mode.h (round_away): Likewise.
30868 * libio/wfileops.c (adjust_wide_data): Likewise.
30869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30870 (__m128i_strloadu_tolower): Likewise.
30871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30872 (__m128i_strloadu_tolower): Likewise.
30873 * time/mktime.c (ydhms_diff): Likewise.
30874 * locale/elem-hash.h (elem_hash): Likewise.
30875 * locale/setlocale.c (setdata): Likewise.
30876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30877 (re_string_wchar_at): Likewise.
30878 (bitset_not, bitset_merge, bitset_mask): Likewise.
30879 [!(__GNUC__ > 3)] (inline): Remove macro.
30880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30884 * string/memcmp.c (memcmp_bytes): Likewise.
30885 * locale/programs/locarchive.c (compute_hashval): Likewise.
30886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30889 * nss/getent.c (print_rpc, print_protocols): Likewise.
30890 (print_passwd, print_group, print_aliases): Likewise.
30891 * nis/nss-nisplus.h (niserr2nss): Likewise.
30892 * nscd/connections.c (restart_p): Likewise.
30893 Change return type to bool.
30894
308952013-02-05 Roland McGrath <roland@hack.frob.com>
30896
30897 * Makeconfig (all-Depend-files): Add existing
30898 $(sorted-subdirs:=/Depend) files.
30899 (all-subdirs): Remove nss.
30900 * sysdeps/unix/inet/Subdirs: Add it here instead.
30901 * hesiod/Depend: New file.
30902
30903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30904 instead of calling alloca.
30905
30906 * io/lseek.c (__lseek): Rename to __libc_lseek.
30907 Define __lseek as an alias.
30908
30909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30910
309112013-02-04 Carlos O'Donell <carlos@redhat.com>
30912
30913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30914 else clause and remove check for non-standard endianness.
30915
309162013-02-04 David S. Miller <davem@davemloft.net>
30917
30918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30919
309202013-02-04 Joseph Myers <joseph@codesourcery.com>
30921
30922 [BZ #13550]
30923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30924 (__ubp_memchr): Remove prototype.
30925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30930 Remove alias.
30931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30932 (__ubp_memchr): Likewise.
30933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30934 (__ubp_memchr): Likewise.
30935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30939 CHECK_STRING.
30940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30942 (__getcwd): Do not use CHECK_STRING.
30943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30944 <bp-checks.h>.
30945 (__real_chown): Do not use CHECK_STRING.
30946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30947 <bp-checks.h>.
30948 (fchownat): Do not use CHECK_STRING.
30949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30950 CHECK_STRING.
30951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30952 <bp-checks.h>.
30953 (__lchown): Do not use CHECK_STRING.
30954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30959 include <bp-checks.h>.
30960 (truncate64): Do not use CHECK_STRING.
30961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30962 <bp-checks.h>.
30963 (__real_chown): Do not use CHECK_STRING.
30964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30965 <bp-checks.h>.
30966 (__lchown): Do not use CHECK_STRING.
30967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30968 <bp-checks.h>.
30969 (__chown): Do not use CHECK_STRING.
30970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30971 <bp-checks.h>.
30972 (truncate64): Do not use CHECK_STRING.
30973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30974 Likewise.
30975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30976 (__xmknod): Do not use CHECK_STRING.
30977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30978 <bp-checks.h>.
30979 (__xmknodat): Do not use CHECK_STRING.
30980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30982
309832013-02-04 Andreas Schwab <schwab@suse.de>
30984
30985 [BZ #14142]
30986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30987 * include/netdb.h: Likewise for h_errno.
30988 * elf/tst-stackguard1.c: Include <tls.h>.
30989
309902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30991
30992 * elf/link.h (struct link_map): Extend the l_addr comment.
30993 * include/link.h (struct link_map): Likewise.
30994
309952013-02-01 Joseph Myers <joseph@codesourcery.com>
30996
30997 [BZ #13550]
30998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30999 (BOUNDED_1): Remove macro.
31000 * debug/backtrace.c: Don't include <bp-checks.h>.
31001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31002 (__backtrace): Likewise.
31003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31004 <bp-checks.h>.
31005 (__backtrace): Don't use BOUNDED_1.
31006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31007 <bp-checks.h>.
31008 (__backtrace): Don't use BOUNDED_1.
31009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31010 (__backtrace): Don't use BOUNDED_1.
31011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31012 (shmat): Don't use BOUNDED_N.
31013
310142013-01-31 Joseph Myers <joseph@codesourcery.com>
31015
31016 [BZ #13550]
31017 * sysdeps/generic/bp-start.h: Remove file.
31018 * csu/libc-start.c: Don't include <bp-start.h>.
31019 (LIBC_START_MAIN): Set up __environ directly instead of using
31020 INIT_ARGV_and_ENVIRON.
31021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31022 <bp-start.h>.
31023
31024 [BZ #13550]
31025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31026 definitions.
31027 (CHECK_FCNTL): Likewise.
31028 (CHECK_N_PAGES): Likewise.
31029
31030 [BZ #13550]
31031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31032 definitions.
31033 (CHECK_SIGSET_NULL_OK): Likewise.
31034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31035 <bp-checks.h>.
31036 (sigpending): Don't use CHECK_SIGSET.
31037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31038 <bp-checks.h>.
31039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31041 <bp-checks.h>.
31042 (do_sigsuspend): Don't use CHECK_SIGSET.
31043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31044 use CHECK_SIGSET.
31045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31046 (do_sigwait): Don't use CHECK_SIGSET.
31047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31048 use CHECK_SIGSET.
31049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31050 include <bp-checks.h>.
31051 (sigpending): Don't use CHECK_SIGSET.
31052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31053 include <bp-checks.h>.
31054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31056 <bp-checks.h>.
31057 (sigpending): Don't use CHECK_SIGSET.
31058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31059 <bp-checks.h>.
31060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31061
31062 [BZ #13550]
31063 * sysdeps/generic/bp-semctl.h: Remove file.
31064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31065 <bp-checks.h> and <bp-semctl.h>.
31066 (__old_semctl): Don't use CHECK_SEMCTL.
31067 (__new_semctl): Likewise.
31068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31069 and <bp-semctl.h>.
31070 (__old_semctl): Don't use CHECK_SEMCTL.
31071 (__new_semctl): Likewise.
31072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31073 <bp-checks.h> and <bp-semctl.h>.
31074 (__old_semctl): Don't use CHECK_SEMCTL.
31075 (__new_semctl): Likewise.
31076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31077 <bp-checks.h> and <bp-semctl.h>.
31078 (semctl): Don't use CHECK_SEMCTL.
31079
31080 [BZ #13550]
31081 * Makerules (elide-bp-thunks): Remove variable.
31082 (elide-routines.oS): Don't use $(elide-bp-thunks).
31083 (elide-routines.os): Likewise.
31084 (elide-routines.o): Likewise.
31085 (elide-routines.op): Likewise.
31086 (elide-routines.og): Likewise.
31087 (objects): Don't use $(bp-thunks).
31088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31089 include.
31090 (common-generated): Do not add s-proto-bp.d.
31091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31092 (int): Likewise.
31093 (typ): Likewise.
31094 Do not generate makefile rules for bounded-pointer thunks.
31095 * sysdeps/generic/bp-thunks.h: Remove file.
31096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31097 * sysdeps/unix/s-proto-bp.S: Likewise.
31098
31099 [BZ #15062]
31100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31101 parts of result separately when argument is not close to line from
31102 -i to i and one part of argument is small.
31103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31105 * math/libm-test.inc (cacos_test): Add more tests.
31106 (casin_test): Likewise.
31107 (casinh_test): Likewise.
31108 * sysdeps/i386/fpu/libm-test-ulps: Update.
31109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31110
311112013-01-31 David S. Miller <davem@davemloft.net>
31112
31113 * po/de.po: Update from translation team.
31114
311152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31116
31117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31118
311192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31120
31121 * configure.in (_AC_PROG_CC_C89): New definition.
31122 * configure: Regenerate.
31123
31124 * configure.in (AC_PROG_CPP): New definition.
31125 * configure: Regenerate.
31126
311272013-01-23 Joseph Myers <joseph@codesourcery.com>
31128
31129 * debug/tst-backtrace.h: New file.
31130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31131 (ret): Remove variable.
31132 (x): Likewise.
31133 (FAIL): Remove macro.
31134 (NO_INLINE): Likewise.
31135 (fn1): Use match function instead of strstr.
31136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31137 (ret): Remove variable.
31138 (x): Likewise.
31139 (FAIL): Remove macro.
31140 (NO_INLINE): Likewise.
31141 (fn): Use match function instead of strstr.
31142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31143 (ret): Remove variable.
31144 (x): Likewise.
31145 (FAIL): Remove macro.
31146 (NO_INLINE): Likewise.
31147 (handle_signal): Use match function instead of strstr.
31148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31149 (ret): Remove variable.
31150 (x): Likewise.
31151 (FAIL): Remove macro.
31152 (NO_INLINE): Likewise.
31153 (handle_signal): Use match function instead of strstr.
31154
311552013-01-23 Roland McGrath <roland@hack.frob.com>
31156
31157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31158
311592013-01-23 David S. Miller <davem@davemloft.net>
31160
31161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31163 argument of CAS if possible.
31164 * sysdeps/sparc/sparc64/bits/atomic.h
31165 (__arch_compare_and_exchange_val_32_acq): Likewise.
31166 (__arch_compare_and_exchange_val_64_acq): Likewise.
31167
311682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31169
31170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31171 * sysdeps/posix/ulimit.c: ... this.
31172 Include <limits.h>.
31173 * sysdeps/unix/bsd/ulimit.c: Remove file.
31174
311752013-01-23 Adam Conrad <adconrad@0c3.net>
31176
31177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31178 (LDFLAGS-tst-array5): Likewise.
31179
311802013-01-23 Joseph Myers <joseph@codesourcery.com>
31181
31182 [BZ #15036]
31183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31187
311882013-01-21 David S. Miller <davem@davemloft.net>
31189
31190 * sysdeps/sparc/backtrace.c: New file.
31191 * sysdeps/sparc/sparc32/backtrace.h: New file.
31192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31193 * sysdeps/sparc/sparc64/backtrace.h: New file.
31194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31196 -funwind-tables.
31197
311982013-01-21 Andreas Schwab <schwab@suse.de>
31199
31200 [BZ #15020]
31201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31202 closed its stdout.
31203
312042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31205
31206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31207 "mpa2.h".
31208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31209
312102013-01-18 Joseph Myers <joseph@codesourcery.com>
31211 Mark Mitchell <mark@codesourcery.com>
31212 Tom de Vries <tom@codesourcery.com>
31213 Paul Pluzhnikov <ppluzhnikov@google.com>
31214
31215 * debug/tst-backtrace2.c: New file.
31216 * debug/tst-backtrace3.c: Likewise.
31217 * debug/tst-backtrace4.c: Likewise.
31218 * debug/tst-backtrace5.c: Likewise.
31219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31220 (CFLAGS-tst-backtrace3.c): Likewise.
31221 (CFLAGS-tst-backtrace4.c): Likewise.
31222 (CFLAGS-tst-backtrace5.c): Likewise.
31223 (LDFLAGS-tst-backtrace2): Likewise.
31224 (LDFLAGS-tst-backtrace3): Likewise.
31225 (LDFLAGS-tst-backtrace4): Likewise.
31226 (LDFLAGS-tst-backtrace5): Likewise.
31227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31228 tst-backtrace4 and tst-backtrace5.
31229
312302013-01-18 Anton Blanchard <anton@samba.org>
31231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31232
31233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31239 "+r" and remove output regs list as redundant. Add explicit inline
31240 asm to specify register of return val to work around compiler codegen
31241 bug. Remove (int) cast on return value. Add return type parameter to
31242 use in macro so that this macro does not truncate return value for
31243 64-bit values.
31244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31245 pass to INTERNAL_VSYSCALL_NCS.
31246 (INLINE_VSYSCALL): Add 'long int' as return type to
31247 INTERNAL_VSYSCALL_NCS macro invocation.
31248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31249 INTERNAL_VSYSCALL_NCS macro invocation.
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31251
312522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31253
31254 [BZ #14496]
31255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31256 Fix application of SIMD FP exception mask.
31257
31258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31259 mp_no from a power of two.
31260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31261 __mpexp_twomm1. Use __pow_mp.
31262
31263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31264 multiplication.
31265
312662013-01-17 David S. Miller <davem@davemloft.net>
31267
31268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31269
312702013-01-17 Joseph Myers <joseph@codesourcery.com>
31271
31272 [BZ #15023]
31273 * include/complex.h: Condition contents on [!_COMPLEX_H].
31274 (__kernel_casinhf): New prototype.
31275 (__kernel_casinh): Likewise.
31276 (__kernel_casinhl): Likewise.
31277 * math/Makefile (libm_calls): Add k_casinh.
31278 * math/k_casinh.c: New file.
31279 * math/k_casinhf.c: Likewise.
31280 * math/k_casinhl.c: Likewise.
31281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31282 finite nonzero arguments.
31283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31284 finite nonzero arguments.
31285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31286 finite nonzero arguments.
31287 * math/s_casinh.c: Do not include <float.h>.
31288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31289 * math/s_casinhf.c: Do not include <float.h>.
31290 (__casinhf): Move code for finite nonzero arguments to
31291 k_casinhf.c.
31292 * math/s_casinhl.c: Do not include <float.h>.
31293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31294 redefine.
31295 (__casinhl): Move code for finite nonzero arguments to
31296 k_casinhl.c.
31297 * math/libm-test.inc (cacos_test): Add more tests.
31298 * sysdeps/i386/fpu/libm-test-ulps: Update.
31299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31300
313012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31302
31303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31305 [!HAVE_MREMAP]: Remove [defined linux] case.
31306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31307
313082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31309
31310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31311
313122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 * elf/elf.h (R_386_SIZE32): New relocation.
31315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31316 R_386_SIZE32.
31317 (elf_machine_rela): Likewise.
31318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31320
313212013-01-17 Joseph Myers <joseph@codesourcery.com>
31322
31323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31324 (FP_FAST_FMA): Do not define.
31325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31329 !_SOFT_FLOAT]: Likewise.
31330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31332 value.
31333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31339 file.
31340
313412013-01-16 Andreas Schwab <schwab@suse.de>
31342
31343 [BZ #14327]
31344 * include/stdlib.h (__mktemp): Add declaration.
31345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31347
313482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31349
31350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31351 definitions.
31352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31355 definitions here.
31356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31358 definitions.
31359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31360 and ONE.
31361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31364 definitions.
31365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31367 definitions.
31368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31369
31370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31371
313722013-01-15 David S. Miller <davem@davemloft.net>
31373
31374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31375 trunc{,f} to libm-sysdep_routes.
31376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31378 file.
31379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31381 file.
31382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31383 file.
31384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31392
31393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31394 nearbyint{,f} to libm-sysdep_routes.
31395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31397 New file.
31398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31399 file.
31400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31401 New file.
31402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31403 file.
31404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31407 file.
31408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31410 file.
31411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31414
31415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31416 libc_feholdexcept and libc_fesetenv.
31417
314182013-01-15 Mike Frysinger <vapier@gentoo.org>
31419
31420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31421
314222013-01-14 David S. Miller <davem@davemloft.net>
31423
31424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31425 (SPARC_ASM_VIS2_IFUNC): Likewise.
31426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31428 use of 'siam' instruction.
31429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31430 Likewise.
31431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31432 Likewise.
31433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31434 Likewise.
31435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31440 file.
31441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31442 file.
31443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31444 file.
31445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31446 file.
31447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31452 new VIS2 routines.
31453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31456 Likewise.
31457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31462 routines to libm-sysdep_routines.
31463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31464
31465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31466 fdim/fdimf to libm-sysdep_routines.
31467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31468 file.
31469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31471 file.
31472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31479
314802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31481
31482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31483 to optimize copies.
31484
31485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31488
31489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31490 local variable MPTWO.
31491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31492 Likewise.
31493
314942013-01-13 Mike Frysinger <vapier@gentoo.org>
31495
31496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31497 GLOB_NOESCAPE.
31498
314992013-01-13 Mike Frysinger <vapier@gentoo.org>
31500
31501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31502
315032013-01-13 Mike Frysinger <vapier@gentoo.org>
31504
31505 * manual/pattern.texi (glob_t): Document gl_flags.
31506 (glob64_t): Likewise.
31507
315082013-01-11 David S. Miller <davem@davemloft.net>
31509
31510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31523
31524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31525 sparc V9 rather than using V8 code.
31526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31528
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31530 Move to...
31531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31532 Here.
31533
315342013-01-11 Roland McGrath <roland@hack.frob.com>
31535
31536 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31537 not in the main loop.
31538 * configure: Regenerated.
31539
315402013-01-11 Joseph Myers <joseph@codesourcery.com>
31541
31542 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31543 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31544 to just #else.
31545 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31546 [!__GLIBC_HAVE_LONG_LONG] case.
31547 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31548 condition to just #else.
31549 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31550 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31551 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31552 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31553 unconditional.
31554 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31555 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31556 #elif condition to just #else.
31557 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31558 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31559 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31560 #elif condition to just #else.
31561
315622013-01-11 Steve Ellcey <sellcey@mips.com>
31563
31564 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31565 (EF_MIPS_ARCH_64): Fix value.
31566 (EF_MIPS_ARCH_32R2): New.
31567 (EF_MIPS_ARCH_64R2): New.
31568
315692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31570
31571 * Makeconfig (+link-pie-before-libc): New.
31572 (+link-pie-after-libc): Likewise.
31573 (+link-pie-tests): Likewise.
31574 (+link-pie): Rewritten.
31575 (link-before-libc): Remove $(config-LDFLAGS).
31576 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31577 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31578 (config-LDFLAGS): Renamed to ...
31579 (rtld-LDFLAGS): This.
31580 (rtld-tests-LDFLAGS): New macro.
31581 (link-libc-rpath-link): Likewise.
31582 (link-libc-tests-rpath-link): Likewise.
31583 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31584 (link-libc): Prepand $(link-libc-rpath-link).
31585 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31586 (test-program-prefix): New macro.
31587 (test-via-rtld-prefix): Likewise.
31588 (test-program-cmd): Likewise.
31589 (host-test-program-cmd): Likewise.
31590 * Makefile ($(common-objpfx)testrun.sh): Replace
31591 $(run-program-prefix) with $(test-program-prefix).
31592 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31593 $(rtld-LDFLAGS).
31594 ($(common-objpfx)shlib.lds): Likewise.
31595 (build-module-helper): Likewise.
31596 ($(common-objpfx)format.lds): Likewise.
31597 * Rules (binaries-pie-tests): New.
31598 (binaries-pie-notests): Likewise.
31599 (binaries-pie): Rewritten.
31600 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31601 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31602 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31603 (make-test-out): Replace $(host-built-program-cmd) with
31604 $(host-test-program-cmd).
31605 * config.make.in (build-hardcoded-path-in-tests): New variable.
31606 * configure.in (--enable-hardcoded-path-in-tests): New configure
31607 option.
31608 (hardcoded_path_in_tests): New AC_SUBST.
31609 * configure: Regenerated.
31610 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31611 $(built-program-cmd) with $(test-program-cmd).
31612 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31613 (test_program_cmd): This.
31614 * elf/Makefile ($(objpfx)order.out): Run test with
31615 $(test-program-prefix).
31616 ($(objpfx)order2.out): Likewise.
31617 ($(objpfx)tst-initorder.out): Likewise.
31618 ($(objpfx)tst-initorder2.out): Likewise.
31619 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31620 $(test-program-cmd).
31621 ($(objpfx)tst-array1-static.out): Likewise.
31622 ($(objpfx)tst-array2.out): Likewise.
31623 ($(objpfx)tst-array3.out): Likewise.
31624 ($(objpfx)tst-array4.out): Likewise.
31625 ($(objpfx)tst-array5.out): Likewise.
31626 ($(objpfx)tst-array5-static.out): Likewise.
31627 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31628 $(test-program-cmd).
31629 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31630 $(run-program-prefix) with $(test-program-prefix).
31631 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31632 (test_program_prefix): This.
31633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31634 $(run-program-prefix) with $(test-program-prefix).
31635 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31636 (test_program_prefix): This.
31637 * iconvdata/tst-tables.sh: Likewise.
31638 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31639 $(run-program-prefix) with $(test-program-prefix).
31640 ($(objpfx)tst-translit.out): Likewise.
31641 ($(objpfx)tst-gettext2.out): Likewise.
31642 ($(objpfx)tst-gettext4.out): Likewise.
31643 ($(objpfx)tst-gettext6.out): Likewise.
31644 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31645 (test_program_prefix): This.
31646 * intl/tst-gettext2.sh: Likewise.
31647 * intl/tst-gettext4.sh Likewise.
31648 * intl/tst-gettext6.sh: Likewise.
31649 * intl/tst-translit.sh: Likewise.
31650 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31651 with $(test-program-cmd).
31652 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31653 $(run-program-prefix) with $(test-program-prefix).
31654 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31655 (test_program_prefix): This.
31656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31657 $(run-program-prefix) with $(test-program-prefix).
31658 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31659 (test_program_prefix): This.
31660 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31661 * posix/Makefile ($(objpfx)globtest.out): Replace
31662 $(run-via-rtld-prefix) and $(test-wrapper) with
31663 $(test-program-prefix) and $(test-via-rtld-prefix).
31664 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31665 $(test-program-prefix).
31666 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31667 $(host-test-program-cmd).
31668 (tst-spawn-ARGS): Likewise.
31669 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31670 $(test-program-prefix).
31671 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31672 (test_via_rtld_prefix): This.
31673 (test_wrapper): Renamed to ...
31674 (test_program_prefix): This.
31675 (run_program_prefix): Replaced by test_program_prefix.
31676 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31677 (test_program_prefix): This.
31678 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31679 with $(host-test-program-cmd).
31680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31681 $(run-program-prefix) with $(test-program-prefix).
31682 ($(objpfx)tst-printf.out): Likewise.
31683 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31684 $(test-program-cmd).
31685 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31686 (test_program_prefix): This.
31687 * stdio-common/tst-unbputc.sh: Likewise.
31688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31689 $(run-program-prefix) with $(test-program-prefix).
31690 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31691 (test_program_prefix): This.
31692 * string/Makefile ($(objpfx)tst-svc.out): Replace
31693 $(built-program-cmd) with $(test-program-cmd).
31694
316952013-01-11 Andreas Jaeger <aj@suse.de>
31696
31697 [BZ #15003]
31698 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31699 value. Sync with Linux 3.7.
31700
317012013-01-10 David S. Miller <davem@davemloft.net>
31702
31703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31706
317072013-01-10 Roland McGrath <roland@hack.frob.com>
31708
31709 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31710 never set.
31711 * configure: Regenerated.
31712
317132013-01-10 David S. Miller <davem@davemloft.net>
31714
31715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31716 sparc V9 rather than using V8 code.
31717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31719
317202013-01-10 Roland McGrath <roland@hack.frob.com>
31721
31722 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31723 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31724 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31725 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31726 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31727 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31728 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31729 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31730 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31731 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31732 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31733 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31734 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31735 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31736 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31737 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31738 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31739 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31740 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31741 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31742 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31743 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31744 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31745 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31746 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31747 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31748 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31749
317502013-01-10 David S. Miller <davem@davemloft.net>
31751
31752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31753
317542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31755
31756 * posix/Makefile (tests-static): New variable.
31757 (tests): Add $(tests-static).
31758 (tst-exec-static-ARGS): New variable.
31759 (tst-spawn-static-ARGS): Likewise.
31760 * posix/tst-exec-static.c: New file.
31761 * posix/tst-spawn-static.c: Likewise.
31762 * posix/tst-exec.c: Support run directly.
31763 * posix/tst-spawn.c: Likewise.
31764
317652013-01-10 Joseph Myers <joseph@codesourcery.com>
31766
31767 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31768 long.
31769 * math/bits/mathcalls.h (llrint): Likewise.
31770 (llround): Likewise.
31771 * stdlib/stdlib.h (struct drand48_data): Likewise.
31772 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31773 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31774 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31775 Likewise.
31776 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31777 Likewise.
31778 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31779 (elf_greg_t): Likewise.
31780 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31781 (__jmp_buf): Likewise.
31782 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31783 definitions.
31784 (llrint): Likewise, for all definitions.
31785 (llrintl): Likewise.
31786
31787 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31788 Remove [__GNUC__] condition.
31789 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31790 condition to just [__USE_ISOC99].
31791 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31792
317932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31794
31795 [BZ #14200]
31796 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31797 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31798 defined.
31799 (_POSIX_V6_ILP32_OFF32): Likewise.
31800 (_XBS5_ILP32_OFF32): Likewise.
31801 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31802 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31803
318042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31805
31806 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31807
31808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31809 doubles __mpexp_twomm1. Adjust usage.
31810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31811 Remove.
31812
318132013-01-10 Andreas Schwab <schwab@suse.de>
31814
31815 [BZ #14964]
31816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31817 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31818
318192013-01-09 David S. Miller <davem@davemloft.net>
31820
31821 [BZ #15003]
31822 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31823 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31824 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31825 (TCP_FASTOPEN): Define.
31826 (tcp_repair_opt): New structure.
31827 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31828 enum values.
31829 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31830 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31831 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31832 (tcp_cookie_transactions): New structure.
31833
318342013-01-09 Anton Blanchard <anton@samba.org>
31835
31836 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31840
318412013-01-09 Joseph Myers <joseph@codesourcery.com>
31842
31843 * include/features.h (__USE_ANSI): Remove.
31844
318452013-01-09 Roland McGrath <roland@hack.frob.com>
31846
31847 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31848
31849 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31850
318512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31852
31853 * sysdeps/s390/fpu/libm-test-ulps: Update.
31854
31855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31856
31857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31858 (__acr): Likewise.
31859 (__cpy): Likewise.
31860 (norm): Likewise.
31861 (denorm): Likewise.
31862 (__mp_dbl): Likewise.
31863 (__dbl_mp): Likewise.
31864 (add_magnitudes): Likewise.
31865 (sub_magnitudes): Likewise.
31866 (__add): Likewise.
31867 (__sub): Likewise.
31868 (__mul): Likewise.
31869 (__inv): Likewise.
31870 (__dvd): Likewise.
31871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31872 (__acr): Likewise.
31873 (__cpy): Likewise.
31874 (norm): Likewise.
31875 (denorm): Likewise.
31876 (__mp_dbl): Likewise.
31877 (__dbl_mp): Likewise.
31878 (add_magnitudes): Likewise.
31879 (sub_magnitudes): Likewise.
31880 (__add): Likewise.
31881 (__sub): Likewise.
31882 (__mul): Likewise.
31883 (__inv): Likewise.
31884 (__dvd): Likewise.
31885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31886 (__acr): Likewise.
31887 (__cpy): Likewise.
31888 (norm): Likewise.
31889 (denorm): Likewise.
31890 (__mp_dbl): Likewise.
31891 (__dbl_mp): Likewise.
31892 (add_magnitudes): Likewise.
31893 (sub_magnitudes): Likewise.
31894 (__add): Likewise.
31895 (__sub): Likewise.
31896 (__mul): Likewise.
31897 (__inv): Likewise.
31898 (__dvd): Likewise.
31899
319002013-01-08 Joseph Myers <joseph@codesourcery.com>
31901
31902 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31903 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31904 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31905 2 && __USE_EXTERN_INLINES]: Likewise.
31906
319072013-01-08 Andreas Jaeger <aj@suse.de>
31908
31909 [BZ# 14985]
31910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31911 Remove.
31912 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31914
319152013-01-07 Anton Blanchard <anton@samba.org>
31916
31917 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31918 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31919 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31920 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31923 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31940 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31941 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31943 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31960
319612013-01-07 Joseph Myers <joseph@codesourcery.com>
31962
31963 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31964 (__MALLOC_PMT): Likewise.
31965 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31966 [__GNUC__], only on [_LIBC].
31967 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31968 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31969 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31970 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31971 forward declaration.
31972 (realloc_hook_ini): Likewise.
31973 (memalign_hook_ini): Likewise.
31974 (__libc_memalign): Do not use __MALLOC_PMT in variable
31975 declaration.
31976 (__libc_valloc): Likewise.
31977 (__libc_pvalloc): Likewise.
31978 (__libc_calloc): Likewise.
31979 (__posix_memalign): Likewise.
31980
31981 [BZ #14996]
31982 * math/s_casinh.c: Include <float.h>.
31983 (__casinh): Do not do computation with squaring and square root
31984 for large arguments.
31985 * math/s_casinhf.c: Include <float.h>.
31986 (__casinhf): Do not do computation with squaring and square root
31987 for large arguments.
31988 * math/s_casinhl.c: Include <float.h>.
31989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31990 (__casinhl): Do not do computation with squaring and square root
31991 for large arguments.
31992 * math/libm-test.inc (casin_test): Add more tests.
31993 (casinh_test): Likewise.
31994 * sysdeps/i386/fpu/libm-test-ulps: Update.
31995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31996
319972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31998
31999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32000 (__x86_64_raw_data_cache_size): Likewise.
32001 (__x86_64_data_cache_size_half): Likewise.
32002 (__x86_64_raw_data_cache_size_half): Likewise.
32003 (__x86_64_shared_cache_size): Likewise.
32004 (__x86_64_raw_shared_cache_size): Likewise.
32005 (__x86_64_shared_cache_size_half): Likewise.
32006 (__x86_64_raw_shared_cache_size_half): Likewise.
32007 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32008 to ...
32009 (__x86_data_cache_size): This.
32010 (__x86_64_raw_data_cache_size): Renamed to ...
32011 (__x86_raw_data_cache_size): This.
32012 (__x86_64_data_cache_size_half): Renamed to ...
32013 (__x86_data_cache_size_half): This.
32014 (__x86_64_raw_data_cache_size_half): Renamed to ...
32015 (__x86_raw_data_cache_size_half): This.
32016 (__x86_64_shared_cache_size): Renamed to ...
32017 (__x86_shared_cache_size): This.
32018 (__x86_64_raw_shared_cache_size): Renamed to ...
32019 (__x86_raw_shared_cache_size): This.
32020 (__x86_64_shared_cache_size_half): Renamed to ...
32021 (__x86_shared_cache_size_half): This.
32022 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32023 (__x86_raw_shared_cache_size_half): This.
32024 * sysdeps/x86_64/memcpy.S: Updated.
32025 * sysdeps/x86_64/memset.S: Likewise.
32026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32029
320302013-01-04 David S. Miller <davem@davemloft.net>
32031
32032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32033
320342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32035
32036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32037 1 to avoid redefinition warning.
32038 (__USE_GNU): Don't define.
32039 (init_signaling_nan): Protoize.
32040
32041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32042
320432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32044
32045 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32047 (__cpymn): Likewise.
32048 (norm): Remove commented code.
32049 (denorm): Likewise.
32050 (__mp_dbl): Likewise.
32051 (__inv): Likewise.
32052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32053 (__cpymn): Likewise.
32054 (norm): Remove commented code.
32055 (denorm): Likewise.
32056 (__mp_dbl): Likewise.
32057 (__inv): Likewise.
32058
32059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32060 mp_no value for 1.0 and 2.0.
32061 (norm): Use RADIXI instead of radixi.d.
32062 (denorm): Likewise.
32063 (__mul): Use 0.0 instead of zero.d.
32064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32065 mp_no value for 1.0 and 2.0.
32066 (norm): Use RADIXI instead of radixi.d.
32067 (denorm): Likewise.
32068 (__mul): Use 0.0 instead of zero.d.
32069
320702013-01-04 Joseph Myers <joseph@codesourcery.com>
32071
32072 [BZ #14994]
32073 * math/s_casinh.c (__casinh): Reduce finite argument to first
32074 quadrant then set signs of results at the end.
32075 * math/s_casinhf.c (__casinhf): Likewise.
32076 * math/s_casinhl.c (__casinhl): Likewise.
32077 * math/libm-test.inc (casin_test): Add more tests.
32078 (casinh_test): Likewise.
32079 * sysdeps/i386/fpu/libm-test-ulps: Update.
32080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32081
320822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32083
32084 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32085
32086 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32087
32088 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32089 declarations.
32090 (denorm): Likewise.
32091 (__mp_dbl): Likewise.
32092 (__inv): Likewise.
32093
32094 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32095 and adjust the header comment.
32096
32097 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32098 variable name from declaration.
32099
321002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32101
32102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32103 Initialize COMMON_CPUID_INDEX_7 element.
32104 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32105 (CPUID_RTM): Likewise.
32106 (HAS_RTM): Likewise.
32107 (COMMON_CPUID_INDEX_7): New enum.
32108
321092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32110
32111 [BZ #14981]
32112 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32113 size is zero, record memory as freed.
32114
321152013-01-03 Andreas Jaeger <aj@suse.de>
32116
32117 * po/ia.po: Add new Interlingua translation.
32118
321192012-01-03 Allan McRae <allan@archlinux.org>
32120
32121 * locale/programs/localedef.c: Fix description of '--posix' flag.
32122
321232013-01-02 Joseph Myers <joseph@codesourcery.com>
32124
32125 * NEWS: Update dates in second copyright notice.
32126 * README: Update copyright dates in example.
32127 * manual/libc.texinfo: Update copyright dates.
32128 * scripts/test-installation.pl: Update copyright date in --version
32129 output.
32130
32131 * hurd/ctty-input.c: Fix copyright notice formatting.
32132 * hurd/ctty-output.c: Likewise.
32133 * hurd/dtable.c: Likewise.
32134 * hurd/hurd-raise.c: Likewise.
32135 * hurd/hurdprio.c: Likewise.
32136 * hurd/msgportdemux.c: Likewise.
32137 * misc/sys/file.h: Likewise.
32138 * misc/sys/ioctl.h: Likewise.
32139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32140 * sysdeps/mach/hurd/chdir.c: Likewise.
32141 * sysdeps/mach/hurd/fchdir.c: Likewise.
32142 * sysdeps/mach/hurd/rename.c: Likewise.
32143 * sysdeps/mach/hurd/rmdir.c: Likewise.
32144 * sysdeps/mach/hurd/seekdir.c: Likewise.
32145 * sysdeps/mach/hurd/setsid.c: Likewise.
32146 * sysdeps/posix/wait3.c: Likewise.
32147
32148 * All files with FSF copyright notices: Update copyright dates
32149 using scripts/update-copyrights.
32150 * intl/plural.c: Regenerated.
32151 * locale/programs/charmap-kw.h: Likewise.
32152 * locale/programs/locfile-kw.h: Likewise.
32153
321542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32155
32156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32157 four values.
32158
32159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32160 calculation loop and add branch prediction.
32161
32162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32163 check access beyond bounds of m1np.
32164
32165 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32166 MPTWO.
32167 (__inv): Remove local variable MPTWO to use the global
32168 constant.
32169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32171 variable MPTWO.
32172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32173 MP3HALFS static const.
32174
321752013-01-01 David S. Miller <davem@davemloft.net>
32176
32177 * po/ca.po: Update from translation team.
32178
321792013-01-01 Joseph Myers <joseph@codesourcery.com>
32180
32181 * scripts/update-copyrights: New file.
32182 * Makeconfig: Reformat copyright notice.
32183 * ctype/ctype.h: Likewise.
32184 * debug/swprintf_chk.c: Likewise.
32185 * elf/dl-cache.c: Likewise.
32186 * elf/dl-debug.c: Likewise.
32187 * elf/dl-object.c: Likewise.
32188 * grp/initgroups.c: Likewise.
32189 * hurd/Makefile: Likewise.
32190 * hurd/hurd/signal.h: Likewise.
32191 * hurd/hurdfault.c: Likewise.
32192 * hurd/hurdioctl.c: Likewise.
32193 * hurd/hurdlookup.c: Likewise.
32194 * hurd/intr-msg.c: Likewise.
32195 * iconv/gconv_open.c: Likewise.
32196 * libio/swprintf.c: Likewise.
32197 * locale/lc-ctype.c: Likewise.
32198 * locale/nl_langinfo.c: Likewise.
32199 * mach/Machrules: Likewise.
32200 * mach/Makefile: Likewise.
32201 * malloc/obstack.h: Likewise.
32202 * manual/Makefile: Likewise.
32203 * manual/tsort.awk: Likewise.
32204 * misc/bits/stab.def: Likewise.
32205 * nis/nis_print_group_entry.c: Likewise.
32206 * nis/nis_table.c: Likewise.
32207 * nis/nss_compat/compat-pwd.c: Likewise.
32208 * nis/nss_compat/compat-spwd.c: Likewise.
32209 * po/Makefile: Likewise.
32210 * posix/fnmatch.c: Likewise.
32211 * posix/regex.h: Likewise.
32212 * resolv/Makefile: Likewise.
32213 * resolv/nss_dns/dns-network.c: Likewise.
32214 * resolv/res_hconf.c: Likewise.
32215 * scripts/gen-sorted.awk: Likewise.
32216 * soft-fp/soft-fp.h: Likewise.
32217 * stdio-common/printf.h: Likewise.
32218 * stdlib/monetary.h: Likewise.
32219 * stdlib/random.c: Likewise.
32220 * stdlib/random_r.c: Likewise.
32221 * sysdeps/generic/Makefile: Likewise.
32222 * sysdeps/gnu/Makefile: Likewise.
32223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32247 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32251 * sysdeps/mach/hurd/errnos.awk: Likewise.
32252 * sysdeps/mach/hurd/fork.c: Likewise.
32253 * sysdeps/mach/hurd/getcwd.c: Likewise.
32254 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32255 * sysdeps/mach/hurd/mmap.c: Likewise.
32256 * sysdeps/mach/hurd/utimes.c: Likewise.
32257 * sysdeps/mach/hurd/xmknod.c: Likewise.
32258 * sysdeps/posix/profil.c: Likewise.
32259 * sysdeps/posix/readdir_r.c: Likewise.
32260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32261 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32265 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32271 * sysdeps/pthread/lio_listio.c: Likewise.
32272 * sysdeps/sparc/dl-procinfo.h: Likewise.
32273 * sysdeps/unix/i386/sysdep.S: Likewise.
32274 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32275 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32276 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32277 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32279 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32280 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32281 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32283 * sysdeps/wordsize-32/divdi3.c: Likewise.
32284 * time/sys/time.h: Likewise.
32285 * wcsmbs/Makefile: Likewise.
32286
322872013-01-01 David S. Miller <davem@davemloft.net>
32288
32289 * po/fr.po: Update from translation team.
32290
32291 * catgets/gencat.c: Update copyright year.
32292 * csu/version.c: Likewise.
32293 * debug/catchsegv.sh: Likewise.
32294 * debug/pcprofiledump.c: Likewise.
32295 * debug/xtrace.sh: Likewise.
32296 * elf/ldconfig.c: Likewise.
32297 * elf/ldd.bash.in: Likewise.
32298 * elf/pldd.c: Likewise.
32299 * elf/sotruss.ksh: Likewise.
32300 * elf/sprof.c: Likewise.
32301 * iconv/iconv_prog.c: Likewise.
32302 * iconv/iconvconfig.c: Likewise.
32303 * locale/programs/locale.c: Likewise.
32304 * locale/programs/localedef.c: Likewise.
32305 * login/programs/pt_chown.c: Likewise.
32306 * malloc/memusage.sh: Likewise.
32307 * malloc/memusagestat.c: Likewise.
32308 * malloc/mtrace.pl: Likewise.
32309 * nscd/nscd.c: Likewise.
32310 * nss/getent.c: Likewise.
32311 * nss/makedb.c: Likewise.
32312 * posix/getconf.c: Likewise.
32313
323142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32315
32316 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32317 numbers.
32318
323192012-12-30 Mike Frysinger <vapier@gentoo.org>
32320
32321 * math/bits/mathcalls.h (modf): Use __nonnull.
32322
323232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32324
32325 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32326 (split): Use macro CN instead of the bare value.
32327 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32328 could be used.
32329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32330 instead of the bare value.
32331 (power1): Likewise.
32332
323332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32334
32335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32336 __ATAN_TWOM.
32337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32338
32339 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32340 their values.
32341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32343 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32345
323462012-12-28 Andreas Jaeger <aj@suse.de>
32347
32348 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32349 values are from Linux 3.7.
32350
32351 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32352 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32353
323542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32355
32356 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32357 TRUE case.
32358
32359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32360 (norm): Likewise.
32361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32362 variables with preprocessor constants.
32363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32365 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32366
323672012-12-27 Bruno Haible <bruno@clisp.org>
32368
32369 [BZ #14317]
32370 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32371 only if needed.
32372
323732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32374
32375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32376 and use variable directly.
32377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32378
32379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32380 MPONE.
32381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32383 variable MPONE.
32384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32386 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32387 include directive. Remove local variable MPONE.
32388 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32391
323922012-12-25 David S. Miller <davem@davemloft.net>
32393
32394 * version.h (RELEASE): Set to "development".
32395 (VERSION): Set to "2.17.90".
32396 * NEWS: Add 2.18 section.
32397
323982012-12-21 David S. Miller <davem@davemloft.net>
32399
32400 * po/hr.po: Update from translation team.
32401
324022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32403
32404 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32405
324062012-12-19 Steve Ellcey <sellcey@mips.com>
32407
32408 * NEWS: Mention new memcpy for MIPS.
32409
324102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32411
32412 * manual/contrib.texi (Contributors): Spelling correction.
32413
324142012-12-15 David S. Miller <davem@davemloft.net>
32415
32416 * po/ru.po: Update from translation team.
32417
324182012-12-13 David S. Miller <davem@davemloft.net>
32419
32420 * NEWS: Mention IFUNC testsuite enhancements.
32421
32422 * po/pl.po: Update from translation team.
32423 * po/bg.po: Likewise.
32424
32425 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32426 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32427
324282012-12-11 David S. Miller <davem@davemloft.net>
32429
32430 * po/sv.po: Update from translation team.
32431
32432 * po/vi.po: Update from translation team.
32433
32434 * po/cs.po: Update from translation team.
32435
32436 * po/de.po: Update from translation team.
32437 * po/eo.po: Likewise.
32438 * po/nl.po: Likewise.
32439
324402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32441
32442 [BZ #14246]
32443 * manual/argp.texi (Argp Helper Functions): Move node to follow
32444 Argp Parsing State.
32445
32446 [BZ #14872]
32447 * manual/conf.texi (Limits on File System Capacity): Mention if
32448 terminating null is included in the max size.
32449
324502012-12-10 Andreas Jaeger <aj@suse.de>
32451
32452 * po/cs.po: Update from translation team.
32453
324542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32455
32456 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32457 void pointer and cast to uintptr_t.
32458 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32459 path.
32460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32461 * sysdeps/s390/s390-64/memset.S: Likewise.
32462
324632012-12-08 Benno Schulenberg <bensberg@justemail.net>
32464
32465 [BZ #14833]
32466 * menual/message.texi (Message Translation): Fix typos.
32467 (Helper programs for gettext): Likewise.
32468
324692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32470
32471 [BZ #14898]
32472 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32473 Change to -1.
32474
324752012-12-07 David S. Miller <davem@davemloft.net>
32476
32477 * po/libc.pot: Update.
32478
324792012-12-07 Richard Henderson <rth@redhat.com>
32480
32481 [BZ #10114]
32482 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32483 normal/normal case to before the switch.
32484 (_FP_DIV): Likewise.
32485
324862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32487 Mike Frysinger <vapier@gentoo.org>
32488
32489 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32490 check for __NR_fadvise64_64.
32491
324922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32493
32494 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32495 0, not just to plain "0" as a statement.
32496 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32497 with cw.
32498
324992012-12-06 Joseph Myers <joseph@codesourcery.com>
32500
32501 * NEWS: Use sourceware.org in Bugzilla URL.
32502
325032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32504
32505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32507
32508 * stdio-common/tst-put-error.c (do_test): Add newline to the
32509 padded test to ensure flush.
32510
325112012-12-05 Jeff Law <law@redhat.com>
32512
32513 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32514
325152012-12-05 Joseph Myers <joseph@codesourcery.com>
32516
32517 * README: Don't refer to ports add-on as distributed separately.
32518 Mention AArch64 in list of systems supported in the ports add-on.
32519
32520 * LICENSES: Add more non-FSF copyright and license notices.
32521
32522 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32523 ((unused)).
32524
32525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32526
32527 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32528 10000 as width of padded output.
32529
325302012-12-04 Joseph Myers <joseph@codesourcery.com>
32531
32532 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32533
32534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32535 variable LX with __attribute__ ((unused)).
32536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32537 Likewise.
32538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32541 with __attribute__ ((unused)).
32542
325432012-12-04 David S. Miller <davem@abraco.davemloft.net>
32544
32545 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32546
325472012-12-04 Joseph Myers <joseph@codesourcery.com>
32548
32549 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32550 (CFLAGS-nldbl-acos.c): New variable.
32551 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32552 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32553 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32554 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32555 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32556 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32557 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32558 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32559 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32560 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32561 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32562 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32563 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32564 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32565 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32566 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32567 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32568 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32569 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32570 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32571 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32572 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32573 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32574 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32575 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32576 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32577 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32578 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32579 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32580 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32581 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32582 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32583 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32584 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32585 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32586 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32587 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32588 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32589 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32590 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32591 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32592 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32593 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32594 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32595 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32596 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32597 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32598 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32599 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32600 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32601 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32602 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32603 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32604 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32605 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32606 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32607 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32608 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32609 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32610 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32611 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32612 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32613 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32614 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32615 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32616 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32617 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32618 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32619 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32620 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32621 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32622 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32623 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32624 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32625 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32626 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32627 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32628 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32629 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32630 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32631 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32632 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32633 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32634 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32635 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32636 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32637 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32638 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32639 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32640 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32641 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32642 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32643 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32644 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32645 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32646 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32647 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32648
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32651
32652 [BZ #14914]
32653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32654 whole low double instead of just low 47 bits when splitting values
32655 into two parts.
32656
326572012-12-03 Allan McRae <allan@archlinux.org>
32658
32659 * manual/stdio.texi (Predefined Printf Handlers): Remove
32660 @hsep and @vsep usage.
32661
326622012-12-03 Mike Frysinger <vapier@gentoo.org>
32663
32664 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32665 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32666
326672012-12-03 Jeff Law <law@redhat.com>
32668
32669 * time/sys/time.h (settimeofday): Do not mark TV argument
32670 as __nonnull.
32671
326722012-12-01 Mike Frysinger <vapier@gentoo.org>
32673
32674 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32675 when currently writing and seek to current position when not.
32676 * libio/Makefile (tests): Remove bug-fclose1.
32677 * libio/bug-fclose1.c: Delete.
32678
326792012-12-01 Joseph Myers <joseph@codesourcery.com>
32680
32681 * manual/arith.texi (feenableexcept): Fix typo.
32682 (fedisableexcept): Likewise.
32683
326842012-11-30 Roland McGrath <roland@hack.frob.com>
32685
32686 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32687 second, differently-typed declaration, rather than a cast.
32688
326892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32690
32691 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32692 * include/rpc/svc.h: ... here.
32693
326942012-11-30 Aurelien Jarno <aurel32@debian.org>
32695
32696 [BZ #13013]
32697 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32698 depending n and resplen2 to catch cases where answer
32699 equals answerp2.
32700
327012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32702
32703 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32704 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32705
327062012-11-29 Mike Frysinger <vapier@gentoo.org>
32707
32708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32709
327102012-11-29 Roland McGrath <roland@hack.frob.com>
32711
32712 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32713
327142012-11-28 Jeff Law <law@redhat.com>
32715
32716 [BZ #13761]
32717 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32718 dataset_temporary. Track alloca usage into alloca_used.
32719 If dataset is large allocate and release it via malloc/free.
32720
327212012-06-04 Florian Weimer <fweimer@redhat.com>
32722
32723 [BZ #14197]
32724 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32725
327262012-11-28 David S. Miller <davem@davemloft.net>
32727
32728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32729
327302012-11-28 Joseph Myers <joseph@codesourcery.com>
32731
32732 [BZ #14803]
32733 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32734 of pi/2 rounded to nearest to 64 bits.
32735 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32736 nearest to 64 bits.
32737 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32738 bits.
32739
327402012-11-28 Jeff Law <law@redhat.com>
32741 Martin Osvald <mosvald@redhat.com>
32742
32743 [BZ #14889]
32744 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32745 * sunrpc/svc.c: Include time.h.
32746 (__svc_accept_failed): New function.
32747 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32748 any reason other than EINTR, call __svc_accept_failed.
32749 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32750 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32751
327522012-11-28 Andreas Schwab <schwab@suse.de>
32753
32754 * scripts/abilist.awk: Also handle indirect functions in .opd
32755 section.
32756
327572012-11-28 Joseph Myers <joseph@codesourcery.com>
32758
32759 [BZ #13881]
32760 * sysdeps/x86/fpu/powl_helper.c: New file.
32761 * sysdeps/x86/fpu/Makefile: Likewise.
32762 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32763 (p3): New object.
32764 (__ieee754_powl): Use __powl_helper for finite arguments except
32765 integer exponents below 8.
32766 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32767 (p3): New object.
32768 (__ieee754_powl): Use __powl_helper for finite arguments except
32769 integer exponents below 8.
32770 * math/libm-test.inc (pow_test): Add more tests and enable some
32771 previously disabled tests.
32772 * sysdeps/i386/fpu/libm-test-ulps: Update.
32773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32774
327752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32776 Carlos O'Donell <carlos_odonell@mentor.com>
32777
32778 * nss/makedb.c (is_prime): Assert that input is odd and greater
32779 than 4. Note that fact in a comment too.
32780 (next_prime): Add 4 to input.
32781
327822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32783
32784 [BZ #11741]
32785 * libio/Makefile (tests): Add test case tst-fwrite-error.
32786 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32787 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32788 * libio/tst-fwrite-error.c: New test case.
32789
327902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32793 before casting to void *.
32794 * include/libc-internal.h (__pointer_type): New macro.
32795 (__integer_if_pointer_type_sub): Likewise.
32796 (__integer_if_pointer_type): Likewise.
32797 (cast_to_integer): Likewise.
32798 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32799 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32800 before casting to atomic64_t.
32801 (atomic_exchange_acq): Likewise.
32802 (__arch_exchange_and_add_body): Likewise.
32803 (__arch_add_body): Likewise.
32804 (atomic_add_negative): Likewise.
32805 (atomic_add_zero): Likewise.
32806
328072012-11-26 Joseph Myers <joseph@codesourcery.com>
32808
32809 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32810 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32811 (add_fdes): Likewise.
32812 (linear_search_fdes): Likewise.
32813 (binary_search_unencoded_fdes): Likewise.
32814
328152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32816
32817 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32818
328192012-11-24 Adam Conrad <adconrad@0c3.net>
32820
32821 * configure.in: Autodetect C++ header directories.
32822 * configure: Regenerated.
32823
328242012-11-23 Mike Frysinger <vapier@gentoo.org>
32825
32826 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32827
328282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32829
32830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32831
328322012-11-22 Joseph Myers <joseph@codesourcery.com>
32833
32834 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32835 LDBL_MANT_DIG == 106]: Disable some tests.
32836 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32837 Likewise.
32838 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32839 Likewise.
32840
32841 [BZ #14871]
32842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32843 input for small inputs. Return +/- pi/2 for large inputs.
32844 * math/libm-test.inc (atan_test): Add more tests.
32845
32846 * sysdeps/generic/unwind-dw2-fde-glibc.c
32847 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32848 __attribute__ ((unused)).
32849
32850 [BZ #14645]
32851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32852 x * y if x and y are nonzero and z is zero.
32853
32854 [BZ #14811]
32855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32856 nonzero exponents with absolute value below 0x1p-117 to +/-
32857 0x1p-117.
32858
32859 [BZ #14869]
32860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32861 up arguments below 2**-450, not just those below 2**-500.
32862 * math/libm-test.inc (hypot_test): Add another test.
32863
32864 [BZ #14868]
32865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32866 Return a+b for ratio over 2**120, not 2**60.
32867 * math/libm-test.inc (hypot_test): Add another test.
32868
32869 * math/libm-test.inc (clog_test): Use
32870 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32871 (clog10_test): Likewise.
32872
32873 [BZ #6778]
32874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32875
328762012-11-22 Andreas Schwab <schwab@suse.de>
32877
32878 * sysdeps/i386/fpu/libm-test-ulps: Update.
32879
328802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32881
32882 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32883 printf output with newline.
32884
328852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32886
32887 [BZ #14865]
32888 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32889 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32890 -z nodlopen, -z initfirst and -z execstack support.
32891 * configure: Regenerated.
32892
32893 * elf/elf.h (DF_1_NODIRECT): New macro.
32894 (DF_1_IGNMULDEF): Likewise.
32895 (DF_1_NOKSYMS): Likewise.
32896 (DF_1_NOHDR): Likewise.
32897 (DF_1_EDITED): Likewise.
32898 (DF_1_NORELOC): Likewise.
32899 (DF_1_SYMINTPOSE): Likewise.
32900 (DF_1_GLOBAUDIT): Likewise.
32901 (DF_1_SINGLETON): Likewise.
32902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32903 DT_1_SUPPORTED_MASK bits.
32904 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32905
329062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32907
32908 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32909
329102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32911
32912 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32913 macro.
32914
32915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32916 (sendmmsg): Move declarations...
32917 * socket/sys/socket.h: ... here.
32918 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32919 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32920 include it from...
32921 * socket/recvmmsg.c: ... this new file.
32922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32923 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32924 definition of __sendmmsg hidden.
32925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32926 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32927 Move ENOSYS stub into and include it from...
32928 * socket/sendmmsg.c: ... this new file.
32929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32930 (sysdep_routines): Move recvmmsg and sendmmsg...
32931 * socket/Makefile (routines): ... here.
32932 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32933 (GLIBC_PRIVATE): Add __sendmmsg.
32934 * include/sys/socket.h (__sendmmsg): Add declarations.
32935 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32936 sendmmsg.
32937
329382012-11-20 Joseph Myers <joseph@codesourcery.com>
32939
32940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32941 variable I1 with __attribute__ ((unused)).
32942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32943
329442012-11-19 Joseph Myers <joseph@codesourcery.com>
32945
32946 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32947 DUMMY variables with __attribute__ ((unused)).
32948
32949 * bits/byteswap.h: Include <bits/types.h>.
32950 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32951
329522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32953
32954 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32955 string_t. Do not manually set errno.
32956 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32957 length with __strnlen. Make sure to both set errno and return it on
32958 failure.
32959
329602012-11-19 David S. Miller <davem@davemloft.net>
32961
32962 With help from Joseph Myers.
32963 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32964 very large arguments properly.
32965 * math/libm-test.inc (atan_test): New tests.
32966 (atan2_test): New tests.
32967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32969
329702012-11-19 Joseph Myers <joseph@codesourcery.com>
32971
32972 [BZ #14856]
32973 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32974 Define to 3.
32975
32976 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32977 [POSIX] (EADDRNOTAVAIL): Likewise.
32978 [POSIX] (EAFNOSUPPORT): Likewise.
32979 [POSIX] (EALREADY): Likewise.
32980 [POSIX] (ECONNABORTED): Likewise.
32981 [POSIX] (ECONNREFUSED): Likewise.
32982 [POSIX] (ECONNRESET): Likewise.
32983 [POSIX] (EDESTADDRREQ): Likewise.
32984 [POSIX] (EDQUOT): Likewise.
32985 [POSIX] (EHOSTUNREACH): Likewise.
32986 [POSIX] (EIDRM): Likewise.
32987 [POSIX] (EISCONN): Likewise.
32988 [POSIX] (ELOOP): Likewise.
32989 [POSIX] (EMULTIHOP): Likewise.
32990 [POSIX] (ENETDOWN): Likewise.
32991 [POSIX] (ENETUNREACH): Likewise.
32992 [POSIX] (ENOBUFS): Likewise.
32993 [POSIX] (ENODATA): Likewise.
32994 [POSIX] (ENOLINK): Likewise.
32995 [POSIX] (ENOMSG): Likewise.
32996 [POSIX] (ENOPROTOOPT): Likewise.
32997 [POSIX] (ENOSR): Likewise.
32998 [POSIX] (ENOSTR): Likewise.
32999 [POSIX] (ENOTCONN): Likewise.
33000 [POSIX] (ENOTSOCK): Likewise.
33001 [POSIX] (EOPNOTSUPP): Likewise.
33002 [POSIX] (EOVERFLOW): Likewise.
33003 [POSIX] (EPROTO): Likewise.
33004 [POSIX] (EPROTONOSUPPORT): Likewise.
33005 [POSIX] (EPROTOTYPE): Likewise.
33006 [POSIX] (ESTALE): Likewise.
33007 [POSIX] (ETIME): Likewise.
33008 [POSIX] (ETXTBSY): Likewise.
33009 [POSIX] (EWOULDBLOCK): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33011 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33012 [POSIX] (SEEK_CUR): Likewise.
33013 [POSIX] (SEEK_END): Likewise.
33014 [POSIX || UNIX98] (mode_t): Do not require.
33015 [POSIX] (off_t): Likewise.
33016 [POSIX] (pid_t): Likewise.
33017 [POSIX] (sys/stat.h): Do not allow header.
33018 [POSIX] (unistd.h): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33020 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33023 require.
33024 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33025 sigevent): Specify elements.
33026 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33027 entry.
33028 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33029 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33030
33031 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33032 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33033 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33034 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33035 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33036 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33037 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33039 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33041 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33043 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33044 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33045 Likewise.
33046 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33047 Likewise.
33048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33049 Likewise.
33050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33051 Likewise.
33052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33056 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33057 Specify lower bound on value.
33058 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33059 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33060 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33061 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33062 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33063 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33064 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33065 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33066 value.
33067 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33068 as optional.
33069 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33070 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33071 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33072 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33073 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33074 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33079 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33080 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33081 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33082 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33083 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33084 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33085 entry.
33086 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33087 optional.
33088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33090 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33091 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33092 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33094 Likewise.
33095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33097 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33098 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33099 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33100 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33102 as optional.
33103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33106 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33107 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33108 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33109 specify as optional.
33110 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33111 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33113 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33114 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33115 [XPG3] (NL_LANGMAX): Likewise.
33116 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33117 [POSIX || XPG3] (NL_NMAX): Likewise.
33118 [POSIX || XPG3] (NL_SETMAX): Likewise.
33119 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33120 [XPG3] (NZERO): Likewise.
33121 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33122 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33123 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33124 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33125 (REG_ERANGE): Expect.
33126 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33127 optional-constant.
33128 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33129 Use (void) in prototype.
33130 [POSIX] (*_t): Allow.
33131 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33132 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33133 (WRDE_BADVAL): Expect.
33134
33135 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33136 expect.
33137 [XPG3 || XPG4] (O_RSYNC): Likewise.
33138 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33139 Likewise.
33140 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33141 [XPG3 || XPG4] (sigqueue): Likewise.
33142 [XPG3 || XPG4] (sigtimedwait): Likewise.
33143 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33144 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33145 [XPG3 || XPG4] (vsnprintf): Likewise.
33146 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33147 Likewise.
33148 [XPG3 || XPG4] (blksize_t): Likewise.
33149 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33150 Likewise.
33151 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33152 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33153 [XPG3 || XPG4] (struct itimerspec): Likewise.
33154 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33155 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33156 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33157 [XPG3 || XPG4] (clockid_t): Likewise.
33158 [XPG3 || XPG4] (timer_t): Likewise.
33159 [XPG3 || XPG4] (clock_getres): Likewise.
33160 [XPG3 || XPG4] (clock_gettime): Likewise.
33161 [XPG3 || XPG4] (clock_settime): Likewise.
33162 [XPG3 || XPG4] (nanosleep): Likewise.
33163 [XPG3 || XPG4] (timer_create): Likewise.
33164 [XPG3 || XPG4] (timer_delete): Likewise.
33165 [XPG3 || XPG4] (timer_gettime): Likewise.
33166 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33167 [XPG3 || XPG4] (timer_settime): Likewise.
33168 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33169 [XPG3 || XPG4] (getlogin_r): Likewise.
33170 [XPG3 || XPG4] (pread): Likewise.
33171 [XPG3 || XPG4] (pthread_atfork): Likewise.
33172 [XPG3 || XPG4] (pwrite): Likewise.
33173
33174 [BZ #14835]
33175 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33176 <bits/siginfo.h>.
33177
331782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33179
33180 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33181 finalizing MALLSTREAM.
33182
33183 * sysdeps/mach/hurd/syncfs.c: New file.
33184
331852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33186
33187 [BZ #14719]
33188 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33189 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33191 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33192 (_nss_dns_gethostbyname4_r): Likewise.
33193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33194 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33195
331962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33197
33198 [BZ #13763]
33199 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33200
332012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33202
33203 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33204 * elf/cache.c (print_entry): Print ",AArch64" for
33205 FLAG_AARCH64_LIB64
33206
33207 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33208 * elf/cache.c (print_entry): Print ",hard-float" for
33209 FLAG_ARM_LIBHF.
33210
332112012-11-18 David S. Miller <davem@davemloft.net>
33212
33213 With help from Joseph Myers.
33214 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33215 cutoff to 2**-13.
33216 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33217 cutoff to 2**-25.
33218 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33219 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33220 small.
33221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33222 * math/libm-test.inc (y0_test): New tests.
33223 (y1_test): New tests.
33224 * sysdeps/i386/fpu/libm-test-ulps: Update.
33225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33227
332282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33229
33230 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33231 64-bit targets.
33232 * configure: Regenerated.
33233
332342012-11-17 David S. Miller <davem@davemloft.net>
33235
33236 [BZ #14811]
33237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33238 nonzero exponents with absolute value below 0x1p-128 to +/-
33239 0x1p-128.
33240
332412012-11-17 Joseph Myers <joseph@codesourcery.com>
33242
33243 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33244
33245 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33246
33247 * posix/getconf-speclist.c: New file.
33248 * posix/posix-envs.def: Likewise.
33249 * posix/confstr.c (START_ENV_GROUP): New macro.
33250 (END_ENV_GROUP): Likewise.
33251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33252 (KNOWN_PRESENT_ENV_STRING): Likewise.
33253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33254 (UNKNOWN_ENVIRONMENT): Likewise.
33255 (confstr): Include posix-envs.def instead of handling
33256 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33257 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33258 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33259 (END_ENV_GROUP): Likewise.
33260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33262 (UNKNOWN_ENVIRONMENT): Likewise.
33263 (__sysconf): Include posix-envs.def instead of handling associated
33264 cases directly here.
33265 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33266 preprocessing getconf-speclist.c rather than running getconf or
33267 generating empty file.
33268
332692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33270
33271 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33272
332732012-11-16 Andrej Lajovic <natrij@gmail.com>
33274
33275 [BZ #14672]
33276 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33277
332782012-11-16 David S. Miller <davem@davemloft.net>
33279
33280 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33281 smaller than LDBL_EPSILON/2.0L, just return xm1.
33282
332832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33284
33285 * elf/tst-array1.c (init): Set constructor priority to 1000.
33286 (fini): Set destructor priority to 1000.
33287 * elf/tst-array2dep.c: Likewise.
33288
332892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33290
33291 [BZ #11741]
33292 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33293 (_IO_new_file_xsputn): Also return EOF if none of the input
33294 data was written when overflow failed.
33295 * libio/iopadn.c (_IO_padn): Likewise.
33296 * libio/iowpadn.c (_IO_wpadn): Likewise.
33297 * stdio-common/tst-put-error.c: Add copyright notice.
33298 (do_test): Add case for printing padded string.
33299 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33300 _IO_padn returned error.
33301 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33302 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33303 return EOF.
33304
333052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33306
33307 * libio/libioP.h: Add comment note that the references to C++
33308 bits are now obsolete.
33309
333102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33311
33312 * math/libm-test.inc (check_complex): Use asprintf.
33313
333142012-11-14 Joseph Myers <joseph@codesourcery.com>
33315
33316 * debug/pcprofiledump.c (print_version): Update copyright year.
33317 * malloc/memusagestat.c (print_version): Likewise.
33318
333192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33320
33321 [BZ #14831]
33322 * elf/Makefile (tests): Add tst-audit8.
33323 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33324 ($(objpfx)tst-audit8.out): New target.
33325 (tst-audit8-ENV): New variable.
33326 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33327 audit if l_reloc_result is NULL.
33328 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33329 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33330 * elf/tst-audit8.c: New file.
33331
333322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33333
33334 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33335 * misc/Makefile (CFLAGS-select.c): Define.
33336 * posix/Makefile (CFLAGS-pause.c): Define.
33337
333382012-11-13 David S. Miller <davem@davemloft.net>
33339
33340 * crypt/Makefile: Move test targets after toplevel Rules
33341 inclusion. Grab any necessary sysdep routines when linking.
33342 * crypt/md5.c (md5_process_block): Remove define, we will always
33343 name it __md5_process_block.
33344 (md5_finish_ctx): Update md5_process_block call.
33345 (md5_stream): Likewise.
33346 (md5_process_bytes): Likewise.
33347 (md5_process_block): Rename to __md5_process_block and move to ...
33348 * crypt/md5-block.c: ... here.
33349 * crypt/sha256.c (sha256_process_block): Move to ...
33350 * crypt/sha256-block.c: ... here.
33351 * crypt/sha512.c (sha512_process_block): Move to ...
33352 * crypt/sha512-block.c: ... here.
33353 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33354 path.
33355 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33356 * sysdeps/sparc/sparc64/multiarch/Makefile
33357 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33358 crypt subdir.
33359 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33361 multiarch changes.
33362 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33363 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33364 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33365 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33366 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33367 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33371 file.
33372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33374 file.
33375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33376
333772012-11-13 Joseph Myers <joseph@codesourcery.com>
33378
33379 * timezone/tzselect.ksh: Update from tzcode git revision
33380 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33381 * timezone/zdump.c: Likewise.
33382 * timezone/zic.c: Likewise.
33383 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33384 in TZVERSION setting, not $(PKGVERSION).
33385 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33386 REPORT_BUGS_TO settings.
33387
33388 [BZ #14838]
33389 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33390 macro.
33391
333922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33393
33394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33395 detection to immediately after _FP_ROUND().
33396 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33397 bits are 0.
33398
333992012-11-11 David S. Miller <davem@davemloft.net>
33400
33401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33402 inttypes.h
33403 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33404 __close rather than their public counterparts.
33405
334062012-11-10 Joseph Myers <joseph@codesourcery.com>
33407
33408 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33409 file.
33410 [UNIX98] (sem_timedwait): Do not expect.
33411 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33412 [XPG4 || UNIX98] (sockatmark): Do not expect.
33413 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33414 (clock_getcpuclockid): Do not expect.
33415 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33416 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33417 Do not expect.
33418 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33419 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33420 [UNIX98] (vwscanf): Likewise.
33421 [UNIX98] (vswscanf): Likewise.
33422
334232012-11-09 Joseph Myers <joseph@codesourcery.com>
33424
33425 * timezone/version.h: Remove file.
33426 * timezone/README: Do not refer to version.h.
33427 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33428 $(objpfx)version.h.
33429 ($(objpfx)zdump.o): Likewise.
33430 ($(objpfx)version.h): New target.
33431
33432 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33433 2012i.
33434 * timezone/README: Don't mention modification to tzselect.ksh.
33435 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33436 work on unmodified tzselect.ksh. Substitute version numbers in
33437 tzselect.ksh.
33438
33439 * Makefile (format-me): Remove.
33440 (INSTALL): Adjust indentation. Use commands directly instead of
33441 using $(format-me).
33442
33443 * aclocal.m4 (ACX_PKGVERSION): New macro.
33444 (ACX_BUGURL): Likewise.
33445 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33446 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33447 (REPORT_BUGS_TO): Likewise.
33448 * configure: Regenerated.
33449 * config.h.in (PKGVERSION): New macro.
33450 (REPORT_BUGS_TO): Likewise.
33451 * config.make.in (PKGVERSION): New variable.
33452 (PKGVERSION_TEXI): Likewise.
33453 (REPORT_BUGS_TO): Likewise.
33454 (REPORT_BUGS_TEXI): Likewise.
33455 * Makefile (format-me): Use -I$(common-objpfx)manual.
33456 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33457 ($(common-objpfx)manual/%): New target.
33458 (manual/%): Remove target.
33459 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33460 (print_version): Use PKGVERSION.
33461 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33462 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33463 and REPORT_BUGS_TO.
33464 ($(objpfx)xtrace): Likewise.
33465 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33466 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33467 (print_version): Use PKGVERSION.
33468 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33469 (do_version): Use PKGVERSION.
33470 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33471 REPORT_BUGS_TO.
33472 (common-ldd-rewrite): Likewise.
33473 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33474 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33475 (print_version): Use PKGVERSION.
33476 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33477 * elf/pldd.c (argp_program_bug_address): Remove variable.
33478 (more_help): New function.
33479 (argp): Use more_help.
33480 (print_version): Use PKGVERSION.
33481 * elf/sln.c (main): Use PKGVERSION.
33482 (usage): Use REPORT_BUGS_TO.
33483 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33484 (top level): Use PKGVERSION.
33485 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33486 (print_version): Use PKGVERSION.
33487 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33488 (print_version): Use PKGVERSION.
33489 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33490 (print_version): Use PKGVERSION.
33491 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33492 (print_version): Use PKGVERSION.
33493 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33494 (print_version): Use PKGVERSION.
33495 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33496 (print_version): Use PKGVERSION.
33497 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33498 and BUGURL.
33499 ($(objpfx)memusage): Likewise.
33500 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33501 (do_version): Use PKGVERSION.
33502 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33503 (print_version): Use PKGVERSION.
33504 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33505 ($PKGVERSION): New variable.
33506 ($REPORT_BUGS_TO): Likewise.
33507 (usage): Use $REPORT_BUGS_TO.
33508 (top level): Use $PKGVERSION.
33509 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33510 ($(objpfx)pkgvers.texi): New rule.
33511 ($(objpfx)stamp-pkgvers): Likewise.
33512 * manual/install.texi: Include pkgvers.texi.
33513 (--with-pkgversion): Document new configure option.
33514 (--with-bugurl): Likewise.
33515 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33516 than necessarily for this particular distribution. Use
33517 REPORT_BUGS_TO for where to report bugs.
33518 * INSTALL: Regenerated.
33519 * manual/libc.texinfo: Include pkgvers.texi.
33520 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33521 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33522 (print_version): Use PKGVERSION.
33523 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33524 (print_version): Use PKGVERSION.
33525 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33526 (print_version): Use PKGVERSION.
33527 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33528 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33529 macro.
33530 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33531 (print_version): Use PKGVERSION.
33532 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33533 (print_version): Use PKGVERSION.
33534 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33535 and PKGVERSION.
33536
33537 * timezone/checktab.awk: Update from tzcode 2012i.
33538 * timezone/ialloc.c: Likewise.
33539 * timezone/private.h: Likewise.
33540 * timezone/scheck.c: Likewise.
33541 * timezone/tzfile.h: Likewise.
33542 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33543 (TZVERSION): Hardcode tzcode version number.
33544 * timezone/zdump.c: Update from tzcode 2012i.
33545 * timezone/zic.c: Likewise.
33546 * timezone/version.h: New file.
33547 * timezone/README: Describe version.h. Update upstream location.
33548
33549 [BZ #14824]
33550 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33551 (mktemp): Enable declaration.
33552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33556 Likewise.
33557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33558 Likewise.
33559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33560 Likewise.
33561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33562 Likewise.
33563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33564 Likewise.
33565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33566 Likewise.
33567
33568 [BZ #14821]
33569 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33570 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33571 for copies of such integer values.
33572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33574
335752012-11-09 Andreas Jaeger <aj@suse.de>
33576
33577 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33578 definitions and declarations that are provided by
33579 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33580
335812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33582
33583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33584 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33585 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33586 definition.
33587
335882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33589
33590 * elf/elf.h: Update comment before AArch64 relocations.
33591
335922012-11-07 David S. Miller <davem@davemloft.net>
33593
33594 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33596 (__start_context): Declare.
33597 (__makecontext_ret): Delete.
33598 (__makecontext): Hook up __start_context instead of
33599 __makecontext_ret.
33600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33601 (sysdep_routines): Add __start_context when in stdlib.
33602
336032012-11-07 Joseph Myers <joseph@codesourcery.com>
33604
33605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33606 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33607 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33608 hardcoded "nm".
33609 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33610 (READELF): New variable. Use it instead of hardcoded "readelf".
33611
336122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33613
33614 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33615 * sysdeps/x86/Makefile: Here.
33616 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33617 * sysdeps/x86/tst-xmmymm.sh: This.
33618
336192012-11-07 Joseph Myers <joseph@codesourcery.com>
33620
33621 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33622 expectations.
33623 [UNIX98] (pthread_barrier_t): Do not expect.
33624 [UNIX98] (pthread_barrierattr_t): Likewise.
33625 [UNIX98] (pthread_spinlock_t): Likewise.
33626 [UNIX98] (pthread_barrier_destroy): Likewise.
33627 [UNIX98] (pthread_barrier_init): Likewise.
33628 [UNIX98] (pthread_barrier_wait): Likewise.
33629 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33630 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33631 [UNIX98] (pthread_barrierattr_init): Likewise.
33632 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33633 [UNIX98] (pthread_getcpuclockid): Likewise.
33634 [UNIX98] (pthread_mutex_timedlock): Likewise.
33635 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33636 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33637 [UNIX98] (pthread_sigmask): Likewise.
33638 [UNIX98] (pthread_spin_destroy): Likewise.
33639 [UNIX98] (pthread_spin_init): Likewise.
33640 [UNIX98] (pthread_spin_lock): Likewise.
33641 [UNIX98] (pthread_spin_trylock): Likewise.
33642 [UNIX98] (pthread_spin_unlock): Likewise.
33643 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33644 Do not expect.
33645 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33647 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33648 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33649 [XPG3 || XPG4] (pthread_key_t): Likewise.
33650 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33651 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33652 [XPG3 || XPG4] (pthread_once_t): Likewise.
33653 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33654 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33656 [XPG3 || XPG4] (pthread_t): Likewise.
33657
33658 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33659 not expect.
33660 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33661
33662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33663 Change function return type to int.
33664
33665 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33666 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33667 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33668 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33669 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33670 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33671 [!POSIX] (posix_madvise): Likewise.
33672 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33673 && !UNIX98].
33674 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33675 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33676 (mode_t): Likewise.
33677 (posix_mem_offset): Likewise.
33678 (posix_typed_mem_get_info): Likewise.
33679 (posix_typed_mem_open): Likewise.
33680
33681 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33682 Change condition to [XOPEN2K8].
33683
33684 * conform/conformtest.pl: Preprocess allow-header data with -x c
33685 instead of from stdin.
33686 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33687 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33688 [C99-based standards] (cerfc): Likewise.
33689 [C99-based standards] (cexp2): Likewise.
33690 [C99-based standards] (cexpm1): Likewise.
33691 [C99-based standards] (clog10): Likewise.
33692 [C99-based standards] (clog1p): Likewise.
33693 [C99-based standards] (clog2): Likewise.
33694 [C99-based standards] (clgamma): Likewise.
33695 [C99-based standards] (ctgamma): Likewise.
33696 [C99-based standards] (cerff): Likewise.
33697 [C99-based standards] (cerfcf): Likewise.
33698 [C99-based standards] (cexp2f): Likewise.
33699 [C99-based standards] (cexpm1f): Likewise.
33700 [C99-based standards] (clog10f): Likewise.
33701 [C99-based standards] (clog1pf): Likewise.
33702 [C99-based standards] (clog2f): Likewise.
33703 [C99-based standards] (clgammaf): Likewise.
33704 [C99-based standards] (ctgammaf): Likewise.
33705 [C99-based standards] (cerfl): Likewise.
33706 [C99-based standards] (cerfcl): Likewise.
33707 [C99-based standards] (cexp2l): Likewise.
33708 [C99-based standards] (cexpm1l): Likewise.
33709 [C99-based standards] (clog10l): Likewise.
33710 [C99-based standards] (clog1pl): Likewise.
33711 [C99-based standards] (clog2l): Likewise.
33712 [C99-based standards] (clgammal): Likewise.
33713 [C99-based standards] (ctgammal): Likewise.
33714 * conform/data/inttypes.h-data [C99-based standards]: Include
33715 stdint.h-data. Remove all expectations for stdint.h contents.
33716 [C99-based standards] (PRI*): Do not allow.
33717 [C99-based standards] (SCN*): Likewise.
33718 [C99-based standards] (*_t): Likewise.
33719 [C99-based-standards] (PRId8): Expect macro.
33720 [C99-based-standards] (PRIi8): Likewise.
33721 [C99-based-standards] (PRIo8): Likewise.
33722 [C99-based-standards] (PRIu8): Likewise.
33723 [C99-based-standards] (PRIx8): Likewise.
33724 [C99-based-standards] (PRIX8): Likewise.
33725 [C99-based-standards] (SCNd8): Likewise.
33726 [C99-based-standards] (SCNi8): Likewise.
33727 [C99-based-standards] (SCNo8): Likewise.
33728 [C99-based-standards] (SCNu8): Likewise.
33729 [C99-based-standards] (SCNx8): Likewise.
33730 [C99-based-standards] (PRIdLEAST8): Likewise.
33731 [C99-based-standards] (PRIiLEAST8): Likewise.
33732 [C99-based-standards] (PRIoLEAST8): Likewise.
33733 [C99-based-standards] (PRIuLEAST8): Likewise.
33734 [C99-based-standards] (PRIxLEAST8): Likewise.
33735 [C99-based-standards] (PRIXLEAST8): Likewise.
33736 [C99-based-standards] (SCNdLEAST8): Likewise.
33737 [C99-based-standards] (SCNiLEAST8): Likewise.
33738 [C99-based-standards] (SCNoLEAST8): Likewise.
33739 [C99-based-standards] (SCNuLEAST8): Likewise.
33740 [C99-based-standards] (SCNxLEAST8): Likewise.
33741 [C99-based-standards] (PRIdFAST8): Likewise.
33742 [C99-based-standards] (PRIiFAST8): Likewise.
33743 [C99-based-standards] (PRIoFAST8): Likewise.
33744 [C99-based-standards] (PRIuFAST8): Likewise.
33745 [C99-based-standards] (PRIxFAST8): Likewise.
33746 [C99-based-standards] (PRIXFAST8): Likewise.
33747 [C99-based-standards] (SCNdFAST8): Likewise.
33748 [C99-based-standards] (SCNiFAST8): Likewise.
33749 [C99-based-standards] (SCNoFAST8): Likewise.
33750 [C99-based-standards] (SCNuFAST8): Likewise.
33751 [C99-based-standards] (SCNxFAST8): Likewise.
33752 [C99-based-standards] (PRId16): Likewise.
33753 [C99-based-standards] (PRIi16): Likewise.
33754 [C99-based-standards] (PRIo16): Likewise.
33755 [C99-based-standards] (PRIu16): Likewise.
33756 [C99-based-standards] (PRIx16): Likewise.
33757 [C99-based-standards] (PRIX16): Likewise.
33758 [C99-based-standards] (SCNd16): Likewise.
33759 [C99-based-standards] (SCNi16): Likewise.
33760 [C99-based-standards] (SCNo16): Likewise.
33761 [C99-based-standards] (SCNu16): Likewise.
33762 [C99-based-standards] (SCNx16): Likewise.
33763 [C99-based-standards] (PRIdLEAST16): Likewise.
33764 [C99-based-standards] (PRIiLEAST16): Likewise.
33765 [C99-based-standards] (PRIoLEAST16): Likewise.
33766 [C99-based-standards] (PRIuLEAST16): Likewise.
33767 [C99-based-standards] (PRIxLEAST16): Likewise.
33768 [C99-based-standards] (PRIXLEAST16): Likewise.
33769 [C99-based-standards] (SCNdLEAST16): Likewise.
33770 [C99-based-standards] (SCNiLEAST16): Likewise.
33771 [C99-based-standards] (SCNoLEAST16): Likewise.
33772 [C99-based-standards] (SCNuLEAST16): Likewise.
33773 [C99-based-standards] (SCNxLEAST16): Likewise.
33774 [C99-based-standards] (PRIdFAST16): Likewise.
33775 [C99-based-standards] (PRIiFAST16): Likewise.
33776 [C99-based-standards] (PRIoFAST16): Likewise.
33777 [C99-based-standards] (PRIuFAST16): Likewise.
33778 [C99-based-standards] (PRIxFAST16): Likewise.
33779 [C99-based-standards] (PRIXFAST16): Likewise.
33780 [C99-based-standards] (SCNdFAST16): Likewise.
33781 [C99-based-standards] (SCNiFAST16): Likewise.
33782 [C99-based-standards] (SCNoFAST16): Likewise.
33783 [C99-based-standards] (SCNuFAST16): Likewise.
33784 [C99-based-standards] (SCNxFAST16): Likewise.
33785 [C99-based-standards] (PRId32): Likewise.
33786 [C99-based-standards] (PRIi32): Likewise.
33787 [C99-based-standards] (PRIo32): Likewise.
33788 [C99-based-standards] (PRIu32): Likewise.
33789 [C99-based-standards] (PRIx32): Likewise.
33790 [C99-based-standards] (PRIX32): Likewise.
33791 [C99-based-standards] (SCNd32): Likewise.
33792 [C99-based-standards] (SCNi32): Likewise.
33793 [C99-based-standards] (SCNo32): Likewise.
33794 [C99-based-standards] (SCNu32): Likewise.
33795 [C99-based-standards] (SCNx32): Likewise.
33796 [C99-based-standards] (PRIdLEAST32): Likewise.
33797 [C99-based-standards] (PRIiLEAST32): Likewise.
33798 [C99-based-standards] (PRIoLEAST32): Likewise.
33799 [C99-based-standards] (PRIuLEAST32): Likewise.
33800 [C99-based-standards] (PRIxLEAST32): Likewise.
33801 [C99-based-standards] (PRIXLEAST32): Likewise.
33802 [C99-based-standards] (SCNdLEAST32): Likewise.
33803 [C99-based-standards] (SCNiLEAST32): Likewise.
33804 [C99-based-standards] (SCNoLEAST32): Likewise.
33805 [C99-based-standards] (SCNuLEAST32): Likewise.
33806 [C99-based-standards] (SCNxLEAST32): Likewise.
33807 [C99-based-standards] (PRIdFAST32): Likewise.
33808 [C99-based-standards] (PRIiFAST32): Likewise.
33809 [C99-based-standards] (PRIoFAST32): Likewise.
33810 [C99-based-standards] (PRIuFAST32): Likewise.
33811 [C99-based-standards] (PRIxFAST32): Likewise.
33812 [C99-based-standards] (PRIXFAST32): Likewise.
33813 [C99-based-standards] (SCNdFAST32): Likewise.
33814 [C99-based-standards] (SCNiFAST32): Likewise.
33815 [C99-based-standards] (SCNoFAST32): Likewise.
33816 [C99-based-standards] (SCNuFAST32): Likewise.
33817 [C99-based-standards] (SCNxFAST32): Likewise.
33818 [C99-based-standards] (PRId64): Likewise.
33819 [C99-based-standards] (PRIi64): Likewise.
33820 [C99-based-standards] (PRIo64): Likewise.
33821 [C99-based-standards] (PRIu64): Likewise.
33822 [C99-based-standards] (PRIx64): Likewise.
33823 [C99-based-standards] (PRIX64): Likewise.
33824 [C99-based-standards] (SCNd64): Likewise.
33825 [C99-based-standards] (SCNi64): Likewise.
33826 [C99-based-standards] (SCNo64): Likewise.
33827 [C99-based-standards] (SCNu64): Likewise.
33828 [C99-based-standards] (SCNx64): Likewise.
33829 [C99-based-standards] (PRIdLEAST64): Likewise.
33830 [C99-based-standards] (PRIiLEAST64): Likewise.
33831 [C99-based-standards] (PRIoLEAST64): Likewise.
33832 [C99-based-standards] (PRIuLEAST64): Likewise.
33833 [C99-based-standards] (PRIxLEAST64): Likewise.
33834 [C99-based-standards] (PRIXLEAST64): Likewise.
33835 [C99-based-standards] (SCNdLEAST64): Likewise.
33836 [C99-based-standards] (SCNiLEAST64): Likewise.
33837 [C99-based-standards] (SCNoLEAST64): Likewise.
33838 [C99-based-standards] (SCNuLEAST64): Likewise.
33839 [C99-based-standards] (SCNxLEAST64): Likewise.
33840 [C99-based-standards] (PRIdFAST64): Likewise.
33841 [C99-based-standards] (PRIiFAST64): Likewise.
33842 [C99-based-standards] (PRIoFAST64): Likewise.
33843 [C99-based-standards] (PRIuFAST64): Likewise.
33844 [C99-based-standards] (PRIxFAST64): Likewise.
33845 [C99-based-standards] (PRIXFAST64): Likewise.
33846 [C99-based-standards] (SCNdFAST64): Likewise.
33847 [C99-based-standards] (SCNiFAST64): Likewise.
33848 [C99-based-standards] (SCNoFAST64): Likewise.
33849 [C99-based-standards] (SCNuFAST64): Likewise.
33850 [C99-based-standards] (SCNxFAST64): Likewise.
33851 [C99-based-standards] (PRIdMAX): Likewise.
33852 [C99-based-standards] (PRIiMAX): Likewise.
33853 [C99-based-standards] (PRIoMAX): Likewise.
33854 [C99-based-standards] (PRIuMAX): Likewise.
33855 [C99-based-standards] (PRIxMAX): Likewise.
33856 [C99-based-standards] (PRIXMAX): Likewise.
33857 [C99-based-standards] (SCNdMAX): Likewise.
33858 [C99-based-standards] (SCNiMAX): Likewise.
33859 [C99-based-standards] (SCNoMAX): Likewise.
33860 [C99-based-standards] (SCNuMAX): Likewise.
33861 [C99-based-standards] (SCNxMAX): Likewise.
33862 [C99-based-standards] (PRIdPTR): Likewise.
33863 [C99-based-standards] (PRIiPTR): Likewise.
33864 [C99-based-standards] (PRIoPTR): Likewise.
33865 [C99-based-standards] (PRIuPTR): Likewise.
33866 [C99-based-standards] (PRIxPTR): Likewise.
33867 [C99-based-standards] (PRIXPTR): Likewise.
33868 [C99-based-standards] (SCNdPTR): Likewise.
33869 [C99-based-standards] (SCNiPTR): Likewise.
33870 [C99-based-standards] (SCNoPTR): Likewise.
33871 [C99-based-standards] (SCNuPTR): Likewise.
33872 [C99-based-standards] (SCNxPTR): Likewise.
33873 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33874 allow.
33875 * conform/data/stdint.h-data: Update comments to clarify
33876 requirements.
33877 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33878 type.
33879 [C99-based standards] (INT8_MAX): Likewise.
33880 [C99-based standards] (INT16_MIN): Likewise.
33881 [C99-based standards] (INT16_MAX): Likewise.
33882 [C99-based standards] (INT32_MIN): Likewise.
33883 [C99-based standards] (INT32_MAX): Likewise.
33884 [C99-based standards] (INT64_MIN): Likewise.
33885 [C99-based standards] (INT64_MAX): Likewise.
33886 [C99-based standards] (UINT8_MAX): Likewise.
33887 [C99-based standards] (UINT16_MAX): Likewise.
33888 [C99-based standards] (UINT32_MAX): Likewise.
33889 [C99-based standards] (UINT64_MAX): Likewise.
33890 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33891 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33892 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33893 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33894 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33895 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33896 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33897 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33898 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33899 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33900 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33901 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33902 [C99-based standards] (INT_FAST8_MIN): Likewise.
33903 [C99-based standards] (INT_FAST8_MAX): Likewise.
33904 [C99-based standards] (INT_FAST16_MIN): Likewise.
33905 [C99-based standards] (INT_FAST16_MAX): Likewise.
33906 [C99-based standards] (INT_FAST32_MIN): Likewise.
33907 [C99-based standards] (INT_FAST32_MAX): Likewise.
33908 [C99-based standards] (INT_FAST64_MIN): Likewise.
33909 [C99-based standards] (INT_FAST64_MAX): Likewise.
33910 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33911 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33912 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33913 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33914 [C99-based standards] (INTPTR_MIN): Likewise.
33915 [C99-based standards] (INTPTR_MAX): Likewise.
33916 [C99-based standards] (UINTPTR_MAX): Likewise.
33917 [C99-based standards] (INTMAX_MIN): Likewise.
33918 [C99-based standards] (INTMAX_MAX): Likewise.
33919 [C99-based standards] (UINTMAX_MAX): Likewise.
33920 [C99-based standards] (PTRDIFF_MIN): Likewise.
33921 [C99-based standards] (PTRDIFF_MAX): Likewise.
33922 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33923 [C99-based standards] (SIZE_MAX): Likewise.
33924 [C99-based standards] (WCHAR_MAX): Likewise.
33925 [C99-based standards] (WINT_MAX): Likewise.
33926 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33927 constraint on value.
33928 [C99-based standards] (WCHAR_MIN): Likewise.
33929 [C99-based standards] (WINT_MIN): Likewise.
33930 [C99-based standards] (*_t): Allow.
33931 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33932 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33933 Include math.h-data and complex.h-data. Remove all expectations
33934 of math.h and complex.h contents.
33935 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33936 at end of line.
33937 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33938 (struct tm): Expect tag.
33939 [C99-based-standards] (wcstof): Expect function.
33940 [C99-based-standards] (wcstold): Likewise.
33941 [C99-based-standards] (wcstoll): Likewise.
33942 [C99-based-standards] (wcstoull): Likewise.
33943 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33944 macro-int-constant. Specify type.
33945 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33946 constraint on value.
33947 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33948 Specify type.
33949 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33950 Specify value.
33951 [ISO C standards]: Do not allow headers.
33952 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33953 wcs[abcdefghijklmnopqrstuvwxyz]*.
33954 [ISO C standards] (*_t): Do not allow.
33955 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33956 Expect function.
33957 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33959 Specify type.
33960 [ISO C standards]: Do not allow headers.
33961 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33962 is[abcdefghijklmnopqrstuvwxyz]*.
33963 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33964 to[abcdefghijklmnopqrstuvwxyz]*.
33965 [ISO C standards] (*_t): Do not allow.
33966 * conform/data/stdalign.h-data: New file.
33967 * conform/data/stdbool.h-data: Likewise.
33968 * conform/data/stdnoreturn.h-data: Likewise.
33969
339702012-11-07 Roland McGrath <roland@hack.frob.com>
33971
33972 [BZ #14815]
33973 * manual/filesys.texi (Directory Entries): Typo fix.
33974 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33975
339762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33977
33978 * elf/elf.h (EM_AARCH64): New macro.
33979 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33980 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33981 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33982 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33983 (R_AARCH64_TLSDESC): Likewise.
33984 (NT_ARM_TLS): Likewise.
33985 (NT_ARM_HW_BREAK): Likewise.
33986 (NT_ARM_HW_WATCH): Likewise.
33987
339882012-11-07 Joseph Myers <joseph@codesourcery.com>
33989
33990 [BZ #14811]
33991 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33992 (__ieee754_powl): Saturate nonzero exponents with absolute value
33993 below 0x1p-79 to +/- 0x1p-79.
33994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33995 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33997 nonzero exponents with absolute value below 0x1p-32 to +/-
33998 0x1p-32.
33999 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34000 (__ieee754_powl): Saturate nonzero exponents with absolute value
34001 below 0x1p-79 to +/- 0x1p-79.
34002 * math/libm-test.inc (pow_test): Add more tests.
34003
340042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34005
34006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34007 _dl_s390_cap_flags with kernel. Increase string length.
34008 (_dl_s390_platforms): Add z196 and zEC12.
34009
340102012-11-07 Joseph Myers <joseph@codesourcery.com>
34011
34012 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34013 Change XOPEN21K to XOPEN2K.
34014
340152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34016
34017 * string/memmove.c: Use memcpy when possible.
34018
340192012-11-06 Andreas Jaeger <aj@suse.de>
34020
34021 * po/eo.po: Update from translation team.
34022
340232012-11-06 Joseph Myers <joseph@codesourcery.com>
34024
34025 [BZ #14793]
34026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34027 exponent and small x and y exponents, scale x or y up. Increase
34028 by 2 the exponent used in scaling up.
34029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34031 * math/libm-test.inc (fma_test): Add more tests.
34032 (fma_test_towardzero): Likewise.
34033 (fma_test_downward): Likewise.
34034 (fma_test_upward): Likewise.
34035
340362012-11-05 Joseph Myers <joseph@codesourcery.com>
34037
34038 [BZ #14805]
34039 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34040 fenv_t *.
34041
34042 [BZ #14801]
34043 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34044 namespace for names of struct fields.
34045 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34046 fenv_t fields.
34047 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34048 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34049
340502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34051
34052 [BZ #3665]
34053 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34054
340552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34056
34057 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34058 PTR_DEMANGLE.
34059
34060 [BZ #5246]
34061 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34062 PTR_DEMANGLE.
34063
340642012-11-04 Joseph Myers <joseph@codesourcery.com>
34065
34066 [BZ #14797]
34067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34068 definitely overflow as x * y not x * y + z.
34069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34071 * math/libm-test.inc (fma_test): Add more tests.
34072 (fma_test_towardzero): Likewise.
34073 (fma_test_downward): Likewise.
34074 (fma_test_upward): Likewise.
34075
340762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34077
34078 [BZ #157]
34079
34080 * include/stub-tag.h: Remove file.
34081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34082 '#include' of it.
34083 * manual/maint.texi (Porting): Don't reference it.
34084 * Makerules ($(objpfx)stubs): Likewise.
34085 * dirent/closedir.c: Don't include <stub-tag.h>.
34086 * dirent/dirfd.c: Likewise.
34087 * dirent/fdopendir.c: Likewise.
34088 * dirent/getdents.c: Likewise.
34089 * dirent/getdents64.c: Likewise.
34090 * dirent/opendir.c: Likewise.
34091 * dirent/readdir.c: Likewise.
34092 * dirent/readdir64.c: Likewise.
34093 * dirent/readdir64_r.c: Likewise.
34094 * dirent/readdir_r.c: Likewise.
34095 * dirent/rewinddir.c: Likewise.
34096 * dirent/seekdir.c: Likewise.
34097 * dirent/telldir.c: Likewise.
34098 * gmon/profil.c: Likewise.
34099 * grp/setgroups.c: Likewise.
34100 * inet/if_index.c: Likewise.
34101 * io/access.c: Likewise.
34102 * io/chdir.c: Likewise.
34103 * io/chmod.c: Likewise.
34104 * io/chown.c: Likewise.
34105 * io/close.c: Likewise.
34106 * io/dup.c: Likewise.
34107 * io/dup2.c: Likewise.
34108 * io/dup3.c: Likewise.
34109 * io/euidaccess.c: Likewise.
34110 * io/faccessat.c: Likewise.
34111 * io/fchdir.c: Likewise.
34112 * io/fchmod.c: Likewise.
34113 * io/fchmodat.c: Likewise.
34114 * io/fchown.c: Likewise.
34115 * io/fchownat.c: Likewise.
34116 * io/fcntl.c: Likewise.
34117 * io/flock.c: Likewise.
34118 * io/fstatfs.c: Likewise.
34119 * io/fstatfs64.c: Likewise.
34120 * io/fstatvfs.c: Likewise.
34121 * io/fstatvfs64.c: Likewise.
34122 * io/futimens.c: Likewise.
34123 * io/fxstat.c: Likewise.
34124 * io/fxstat64.c: Likewise.
34125 * io/fxstatat.c: Likewise.
34126 * io/fxstatat64.c: Likewise.
34127 * io/getcwd.c: Likewise.
34128 * io/isatty.c: Likewise.
34129 * io/lchmod.c: Likewise.
34130 * io/lchown.c: Likewise.
34131 * io/link.c: Likewise.
34132 * io/linkat.c: Likewise.
34133 * io/lseek.c: Likewise.
34134 * io/lseek64.c: Likewise.
34135 * io/lxstat64.c: Likewise.
34136 * io/mkdir.c: Likewise.
34137 * io/mkdirat.c: Likewise.
34138 * io/mkfifo.c: Likewise.
34139 * io/mkfifoat.c: Likewise.
34140 * io/open.c: Likewise.
34141 * io/open64.c: Likewise.
34142 * io/openat.c: Likewise.
34143 * io/openat64.c: Likewise.
34144 * io/pipe.c: Likewise.
34145 * io/pipe2.c: Likewise.
34146 * io/poll.c: Likewise.
34147 * io/posix_fadvise.c: Likewise.
34148 * io/posix_fadvise64.c: Likewise.
34149 * io/posix_fallocate.c: Likewise.
34150 * io/posix_fallocate64.c: Likewise.
34151 * io/read.c: Likewise.
34152 * io/readlink.c: Likewise.
34153 * io/readlinkat.c: Likewise.
34154 * io/rmdir.c: Likewise.
34155 * io/sendfile.c: Likewise.
34156 * io/sendfile64.c: Likewise.
34157 * io/statfs.c: Likewise.
34158 * io/statfs64.c: Likewise.
34159 * io/statvfs.c: Likewise.
34160 * io/statvfs64.c: Likewise.
34161 * io/symlink.c: Likewise.
34162 * io/symlinkat.c: Likewise.
34163 * io/ttyname.c: Likewise.
34164 * io/ttyname_r.c: Likewise.
34165 * io/umask.c: Likewise.
34166 * io/unlink.c: Likewise.
34167 * io/unlinkat.c: Likewise.
34168 * io/utime.c: Likewise.
34169 * io/utimensat.c: Likewise.
34170 * io/write.c: Likewise.
34171 * io/xmknod.c: Likewise.
34172 * io/xmknodat.c: Likewise.
34173 * io/xstat.c: Likewise.
34174 * io/xstat64.c: Likewise.
34175 * login/getpt.c: Likewise.
34176 * login/grantpt.c: Likewise.
34177 * login/unlockpt.c: Likewise.
34178 * math/e_acoshl.c: Likewise.
34179 * math/e_acosl.c: Likewise.
34180 * math/e_asinl.c: Likewise.
34181 * math/e_atan2l.c: Likewise.
34182 * math/e_atanhl.c: Likewise.
34183 * math/e_coshl.c: Likewise.
34184 * math/e_expl.c: Likewise.
34185 * math/e_fmodl.c: Likewise.
34186 * math/e_gammal_r.c: Likewise.
34187 * math/e_hypotl.c: Likewise.
34188 * math/e_j0l.c: Likewise.
34189 * math/e_j1l.c: Likewise.
34190 * math/e_jnl.c: Likewise.
34191 * math/e_lgammal_r.c: Likewise.
34192 * math/e_log10l.c: Likewise.
34193 * math/e_log2l.c: Likewise.
34194 * math/e_logl.c: Likewise.
34195 * math/e_powl.c: Likewise.
34196 * math/e_rem_pio2l.c: Likewise.
34197 * math/e_sinhl.c: Likewise.
34198 * math/e_sqrtl.c: Likewise.
34199 * math/fclrexcpt.c: Likewise.
34200 * math/fedisblxcpt.c: Likewise.
34201 * math/feenablxcpt.c: Likewise.
34202 * math/fegetenv.c: Likewise.
34203 * math/fegetexcept.c: Likewise.
34204 * math/fegetround.c: Likewise.
34205 * math/feholdexcpt.c: Likewise.
34206 * math/fesetenv.c: Likewise.
34207 * math/fesetround.c: Likewise.
34208 * math/feupdateenv.c: Likewise.
34209 * math/fgetexcptflg.c: Likewise.
34210 * math/fraiseexcpt.c: Likewise.
34211 * math/fsetexcptflg.c: Likewise.
34212 * math/ftestexcept.c: Likewise.
34213 * math/k_cosl.c: Likewise.
34214 * math/k_rem_pio2l.c: Likewise.
34215 * math/k_sinl.c: Likewise.
34216 * math/k_tanl.c: Likewise.
34217 * math/s_asinhl.c: Likewise.
34218 * math/s_atanl.c: Likewise.
34219 * math/s_cbrtl.c: Likewise.
34220 * math/s_erfl.c: Likewise.
34221 * math/s_expm1l.c: Likewise.
34222 * math/s_log1pl.c: Likewise.
34223 * math/s_tanhl.c: Likewise.
34224 * misc/acct.c: Likewise.
34225 * misc/brk.c: Likewise.
34226 * misc/chflags.c: Likewise.
34227 * misc/chroot.c: Likewise.
34228 * misc/fchflags.c: Likewise.
34229 * misc/fgetxattr.c: Likewise.
34230 * misc/flistxattr.c: Likewise.
34231 * misc/fremovexattr.c: Likewise.
34232 * misc/fsetxattr.c: Likewise.
34233 * misc/fsync.c: Likewise.
34234 * misc/ftruncate.c: Likewise.
34235 * misc/futimes.c: Likewise.
34236 * misc/futimesat.c: Likewise.
34237 * misc/getdomain.c: Likewise.
34238 * misc/getdtsz.c: Likewise.
34239 * misc/gethostid.c: Likewise.
34240 * misc/gethostname.c: Likewise.
34241 * misc/getloadavg.c: Likewise.
34242 * misc/getpagesize.c: Likewise.
34243 * misc/getsysstats.c: Likewise.
34244 * misc/getxattr.c: Likewise.
34245 * misc/gtty.c: Likewise.
34246 * misc/ioctl.c: Likewise.
34247 * misc/lgetxattr.c: Likewise.
34248 * misc/listxattr.c: Likewise.
34249 * misc/llistxattr.c: Likewise.
34250 * misc/lremovexattr.c: Likewise.
34251 * misc/lsetxattr.c: Likewise.
34252 * misc/lutimes.c: Likewise.
34253 * misc/madvise.c: Likewise.
34254 * misc/mincore.c: Likewise.
34255 * misc/mlock.c: Likewise.
34256 * misc/mlockall.c: Likewise.
34257 * misc/mmap.c: Likewise.
34258 * misc/mprotect.c: Likewise.
34259 * misc/msync.c: Likewise.
34260 * misc/munlock.c: Likewise.
34261 * misc/munlockall.c: Likewise.
34262 * misc/munmap.c: Likewise.
34263 * misc/preadv.c: Likewise.
34264 * misc/preadv64.c: Likewise.
34265 * misc/ptrace.c: Likewise.
34266 * misc/pwritev.c: Likewise.
34267 * misc/pwritev64.c: Likewise.
34268 * misc/readv.c: Likewise.
34269 * misc/reboot.c: Likewise.
34270 * misc/remap_file_pages.c: Likewise.
34271 * misc/removexattr.c: Likewise.
34272 * misc/revoke.c: Likewise.
34273 * misc/select.c: Likewise.
34274 * misc/setdomain.c: Likewise.
34275 * misc/setegid.c: Likewise.
34276 * misc/seteuid.c: Likewise.
34277 * misc/sethostid.c: Likewise.
34278 * misc/sethostname.c: Likewise.
34279 * misc/setregid.c: Likewise.
34280 * misc/setreuid.c: Likewise.
34281 * misc/setxattr.c: Likewise.
34282 * misc/sstk.c: Likewise.
34283 * misc/stty.c: Likewise.
34284 * misc/swapoff.c: Likewise.
34285 * misc/swapon.c: Likewise.
34286 * misc/sync.c: Likewise.
34287 * misc/syncfs.c: Likewise.
34288 * misc/syscall.c: Likewise.
34289 * misc/truncate.c: Likewise.
34290 * misc/ualarm.c: Likewise.
34291 * misc/usleep.c: Likewise.
34292 * misc/ustat.c: Likewise.
34293 * misc/utimes.c: Likewise.
34294 * misc/vhangup.c: Likewise.
34295 * misc/writev.c: Likewise.
34296 * posix/_exit.c: Likewise.
34297 * posix/alarm.c: Likewise.
34298 * posix/execve.c: Likewise.
34299 * posix/fexecve.c: Likewise.
34300 * posix/fork.c: Likewise.
34301 * posix/fpathconf.c: Likewise.
34302 * posix/getaddrinfo.c: Likewise.
34303 * posix/getegid.c: Likewise.
34304 * posix/geteuid.c: Likewise.
34305 * posix/getgid.c: Likewise.
34306 * posix/getgroups.c: Likewise.
34307 * posix/getlogin.c: Likewise.
34308 * posix/getlogin_r.c: Likewise.
34309 * posix/getpgid.c: Likewise.
34310 * posix/getpid.c: Likewise.
34311 * posix/getppid.c: Likewise.
34312 * posix/getresgid.c: Likewise.
34313 * posix/getresuid.c: Likewise.
34314 * posix/getsid.c: Likewise.
34315 * posix/getuid.c: Likewise.
34316 * posix/glob64.c: Likewise.
34317 * posix/nanosleep.c: Likewise.
34318 * posix/pathconf.c: Likewise.
34319 * posix/pause.c: Likewise.
34320 * posix/posix_madvise.c: Likewise.
34321 * posix/pread.c: Likewise.
34322 * posix/pread64.c: Likewise.
34323 * posix/pwrite.c: Likewise.
34324 * posix/pwrite64.c: Likewise.
34325 * posix/sched_getaffinity.c: Likewise.
34326 * posix/sched_getp.c: Likewise.
34327 * posix/sched_gets.c: Likewise.
34328 * posix/sched_primax.c: Likewise.
34329 * posix/sched_primin.c: Likewise.
34330 * posix/sched_rr_gi.c: Likewise.
34331 * posix/sched_setaffinity.c: Likewise.
34332 * posix/sched_setp.c: Likewise.
34333 * posix/sched_sets.c: Likewise.
34334 * posix/sched_yield.c: Likewise.
34335 * posix/setgid.c: Likewise.
34336 * posix/setlogin.c: Likewise.
34337 * posix/setpgid.c: Likewise.
34338 * posix/setresgid.c: Likewise.
34339 * posix/setresuid.c: Likewise.
34340 * posix/setsid.c: Likewise.
34341 * posix/setuid.c: Likewise.
34342 * posix/sleep.c: Likewise.
34343 * posix/spawni.c: Likewise.
34344 * posix/sysconf.c: Likewise.
34345 * posix/times.c: Likewise.
34346 * posix/wait.c: Likewise.
34347 * posix/wait3.c: Likewise.
34348 * posix/wait4.c: Likewise.
34349 * posix/waitpid.c: Likewise.
34350 * resolv/gai_sigqueue.c: Likewise.
34351 * resource/getpriority.c: Likewise.
34352 * resource/getrlimit.c: Likewise.
34353 * resource/getrusage.c: Likewise.
34354 * resource/nice.c: Likewise.
34355 * resource/setpriority.c: Likewise.
34356 * resource/setrlimit.c: Likewise.
34357 * resource/ulimit.c: Likewise.
34358 * rt/aio_cancel.c: Likewise.
34359 * rt/aio_fsync.c: Likewise.
34360 * rt/aio_read.c: Likewise.
34361 * rt/aio_sigqueue.c: Likewise.
34362 * rt/aio_suspend.c: Likewise.
34363 * rt/aio_write.c: Likewise.
34364 * rt/clock_getres.c: Likewise.
34365 * rt/clock_gettime.c: Likewise.
34366 * rt/clock_nanosleep.c: Likewise.
34367 * rt/clock_settime.c: Likewise.
34368 * rt/lio_listio.c: Likewise.
34369 * rt/mq_close.c: Likewise.
34370 * rt/mq_getattr.c: Likewise.
34371 * rt/mq_notify.c: Likewise.
34372 * rt/mq_open.c: Likewise.
34373 * rt/mq_receive.c: Likewise.
34374 * rt/mq_send.c: Likewise.
34375 * rt/mq_setattr.c: Likewise.
34376 * rt/mq_timedreceive.c: Likewise.
34377 * rt/mq_timedsend.c: Likewise.
34378 * rt/mq_unlink.c: Likewise.
34379 * rt/shm_open.c: Likewise.
34380 * rt/shm_unlink.c: Likewise.
34381 * rt/timer_create.c: Likewise.
34382 * rt/timer_delete.c: Likewise.
34383 * rt/timer_getoverr.c: Likewise.
34384 * rt/timer_gettime.c: Likewise.
34385 * rt/timer_settime.c: Likewise.
34386 * setjmp/__longjmp.c: Likewise.
34387 * setjmp/setjmp.c: Likewise.
34388 * signal/kill.c: Likewise.
34389 * signal/killpg.c: Likewise.
34390 * signal/raise.c: Likewise.
34391 * signal/sigaction.c: Likewise.
34392 * signal/sigaltstack.c: Likewise.
34393 * signal/sigblock.c: Likewise.
34394 * signal/sigignore.c: Likewise.
34395 * signal/sigintr.c: Likewise.
34396 * signal/signal.c: Likewise.
34397 * signal/sigpause.c: Likewise.
34398 * signal/sigpending.c: Likewise.
34399 * signal/sigqueue.c: Likewise.
34400 * signal/sigreturn.c: Likewise.
34401 * signal/sigset.c: Likewise.
34402 * signal/sigsetmask.c: Likewise.
34403 * signal/sigstack.c: Likewise.
34404 * signal/sigsuspend.c: Likewise.
34405 * signal/sigtimedwait.c: Likewise.
34406 * signal/sigvec.c: Likewise.
34407 * signal/sigwait.c: Likewise.
34408 * signal/sigwaitinfo.c: Likewise.
34409 * signal/sysv_signal.c: Likewise.
34410 * socket/accept.c: Likewise.
34411 * socket/accept4.c: Likewise.
34412 * socket/bind.c: Likewise.
34413 * socket/connect.c: Likewise.
34414 * socket/getpeername.c: Likewise.
34415 * socket/getsockname.c: Likewise.
34416 * socket/getsockopt.c: Likewise.
34417 * socket/isfdtype.c: Likewise.
34418 * socket/listen.c: Likewise.
34419 * socket/recv.c: Likewise.
34420 * socket/recvfrom.c: Likewise.
34421 * socket/recvmsg.c: Likewise.
34422 * socket/send.c: Likewise.
34423 * socket/sendmsg.c: Likewise.
34424 * socket/sendto.c: Likewise.
34425 * socket/setsockopt.c: Likewise.
34426 * socket/shutdown.c: Likewise.
34427 * socket/sockatmark.c: Likewise.
34428 * socket/socket.c: Likewise.
34429 * socket/socketpair.c: Likewise.
34430 * stdio-common/ctermid.c: Likewise.
34431 * stdio-common/cuserid.c: Likewise.
34432 * stdio-common/remove.c: Likewise.
34433 * stdio-common/rename.c: Likewise.
34434 * stdio-common/renameat.c: Likewise.
34435 * stdio-common/tempname.c: Likewise.
34436 * stdlib/getcontext.c: Likewise.
34437 * stdlib/makecontext.c: Likewise.
34438 * stdlib/setcontext.c: Likewise.
34439 * stdlib/swapcontext.c: Likewise.
34440 * stdlib/system.c: Likewise.
34441 * streams/fattach.c: Likewise.
34442 * streams/fdetach.c: Likewise.
34443 * streams/getmsg.c: Likewise.
34444 * streams/getpmsg.c: Likewise.
34445 * streams/putmsg.c: Likewise.
34446 * streams/putpmsg.c: Likewise.
34447 * sysdeps/unix/bsd/getpt.c: Likewise.
34448 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34449 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34452 Likewise.
34453 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34455 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34456 * sysvipc/msgctl.c: Likewise.
34457 * sysvipc/msgget.c: Likewise.
34458 * sysvipc/msgrcv.c: Likewise.
34459 * sysvipc/msgsnd.c: Likewise.
34460 * sysvipc/semctl.c: Likewise.
34461 * sysvipc/semget.c: Likewise.
34462 * sysvipc/semop.c: Likewise.
34463 * sysvipc/semtimedop.c: Likewise.
34464 * sysvipc/shmat.c: Likewise.
34465 * sysvipc/shmctl.c: Likewise.
34466 * sysvipc/shmdt.c: Likewise.
34467 * sysvipc/shmget.c: Likewise.
34468 * termios/tcdrain.c: Likewise.
34469 * termios/tcflow.c: Likewise.
34470 * termios/tcflush.c: Likewise.
34471 * termios/tcgetattr.c: Likewise.
34472 * termios/tcgetpgrp.c: Likewise.
34473 * termios/tcsendbrk.c: Likewise.
34474 * termios/tcsetattr.c: Likewise.
34475 * termios/tcsetpgrp.c: Likewise.
34476 * time/adjtime.c: Likewise.
34477 * time/clock.c: Likewise.
34478 * time/getitimer.c: Likewise.
34479 * time/gettimeofday.c: Likewise.
34480 * time/setitimer.c: Likewise.
34481 * time/settimeofday.c: Likewise.
34482 * time/stime.c: Likewise.
34483 * time/time.c: Likewise.
34484
344852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34486
34487 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34488 /usr/old/bin.
34489
34490 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34491 instead of spaces.
34492 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34493
344942012-11-03 Joseph Myers <joseph@codesourcery.com>
34495
34496 [BZ #14796]
34497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34498 FE_TONEAREST before applying Dekker multiplication and Knuth
34499 addition. Clear inexact exceptions and check for exact zero
34500 results afterwards.
34501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34504 * math/libm-test.inc (fma_test): Add more tests.
34505 (fma_test_towardzero): Likewise.
34506 (fma_test_downward): Likewise.
34507 (fma_test_upward): Likewise.
34508 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34509 function.
34510 (libc_fesetround): New macro.
34511 (libc_fesetroundf): Likewise.
34512 (libc_fesetroundl): Likewise.
34513 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34514 function.
34515 (libc_fesetround_387): Likewise.
34516 (libc_fesetroundf): New macro.
34517 (libc_fesetround): Likewise.
34518 (libc_fesetroundl): Likewise.
34519 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34520 function.
34521 (libc_fesetroundf): New macro.
34522 (libc_fesetround): Likewise.
34523 (libc_fesetroundl): Likewise.
34524 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34525 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34526 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34527 libm_hidden_ver.
34528 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34529 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34530 libm_hidden_def.
34531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34532 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34533 libm_hidden_ver.
34534 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34535 libm_hidden_def.
34536
34537 [BZ #3439]
34538 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34539 integer constant usable in #if and use that to give value to enum
34540 constant.
34541 (FE_DIVBYZERO): Likewise.
34542 (FE_UNDERFLOW): Likewise.
34543 (FE_OVERFLOW): Likewise.
34544 (FE_INVALID): Likewise.
34545 (FE_INVALID_SNAN): Likewise.
34546 (FE_INVALID_ISI): Likewise.
34547 (FE_INVALID_IDI): Likewise.
34548 (FE_INVALID_ZDZ): Likewise.
34549 (FE_INVALID_IMZ): Likewise.
34550 (FE_INVALID_COMPARE): Likewise.
34551 (FE_INVALID_SOFTWARE): Likewise.
34552 (FE_INVALID_SQRT): Likewise.
34553 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34554 (FE_TONEAREST): Likewise.
34555 (FE_TOWARDZERO): Likewise.
34556 (FE_UPWARD): Likewise.
34557 (FE_DOWNWARD): Likewise.
34558 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34559 (FE_DIVBYZERO): Likewise.
34560 (FE_OVERFLOW): Likewise.
34561 (FE_UNDERFLOW): Likewise.
34562 (FE_INEXACT): Likewise.
34563 (FE_TONEAREST): Likewise.
34564 (FE_DOWNWARD): Likewise.
34565 (FE_UPWARD): Likewise.
34566 (FE_TOWARDZERO): Likewise.
34567 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34568 (FE_UNDERFLOW): Likewise.
34569 (FE_OVERFLOW): Likewise.
34570 (FE_DIVBYZERO): Likewise.
34571 (FE_INVALID): Likewise.
34572 (FE_TONEAREST): Likewise.
34573 (FE_TOWARDZERO): Likewise.
34574 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34575 (FE_OVERFLOW): Likewise.
34576 (FE_UNDERFLOW): Likewise.
34577 (FE_DIVBYZERO): Likewise.
34578 (FE_INEXACT): Likewise.
34579 (FE_TONEAREST): Likewise.
34580 (FE_TOWARDZERO): Likewise.
34581 (FE_UPWARD): Likewise.
34582 (FE_DOWNWARD): Likewise.
34583 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34584 (FE_DIVBYZERO): Likewise.
34585 (FE_OVERFLOW): Likewise.
34586 (FE_UNDERFLOW): Likewise.
34587 (FE_INEXACT): Likewise.
34588 (FE_TONEAREST): Likewise.
34589 (FE_DOWNWARD): Likewise.
34590 (FE_UPWARD): Likewise.
34591 (FE_TOWARDZERO): Likewise.
34592
345932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34594
34595 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34596
345972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34598
34599 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34600 commands. Quote $PWD.
34601 (blacklist_exports): Don't use remove_newlines. Replace "declare
34602 -x" by "export".
34603 (remove_newlines): Remove.
34604
346052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34606
34607 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34608 * stdlib/stdlib.h (atof): Moved to ...
34609 * include/bits/stdlib-float.h: Here. New file.
34610 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34611 * stdlib/bits/stdlib-float.h: New file.
34612 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34613 -mno-sse -mno-mmx.
34614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34615 <xmmintrin.h>.
34616
346172012-11-02 Joseph Myers <joseph@codesourcery.com>
34618
34619 * conform/conformtest.pl (@headers): Add fenv.h.
34620 * conform/data/fenv.h-data: New file.
34621 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34622 include of <math/fenv.h>.
34623
34624 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34625 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34626 && !UNIX98]. Enables tests for XOPEN2K8.
34627 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34628 POSIX2008]: Likewise.
34629
34630 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34631 (struct rusage): Do not expect type or its members.
34632
34633 [BZ #3439]
34634 * math/math.h (FP_NAN): Define macro to integer constant usable in
34635 #if and use that to give value to enum constant.
34636 (FP_INFINITE): Likewise.
34637 (FP_ZERO): Likewise.
34638 (FP_SUBNORMAL): Likewise.
34639 (FP_NORMAL): Likewise.
34640
346412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34642
34643 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34644 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34645 arguments.
34646
346472012-11-02 Roland McGrath <roland@hack.frob.com>
34648
34649 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34650 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34651 autoconf-time if not.
34652 * configure.in: Remove AC_PREREQ.
34653
346542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34655
34656 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34657 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34658 of the internal implementation.
34659
346602012-11-02 Joseph Myers <joseph@codesourcery.com>
34661
34662 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34663 except include of <misc/sys/syslog.h>.
34664
346652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34666
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34668 function returns with a NULL context exit with zero.
34669
346702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34671
34672 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34673
346742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34675
34676 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34677 (run_program_cmd): This.
34678 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34679 (tst_langinfo): New variable. Use it.
34680
346812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34682
34683 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34684 floating point opcodes.
34685
346862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34687
34688 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34689 variable.
34690
34691 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34692
34693 * sysdeps/mach/hurd/powerpc: Remove directory.
34694 * sysdeps/mach/powerpc: Likewise.
34695
346962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34697
34698 * scripts/check-local-headers.sh: Ignore c++ headers.
34699
347002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34701
34702 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34703 __libc_cleanup_region_start argument.
34704
347052012-11-01 Joseph Myers <joseph@codesourcery.com>
34706
34707 [BZ #14784]
34708 [BZ #14785]
34709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34710 x * y using scaling, not as x * y + z.
34711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34713 * math/libm-test.inc (fma_test): Add more tests.
34714 (fma_test_towardzero): Likewise.
34715 (fma_test_downward): Likewise.
34716 (fma_test_upward): Likewise.
34717
347182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34719
34720 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34721
347222012-10-31 Joseph Myers <joseph@codesourcery.com>
34723
34724 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34725 New variable.
34726
347272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34728
34729 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34730
347312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34732
34733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34734 Fix sort order.
34735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34736 Likewise.
34737
347382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34739
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34741 Fix the order of the list for glibc 2.17.
34742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34743 Likewise.
34744
347452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34746
34747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34748
347492012-10-31 Joseph Myers <joseph@codesourcery.com>
34750
34751 [BZ #14610]
34752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34753 for low part of x being zero before using __atanl (y).
34754 * math/libm-test.inc (atan2_test): Add another test.
34755
34756 * manual/install.texi (Configuring and compiling): Document
34757 general use of test-wrapper and test-wrapper-env.
34758 * INSTALL: Regenerated.
34759
34760 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34761 (__fma): Do not extract and scale down low bits on after-rounding
34762 systems when result rounded to normal precision would have normal
34763 exponent.
34764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34765 (__fmal): Do not extract and scale down low bits on after-rounding
34766 systems when result rounded to normal precision would have normal
34767 exponent.
34768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34769 (__fmal): Do not extract and scale down low bits on after-rounding
34770 systems when result rounded to normal precision would have normal
34771 exponent.
34772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34773 macro.
34774 (fma_test): Add more tests.
34775 (fma_test_towardzero): Likewise.
34776 (fma_test_downward): Likewise.
34777 (fma_test_upward): Likewise.
34778
347792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/i386/tininess.h: Renamed to ...
34782 * sysdeps/x86/tininess.h: This.
34783 * sysdeps/x86_64/tininess.h: Removed.
34784
347852012-10-30 Joseph Myers <joseph@codesourcery.com>
34786
34787 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34788 input. Use $(build-program-cmd).
34789 ($(objpfx)tst-array1-static.out): Likewise.
34790 ($(objpfx)tst-array2.out): Likewise.
34791 ($(objpfx)tst-array3.out): Likewise.
34792 ($(objpfx)tst-array4.out): Likewise.
34793 ($(objpfx)tst-array5.out): Likewise.
34794 ($(objpfx)tst-array5-static.out): Likewise.
34795
347962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34797
34798 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34799 if defined.
34800
34801 * nss/nsswitch.h (nss_interface_function): Provide new
34802 macro for use with NSS functions.
34803 * grp/initgroups.c: Use new macro.
34804 * nss/getXXbyYY.c: Likewise.
34805 * nss/getXXbyYY_r.c: Likewise.
34806 * nss/getXXent.c: Likewise.
34807 * nss/getXXent_r.c: Likewise.
34808 * sysdeps/posix/getaddrinfo.c: Likewise.
34809
348102012-10-30 Andreas Jaeger <aj@suse.de>
34811
34812 * po/ru.po: Update Russion translation from translation project.
34813
348142012-10-30 Joseph Myers <joseph@codesourcery.com>
34815
34816 [BZ #14152]
34817 [BZ #14783]
34818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34819 result and shift together with sticky bit instead of replicating
34820 round-to-nearest rounding.
34821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34823 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34824 missing underflow exceptions.
34825 (fma_test_towardzero): Add more tests.
34826 (fma_test_downward): Likewise.
34827 (fma_test_upward): Likewise.
34828
34829 [BZ #14047]
34830 * sysdeps/generic/tininess.h: New file.
34831 * sysdeps/i386/tininess.h: Likewise.
34832 * sysdeps/sh/tininess.h: Likewise.
34833 * sysdeps/x86_64/tininess.h: Likewise.
34834 * stdlib/tst-strtod-underflow.c: Likewise.
34835 * stdlib/tst-tininess.c: Likewise.
34836 * stdlib/strtod_l.c: Include <tininess.h>.
34837 (round_and_return): Do not set errno for exact underflow cases.
34838 Force an underflow exception when setting errno for underflow.
34839 Determine underflow based on rounding to normal precision if
34840 TININESS_AFTER_ROUNDING.
34841 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34842 ERANGE for exact underflow cases.
34843 * stdlib/Makefile (tests): Add tst-tininess and
34844 tst-strtod-underflow.
34845 ($(objpfx)tst-tininess): Use $(link-libm).
34846 ($(objpfx)tst-strtod-underflow): Likewise.
34847
348482012-10-30 Andreas Jaeger <aj@suse.de>
34849
34850 [BZ#14767]
34851 * elf/Makefile (tests): Remove conditional for have-initfini-array
34852 since this is now always required and the variable does not exist
34853 anymore.
34854 (tests-static): Likewise.
34855 (modules-names): Likewise.
34856
34857 * po/eo.po: Add Esperanto translation from translation project.
34858
34859 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34860 merged with constructor/destructor.
34861 (init_array): Likewise.
34862 * elf/tst-array2dep.c (fini_array): Likewise.
34863 (init_array): Likewise.
34864
348652012-10-29 Mike Frysinger <vapier@gentoo.org>
34866
34867 * manual/message.texi: Delete @cartouche tags.
34868
348692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34870
34871 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34872 EOPNOTSUPP.
34873 * sysdeps/mach/hurd/fsync.c: Likewise.
34874
34875 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34876 [_POSIX_REALTIME_SIGNALS]: Change condition to
34877 [_POSIX_REALTIME_SIGNALS > 0].
34878
348792012-10-27 Andreas Jaeger <aj@suse.de>
34880
34881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34882 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34884 [__WORDSIZE != 64]: Likewise.
34885
348862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34887
34888 * iconvdata/tst-table.sh: Remove ${SHELL}.
34889 * iconvdata/tst-tables.sh: Likewise.
34890
348912012-10-25 David S. Miller <davem@davemloft.net>
34892
34893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34894 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34895 of strtoull.
34896
34897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34898 ifunc-impl-list.c
34899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34900 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34901 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34902 file.
34903
349042012-10-25 Roland McGrath <roland@hack.frob.com>
34905
34906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34907 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34908 __getdirentries.
34909
349102012-10-25 Joseph Myers <joseph@codesourcery.com>
34911 Jim Blandy <jimb@codesourcery.com>
34912
34913 * scripts/cross-test-ssh.sh: New file.
34914 * manual/install.texi (Configuring and compiling): Document use of
34915 cross-test-ssh.sh.
34916 * INSTALL: Regenerated.
34917
349182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34919
34920 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34921 EOPNOTSUPP.
34922
349232012-10-25 Joseph Myers <joseph@codesourcery.com>
34924
34925 * Makeconfig (run-program-prefix): Fix comment.
34926
349272012-10-24 Joseph Myers <joseph@codesourcery.com>
34928 Jim Blandy <jimb@codesourcery.com>
34929
34930 * Makeconfig (test-wrapper): New variable,
34931 (test-wrapper-env): Likewise.
34932 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34933 (run-built-tests): Define to yes.
34934 (run-program-prefix): Use $(test-wrapper).
34935 (built-program-cmd): Likewise.
34936 * Rules (make-test-out): Use $(test-wrapper-env) and
34937 $(host-built-program-cmd).
34938 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34939 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34940 tst-pathopt.sh.
34941 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34942 $(test-wrapper-env) to tst-rtld-load-self.sh.
34943 ($(objpfx)order2.out): Use $(test-wrapper).
34944 ($(objpfx)tst-initorder.out): Likewise.
34945 ($(objpfx)tst-initorder2.out): Likewise.
34946 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34947 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34948 (test_wrapper_env): New variable. Use it to run ld.so.
34949 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34950 Use it to run ld.so.
34951 (test_wrapper_env): Likewise.
34952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34953 $(test-wrapper) to run-iconv-test.sh.
34954 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34955 (ICONV): Use $test_wrapper.
34956 * posix/Makefile ($(objpfx)globtest.out): Pass
34957 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34958 globtest.sh, not $(run-program-prefix).
34959 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34960 (test_wrapper): Likewise.
34961 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34962 set together with run_via_rtld_prefix.
34963 (run_program_prefix): Define in terms of test_wrapper and
34964 run_via_rtld_prefix.
34965
349662012-10-24 Roland McGrath <roland@hack.frob.com>
34967
34968 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34969 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34970 Targets removed.
34971
34972 [BZ #14743]
34973 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34974 Declare __clock_getres, __clock_gettime, __clock_settime,
34975 __clock_nanosleep, and __clock_getcpuclockid.
34976 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34977 Remove librt_hidden_def (clock_gettime).
34978 * sysdeps/unix/clock_gettime.c: Likewise.
34979 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34981 * rt/clock_getres.c: Define __clock_getres as an alias.
34982 * sysdeps/posix/clock_getres.c: Likewise.
34983 * rt/clock_settime.c: Define __clock_settime as an alias.
34984 * sysdeps/unix/clock_settime.c: Likewise.
34985 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34986 * sysdeps/unix/clock_nanosleep.c: Likewise.
34987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34988 * rt/clock-compat.c: New file.
34989 * rt/Makefile (librt-routines): Add clock-compat and move
34990 $(clock-routines) to ...
34991 (routines): ... here, new variable.
34992 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34993 Don't add get_clockfreq here.
34994 * rt/Versions (libc: GLIBC_2.17): New version set.
34995 Add clock_* symbols here.
34996 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34998 (GLIBC_2.17): Add clock_* symbols.
34999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35003 Likewise.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35005 Likewise.
35006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35010 * NEWS: Mention the move.
35011
35012 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35013 Use __open, __read, __close rather than their public counterparts.
35014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35015 (__get_clockfreq_via_cpuinfo): Likewise.
35016 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35017 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35018
35019 * config.h.in (HAVE_IFUNC): New #undef.
35020 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35021 was successful.
35022 * configure: Regenerated.
35023
350242012-10-24 Mike Frysinger <vapier@gentoo.org>
35025
35026 * configure.in: Move READELF check to start of file.
35027 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35028 libc_cv_asm_gnu_indirect_function in the process.
35029 * configure: Regenerated.
35030
350312012-10-24 Mike Frysinger <vapier@gentoo.org>
35032
35033 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35034 send the output to /dev/null.
35035 (libc_cv_cc_with_libunwind): Likewise.
35036 (libc_cv_as_noexecstack): Likewise.
35037 * configure: Regenerate.
35038
350392012-10-24 Joseph Myers <joseph@codesourcery.com>
35040
35041 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35042
35043 * posix/globtest.sh (TMPDIR): Do not set.
35044 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35045 (testout): Likewise.
35046
350472012-10-24 Andreas Jaeger <aj@suse.de>
35048
35049 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35050 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35051 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35052 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35053 posix_fadvise64, posix_fallocate64.
35054
35055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35056 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35057 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35058 Likewise.
35059 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35060 Likewise.
35061 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35062
35063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35064 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35065 <bits/fcntl-linux.h>.
35066 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35067
35068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35069 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35070 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35071 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35072 [__WORDSIZE != 64]: Likewise.
35073
350742012-10-23 Joseph Myers <joseph@codesourcery.com>
35075
35076 * Makeconfig (run-built-tests): New variable.
35077 * Rules [$(cross-compiling) = yes]: Change condition to
35078 [$(run-built-tests) = no].
35079 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35080 to [$(run-built-tests) = yes].
35081 * elf/Makefile [$(cross-compiling) = no]: Likewise
35082 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35083 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35084 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35085 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35086 * io/Makefile [$(cross-compiling) = no]: Likewise.
35087 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35088 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35089 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35090 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35091 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35092 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35093 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35094 * string/Makefile [$(cross-compiling) = no]: Likewise.
35095
35096 * posix/Makefile ($(objpfx)globtest.out): Pass
35097 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35098 $(rtld-installed-name).
35099 * posix/globtest.sh (elf_objpfx): Remove variable.
35100 (rtld_installed_name): Likewise.
35101 (library_path): Likewise.
35102 (run_program_prefix): New variable. Use for running globtest
35103 binary.
35104
351052012-10-23 Jim Blandy <jimb@codesourcery.com>
35106 Joseph Myers <joseph@codesourcery.com>
35107
35108 * Makeconfig (host-built-program-cmd): New variable.
35109 * elf/Makefile (tst-stackguard1-ARGS): Use
35110 $(host-built-program-cmd).
35111 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35112 (tst-spawn-ARGS): Likewise.
35113 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35114
351152012-10-23 Joseph Myers <joseph@codesourcery.com>
35116 Jim Blandy <jimb@codesourcery.com>
35117
35118 * Makeconfig (run-via-rtld-prefix): New variable.
35119 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35120 (built-program-cmd): Likewise.
35121
351222012-10-22 Andreas Jaeger <aj@suse.de>
35123
35124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35125 __O_RSYNC if it exists, otherwise to O_SYNC.
35126
351272012-10-22 Jim Blandy <jimb@codesourcery.com>
35128 Joseph Myers <joseph@codesourcery.com>
35129
35130 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35131 /dev/null.
35132 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35133 from /dev/null
35134 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35135 /dev/null.
35136
351372012-10-22 Andreas Jaeger <aj@suse.de>
35138
35139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35140 Define always.
35141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35142
35143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35144 bits/fcntl-linux.h.
35145
35146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35147 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35148
35149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35150 to __O_LARGEFILE.
35151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35152 to __O_LARGEFILE.
35153
351542012-10-21 Jim Blandy <jimb@codesourcery.com>
35155 Joseph Myers <joseph@codesourcery.com>
35156
35157 * config.make.in (NM): New variable.
35158
351592012-10-21 Andreas Jaeger <aj@suse.de>
35160
35161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35162 definitions and declarations that are provided by
35163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35164
351652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35166
35167 [BZ #14683]
35168 * elf/Makefile (tests-static): Add tst-leaks1-static.
35169 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35170 ($(objpfx)tst-leaks1-static): New rule.
35171 ($(objpfx)tst-leaks1-static-mem): Likewise.
35172 (tst-leaks1-static-ENV): New macro.
35173 * elf/dl-open.c (dl_open_worker): Check the main application
35174 only if SHARED is defined.
35175 * elf/tst-leaks1-static.c: New file.
35176
351772012-10-20 Andreas Jaeger <aj@suse.de>
35178
35179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35180 generic values for Linux.
35181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35182 and declarations that are provided by <bits/fcntl-linux.h> and
35183 include <bits/fcntl-linux.h>.
35184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35186
351872012-10-20 Roland McGrath <roland@hack.frob.com>
35188
35189 * io/fcntl.h: Move include of <bits/types.h> to the top and
35190 include it unconditionally.
35191
351922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35193
35194 * wcsmbs/Makefile (tests-ifunc): New variable.
35195 (tests): Add $(tests-ifunc).
35196 * wcsmbs/test-wcschr-ifunc.c: New file.
35197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35202
35203 * string/Makefile (tests-ifunc): New variable.
35204 (tests): Add $(tests-ifunc).
35205 * string/test-memccpy.c (TEST_NAME): New macro.
35206 * string/test-memchr.c (TEST_NAME): Likewise.
35207 * string/test-memcmp.c (TEST_NAME): Likewise.
35208 * string/test-memcpy.c (TEST_NAME): Likewise.
35209 * string/test-memmem.c (TEST_NAME): Likewise.
35210 * string/test-memmove.c (TEST_NAME): Likewise.
35211 * string/test-memset.c (TEST_NAME): Likewise.
35212 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35213 * string/test-stpcpy.c (TEST_NAME): Likewise.
35214 * string/test-stpncpy.c (TEST_NAME): Likewise.
35215 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35216 * string/test-strcasestr.c (TEST_NAME): Likewise.
35217 * string/test-strcat.c (TEST_NAME): Likewise.
35218 * string/test-strchr.c (TEST_NAME): Likewise.
35219 * string/test-strcmp.c(TEST_NAME): Likewise.
35220 * string/test-strcpy.c (TEST_NAME): Likewise.
35221 * string/test-strcspn.c (TEST_NAME): Likewise.
35222 * string/test-strlen.c (TEST_NAME): Likewise.
35223 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35224 * string/test-strncmp.c (TEST_NAME): Likewise.
35225 * string/test-strncpy.c (TEST_NAME): Likewise.
35226 * string/test-strnlen.c (TEST_NAME): Likewise.
35227 * string/test-strpbrk.c (TEST_NAME): Likewise.
35228 * string/test-strrchr.c (TEST_NAME): Likewise.
35229 * string/test-strspn.c (TEST_NAME): Likewise.
35230 * string/test-strstr.c (TEST_NAME): Likewise.
35231 * string/test-bcopy-ifunc.c: New file.
35232 * string/test-bzero-ifunc.c: Likewise.
35233 * string/test-memccpy-ifunc.c: Likewise.
35234 * string/test-memchr-ifunc.c: Likewise.
35235 * string/test-memcmp-ifunc.c: Likewise.
35236 * string/test-memcpy-ifunc.c: Likewise.
35237 * string/test-memmem-ifunc.c: Likewise.
35238 * string/test-memmove-ifunc.c: Likewise.
35239 * string/test-mempcpy-ifunc.c: Likewise.
35240 * string/test-memset-ifunc.c: Likewise.
35241 * string/test-rawmemchr-ifunc.c: Likewise.
35242 * string/test-stpcpy-ifunc.c: Likewise.
35243 * string/test-stpncpy-ifunc.c: Likewise.
35244 * string/test-strcasecmp-ifunc.c: Likewise.
35245 * string/test-strcasestr-ifunc.c: Likewise.
35246 * string/test-strcat-ifunc.c: Likewise.
35247 * string/test-strchr-ifunc.c: Likewise.
35248 * string/test-strchrnul-ifunc.c: Likewise.
35249 * string/test-strcmp-ifunc.c: Likewise.
35250 * string/test-strcpy-ifunc.c: Likewise.
35251 * string/test-strcspn-ifunc.c: Likewise.
35252 * string/test-strlen-ifunc.c: Likewise.
35253 * string/test-strncasecmp-ifunc.c: Likewise.
35254 * string/test-strncat-ifunc.c: Likewise.
35255 * string/test-strncmp-ifunc.c: Likewise.
35256 * string/test-strncpy-ifunc.c: Likewise.
35257 * string/test-strnlen-ifunc.c: Likewise.
35258 * string/test-strpbrk-ifunc.c: Likewise.
35259 * string/test-strrchr-ifunc.c: Likewise.
35260 * string/test-strspn-ifunc.c: Likewise.
35261 * string/test-strstr-ifunc.c: Likewise.
35262
35263 * debug/Makefile (tests-ifunc): New variable.
35264 (tests): Add $(tests-ifunc).
35265 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35266 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35267 * debug/test-stpcpy_chk-ifunc.c: New file.
35268 * debug/test-strcpy_chk-ifunc.c: Likewise.
35269
352702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35271
35272 [BZ #13601]
35273 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35274 header is not read in.
35275
352762012-10-19 Joseph Myers <joseph@codesourcery.com>
35277
35278 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35279 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35280 directly. Pass built executable to script as
35281 $(built-program-cmd).
35282 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35283 $testprogram without using LD_LIBRARY_PATH and $ldso.
35284
35285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35286 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35287 $(rtld-installed-name).
35288 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35289 (rtld_installed_name): Likewise.
35290 (library_path): Likewise.
35291 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35293 $(run-program-prefix) to tst-tables.sh.
35294 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35295 it to run tst-table-from and tst-table-to.
35296 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35297 Pass it to tst-table.sh.
35298 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35299 $(run-program-prefix) to tst-gettext.sh.
35300 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35301 tst-translit.sh.
35302 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35303 tst-gettext2.sh.
35304 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35305 to run tst-gettext.
35306 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35307 to run tst-gettext2.
35308 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35309 to run tst-translit.
35310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35311 $(run-program-prefix) to tst-mtrace.sh.
35312 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35313 to run tst-mtrace.
35314 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35315 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35316 $(rtld-installed-name).
35317 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35318 (rtld_installed_name): Likewise.
35319 (run_program_prefix): New variable. Use it to run wordexp-test.
35320
35321 * Makeconfig (ARCH): Remove all definitions.
35322 (machine): Likewise.
35323 [ARCH]: Remove conditional code.
35324 [!objdir]: Give error.
35325 [!objdir] (objpfx): Remove.
35326 [!objdir] (common-objpfx): Likewise.
35327 [!objdir] (common-objdir): Likewise.
35328 * configure.in (config_makefile): Remove. Hardcode Makefile in
35329 AC_CONFIG_FILES call.
35330 * configure: Regenerated.
35331
35332 [BZ #13888]
35333 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35334 or TMPDIR.
35335 (testout): Likewise.
35336
35337 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35338 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35339 $(rtld-installed-name).
35340 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35341 (rtld_installed_name): Likwise.
35342 (runit): Remove function.
35343 (run_getconf): New variable, Use it for running getconf binary.
35344
353452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35346
35347 [BZ #14716]
35348 * string/test-memmem.c (check_result): New function.
35349 (do_one_test): Use it.
35350 (check1): New function.
35351 (test_main): Use it.
35352
353532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35354
35355 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35356
353572012-10-18 Joseph Myers <joseph@codesourcery.com>
35358
35359 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35360 (_G_LSEEK64): Likewise.
35361 (_G_MMAP64): Likewise.
35362 (_G_FSTAT64): Likewise.
35363 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35364 (_G_LSEEK64): Likewise.
35365 (_G_MMAP64): Likewise.
35366 (_G_FSTAT64): Likewise.
35367 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35368 unconditional. Call __mmap64 directly.
35369 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35370 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35371 __lseek64 directly.
35372 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35373 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35374 __mmap64 directly.
35375 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35376 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35377 __lseek64 directly.
35378 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35379 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35380 __lseek64 directly.
35381 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35382 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35383 __lseek64 directly.
35384 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35385 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35386 __fxstat64 directly.
35387 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35388 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35389 unconditional.
35390 (freopen64) [!_G_OPEN64]: Remove conditional code.
35391 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35392 unconditional.
35393 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35394 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35395 unconditional.
35396 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35397 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35398 unconditional.
35399 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35400 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35401 unconditional.
35402 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35403 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35404 unconditional.
35405 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35406 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35407 unconditional.
35408 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35409 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35410 unconditional.
35411 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35412
354132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35414
35415 [BZ #12140]
35416 * manual/memory.texi (Malloc Tunable Parameters): Add note
35417 about free list pointers overwriting some perturb bytes.
35418 Wording suggested by Roland McGrath.
35419
354202012-10-17 Joseph Myers <joseph@codesourcery.com>
35421
35422 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35423 (lgamma_test): Likewise.
35424 (tgamma_test): Likewise.
35425
354262012-10-16 Florian Weimer <fweimer@redhat.com>
35427
35428 [BZ #14700]
35429 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35430 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35431
354322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35433
35434 * NEWS: Mention BZ #14716.
35435 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35436 when removing AVAILABLE1_USES_J macro.
35437
354382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35439
35440 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35441 (__bswap_64): __uint64_t for unsigned 64-bit int.
35442
354432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35444
35445 * include/string.h (memmem): Declare libc hidden alias.
35446 * string/memmem.c (memmem): Define libc hidden alias.
35447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35448 __read, __close instead of open, read, close.
35449
354502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35451
35452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35453 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35454 global and hidden.
35455 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35456 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35457 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35458 Likewise.
35459 (__rawmemchr_sse2): Likewise.
35460 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35462 (__strchr_sse2): Likewise.
35463 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35464 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35465 (__strcasecmp_sse2): Likewise.
35466 (__strncasecmp_sse2): Likewise.
35467 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35468 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35469 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35470 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35471 (__strrchr_sse2): Likewise.
35472 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35473 ifunc-impl-list.c.
35474 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35476 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35478 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35482 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35483 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35484 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35486 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35487 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35488 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35490 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35491 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35492 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35493 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35494 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35495 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35496 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35497 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35498 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35502 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35503 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35504
35505 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35506 global and hidden.
35507 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35508 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35509 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35510 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35511 Likewise.
35512 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35513 Likewise.
35514 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35515 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35516 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35517 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35518 ifunc-impl-list.c.
35519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35536 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35544 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35545 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35546 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35547 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35549 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35552 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35559 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35560
35561 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35562 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35563 * include/ifunc-impl-list.h: New file.
35564 * misc/ifunc-impl-list.c: Likewise.
35565 * misc/Makefile (routines): Add ifunc-impl-list.
35566 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35567 * string/test-string.h: Include <ifunc-impl-list.h>.
35568 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35569 TEST_NAME]: New variables.
35570 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35571 are defined.
35572 (test_init): Call __libc_ifunc_impl_list to initialize
35573 func_list if TEST_IFUNC and TEST_NAME are defined.
35574
35575 * string/Makefile (strop-tests): Add bcopy and bzero.
35576 * string/test-bcopy.c: New file.
35577 * string/test-bzero.c: Likewise.
35578 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35579 defined.
35580 * string/test-memset.c: Support bzero test if TEST_BZERO is
35581 defined.
35582 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35583 __libc_memmove.
35584 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35585 __libc_memset.
35586 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35587 of memset.
35588
355892012-10-10 Joseph Myers <joseph@codesourcery.com>
35590
35591 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35592 * configure: Regenerated.
35593
35594 * Makeconfig (+link-static-before-libc): Don't include
35595 $(link-static-libc).
35596
35597 * libio/libio.h (_IO_pos_t): Remove.
35598
355992012-10-10 Alexandre Oliva <aoliva@redhat.com>
35600
35601 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35602 McGrath.
35603
356042012-10-10 Alexandre Oliva <aoliva@redhat.com>
35605
35606 * crypt/crypt-entry.c: Include fips-private.h.
35607 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35608 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35609 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35610 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35611
356122012-10-10 Alexandre Oliva <aoliva@redhat.com>
35613
35614 * crypt/crypt-private.h: Include stdbool.h.
35615 (_ufc_setup_salt_r): Return bool.
35616 * crypt/crypt-entry.c: Include errno.h.
35617 (__crypt_r): Return NULL with EINVAL for bad salt.
35618 * crypt/crypt_util.c (bad_for_salt): New.
35619 (_ufc_setup_salt_r): Check that salt is long enough and within
35620 the specified alphabet.
35621 * crypt/badsalttest.c: New file.
35622 * crypt/Makefile (tests): Add it.
35623 ($(objpfx)badsalttest): New.
35624
356252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35626
35627 * NEWS: Add entry for BZ #14602.
35628
356292012-10-09 Joseph Myers <joseph@codesourcery.com>
35630
35631 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35632 type-generic.
35633 * math/libm-test.inc: Update comment listing what functions and
35634 macros are tested.
35635 (isgreater_test): New function.
35636 (isgreaterequal_test): Likewise.
35637 (isless_test): Likewise.
35638 (islessequal_test): Likewise.
35639 (islessgreater_test): Likewise.
35640 (isunordered_test): Likewise.
35641 (main): Call the new functions.
35642
356432012-10-09 Roland McGrath <roland@hack.frob.com>
35644
35645 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35646 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35647 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35648 * sysdeps/i386/configure: Regenerated.
35649 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35650 * sysdeps/mach/configure: Regenerated.
35651 * sysdeps/mach/hurd/configure: Regenerated.
35652 * sysdeps/powerpc/configure: Regenerated.
35653 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35654 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35655 * sysdeps/s390/s390-32/configure: Regenerated.
35656 * sysdeps/s390/s390-64/configure: Regenerated.
35657 * sysdeps/sh/configure: Regenerated.
35658 * sysdeps/sparc/configure: Regenerated.
35659 * sysdeps/unix/sysv/linux/configure: Regenerated.
35660 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35661 * sysdeps/x86_64/configure: Regenerated.
35662
35663 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35664 defined. Don't check if MAP is NULL.
35665
356662012-10-09 Joseph Myers <joseph@codesourcery.com>
35667
35668 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35669 (_G_stat64): Likewise.
35670 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35671 (_G_stat64): Likewise.
35672 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35673 instead of struct _G_stat64.
35674 * libio/fileops.c (mmap_remap_check): Likewise.
35675 (decide_maybe_mmap): Likewise.
35676 (_IO_new_file_seekoff): Likewise.
35677 (_IO_file_stat): Likewise.
35678 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35679 _G_off64_t.
35680 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35681 instead of struct _G_stat64.
35682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35683
356842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35685
35686 [BZ #14602]
35687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35688 Replace with ...
35689 (CHECK_EOL): New macro.
35690 (two_way_short_needle): Check beginning of haystack for EOL. Use
35691 CHECK_EOL.
35692 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35693 Replace with CHECK_EOL.
35694 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35695 Replace with CHECK_EOL.
35696
356972012-10-08 Joseph Myers <joseph@codesourcery.com>
35698
35699 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35700 type-generic.
35701 * math/libm-test.inc: Update comment listing what functions and
35702 macros are tested.
35703 (finite_test): New function.
35704 (isinf_test): Likewise.
35705 (isnan_test): Likewise.
35706 (fpclassify_test): Test subnormal input.
35707 (isfinite_test): Likewise.
35708 (isnormal_test): Likewise.
35709 (main): Call the new functions.
35710
357112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35712
35713 [BZ #14660]
35714 * Makerules (%.dynsym): Force C locale when running
35715 $(OBJDUMP) --dynamic-syms.
35716
357172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35718
35719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35720 <stdint.h>.
35721
357222012-10-06 David S. Miller <davem@davemloft.net>
35723
35724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35725 upper 32-bits of the length value in %o2 since we use branch-on-register
35726 tests which consider the entire 64-bit register.
35727
357282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35729
35730 * string/test-strstr.c (check2): Add a test for page boundary.
35731
357322012-10-05 David S. Miller <davem@davemloft.net>
35733
35734 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35736 file.
35737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35738 sysdep_routines.
35739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35740 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35741 and bzero when HWCAP_SPARC_CRYPTO is present.
35742
357432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35744
35745 [BZ #14602]
35746 * string/test-strstr.c (check2): New function.
35747 (test_main): Call check2.
35748
35749 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35750 and bug-strchr1.
35751 * string/bug-strcasestr1.c (do_test): Moved to ...
35752 * string/test-strcasestr.c (check1): Here. New function.
35753 (do_one_test): Break out result checking code into ...
35754 (check_result): This. New function.
35755 (do_one_test): Call check_result.
35756 (test_main): Call check1.
35757 * string/bug-strchr1.c (do_test): Moved to ...
35758 * string/test-strchr.c (check1): Here. New function.
35759 (do_one_test): Break out result checking code into ...
35760 (check_result): This. New function.
35761 (do_one_test): Call check_result.
35762 (test_main): Call check1.
35763 * string/bug-strstr1.c (main): Moved to ...
35764 * string/test-strstr.c (check1): Here. New function.
35765 (do_one_test): Break out result checking code into ...
35766 (check_result): This. New function.
35767 (do_one_test): Call check_result.
35768 (test_main): Call check1.
35769 * string/bug-strcasestr1.c: Removed.
35770 * string/bug-strchr1.c: Likewise.
35771 * string/bug-strstr1.c: Likewise.
35772
35773 * elf/Makefile (dl-routines): Add hwcaps.
35774 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35775 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35776 (_dl_important_hwcaps): Moved to ...
35777 * elf/dl-hwcaps.c: Here. New file.
35778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35779
35780 [BZ #14557]
35781 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35782 if IS_IN_rtld isn't defined.
35783
35784 * elf/dl-support.c (_dl_sysinfo_map): New.
35785 Include "get-dynamic-info.h" and "setup-vdso.h".
35786 (_dl_non_dynamic_init): Call setup_vdso.
35787 * elf/dynamic-link.h: Don't include <assert.h>.
35788 (elf_get_dynamic_info): Moved to ...
35789 * elf/get-dynamic-info.h: Here. New file.
35790 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35791 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35792 * elf/setup-vdso.h: Here. New file.
35793 * elf/rtld.c: Include "setup-vdso.h".
35794 (dl_main): Call setup_vdso.
35795
357962012-10-05 Joseph Myers <joseph@codesourcery.com>
35797
35798 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35799 creal in comment listing functions tested. List finite, isinf,
35800 isnan, isless, islessequal, isgreater, isgreaterequal,
35801 islessgreater, isunordered, lgamma_r and pow10 as functions and
35802 macros not tested. Mention which functions not tested are aliases
35803 for other functions. Fix typo. Note that signs of NaNs are not
35804 tested.
35805
35806 * scripts/config.guess: Update from config.git.
35807 * scripts/config.sub: Likewise.
35808
358092012-10-04 Roland McGrath <roland@hack.frob.com>
35810
35811 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35812 * misc/madvise.c (madvise): Renamed to __madvise.
35813 Make madvise a weak alias.
35814 * include/sys/mman.h: Declare __madvise.
35815 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35816 * sysdeps/unix/syscalls.list
35817 (madvise): Make __madvise the strong name, and madvise a weak alias.
35818 * sysdeps/unix/sysv/linux/syscalls.list
35819 (madvise, mmap): Remove redundant entries.
35820 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35821 * malloc/malloc.c (mtrim): Likewise.
35822 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35823
358242012-10-03 Roland McGrath <roland@hack.frob.com>
35825
35826 * sysdeps/mach/hurd/dl-cache.c: File removed.
35827 * config.h.in (USE_LDCONFIG): New #undef.
35828 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35829 * configure: Regenerated.
35830 * elf/Makefile (dl-routines): Add dl-cache only under
35831 [$(use-ldconfig) = yes].
35832 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35833 cache on [USE_LDCONFIG].
35834 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35835 [USE_LDCONFIG].
35836 * elf/rtld.c (dl_main): Likewise.
35837
358382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35839
35840 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35841 _SC_LEVEL4_CACHE_LINESIZE.
35842
358432012-10-03 Roland McGrath <roland@hack.frob.com>
35844
35845 * sysdeps/unix/bsd/confstr.h: File removed.
35846
358472012-10-02 Alexandre Oliva <aoliva@redhat.com>
35848
35849 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35850 sys/sdt-config.h.
35851
358522012-10-02 Roland McGrath <roland@hack.frob.com>
35853
35854 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35855 Make 'mapoff' field ElfW(Off) rather than off_t.
35856
358572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35858
35859 * nscd/Makefile: Remove nscd-cflags and all its users.
35860 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35861 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35862
35863 [BZ #10631]
35864 * malloc.c (malloc_printerr): Clarify error message.
35865
358662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 [BZ #14648]
35869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35870 Set bit_FMA_Usable if FMA is supported.
35871 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35872 macro.
35873 (bit_FMA4_Usable): Updated.
35874 (index_FMA_Usable): New macro.
35875 (CPUID_FMA): Likewise
35876 (HAS_FMA): Defined with bit_FMA_Usable.
35877
358782012-10-01 Roland McGrath <roland@hack.frob.com>
35879
35880 * bits/types.h (__swblk_t): Type removed.
35881 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35882 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35884 (__SWBLK_T_TYPE): Likewise.
35885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35886 (__SWBLK_T_TYPE): Likewise.
35887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35888 (__SWBLK_T_TYPE): Likewise.
35889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35890 (__SWBLK_T_TYPE): Likewise.
35891
358922012-10-01 Patsy Franklin <pfrankli@redhat.com>
35893 Honza Horak <hhorak@redhat.com>
35894
35895 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35896 (xdr_mapname): Use YPMAXMAP as maxsize.
35897 (xdr_peername): Use YPMAXPEER as maxsize.
35898 (xdr_keydat): Use YPAXRECORD as maxsize.
35899 (xdr_valdat): Use YPMAXRECORD as maxsize.
35900
359012012-10-01 Roland McGrath <roland@hack.frob.com>
35902
35903 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35904
35905 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35906 * csu/init-first.c: ... here.
35907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35911 * sysdeps/i386/init-first.c: File removed.
35912 * sysdeps/sh/init-first.c: File removed.
35913
359142012-10-01 Joseph Myers <joseph@codesourcery.com>
35915
35916 [BZ #14645]
35917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35918 if x * y might underflow to zero and z is zero.
35919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35921 * math/libm-test.inc (min_subnorm_value): New variable.
35922 (fma_test): Add more tests.
35923 (fma_test_towardzero): Likewise.
35924 (fma_test_downward): Likewise
35925 (fma_test_upward): Likewise.
35926 (initialize): Set min_subnorm_value.
35927
359282012-09-29 Joseph Myers <joseph@codesourcery.com>
35929
35930 [BZ #14638]
35931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35932 0 + 0.
35933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35934 mode for addition resulting in exact zero.
35935 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35937 exact 0 + 0.
35938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35940 * math/libm-test.inc (fma_test): Add more tests.
35941 (fma_test_towardzero): New function.
35942 (fma_test_downward): Likewise.
35943 (fma_test_upward): Likewise.
35944 (main): Call the new functions.
35945
359462012-09-28 David S. Miller <davem@davemloft.net>
35947
35948 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35949
359502012-09-28 Roland McGrath <roland@hack.frob.com>
35951
35952 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35953 instead of SIGALRM.
35954
35955 * sysdeps/gnu/_G_config.h: Moved to ...
35956 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35957 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35958 * sysdeps/generic/_G_config.h: ... here.
35959
35960 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35961
35962 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35963
35964 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35965 Conditionalize target on [libnss_test1.so-version].
35966
35967 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35968
35969 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35970 (elfobjdir): Move out of conditionals.
35971
35972 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35973 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35974 (__nss_lookup_function): Conditionalize label remove_from_tree on
35975 [!DO_STATIC_NSS || SHARED], matching its only use.
35976
359772012-09-28 David S. Miller <davem@davemloft.net>
35978
35979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35981 file.
35982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35983 sysdep_routines.
35984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35986 when HWCAP_SPARC_CRYPTO is present.
35987
359882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35989
35990 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35991
359922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35993
35994 [BZ #6530]
35995 * stdio-common/vfprintf.c (process_string_arg): Revert
35996 2000-07-22 change.
35997
359982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35999
36000 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36001 for testcase.
36002 * stdio-common/tst-sprintf.c: Include <locale.h>
36003 (main): Test sprintf's handling of incomplete multibyte
36004 characters.
36005
360062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36007
36008 * elf/dl-runtime.c (VERSYMIDX): Removed.
36009 * elf/dl-version.c (VERSYMIDX): Likewise.
36010 * elf/do-rel.h (VERSYMIDX): Likewise.
36011 (VALIDX): Likewise.
36012 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36013 * elf/rtld.c (VALIDX): Likewise.
36014 (ADDRIDX): Likewise.
36015 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36016 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36017 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36018 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36019 (VALIDX): Likewise.
36020 (ADDRIDX): Likewise.
36021
360222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36023
36024 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36025
360262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36027
36028 [BZ #11438]
36029 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36030 to global scope.
36031 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36032 addresses are in the same scope as 192.0.2/24.
36033 * posix/gai.conf: Document new scope table defaults.
36034
360352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36036
36037 [BZ #5298]
36038 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36039 for ftell. Compute offsets from write pointers instead.
36040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36041
360422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36043
36044 [BZ #14543]
36045 * libio/Makefile (tests): New test case tst-fseek.
36046 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36047 combination works in wide mode.
36048 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36049 state when the external buffer state changes.
36050
360512012-09-27 David S. Miller <davem@davemloft.net>
36052
36053 [BZ #14376]
36054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36055 pass reloc->r_addend in as the 'high' argument to
36056 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36057
36058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36059
360602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36061
36062 * rt/tst-aio2.c: Include <pthread.h>.
36063 * rt/tst-aio3.c: Likewise.
36064
360652012-09-27 Steve Ellcey <sellcey@mips.com>
36066
36067 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36068
360692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36070
36071 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36072 contents on [SHARED].
36073
360742012-09-26 Marek Polacek <polacek@redhat.com>
36075
36076 [BZ #14530]
36077 [BZ #13741]
36078 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36079 for C++ and GCC <4.3 as well as for non GCC compilers.
36080
360812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36082
36083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36084
360852012-09-25 Roland McGrath <roland@hack.frob.com>
36086
36087 * Makefile.in (all, install): Declare with .PHONY.
36088 Reported by Michael Hope <michael.hope@linaro.org>.
36089
360902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36091
36092 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36093 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36094 system header.
36095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36096 Likewise.
36097 (sydep_routines): Add the new and the internal functions.
36098 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36101 (GLIBC_2.17): Add the new function.
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36103 (GLIBC_2.17): Likewise.
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36105 (GLIBC_2.17): Likewise.
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36107 (GLIBC_2.17): Likewise.
36108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36109
361102012-09-25 Alan Modra <amodra@gmail.com>
36111
36112 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36113 Add release barrier before setting once_control to say
36114 initialisation is done. Add hints on lwarx. Use macro in
36115 place of isync.
36116 (clear_once_control): Add release barrier.
36117
361182012-09-25 Joseph Myers <joseph@codesourcery.com>
36119
36120 [BZ #13629]
36121 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36122 specially.
36123 * math/s_clog10.c (__clog10): Likewise.
36124 * math/s_clog10f.c (__clog10f): Likewise.
36125 * math/s_clog10l.c (__clog10l): Likewise.
36126 * math/s_clogf.c (__clogf): Likewise.
36127 * math/s_clogl.c (__clogl): Likewise.
36128 * math/Makefile (libm-calls): Add x2y2m1.
36129 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36130 (__x2y2m1): Likewise.
36131 (__x2y2m1l): Likewise.
36132 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36133 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36138 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36139 * sysdeps/i386/fpu/libm-test-ulps: Update.
36140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141
36142 [BZ #14621]
36143 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36144 int as type of variable DEPTH.
36145 (glob): Use size_t instead of int as type of variables NEWCOUNT
36146 and OLD_PATHC.
36147
361482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36149
36150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36151 Add s_sincosf-sse2.
36152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36154 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36155 macros for using routine as __sincosf_ia32.
36156 Use macro for function declaration and weak_alias.
36157 * sysdeps/i386/fpu/libm-test-ulps: Update.
36158
36159 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36161
36162 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36163 subnormal argument.
36164 * math/s_cexpf.c (__cexpf): Likewise.
36165 * math/s_csinf.c (__csinf): Likewise.
36166 * math/s_csinhf.c (__csinhf): Likewise.
36167 * math/s_ctanf.c (__ctanf): Likewise.
36168 * math/s_ctanhf.c (__ctanhf): Likewise.
36169 * math/s_ccosh.c (__ccoshf): Likewise.
36170 * math/s_cexp.c (__cexpl): Likewise.
36171 * math/s_csin.c (__csin): Likewise.
36172 * math/s_csinh.c (__csinh): Likewise.
36173 * math/s_ctan.c (__ctan): Likewise.
36174 * math/s_ctanh.c (ctanh): Likewise.
36175 * math/s_ccoshl.c (__ccoshl): Likewise.
36176 * math/s_cexpl.c (__cexpl): Likewise.
36177 * math/s_csinl.c (__csinl): Likewise.
36178 * math/s_csinhl.c (__csinhl): Likewise.
36179 * math/s_ctanl.c (__ctanl): Likewise.
36180 * math/s_ctanhl.c (__ctanhl): Likewise.
36181
361822012-09-25 Joseph Myers <joseph@codesourcery.com>
36183
36184 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36185 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36186 (_IO_off_t): Define to __off_t, not _G_off_t.
36187 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36188 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36189 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36190 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36191 type of __dummy and __dummy2 fields.
36192 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36193 (_G_ssize_t): Likewise.
36194 (_G_off_t): Likewise.
36195 (_G_pid_t): Likewise.
36196 (_G_uid_t): Likewise.
36197 (_G_wchar_t): Likewise.
36198 (_G_wint_t): Likewise.
36199 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36200 (_G_ssize_t): Likewise.
36201 (_G_off_t): Likewise.
36202 (_G_pid_t): Likewise.
36203 (_G_uid_t): Likewise.
36204 (_G_wchar_t): Likewise.
36205 (_G_wint_t): Likewise.
36206 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36207 (_G_ssize_t): Likewise.
36208 (_G_off_t): Likewise.
36209 (_G_pid_t): Likewise.
36210 (_G_uid_t): Likewise.
36211 (_G_wchar_t): Likewise.
36212 (_G_wint_t): Likewise.
36213
362142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36215
36216 * malloc/arena.c: Include malloc-sysdep.h.
36217 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36218 is sufficient to shrink the heap or an unmap is needed.
36219 * sysdeps/generic/malloc-sysdep.h: New file. Define
36220 new function check_may_shrink_heap.
36221 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36222 new function check_may_shrink_heap.
36223
362242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36225
36226 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36227 comments.
36228
362292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36230
36231 * catgets/test-gencat.sh: Add "set -e".
36232 * elf/tst-pathopt.sh: Likewise.
36233 * grp/tst_fgetgrent.sh: Likewise.
36234 * iconvdata/run-iconv-test.sh: Likewise.
36235 * intl/tst-gettext.sh: Likewise.
36236 * intl/tst-gettext2.sh: Likewise.
36237 * intl/tst-gettext4.sh: Likewise.
36238 * intl/tst-gettext6.sh: Likewise.
36239 * intl/tst-translit.sh: Likewise.
36240 * io/ftwtest-sh: Likewise.
36241 * libio/test-freopen.sh: Likewise.
36242 * malloc/tst-mtrace.sh: Likewise.
36243 * posix/globtest.sh: Likewise.
36244 * posix/tst-getconf.sh: Likewise.
36245 * posix/wordexp-tst.sh: Likewise.
36246 * stdio-common/tst-printf.sh: Likewise.
36247 * stdio-common/tst-unbputc.sh: Likewise.
36248 * stdlib/tst-fmtmsg.sh: Likewise.
36249 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36250 * catgets/Makefile: Do not specify -e option when running
36251 testsuite shell scripts.
36252 * elf/Makefile: Likewise.
36253 * grp/Makefile: Likewise.
36254 * iconvdata/Makefile: Likewise.
36255 * intl/Makefile: Likewise.
36256 * io/Makefile: Likewise.
36257 * libio/Makefile: Likewise.
36258 * malloc/Makefile: Likewise.
36259 * posix/Makefile: Likewise.
36260 * stdio-common/Makefile: Likewise.
36261 * stdlib/Makefile: Likewise.
36262 * sysdeps/x86_64/Makefile: Likewise.
36263
36264 * io/ftwtest-sh: Add copyright header.
36265 * posix/globtest.sh: Likewise.
36266 * posix/tst-getconf.sh: Likewise.
36267 * posix/wordexp-tst.sh: Likewise.
36268 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36269
362702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36271
36272 [BZ #13679]
36273 * Makeconfig (+link): Defined as $(+link-static) if
36274 $(build-shared) isn't yes.
36275 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36276 isn't yes.
36277 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36278
36279 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36280
36281 [BZ #14562]
36282 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36283 new chunk size with MALLOC_ALIGN_MASK.
36284
362852012-09-24 Joseph Myers <joseph@codesourcery.com>
36286
36287 [BZ #5044]
36288 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36289 <rounding-mode.h>.
36290 (__printf_fphex): Determine rounding using get_rounding_mode and
36291 round_away.
36292 * stdio-common/tst-printf-round.c (struct hex_test): New
36293 structure.
36294 (hex_tests): New variable.
36295 (test_hex_in_one_mode): New function.
36296 (do_test): Also run tests for hex float output.
36297
362982012-09-21 Joseph Myers <joseph@codesourcery.com>
36299
36300 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36302 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36303 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36304 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36305 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36306 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36308
363092012-09-20 Joseph Myers <joseph@codesourcery.com>
36310
36311 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36312 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36313 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36314 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36315
363162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36317
36318 [BZ #14579]
36319 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36320 mode only.
36321 * elf/tst-rtld-load-self.sh: New test.
36322 * elf/Makefile: Run it.
36323
363242012-09-18 Joseph Myers <joseph@codesourcery.com>
36325
36326 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36327 (tst-writev-ENV): Remove.
36328 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36329
363302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36331
36332 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36333
363342012-09-17 Joseph Myers <joseph@codesourcery.com>
36335
36336 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36337 unconditional.
36338 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36339 Likewise.
36340 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36341 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36343 Likewise.
36344
363452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36346
36347 [BZ #14587]
36348 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36349 * config.make.in (have-cpp-asm-debuginfo): Removed.
36350 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36351 * configure: Regenerated.
36352
363532012-09-14 Joseph Myers <joseph@codesourcery.com>
36354
36355 [BZ #5044]
36356 * stdio-common/printf_fp.c: Include <stdbool.h> and
36357 <rounding-mode.h>.
36358 (___printf_fp): Determine rounding using get_rounding_mode and
36359 round_away.
36360 * stdio-common/tst-printf-round.c: New file.
36361 * stdio-common/Makefile (tests): Add tst-printf-round.
36362 (link-libm): New variable.
36363 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36364
363652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36366
36367 [BZ #14576]
36368 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36369 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36370 Likewise.
36371 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36372 Likewise.
36373
363742012-09-13 Joseph Myers <joseph@codesourcery.com>
36375
36376 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36377 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36378 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36380
363812012-09-12 Joseph Myers <joseph@codesourcery.com>
36382
36383 [BZ #14518]
36384 * include/rounding-mode.h: New file.
36385 * sysdeps/generic/get-rounding-mode.h: Likewise.
36386 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36387 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36388 (MAX_VALUE): New macro.
36389 (MIN_VALUE): Likewise.
36390 (overflow_value): New function.
36391 (underflow_value): Likewise.
36392 (round_and_return): Use overflow_value and underflow_value to
36393 determine return values in overflow and underflow cases. Use
36394 round_away to determine rounding depending on rounding mode.
36395 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36396 determine return values in overflow and underflow cases.
36397 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36398 (struct test_results): New structure.
36399 (struct test): Use struct test_results to store expected results
36400 for all rounding modes.
36401 (TEST): Include expected results for all rounding modes.
36402 (test_in_one_mode): New function.
36403 (do_test): Use test_in_one_mode to compute and check results.
36404 Check results for all rounding modes.
36405 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36406 $(link-libm).
36407
364082012-12-09 Allan McRae <allan@archlinux.org>
36409
36410 * sysdeps/i386/fpu/libm-test-ulps: Update
36411
364122012-09-11 Joseph Myers <joseph@codesourcery.com>
36413
36414 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36415 (_G_int32_t): Likewise.
36416 (_G_uint16_t): Likewise.
36417 (_G_uint32_t): Likewise.
36418 (_G_HAVE_BOOL): Likewise.
36419 (_G_HAVE_ATEXIT): Likewise.
36420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36421 (_G_HAVE_IO_FILE_OPEN): Likewise.
36422 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36423 (_G_int32_t): Likewise.
36424 (_G_uint16_t): Likewise.
36425 (_G_uint32_t): Likewise.
36426 (_G_HAVE_BOOL): Likewise.
36427 (_G_HAVE_ATEXIT): Likewise.
36428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36429 (_G_HAVE_IO_FILE_OPEN): Likewise.
36430 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36431 (_G_int32_t): Likewise.
36432 (_G_uint16_t): Likewise.
36433 (_G_uint32_t): Likewise.
36434 (_G_HAVE_BOOL): Likewise.
36435 (_G_HAVE_ATEXIT): Likewise.
36436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36437 (_G_HAVE_IO_FILE_OPEN): Likewise.
36438
364392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36440
36441 * csu/libc-tls.c: Update copyright years.
36442
364432012-09-10 Joseph Myers <joseph@codesourcery.com>
36444
36445 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36446 [!_G_USING_THUNKS]: Remove conditional code.
36447 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36448 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36449
36450 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36451 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36452 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36453 (_G_VTABLE_LABEL_PREFIX): Likewise.
36454 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36455 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36456 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36457 (_G_VTABLE_LABEL_PREFIX): Likewise.
36458 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36459 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36461 (_G_VTABLE_LABEL_PREFIX): Likewise.
36462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36463
364642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36465
36466 * libio/Makefile: Include ../Makeconfig before tests.
36467 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36468 only if $(build-shared) is yes.
36469
36470 * iconv/gconv_db.c: Update copyright years.
36471
364722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36473
36474 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36475 unwind info if defined PIC. Fix special cases description.
36476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36477
36478 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36479 DP_HI_MASK entry.
36480 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36481
364822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36483
36484 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36485
36486 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36487 is NULL.
36488
36489 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36490 (LDLIBS-tst-chk4): This.
36491 (LDFLAGS-tst-chk5): Renamed to ...
36492 (LDLIBS-tst-chk5): This.
36493 (LDFLAGS-tst-chk6): Renamed to ...
36494 (LDLIBS-tst-chk6): This.
36495 (LDFLAGS-tst-lfschk4): Renamed to ...
36496 (LDLIBS-tst-lfschk4): This.
36497 (LDFLAGS-tst-lfschk5): Renamed to ...
36498 (LDLIBS-tst-lfschk5): This.
36499 (LDFLAGS-tst-lfschk6): Renamed to ...
36500 (LDLIBS-tst-lfschk6): This.
36501
36502 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36503 on $(common-objpfx)soversions.mk.
36504
365052012-09-07 Joseph Myers <joseph@codesourcery.com>
36506
36507 [BZ #10014]
36508 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36509 example host name.
36510
365112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36512
36513 * malloc/arena.c (arena_get_retry): New function that gets
36514 another arena for the caller to try its request on.
36515 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36516 current arena cannot fulfill the request.
36517 (__libc_memalign): Likewise.
36518 (__libc_memalign): Likewise.
36519 (__libc_pvalloc): Likewise.
36520 (__libc_calloc): Likewise.
36521
365222012-09-05 John Tobey <john.tobey@gmail.com>
36523
36524 [BZ #13542]
36525 * manual/arith.texi (Operations on Complex): Fix description
36526 of carg branch cut.
36527
365282012-09-06 Joseph Myers <joseph@codesourcery.com>
36529
36530 [BZ #10014]
36531 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36532 host name.
36533
36534 [BZ #10038]
36535 * manual/memory.texi (Memory): Make order of menu items match
36536 order of sections.
36537
365382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36539
36540 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36541 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36542 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36543
365442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36545
36546 * csu/libc-tls.c (static_dtv): Renamed to ...
36547 (_dl_static_dtv): This. Make it global.
36548 (_dl_initial_dtv): Removed.
36549 (__libc_setup_tls): Updated.
36550 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36551 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36552 DL_INITIAL_DTV.
36553
365542012-09-06 Petr Machata <pmachata@redhat.com>
36555
36556 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36557 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36558 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36559 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36560
365612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36562
36563 [BZ #14545]
36564 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36565 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36566 freeing dtv[-1].
36567
365682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36569
36570 [BZ #14544]
36571 * Makeconfig (link-static-before-libc): Replace $(+prector)
36572 with $(+prectorT).
36573 (link-static-after-libc): Replace $(+postctor) with
36574 $(+postctorT).
36575 (link-bounded): Replace $(+prector)/$(+postctor) with
36576 $(+prectorT)/$(+postctorT).
36577 (+prectorT): New macro.
36578 (+postctorT): Likewise.
36579
365802012-09-06 Joseph Myers <joseph@codesourcery.com>
36581
36582 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36583 (round_str): Handle values above the maximum for IBM long double
36584 as inexact.
36585 * stdlib/tst-strtod-round.c (tests): Regenerated.
36586
365872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36588
36589 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36590 assembler flag.
36591 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36592 zarch_nohighgprs around the zarch optimized routines.
36593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36596 for zarch.
36597
365982012-09-05 David S. Miller <davem@davemloft.net>
36599
36600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36601
36602 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36603 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36604 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36606 entries.
36607
366082012-09-05 Alexandre Oliva <aoliva@redhat.com>
36609
36610 * malloc/arena.c: Fold copyright years.
36611 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36612
366132012-09-05 Alexandre Oliva <aoliva@redhat.com>
36614
36615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36616
366172012-09-05 Alexandre Oliva <aoliva@redhat.com>
36618
36619 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36620
366212012-09-05 Alexandre Oliva <aoliva@redhat.com>
36622
36623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36624 change internal state upon failure.
36625
366262012-09-05 Alexandre Oliva <aoliva@redhat.com>
36627
36628 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36629 * malloc/memusage.c (mmap): Likewise.
36630 (mmap64, mremap): Likewise. Adjust name in comment.
36631
366322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36633
36634 * libio/fileops.c: Fix typos in comments.
36635 * libio/oldfileops.c: Likewise.
36636 * libio/wfileops.c: Likewise.
36637
366382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36639
36640 [BZ #1349]
36641 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36642 (tst-malloc-usable-ENV): Set environment for test case.
36643 * malloc/hooks.c (malloc_check_get_size): New function to get
36644 requested size.
36645 * malloc/malloc.c (musable): Use malloc_check_get_size.
36646 * malloc/tst-malloc-usable.c: New test case.
36647
366482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36649
36650 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36651
366522012-09-05 Allan McRae <allan@archlinux.org>
36653
36654 [BZ #13966]
36655 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36656 determine header location.
36657 * configure: Regenerated.
36658
366592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36660
36661 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36662 float format.
36663 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36664 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36665 format.
36666 (test): Regenerate.
36667
366682012-09-04 David S. Miller <davem@davemloft.net>
36669
36670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36673
366742012-09-04 Florian Weimer <fweimer@redhat.com>
36675
36676 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36677 failures.
36678
36679 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36680
366812012-09-04 Joseph Myers <joseph@codesourcery.com>
36682
36683 [BZ #9914]
36684 * libio/iogetdelim.c: Include <limits.h>.
36685 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36686 + len + 1 would overflow.
36687
366882012-09-03 Andreas Jaeger <aj@suse.de>
36689
36690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36691 * sysdeps/i386/fpu/libm-test-ulps: Update.
36692
366932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36694
36695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36696 Add s_sinf-sse2, s_conf-sse2.
36697
36698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36700 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36702
36703 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36704 for using routine as __sinf_ia32.
36705 Use macro for function declaration and weak_alias.
36706 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36707 for using routine as __cosf_ia32.
36708 Use macro for function declaration and weak_alias.
36709
36710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36712
36713 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36714 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36716
36717 * math/libm-test.inc (cos_test): Add more test cases.
36718 (sin_test): Likewise.
36719 (sincos_test): Likewise.
36720
367212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36722
36723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36724 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36725 hidden.
36726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36727
367282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36729
36730 [BZ #14538]
36731 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36732 first element of the GOT.
36733 (elf_machine_load_address): Return the difference between
36734 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36735
367362012-09-01 Allan McRae <allan@archlinux.org>
36737
36738 [BZ #13412]
36739 * configure.in (AWK): Require gawk version 3.0 or later.
36740 * configure: Regenerated.
36741
367422012-09-01 Joseph Myers <joseph@codesourcery.com>
36743
36744 * sysdeps/unix/sysv/linux/kernel-features.h
36745 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36747 [__NR_clock_getres]: Make code unconditional.
36748 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36749 (clock_getcpuclockid): Remove code left unreachable by removal of
36750 conditionals.
36751 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36752 code unconditional.
36753 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36755 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36756 Make code unconditional.
36757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36759 * sysdeps/unix/sysv/linux/clock_settime.c
36760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36761 conditional code.
36762 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36764
367652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 [BZ #14476]
36768 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36769 scripts/test-installation.pl.
36770
36771 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36772 and $ld_so_version if it is set.
36773
367742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36775
36776 [BZ #14516]
36777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36778 failure if reading from procfs failed.
36779 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36780
367812012-08-27 Joseph Myers <joseph@codesourcery.com>
36782
36783 * sysdeps/unix/sysv/linux/kernel-features.h
36784 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36785 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36786 Remove conditional code.
36787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36788 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36789 Remove conditional code.
36790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36791 * sysdeps/unix/sysv/linux/i386/fxstat.c
36792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36794 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36797 * sysdeps/unix/sysv/linux/i386/lxstat.c
36798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36800 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36801 Remove conditional code.
36802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36803 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36804 Remove conditional code.
36805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36807 <kernel-features.h>.
36808 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36809 Remove.
36810 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36811 Remove conditional code.
36812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36813 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36814 Remove conditional.
36815
368162012-08-27 Mike Frysinger <vapier@gentoo.org>
36817
36818 [BZ #5400]
36819 * NEWS: Add fixed bug number.
36820
368212012-08-27 Joseph Myers <joseph@codesourcery.com>
36822
36823 [BZ #14519]
36824 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36825 underflowing exponent in case of negative sign.
36826 * stdlib/tst-strtod-round-data: Add more tests.
36827 * stdlib/tst-strtod-round.c (tests): Regenerated.
36828
36829 [BZ #3479]
36830 * stdlib/strtod_l.c (NDIG): Remove.
36831 (HEXNDIG): Likewise.
36832 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36833 smallest representable value.
36834 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36835 lie within an exact representation of 1/2 ulp of the result.
36836 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36837 unconditionally.
36838 (TENS_P9_IDX): Define unconditionally.
36839 (TENS_P9_SIZE): Likewise.
36840 (TENS_P10_IDX): Likewise.
36841 (TENS_P10_SIZE): Likewise.
36842 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36843 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36844 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36845 entries for 10^2^13 and 10^2^14.
36846 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36847 (TENS_P13_IDX): Define.
36848 (TENS_P13_SIZE): Likewise.
36849 (TENS_P14_IDX): Likewise.
36850 (TENS_P14_SIZE): Likewise.
36851 (_fpioconst_pow10): Change array size to
36852 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36853 unconditional.
36854 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36855 1024]: Add entries for 10^2^13 and 10^2^14.
36856 [LAST_POW10 > _LAST_POW10]: Remove #error.
36857 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36858 (_fpioconst_pow10): Change array size to
36859 FPIOCONST_POW10_ARRAY_SIZE.
36860 * stdlib/gen-fpioconst.c: New file.
36861 * stdlib/gen-tst-strtod-round.c: Likewise.
36862 * stdlib/tst-strtod-round-data: Likewise.
36863 * stdlib/tst-strtod-round.c: Likewise.
36864 * stdlib/Makefile (tests): Add tst-strtod-round.
36865
36866 [BZ #14459]
36867 * stdlib/strtod_l.c: Include <stdint.h>.
36868 (NDEBUG): Do not define.
36869 (round_and_return): Change EXPONENT parameter to type intmax_t.
36870 Rearrange calculations to avoid internal overflow possibilities.
36871 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36872 Rearrange calculations to avoid internal overflow possibilities.
36873 Assert that number fits inside MPNSIZE limbs.
36874 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36875 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36876 calculations and add assertions to avoid internal overflow
36877 possibilities. Add casts to avoid signed/unsigned operations.
36878 * stdlib/tst-strtod-overflow.c: New file.
36879 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36880
368812012-08-25 Marek Polacek <polacek@redhat.com>
36882
36883 * time/time.h: Fix some typos in comments.
36884
368852012-08-23 Roland McGrath <roland@hack.frob.com>
36886
36887 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36888 * posix/tst-rfc3484-2.c: Likewise.
36889 * posix/tst-rfc3484-3.c: Likewise.
36890
368912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36892
36893 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36894 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36895
368962012-08-23 Joseph Myers <joseph@codesourcery.com>
36897
36898 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36899 #include of fxstatat64.c.
36900
369012012-08-22 Roland McGrath <roland@hack.frob.com>
36902
36903 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36904 * shadow/getspent_r.c: Likewise.
36905 * shadow/getspnam.c: Likewise.
36906 * shadow/getspnam_r.c: Likewise.
36907 * gshadow/getsgent.c: Likewise.
36908 * gshadow/getsgent_r.c: Likewise.
36909 * gshadow/getsgnam.c: Likewise.
36910 * gshadow/getsgnam_r.c: Likewise.
36911 * inet/getnetbyad.c: Likewise.
36912 * inet/getnetbyad_r.c: Likewise.
36913 * inet/getnetbynm.c: Likewise.
36914 * inet/getnetbynm_r.c: Likewise.
36915 * inet/getnetent.c: Likewise.
36916 * inet/getnetent_r.c: Likewise.
36917 * inet/getproto.c: Likewise.
36918 * inet/getproto_r.c: Likewise.
36919 * inet/getprtent.c: Likewise.
36920 * inet/getprtent_r.c: Likewise.
36921 * inet/getprtname.c: Likewise.
36922 * inet/getprtname_r.c: Likewise.
36923 * inet/getrpcbyname.c: Likewise.
36924 * inet/getrpcbyname_r.c: Likewise.
36925 * inet/getrpcbynumber.c: Likewise.
36926 * inet/getrpcbynumber_r.c: Likewise.
36927 * inet/getrpcent.c: Likewise.
36928 * inet/getrpcent_r.c: Likewise.
36929 * inet/getaliasent.c: Likewise.
36930 * inet/getaliasent_r.c: Likewise.
36931 * inet/getaliasname.c: Likewise.
36932 * inet/getaliasname_r.c: Likewise.
36933 * nscd/getgrgid_r.c: Likewise.
36934 * nscd/getgrnam_r.c: Likewise.
36935 * nscd/gethstbyad_r.c: Likewise.
36936 * nscd/gethstbynm3_r.c: Likewise.
36937 * nscd/getpwnam_r.c: Likewise.
36938 * nscd/getpwuid_r.c: Likewise.
36939 * nscd/getsrvbynm_r.c: Likewise.
36940 * nscd/getsrvbypt_r.c: Likewise.
36941 * nscd/gai.c: Likewise.
36942
36943 * configure.in (build_nscd): New substituted variable, set
36944 by --disable-build-nscd and defaults to $use_nscd.
36945 * configure: Regenerated.
36946 * config.make.in (build-nscd): New substituted variable.
36947 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36948 Change conditional to require [$(build-nscd) = yes] as well.
36949 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36950
36951 [BZ# 13696]
36952 * configure.in (use_nscd): New substituted variable, set by
36953 --disable-nscd. If enabled, define USE_NSCD.
36954 * configure: Regenerated.
36955 * config.h.in: Add USE_NSCD.
36956 * config.make.in (use-nscd): New substituted variable.
36957 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36958 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36959 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36960 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36961 (CFLAGS-getgrnam_r.c): Likewise.
36962 (CFLAGS-initgroups.c): Likewise.
36963 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36964 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36965 Variables removed.
36966 * inet/getnetgrent_r.c
36967 (nscd_setnetgrent): New function, broken out of ...
36968 (setnetgrent): ... here. Call it.
36969 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36970 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36971 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36972 * nscd/Makefile (routines, aux): Move definitions after include of
36973 Makeconfig. Conditionalize on [$(use-nscd) != no].
36974 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36975 Conditionalize on [USE_NSCD].
36976 (is_nscd, nscd_init_cb): Likewise.
36977 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36978 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36979 * nss/nss_db/db-init.c: Likewise.
36980 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36981 [USE_NSCD].
36982 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36983 (make_request): Use it.
36984 (cache_valid_p): New function.
36985 (__check_pf): Use it.
36986 * NEWS: Add item for --disable-nscd.
36987
369882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36989
36990 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36991 to support sed >= 4.2.1-20-ga9bf076.
36992 * configure: Regenerated.
36993
369942012-08-22 Roland McGrath <roland@hack.frob.com>
36995
36996 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36997 Conditionalize whole body on [IREL].
36998
369992012-08-22 Jeff Law <law@redhat.com>
37000
37001 [BZ #14505]
37002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37003 if the family is PF_UNSPEC.
37004
370052012-08-22 Mike Frysinger <vapier@gentoo.org>
37006
37007 * Makerules (lib-version): Rename from V.
37008 (install-lib-nosubdir): Change V to lib-version.
37009
370102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37011
37012 [BZ #14252]
37013 * powerpc32/power6/wcschr.c: New file.
37014 * powerpc32/power6/wcscpy.c: New file.
37015 * powerpc32/power6/wcsrchr.c: New file.
37016 * powerpc64/power6/wcschr.c: New file.
37017 * powerpc64/power6/wcscpy.c: New file.
37018 * powerpc64/power6/wcsrchr.c: New file.
37019
370202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37021
37022 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37023 (two_way_short_needle): Use it.
37024 * string/strstr.c (AVAILABLE1_USES_J): Define.
37025 * string/strcasestr.c: Likewise.
37026
37027 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37028 array references.
37029 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37030
37031 [BZ #11607]
37032 * NEWS: Add an entry.
37033 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37034 define their defaults.
37035 (two_way_short_needle): Detect end-of-string on-the-fly.
37036 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37037 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37038 * string/bug-strcasestr1.c: New test.
37039 * string/Makefile: Run it.
37040
370412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37042
37043 [BZ #11607]
37044 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37045 the first character.
37046
370472012-08-21 Roland McGrath <roland@hack.frob.com>
37048
37049 * csu/elf-init.c (__libc_csu_irel): Function removed.
37050 * csu/libc-start.c (apply_irel): New function.
37051 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37052
370532012-08-21 Joseph Myers <joseph@codesourcery.com>
37054
37055 * sysdeps/unix/sysv/linux/kernel-features.h
37056 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37058 <kernel-features.h>.
37059 [__NR_fadvise64_64]: Make code unconditional.
37060 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37061 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37062 !__NR_fadvise64_64)]: Likewise.
37063 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37064 !__NR_fadvise64_64))]: Likewise.
37065 [__NR_fadvise64]: Make code unconditional.
37066 [!__NR_fadvise64]: Remove conditional code.
37067 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37068 <kernel-features.h>.
37069 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37070 unconditional.
37071 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37072 conditional code.
37073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37074 not include <kernel-features.h>.
37075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37076 unconditional.
37077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37078 conditional code.
37079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37080 include <kernel-features.h>.
37081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37082 unconditional.
37083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37084 conditional code.
37085
370862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37087
37088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37089 slight instruction rearrangements per scrollpipe analysis.
37090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37091
370922012-08-20 Roland McGrath <roland@hack.frob.com>
37093
37094 * manual/syslog.texi (syslog; vsyslog, closelog):
37095 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37096 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37097
37098 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37099 DSOCAPS to match condition on defining it.
37100
371012012-08-20 Joseph Myers <joseph@codesourcery.com>
37102
37103 * sysdeps/unix/sysv/linux/kernel-features.h
37104 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37114
37115 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37116 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37117
37118 * sysdeps/unix/sysv/linux/kernel-features.h
37119 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37120 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37121 unconditional.
37122 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37123 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37124 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37125 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37126 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37127 Make code unconditional.
37128 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37129 (__mmap64) [!__NR_mmap2]: Likewise.
37130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37134 [__NR_mmap2]: Make code unconditional.
37135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37136 (__mmap64) [!__NR_mmap2]: Likewise.
37137
371382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37139
37140 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37141
371422012-08-18 Andreas Jaeger <aj@suse.de>
37143
37144 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37145
371462012-08-18 Mike Frysinger <vapier@gentoo.org>
37147
37148 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37149 * include/unistd.h (__have_sock_cloexec): Likewise.
37150 (__have_pipe2): Likewise.
37151 (__have_dup3): Likewise.
37152
371532012-08-18 Mike Frysinger <vapier@gentoo.org>
37154
37155 [BZ #9685]
37156 * include/unistd.h (__have_pipe2): Change define into an extern int.
37157 (__have_dup3): Likewise.
37158 * socket/have_sock_cloexec.c: Include fcntl.h.
37159 (__have_pipe2): New variable.
37160 (__have_dup3): Likewise.
37161
371622012-08-17 Mike Frysinger <vapier@gentoo.org>
37163
37164 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37165
371662012-08-17 Marek Polacek <polacek@redhat.com>
37167
37168 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37169 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37170
371712012-08-17 Roland McGrath <roland@hack.frob.com>
37172
37173 * configure.in: Add AC_SUBST for sysheaders.
37174 * configure: Regenerated.
37175 * config.make.in (sysheaders): New substituted variable.
37176
37177 * sysdeps/unix/mkfifo.c: Moved ...
37178 * sysdeps/posix/mkfifo.c: ... here.
37179 * sysdeps/unix/mkfifoat.c: Moved ...
37180 * sysdeps/posix/mkfifoat.c: ... here.
37181
37182 * sysdeps/unix/utime.c: Moved ...
37183 * sysdeps/posix/utime.c: ... here.
37184
37185 * sysdeps/unix/time.c: Moved ...
37186 * sysdeps/posix/time.c: ... here.
37187 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37188 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37189
37190 * sysdeps/unix/nice.c: Moved ...
37191 * sysdeps/posix/nice.c: ... here.
37192
37193 * sysdeps/unix/alarm.c: Moved ...
37194 * sysdeps/posix/alarm.c: ... here.
37195
37196 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37197
371982012-08-17 Jeff Law <law@redhat.com>
37199
37200 * intl/Makefile (codeset_mo): New variable.
37201 ($(codeset_mo)): New target.
37202 (tst-codeset.out): Depend on that. Remove explicit rule.
37203 (tst-gettext3.out, tst-gettext5.out): Likewise.
37204 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37205 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37206 * intl/tst-codeset.sh: Remove.
37207 * intl/tst-gettext3.sh: Likewise.
37208 * intl/tst-gettext5.sh: Likewise.
37209
372102012-08-17 Roland McGrath <roland@hack.frob.com>
37211
37212 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37213 * sysdeps/unix/syscalls.list: ... here.
37214
37215 * sysdeps/posix/getaddrinfo.c
37216 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37217 (gaiconf_init, gaiconf_reload): Use them.
37218 [!_STATBUF_ST_NSEC]
37219 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37220 Define using time_t rather than struct timespec.
37221
37222 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37223 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37224 Macros removed.
37225 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37226 [!NO_THREADS].
37227 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37228 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37229 Likewise.
37230
37231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37232 __libc_cleanup_push argument.
37233
37234 * bits/param.h: New file.
37235 * misc/sys/param.h: New file.
37236 * include/sys/param.h: New file.
37237 * misc/Makefile (headers): Add bits/param.h.
37238 * sysdeps/generic/sys/param.h: File removed.
37239 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37240 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37241 * sysdeps/mach/hurd/bits/param.h: New file.
37242 * sysdeps/mach/hurd/sys/param.h: File removed.
37243
37244 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37245 last change.
37246
37247 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37248 [_IO_MTSAFE_IO].
37249 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37250 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37251 New macros.
37252
37253 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37254 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37255 rather than -D_IO_MTSAFE_IO conditionally.
37256 * stdio-common/Makefile (CPPFLAGS): Likewise.
37257 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37258 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37259 Use $(libio-mtsafe).
37260 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37261 of -D_IO_MTSAFE_IO.
37262 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37263 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37264 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37265 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37266 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37267 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37268 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37269 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37270 (CFLAGS-fread_u_chk.c): Likewise.
37271 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37272 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37273 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37274 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37275 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37276 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37277 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37278 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37279 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37280
37281 * libio/Makefile: Test [$(libc-reentrant) = yes]
37282 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37283
37284 * Makeconfig
37285 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37286 * sysdeps/pthread/configure: File removed.
37287 * sysdeps/pthread/Makeconfig: New file.
37288 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37289 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37290
372912012-08-16 Gary Benson <gbenson@redhat.com>
37292
37293 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37294 unmapping the first object in a namespace.
37295
372962012-08-16 Roland McGrath <roland@hack.frob.com>
37297
37298 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37299 (__internal_setnetgrent): ... this. Add internal_function to
37300 definition. Add libc_hidden_def.
37301 (setnetgrent): Update caller.
37302 (internal_endnetgrent): Renamed to ...
37303 (__internal_endnetgrent): ... this. Add internal_function to
37304 definition. Add libc_hidden_def.
37305 (endnetgrent): Update caller.
37306 (internal_getnetgrent_r): Renamed to ...
37307 (__internal_getnetgrent_r): ... this. Add internal_function to
37308 definition. Add libc_hidden_def.
37309 (__getnetgrent_r): Update caller.
37310 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37311
373122012-08-16 Joseph Myers <joseph@codesourcery.com>
37313
37314 * stdlib/longlong.h: Update from GCC.
37315
373162012-08-16 Roland McGrath <roland@hack.frob.com>
37317
37318 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37319 on _QL, which is set by umul_ppmm but never used.
37320 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37321 variables, which are set by GMP macros but never used.
37322 * stdio-common/_itowa.c (_itowa): Likewise.
37323 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37324 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37325
373262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37327
37328 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37329 struct La_sh_regs is not constant.
37330 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37331 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37332 and struct La_sparc64_regs are not constant.
37333
373342012-08-16 Joseph Myers <joseph@codesourcery.com>
37335
37336 * sysdeps/unix/sysv/linux/kernel-features.h
37337 (__ASSUME_POSIX_TIMERS): Remove.
37338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37340 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37341 Make code unconditional.
37342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37343 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37344 Make code unconditional.
37345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37346 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37347 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37349 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37350 Make code unconditional.
37351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37353 (__libc_missing_posix_timers): Remove.
37354
373552012-08-15 Roland McGrath <roland@hack.frob.com>
37356
37357 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37358 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37359
37360 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37361
37362 * elf/dl-sym.c: Include <stdlib.h>.
37363
37364 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37365 constants, which avoids warnings in 32-bit builds.
37366
37367 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37368 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37369
37370 * misc/lseek.c: File moved to ...
37371 * io/lseek.c: ... here.
37372
37373 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37374
37375 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37376 shifting LEN more than 31 bits at once.
37377
373782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37379
37380 [BZ #14195]
37381 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37382 segmentation fault for a case of two empty input strings.
37383 * string/test-strncasecmp.c (check1): Renamed to...
37384 (bz12205): ...this.
37385 (bz14195): Add new testcase for two empty input strings and N > 0.
37386 (test_main): Call new testcase, adapt for renamed function.
37387
373882012-08-15 Andreas Jaeger <aj@suse.de>
37389
37390 [BZ #14090]
37391 * crypt/md5test2.c: New test, based on test supplied by Serge
37392 Belyshev <belyshev@depni.sinp.msu.ru>.
37393 * crypt/Makefile (xtests): Add md5test-giant..
37394 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37395
373962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37397
37398 [BZ #14090]
37399 * crypt/md5.c (md5_process_block): Don't assume the buffer
37400 length is less than 2**32.
37401 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37402 length is less than 2**64.
37403
374042012-08-15 Roland McGrath <roland@hack.frob.com>
37405
37406 * string/str-two-way.h: Include <sys/param.h>.
37407 (MAX): Macro removed.
37408
37409 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37410 Move #define and #undef of memmove to just before and after
37411 including <string.h>.
37412
37413 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37414 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37415 and after including <string.h>. Move declarations of
37416 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37417 to before #include "string/memmove.c".
37418
37419 * include/dirent.h: Declare __getdirentries.
37420
37421 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37422 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37423
374242012-08-14 Mike Frysinger <vapier@gentoo.org>
37425
37426 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37427 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37428 * sysdeps/i386/configure: Regenerated.
37429 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37430 STABS_CURRENT_FILE, and STABS_FUN.
37431 (END): Remove call to STABS_FUN_END.
37432 (STABS_CURRENT_FILE1): Delete.
37433 (STABS_CURRENT_FILE): Likewise.
37434 (STABS_FUN): Likewise.
37435 (STABS_FUN_END): Likewise.
37436 (STABS_FUN2): Likewise.
37437 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37438 * sysdeps/x86_64/configure: Regenerated.
37439
374402012-08-14 Roland McGrath <roland@hack.frob.com>
37441
37442 * elf/dl-open.c: Include <atomic.h>.
37443 * elf/dl-lookup.c: Likewise.
37444
374452012-08-14 Joseph Myers <joseph@codesourcery.com>
37446
37447 * sysdeps/unix/sysv/linux/kernel-features.h
37448 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37449 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37450 unconditionally.
37451 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37452 unconditionally.
37453 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37454 condition on __ASSUME_CLONE_THREAD_FLAGS.
37455
374562012-08-14 Andreas Jaeger <aj@suse.de>
37457
37458 * sysdeps/i386/fpu/libm-test-ulps: Update.
37459
374602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37461
37462 * include/atomic.h (atomic_exchange_and_add): Split into ...
37463 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37464 New atomic macros.
37465
374662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37467
37468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37469
374702012-08-13 Jeff Law <law@redhat.com>
37471
37472 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37473 null byte in the output string.
37474
374752012-08-10 Joseph Myers <joseph@codesourcery.com>
37476
37477 * sysdeps/unix/sysv/linux/kernel-features.h
37478 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37479 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37480 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37482 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37483 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37484 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37485
374862012-08-09 Jeff Law <law@redhat.com>
37487
37488 [BZ #13939]
37489 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37490 When avoid_arena is set, don't retry in the that arena. Pick the
37491 next one, whatever it might be.
37492 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37493 (arena_lock): Pass in new parameter to arena_get2.
37494 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37495 arena_get2.
37496 (__libc_malloc): Unify retrying after main arena failure with
37497 __libc_memalign version.
37498 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37499
375002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37501
37502 [BZ #14166]
37503 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37504 to __redirect_strstr.
37505 (__strstr_sse42): Use typeof __redirect_strstr.
37506 (__strstr_ia32): Likewise.
37507 (__libc_strstr): New prototype.
37508 (strstr): Renamed to ...
37509 (__libc_strstr): This.
37510 (strstr): New strong alias of __libc_strstr.
37511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37512 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37513 __redirect_time.
37514 Include <time.h>.
37515 (__libc_time): New prototype.
37516 (time_ifunc): Replace time with __libc_time.
37517 (time): New strong alias and hidden definition of __libc_time.
37518 (__GI_time): Remove strong alias.
37519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37520 Include <stddef.h>.
37521 (memmove): Redefined to __redirect_memmove.
37522 (__memmove_sse2): Use typeof __redirect_memmove.
37523 (__memmove_ssse3): Likewise.
37524 (__memmove_ssse3_back): Likewise.
37525 (__libc_memmove): New prototype.
37526 (memmove): Renamed to ...
37527 (__libc_memmove): This.
37528 (memmove): New strong alias of __libc_memmove.
37529
375302012-08-08 Mark Salter <msalter@redhat.com>
37531
37532 * elf/elf.h
37533 (R_MN10300_TLS_GD): Define.
37534 (R_MN10300_TLS_LD): Likewise.
37535 (R_MN10300_TLS_LDO): Likewise.
37536 (R_MN10300_TLS_GOTIE): Likewise.
37537 (R_MN10300_TLS_IE): Likewise.
37538 (R_MN10300_TLS_LE): Likewise.
37539 (R_MN10300_TLS_DTPMOD): Likewise.
37540 (R_MN10300_TLS_DTPOFF): Likewise.
37541 (R_MN10300_TLS_TPOFF): Likewise.
37542 (R_MN10300_SYM_DIFF): Likewise.
37543 (R_MN10300_ALIGN): Likewise.
37544 (R_MN10300_NUM): Update.
37545
375462012-08-08 Joseph Myers <joseph@codesourcery.com>
37547
37548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37549 Remove.
37550
375512012-08-08 Roland McGrath <roland@hack.frob.com>
37552
37553 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37554
37555 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37556 sysdeps/unix -> sysdeps/posix move.
37557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37558
375592012-08-07 Allan McRae <allan@archlinux.org>
37560
37561 [BZ #14303]
37562 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37563 (SUNOS_CPP): Likewise.
37564 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37565 not found.
37566 (open_input): Call CPP using execvp.
37567
375682012-08-07 Joseph Myers <joseph@codesourcery.com>
37569
37570 * sysdeps/unix/sysv/linux/kernel-features.h
37571 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37574 (__ASSUME_WAITID_SYSCALL): Likewise.
37575 * sysdeps/unix/sysv/linux/dl-execstack.c
37576 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37577 code unconditional.
37578 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37579 conditional code.
37580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37581 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37582 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37583 code.
37584 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37585 unconditional.
37586 [__ASSUME_WAITID_SYSCALL]: Likewise.
37587 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37588
375892012-08-07 Roland McGrath <roland@hack.frob.com>
37590
37591 * sysdeps/unix/closedir.c: Renamed to ...
37592 * sysdeps/posix/closedir.c: ... here.
37593 * sysdeps/unix/dirfd.c: Renamed to ...
37594 * sysdeps/posix/dirfd.c: ... here.
37595 * sysdeps/unix/dirstream.h: Renamed to ...
37596 * sysdeps/posix/dirstream.h: ... here.
37597 * sysdeps/unix/fdopendir.c: Renamed to ...
37598 * sysdeps/posix/fdopendir.c: ... here.
37599 * sysdeps/unix/opendir.c: Renamed to ...
37600 * sysdeps/posix/opendir.c: ... here.
37601 * sysdeps/unix/readdir.c: Renamed to ...
37602 * sysdeps/posix/readdir.c: ... here.
37603 * sysdeps/unix/readdir_r.c: Renamed to ...
37604 * sysdeps/posix/readdir_r.c: ... here.
37605 * sysdeps/unix/rewinddir.c: Renamed to ...
37606 * sysdeps/posix/rewinddir.c: ... here.
37607 * sysdeps/unix/seekdir.c: Renamed to ...
37608 * sysdeps/posix/seekdir.c: ... here.
37609 * sysdeps/unix/telldir.c: Renamed to ...
37610 * sysdeps/posix/telldir.c: ... here.
37611 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37612 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37614 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37615
37616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37617 * bits/fcntl.h: ... here.
37618
37619 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37620 not 0.
37621 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37622 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37623 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37624 (struct flock): Move l_start, l_len to the beginning.
37625 Use __pid_t for l_pid.
37626 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37627 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37628 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37629 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37630 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37631 [__USE_LARGEFILE64] (struct flock64): New type.
37632 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37633
37634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37635 * bits/dirent.h: ... here.
37636
37637 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37638 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37639
376402012-08-07 Joseph Myers <joseph@codesourcery.com>
37641
37642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37643 Change from 2.6.0 to 2.6.16.
37644 * sysdeps/unix/sysv/linux/configure: Regenerated.
37645 * sysdeps/unix/sysv/linux/kernel-features.h
37646 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37647 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37648 version.
37649 (__ASSUME_UTIMES): Likewise.
37650 (__ASSUME_CLONE_STOPPED): Remove.
37651 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37652 architectures, not kernel version.
37653 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37654 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37655 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37656 (__ASSUME_WAITID_SYSCALL): Likewise.
37657 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37658 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37659 * README: State 2.6.16 as minimum Linux kernel version. Do not
37660 refer to older versions.
37661
376622012-08-06 Roland McGrath <roland@hack.frob.com>
37663
37664 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37665 Define alphasort64 as an alias.
37666 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37667 Define versionsort64 as an alias.
37668 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37669 Define scandir64 as an alias.
37670 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37671 Define scandirat64 as an alias.
37672 * dirent/alphasort64.c (alphasort64):
37673 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37674 * dirent/versionsort64.c: Likewise.
37675 * dirent/scandir64.c: Likewise.
37676 * dirent/scandirat64.c: Likewise.
37677 * sysdeps/wordsize-64/alphasort.c: File removed.
37678 * sysdeps/wordsize-64/alphasort64.c: File removed.
37679 * sysdeps/wordsize-64/scandir.c: File removed.
37680 * sysdeps/wordsize-64/scandir64.c: File removed.
37681 * sysdeps/wordsize-64/scandirat.c: File removed.
37682 * sysdeps/wordsize-64/scandirat64.c: File removed.
37683 * sysdeps/wordsize-64/versionsort.c: File removed.
37684 * sysdeps/wordsize-64/versionsort64.c: File removed.
37685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37693
37694 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37696 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37698 [defined __arch64__ || defined __sparcv9]
37699 (__INO_T_MATCHES_INO64_T): New macro.
37700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37701 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37702 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37703 * sysdeps/unix/sysv/linux/bits/dirent.h
37704 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37705 (_DIRENT_MATCHES_DIRENT64): New macro.
37706
37707 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37708 Define lockf64 as an alias.
37709 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37710 Define fseeko64 as an alias.
37711 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37712 Define ftello64 as an alias.
37713 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37714 Define _IO_fgetpos64 and fgetpos64 as aliases.
37715 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37716 Define _IO_fsetpos64 and fsetpos64 as aliases.
37717 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37718 Conditionalize body on this.
37719 * libio/fseeko64.c: Likewise.
37720 * libio/ftello64.c: Likewise.
37721 * libio/iofgetpos64.c: Likewise.
37722 * libio/iofsetpos64.c: Likewise.
37723 * sysdeps/wordsize-64/lockf.c: File removed.
37724 * sysdeps/wordsize-64/lockf64.c: File removed.
37725 * sysdeps/wordsize-64/fseeko.c: File removed.
37726 * sysdeps/wordsize-64/fseeko64.c: File removed.
37727 * sysdeps/wordsize-64/ftello.c: File removed.
37728 * sysdeps/wordsize-64/ftello64.c: File removed.
37729 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37730 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37731 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37732 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37743
37744 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37746 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37748 [defined __arch64__ || defined __sparcv9]
37749 (__OFF_T_MATCHES_OFF64_T): New macro.
37750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37751 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37753 (__OFF_T_MATCHES_OFF64_T): New macro.
37754
377552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37756
37757 * stdlib/secure-getenv.c (__secure_getenv): Replace
37758 GLIBC_2_16 with GLIBC_2_17.
37759
377602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37761
37762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37764
377652012-08-03 David S. Miller <davem@davemloft.net>
37766
37767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37768
377692012-08-03 Joseph Myers <joseph@codesourcery.com>
37770
37771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37772 Remove.
37773 (__ASSUME_CORRECT_SI_PID): Likewise.
37774 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37775 (__ASSUME_TMPFS_NAME): Likewise.
37776 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37777 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37778 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37779 (HAVE_AUX_SECURE): Make definition unconditional.
37780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37781 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37782
377832012-08-03 Roland McGrath <roland@hack.frob.com>
37784
37785 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37786 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37787 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37789 __eloop_threshold instead of SYMLOOP_MAX.
37790
37791 * sysdeps/generic/eloop-threshold.h: New file.
37792 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37793 of MAXSYMLINKS.
37794 * elf/chroot_canon.c (chroot_canon): Likewise.
37795
377962012-08-03 Joseph Myers <joseph@codesourcery.com>
37797
37798 [BZ #13717]
37799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37800 Change to 2.6.0 everywhere.
37801 * sysdeps/unix/sysv/linux/configure: Regenerated.
37802 * sysdeps/unix/sysv/linux/kernel-features.h
37803 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37804 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37805 kernel versions.
37806 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37807 (__ASSUME_FUTEX_REQUEUE): Remove.
37808 (__ASSUME_STATFS64): Define unconditionally.
37809 (__ASSUME_AT_SECURE): Likewise.
37810 (__ASSUME_CORRECT_SI_PID): Likewise.
37811 (__ASSUME_TGKILL): Define without depending on kernel version for
37812 i386.
37813 (__ASSUME_UTIMES): Likewise.
37814 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37815 kernel version.
37816 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37817 (__ASSUME_TMPFS_NAME): Likewise.
37818 * README: Update reference to Linux kernel versions.
37819
378202012-08-02 Marek Polacek <polacek@redhat.com>
37821
37822 [BZ# 14150]
37823 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37824 libc_cv_asm_type_prefix with %.
37825 * configure: Regenerated.
37826 * include/libc-symbols.h: Remove comment about
37827 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37828 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37829 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37830 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37831 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37832 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37835 * elf/tst-unique2mod1.c: Likewise.
37836 * elf/tst-unique1mod2.c: Likewise.
37837 * elf/tst-unique1mod1.c: Likewise.
37838 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37839 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37840 Replace ASM_TYPE_DIRECTIVE with .type.
37841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37842 * sysdeps/i386/sysdep.h: Likewise.
37843 * sysdeps/x86_64/sysdep.h: Likewise.
37844 * sysdeps/sh/sysdep.h: Likewise.
37845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37846 Do not define ASM_TYPE_DIRECTIVE.
37847 * sysdeps/powerpc/sysdep.h: Likewise.
37848 * sysdeps/powerpc/powerpc32/sysdep.h:
37849 Replace ASM_TYPE_DIRECTIVE with .type.
37850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37852 * sysdeps/i386/fpu/e_powf.S: Likewise.
37853 * sysdeps/i386/fpu/e_expl.S: Likewise.
37854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37856 * sysdeps/i386/fpu/e_pow.S: Likewise.
37857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37861 * sysdeps/i386/fpu/e_log2.S: Likewise.
37862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37864 * sysdeps/i386/fpu/e_powl.S: Likewise.
37865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37867 * sysdeps/i386/fpu/e_logl.S: Likewise.
37868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37869 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37870 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37873 * sysdeps/i386/fpu/e_log.S: Likewise.
37874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37875 * sysdeps/i386/fpu/e_logf.S: Likewise.
37876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37879 * sysdeps/i386/fpu/e_log10.S: Likewise.
37880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37887 * sysdeps/i386/i686/strtok.S: Likewise.
37888 * sysdeps/i386/i386-mcount.S: Likewise.
37889 * sysdeps/i386/strtok.S: Likewise.
37890 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37894 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37899 * sysdeps/x86_64/_mcount.S: Likewise.
37900 * sysdeps/x86_64/strtok.S: Likewise.
37901 * sysdeps/sh/_mcount.S: Likewise.
37902
379032012-08-01 Roland McGrath <roland@hack.frob.com>
37904
37905 * libio/iofopen.c: Include <fcntl.h>.
37906 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37907 (_IO_fopen64, fopen64): Define as aliases.
37908 * libio/iofopen64.c: Include <fcntl.h>.
37909 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37910 Conditionalize body on this.
37911 * sysdeps/wordsize-64/iofopen.c: File removed.
37912 * sysdeps/wordsize-64/iofopen64.c: File removed.
37913
379142012-08-01 Marek Polacek <polacek@redhat.com>
37915
37916 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37917 Use dlfcn directly instead of a variable.
37918 (binfmt-subdir): Do not define.
37919 (dlfcn): Likewise.
37920
379212012-08-01 Joseph Myers <joseph@codesourcery.com>
37922
37923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37924 Remove all definitions.
37925 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37926 <kernel-features.h>.
37927 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37928 (miss_F_GETOWN_EX): Remove all definitions.
37929 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37930 macro definition.
37931 [!__ASSUME_FCNTL64]: Remove conditional code.
37932 [__ASSUME_FCNTL64]: Make code unconditional.
37933 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37934 <kernel-features.h>.
37935 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37936 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37937 (lockf64) [__NR_fcntl64]: Make code unconditional.
37938 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37939
37940 * sysdeps/unix/sysv/linux/kernel-features.h
37941 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37942 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37943 Make code unconditional.
37944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37947 [__NR_vfork]: Make code unconditional.
37948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37951 [__NR_vfork]: Make code unconditional.
37952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37954
379552012-08-01 Roland McGrath <roland@hack.frob.com>
37956
37957 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37958 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37959
37960 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37961 Define mkstemp64 as an alias.
37962 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37963 Define mkstemps64 as an alias.
37964 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37965 Define mkostemp64 as an alias.
37966 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37967 Define mkostemps64 as an alias.
37968 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37969 Conditionalize body on this.
37970 * misc/mkostemp64.c: Likewise.
37971 * misc/mkostemps64.c: Likewise.
37972 * misc/mkstemps64.c: Likewise.
37973 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37974 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37975 * sysdeps/wordsize-64/mkostemp.c: File removed.
37976 * sysdeps/wordsize-64/mkstemp.c: File removed.
37977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37981
37982 [BZ #14138]
37983 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37985 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37986 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37987
37988 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37989 compat_symbol macros from <shlib-compat.h> rather than the underlying
37990 default_symbol_version and symbol_version macros, so that DEFAULT
37991 lines in shlib-versions are respected.
37992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37993
379942012-08-01 Florian Weimer <fweimer@redhat.com>
37995
37996 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37997 Declare with warn_unused_result.
37998 (setgid, setregid, setegid, setresgid): Likewise.
37999 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38000 Likewise.
38001 * WUR-REPORT: Remove set*id functions.
38002
380032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38004
38005 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38006
380072012-07-31 Roland McGrath <roland@hack.frob.com>
38008
38009 [BZ #10191]
38010 * include/sys/socket.h (__libc_accept, __libc_accept4):
38011 Add attribute_hidden.
38012 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38013
38014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38015 use of PTR_MANGLE.
38016 * inet/getnetgrent_r.c (setup): Likewise.
38017
38018 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38019
380202012-07-31 David S. Miller <davem@davemloft.net>
38021
38022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38023
380242012-07-31 Joseph Myers <joseph@codesourcery.com>
38025
38026 [BZ #13629]
38027 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38028 value between 1.0 and 2.0 and smaller part has absolute value less
38029 than 1.0.
38030 * math/s_clog10.c (__clog10): Likewise.
38031 * math/s_clog10f.c (__clog10f): Likewise.
38032 * math/s_clog10l.c (__clog10l): Likewise.
38033 * math/s_clogf.c (__clogf): Likewise.
38034 * math/s_clogl.c (__clogl): Likewise.
38035 * math/libm-test.inc (clog_test): Add more tests.
38036 (clog10_test): Likewise.
38037 * sysdeps/i386/fpu/libm-test-ulps: Update.
38038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38039
380402012-07-31 Florian Weimer <fweimer@redhat.com>
38041
38042 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38043 Exit with zero in case no suitable GID is found, and write a
38044 message to standard error.
38045
380462012-07-30 Roland McGrath <roland@hack.frob.com>
38047
38048 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38049 rather than to 1.
38050 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38051 (MAXPATHLEN): Removed.
38052 (NOGROUP, NODEV): New macros.
38053 (setbit, clrbit, isset, isclr): New macros.
38054 (howmany, roundup, powerof2): New macros.
38055 (DEV_BSIZE): New macro.
38056
38057 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38058 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38059
38060 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38061 definition on [!__NO_LONG_DOUBLE_MATH].
38062
38063 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38064 PTR_MANGLE and PTR_DEMANGLE.
38065
38066 * socket/accept4.c (accept4): Rename to __libc_accept4.
38067 Define accept4 as a weak alias.
38068
38069 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38070 on [_DIRENT_HAVE_D_TYPE].
38071 * io/ftw.c (ftw_dir): Likewise.
38072
38073 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38074
38075 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38076
38077 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38078 Use the BSD numbers rather than the arbitrary ones we had.
38079 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38080 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38081 (SIGXCPU, SIGXFSZ): New macros.
38082 (_NSIG): Now 32.
38083
38084 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38085 initializer on [_LIBC_REENTRANT].
38086
38087 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38088 definitions inside [_POSIX_MAPPED_FILES].
38089
38090 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38091
38092 * dirent/opendir.c: Include <fcntl.h>.
38093
38094 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38095 (__libc_getspecific): Likewise.
38096 (__libc_key_create): Likewise.
38097
38098 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38099 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38100 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38101 (tmpfile64): Define as alias.
38102 * sysdeps/wordsize-64/tmpfile.c: File removed.
38103 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38106
38107 * stdio-common/vfscanf.c: Include <stdbool.h>.
38108 * nss/makedb.c: Likewise.
38109 * stdio-common/_i18n_number.h: Likewise.
38110 * argp/argp-help.c: Likewise.
38111 * posix/wordexp.c: Likewise.
38112 * sysdeps/posix/spawni.c: Likewise.
38113 * nss/nss_files/files-initgroups.c: Likewise.
38114 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38115 * nss/nss_files/files-initgroups.c: Likewise.
38116 * nss/nss_db/db-netgrp.c: Likewise.
38117 * nss/nss_db/db-initgroups.c: Likewise.
38118 * io/fchmodat.c: Include <sys/stat.h>.
38119
38120 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38121 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38122
38123 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38124 [HAVE_MMAP].
38125
38126 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38127 Add multiple inclusion protection.
38128
381292012-07-27 David S. Miller <davem@davemloft.net>
38130
38131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38132
381332012-07-27 Gary Benson <gbenson@redhat.com>
38134
38135 [BZ #14298]
38136 * elf/rtld.c: Include <stap-probe.h>.
38137 (dl_main): Added static probes "init_start" and "init_complete".
38138 * elf/dl-load.c: Include <stap-probe.h>.
38139 (lose): Take new parameter "nsid".
38140 Added static probe "map_failed".
38141 (_dl_map_object_from_fd): Pass namespace id to lose.
38142 Added static probe "map_start".
38143 (open_verify): Pass namespace id to lose.
38144 * elf/dl-open.c: Include <stap-probe.h>.
38145 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38146 and "reloc_complete".
38147 * elf/dl-close.c: Include <stap-probe.h>.
38148 (_dl_close_worker): Added static probes "unmap_start" and
38149 "unmap_complete".
38150 * elf/rtld-debugger-interface.txt: New file documenting the above.
38151
381522012-07-26 Roland McGrath <roland@hack.frob.com>
38153
38154 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38155 rather than a string variable.
38156 * sunrpc/rpc_main.c (h_output): Likewise.
38157 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38158
381592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38160
38161 * inet/check_native.c: New file.
38162
381632012-07-26 Joseph Myers <joseph@codesourcery.com>
38164
38165 [BZ #13629]
38166 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38167 if larger part has absolute value 1.0.
38168 * math/s_clog10.c (__clog10): Likewise.
38169 * math/s_clog10f.c (__clog10f): Likewise.
38170 * math/s_clog10l.c (__clog10l): Likewise.
38171 * math/s_clogf.c (__clogf): Likewise.
38172 * math/s_clogl.c (__clogl): Likewise.
38173 * math/libm-test.inc (clog_test): Add more tests.
38174 (clog10_test): Likewise.
38175 * sysdeps/i386/fpu/libm-test-ulps: Update.
38176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38177
38178 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38179 (pltexit): Likewise.
38180 (La_regs): Likewise.
38181 (La_retval): Likewise.
38182 (int_retval): Likewise.
38183 Update #error for removed macros to refer only to definitions in
38184 tst-audit.h.
38185 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38186 macro.
38187 (pltexit): Likewise.
38188 (La_regs): Likewise.
38189 (La_retval): Likewise.
38190 (int_retval): Likewise.
38191 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38192 macro.
38193 (pltexit): Likewise.
38194 (La_regs): Likewise.
38195 (La_retval): Likewise.
38196 (int_retval): Likewise.
38197 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38198 macro.
38199 (pltexit): Likewise.
38200 (La_regs): Likewise.
38201 (La_retval): Likewise.
38202 (int_retval): Likewise.
38203 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38204 macro.
38205 (pltexit): Likewise.
38206 (La_regs): Likewise.
38207 (La_retval): Likewise.
38208 (int_retval): Likewise.
38209 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38210 macro.
38211 (pltexit): Likewise.
38212 (La_regs): Likewise.
38213 (La_retval): Likewise.
38214 (int_retval): Likewise.
38215 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38216 macro.
38217 (pltexit): Likewise.
38218 (La_regs): Likewise.
38219 (La_retval): Likewise.
38220 (int_retval): Likewise.
38221 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38222 macro definitions in tst-audit.h.
38223 * sysdeps/i386/tst-audit.h: New file.
38224 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38225 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38226 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38227 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38228 * sysdeps/sh/tst-audit.h: Likewise.
38229 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38230 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38231 * sysdeps/x86_64/tst-audit.h: Likewise.
38232
382332012-07-26 Andreas Jaeger <aj@suse.de>
38234
38235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38236 ptrace.
38237
38238 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38239 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38240 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38241 PTRACE_O_MASK.
38242 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38243 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38244 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38245
38246 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38247 value.
38248
38249 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38250 _sigsys.
38251 (si_call_addr, si_syscall, si_arch): Define new macro.
38252 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38253 _sigsys.
38254 (si_call_addr, si_syscall, si_arch): Define new marcro.
38255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38256 _sigsys.
38257 (si_call_addr, si_syscall, si_arch): Define new macro.
38258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38259 _sigsys.
38260 (si_call_addr, si_syscall, si_arch): Define new macro.
38261
382622012-07-25 Joseph Myers <joseph@codesourcery.com>
38263
38264 [BZ #13717]
38265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38266 Change to 2.4.21 where previously 2.4.1.
38267 * sysdeps/unix/sysv/linux/configure: Regenerated.
38268 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38269 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38270 Linux kernel version.
38271 (__ASSUME_STD_AUXV): Remove.
38272 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38273 kernel version.
38274 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38275 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38276 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38277 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38278 (__ASSUME_NETLINK_SUPPORT): Likewise.
38279 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38280 (__no_netlink_support): Remove conditional definition.
38281 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38282 Remove.
38283 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38284 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38286 (if_nameindex_ioctl): Remove.
38287 (if_nameindex_netlink): Do not handle __no_netlink_support.
38288 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38289 code.
38290 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38291 Remove conditional code.
38292 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38293 code.
38294 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38295 unconditional.
38296 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38297 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38298 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38299 Remove.
38300 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38301 [!__ASSUME_STD_AUXV]: Remove conditional code.
38302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38303 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38304 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38306 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38308 code.
38309 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38313 conditional code.
38314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38317 code.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38320 conditional code.
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38322 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38323 code unconditional.
38324 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38325 conditional code.
38326 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38327 unconditional.
38328 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38329 conditional code.
38330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38331 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38332 unconditional.
38333 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38334 conditional code.
38335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38336 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38337 code unconditional.
38338 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38339 conditional code.
38340 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38341 unconditional.
38342 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38343 conditional code.
38344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38345 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38346 code unconditional.
38347 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38348 conditional code.
38349 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38350 unconditional.
38351 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38352 conditional code.
38353
383542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38355
38356 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38359 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38360 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38363 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38364 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38365 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38366 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38367 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38368 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38369 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38372 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38374 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38376 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38377 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38379
383802012-07-25 Florian Weimer <fweimer@redhat.com>
38381
38382 * Versions.def: Add GLIBC_2.17.
38383 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38384 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38385 Introduce __libc_secure_getenv.
38386 * stdlib/Versions (2.17): Add secure_getenv
38387 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38388 * stdlib/secure-getenv.c: Rename __secure_getenv to
38389 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38390 symbol __secure_getenv for GLIBC_2.0.
38391 * stdlib/tst-secure-getenv.c: New.
38392 * stdlib/Makefile (tests): Add testcase.
38393 * manual/startup.texi (Environment Access): Document
38394 secure_getenv.
38395 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38396 __libc_secure_getenv.
38397 * inet/ruserpass.c (ruserpass): Likewise.
38398 * malloc/mtrace.c (mtrace): Likewise.
38399 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38400 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38401 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38402 * sysdeps/posix/tempname.c: Likewise. Evaluate
38403 HAVE_SECURE_GETENV.
38404 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38405 __secure_getenv to __libc_secure_getenv.
38406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38408 Likewise.
38409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38410 Likewise.
38411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38418
384192012-07-25 Joseph Myers <joseph@codesourcery.com>
38420
38421 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38422 (struct La_i86_retval): Likewise.
38423 (struct La_x86_64_regs): Likewise.
38424 (struct La_x86_64_retval): Likewise.
38425 (struct La_x32_regs): Likewise.
38426 (struct La_x32_retval): Likewise.
38427 (struct La_ppc32_regs): Likewise.
38428 (struct La_ppc32_retval): Likewise.
38429 (struct La_ppc64_regs): Likewise.
38430 (struct La_ppc64_retval): Likewise.
38431 (struct La_sh_regs): Likewise.
38432 (struct La_sh_retval): Likewise.
38433 (struct La_s390_32_regs): Likewise.
38434 (struct La_s390_32_retval): Likewise.
38435 (struct La_s390_64_regs): Likewise.
38436 (struct La_s390_64_retval): Likewise.
38437 (struct La_sparc32_regs): Likewise.
38438 (struct La_sparc32_retval): Likewise.
38439 (struct La_sparc64_regs): Likewise.
38440 (struct La_sparc64_retval): Likewise.
38441 (struct audit_ifaces): Remove architecture-specific pltenter and
38442 pltexit members.
38443 * sysdeps/i386/ldsodefs.h: New file.
38444 * sysdeps/powerpc/ldsodefs.h: Likewise.
38445 * sysdeps/s390/ldsodefs.h: Likewise.
38446 * sysdeps/sh/ldsodefs.h: Likewise.
38447 * sysdeps/sparc/ldsodefs.h: Likewise.
38448 * sysdeps/x86_64/ldsodefs.h: Likewise.
38449
384502012-07-25 Marek Polacek <polacek@redhat.com>
38451
38452 [BZ #6808]
38453 * math/libm-test.inc (yn_test): Add another test.
38454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38455 to ERANGE when the result is +-Inf.
38456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38460
384612012-07-24 Joseph Myers <joseph@codesourcery.com>
38462
38463 * conform/data/time.h-data (NULL): Use macro-constant. Require
38464 equal to 0.
38465 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38466 clock_t.
38467 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38468
384692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38470
38471 * configure.in <sysdeps resolving>: Correct printing
38472 Implies_before.
38473 * configure: Regenerate.
38474
384752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38476
38477 * math/w_ilogb.c: Include <limits.h>.
38478 * math/w_ilogbl.c: Likewise.
38479
384802012-07-20 Joseph Myers <joseph@codesourcery.com>
38481
38482 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38483 va_copy. Document allowing for unavailable va_copy only as
38484 pre-C99 compatibility.
38485 * manual/string.texi (Copying and Concatenation): Use va_copy
38486 instead of __va_copy in concat example.
38487
384882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38489
38490 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38491 (__sendto): Use create_address_port. Initialize APORT and deallocate
38492 it if not null.
38493
38494 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38495 with O_NOLINK passed to __file_name_lookup.
38496
38497 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38498 with O_NOLINK passed to __file_name_lookup.
38499
38500 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38501 negative N or less than NGIDS.
38502
38503 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38504 type to string_t. Set ERANGE as errno and return it if NAME is not big
38505 enough. Use memcpy instead of strncpy.
38506
385072012-07-20 Joseph Myers <joseph@codesourcery.com>
38508
38509 * elf/Makefile (check-data): Remove.
38510 (localplt.data): New vpath directive.
38511 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38512 instead of $(check-data).
38513 * scripts/data/localplt-generic.data: Move to ...
38514 * sysdeps/generic/localplt.data: ... here.
38515 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38516 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38517 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38519 ... here.
38520 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38522 ... here.
38523 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38525 ... here.
38526 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38528 ... here.
38529 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38531 ... here.
38532 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38534 ... here.
38535
385362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38537
38538 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38539 PPC32 and PPC64 files.
38540 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38541 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38542
385432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38544
38545 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38546 __makecontext_ret to ...
38547 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38548 ... here and call exit if uc_link is NULL. New file.
38549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38550 __makecontext_ret.S.
38551 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38552 __makecontext_ret to ...
38553 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38554 ... here and call exit if uc_link is NULL. New file.
38555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38556 __makecontext_ret.S.
38557
385582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38559
38560 * elf/elf.h (R_390_IRELATIVE): New definition.
38561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38562 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38563 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38565 (elf_machine_lazy_rel): Likewise.
38566 * sysdeps/s390/dl-irel.h: New file.
38567 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38568 * sysdeps/s390/s390-64/memset.S: New asm code.
38569 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38570 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38571 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38572 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38573 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38574 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38576 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38577 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38578 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38579 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38580 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38581 * sysdeps/s390/s390-32/memset.S: New asm code.
38582 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38583
385842012-07-17 Marek Polacek <polacek@redhat.com>
38585
38586 [BZ #14349]
38587 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38588 * sysdeps/s390/s390-64/configure.in: Likewise.
38589 * sysdeps/sparc/configure.in: Likewise.
38590 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38591 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38592 * sysdeps/i386/configure.in: Likewise.
38593 * sysdeps/x86_64/configure.in: Likewise.
38594 * sysdeps/sh/configure.in: Likewise.
38595 * sysdeps/s390/s390-32/configure: Regenerated.
38596 * sysdeps/s390/s390-64/configure: Likewise.
38597 * sysdeps/x86_64/configure: Likewise.
38598 * sysdeps/sh/configure: Likewise.
38599 * sysdeps/powerpc/powerpc64/configure: Likewise.
38600 * sysdeps/powerpc/powerpc32/configure: Likewise.
38601 * sysdeps/sparc/configure: Likwise.
38602 * sysdeps/i386/configure: Likewise.
38603
38604 * elf/dl-open.c: Comment fixes.
38605
386062012-07-17 Joseph Myers <joseph@codesourcery.com>
38607
38608 * Makefile [CXX] (check-data): Remove.
38609 [CXX] (c++-types.data): New vpath directive.
38610 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38611 vpath. Do not allow for C++ type data being missing.
38612 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38613 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38614 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38615 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38616 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38617 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38618 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38620 ... here.
38621 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38623 ... here.
38624 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38626 ... here.
38627 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38629 ... here.
38630 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38632 ... here.
38633 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38635 ... here.
38636 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38638 ... here.
38639 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38641
38642 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38643 definitions to architecture-specific files.
38644 (TLS_IE): Likewise.
38645 (TLS_LD): Likewise.
38646 (TLS_GD): Likewise.
38647 * sysdeps/i386/tls-macros.h: New file.
38648 * sysdeps/powerpc/tls-macros.h: Likewise.
38649 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38650 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38651 * sysdeps/sh/tls-macros.h: Likewise.
38652 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38653 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38654 * sysdeps/x86_64/tls-macros.h: Likewise.
38655
386562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38657
38658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38659 zero value for regular exit case.
38660
38661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38662 (__start_context): Preserve zero value for regular exit case.
38663
386642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38665 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38666
38667 * manual/setjmp.texi (setcontext): Clarify normal process
38668 termination when uc_link is the null pointer.
38669 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38670 exit call.
38671
386722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38673
38674 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38675 preprocessor. Test for each exception mask separately.
38676
386772012-07-16 Andreas Jaeger <aj@suse.de>
38678
38679 * po/ru.po: Update from translation team.
38680
386812012-07-15 Joseph Myers <joseph@codesourcery.com>
38682
38683 * conform/data/string.h-data (NULL): Use macro-constant. Require
38684 equal to 0.
38685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38687 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38688 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38690
386912012-07-13 Andreas Jaeger <aj@suse.de>
38692
38693 * po/fr.po: Update from translation team.
38694
386952012-07-12 Marek Polacek <polacek@redhat.com>
38696
38697 [BZ #14173]
38698 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38700 loop condition.
38701
387022012-07-12 Joseph Myers <joseph@codesourcery.com>
38703
38704 [BZ #13717]
38705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38706 Change to 2.4.1 where previously 2.4.0.
38707 * sysdeps/unix/sysv/linux/configure: Regenerated.
38708 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38709 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38710 version.
38711 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38712 (__ASSUME_AT_CLKTCK): Remove.
38713 (__ASSUME_AT_PAGESIZE): Likewise.
38714 (__ASSUME_AT_XID): Likewise.
38715 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38716 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38717 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38718 unconditionally.
38719 (HAVE_AUX_PAGESIZE): Likewise.
38720 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38721 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38722 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38723
387242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38725
38726 [BZ #14307]
38727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38728 the temporary buffer used to invoke __gethostbyname2_r,
38729 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38730 host_data / struct gaih_addrtuple.
38731 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38732 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38733 header file nss/nsswitch.h.
38734 * nss/nsswitch.h (global scope): Add definition of implementation
38735 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38736 resolv/nss_dns/dns-host.c).
38737
387382012-07-11 Andreas Jaeger <aj@suse.de>
38739
38740 * po/fr.po: Update from translation team.
38741
38742 * po/sv.po: Update from translation team
38743 * po/fr.po: Another update from translation team.
38744
387452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38746
38747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38748 for subnormals or multiply small sinh result by itself.
38749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38751
387522012-07-11 David S. Miller <davem@davemloft.net>
38753
38754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38755
387562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38757
38758 [BZ #14347]
38759 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38760 (INTERNAL_MARK): Shift it here.
38761
387622012-07-10 Marek Polacek <polacek@redhat.com>
38763
38764 [BZ #14151]
38765 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38766 libc_cv_asm_global_directive with .globl.
38767 * configure: Regenerated.
38768 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38769 with .globl.
38770 * sysdeps/i386/configure: Regenerated.
38771 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38772 with .globl.
38773 * sysdeps/x86_64/configure: Regenerated.
38774 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38775 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38776 * elf/tst-unique2mod2.c: Likewise.
38777 * elf/tst-unique2mod1.c: Likewise.
38778 * elf/tst-unique1mod2.c: Likewise.
38779 * elf/tst-unique1mod1.c: Likewise.
38780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38784 * sysdeps/mach/sysdep.h: Likewise.
38785 * sysdeps/i386/sysdep.h: Likewise.
38786 * sysdeps/i386/i386-mcount.S: Likewise.
38787 * sysdeps/x86_64/_mcount.S: Likewise.
38788 * sysdeps/x86_64/sysdep.h: Likewise.
38789 * sysdeps/sh/_mcount.S: Likewise.
38790 * sysdeps/sh/sysdep.h: Likewise.
38791 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38792 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38793 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38795 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38796 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38797 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38798 * locale/localeinfo.h: Likewise.
38799 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38800 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38801
388022012-07-09 Roland McGrath <roland@hack.frob.com>
38803
38804 [BZ #14336]
38805 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38806 system".
38807 * manual/message.texi (The Uniforum approach): Likewise.
38808 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38809 (glibc iconv Implementation): Likewise.
38810
388112012-07-09 Joseph Myers <joseph@codesourcery.com>
38812
38813 [BZ #14337]
38814 * math/s_clog.c (__clog): Avoid scaling a value down where that
38815 could result in underflow.
38816 * math/s_clog10.c (__clog10): Likewise.
38817 * math/s_clog10f.c (__clog10f): Likewise.
38818 * math/s_clog10l.c (__clog10l): Likewise.
38819 * math/s_clogf.c (__clogf): Likewise.
38820 * math/s_clogl.c (__clogl): Likewise.
38821 * math/libm-test.inc (clog_test): Add more tests.
38822 (clog10_test): Likewise.
38823 * sysdeps/i386/fpu/libm-test-ulps: Update.
38824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38825
388262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38827
38828 [BZ #14283]
38829 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38830 by 7 not 8 to examine high bit of fractional part.
38831
38832 [BZ #14042]
38833 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38834 for call to __mcount_internal.
38835 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38836 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38837 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38838
388392012-07-06 Joseph Myers <joseph@codesourcery.com>
38840
38841 [BZ #14154]
38842 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38843 approximation for values within 0x1p-13f of an odd multiple of
38844 pi/4.
38845 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38846 exception. Add more tests.
38847 * sysdeps/i386/fpu/libm-test-ulps: Update.
38848
38849 [BZ #6778]
38850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38851 inputs and return -1 for them. Do not check for +Inf in case not
38852 reachable for +Inf.
38853 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38854 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38856 and return -1 for them. Do not check for +Inf in case not
38857 reachable for +Inf.
38858 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38859 define.
38860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38861 and return -1 for them. Do not check for +Inf in case not
38862 reachable for +Inf.
38863 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38864 spurious underflow.
38865 * sysdeps/i386/fpu/libm-test-ulps: Update.
38866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38867
388682012-07-06 Mike Frysinger <vapier@gentoo.org>
38869
38870 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38871
388722012-07-05 Joseph Myers <joseph@codesourcery.com>
38873
38874 [BZ #14157]
38875 [BZ #14331]
38876 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38877 could result in spurious underflow. Scale down values above
38878 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38879 * math/s_csqrtf.c (__csqrtf): Likewise.
38880 * math/s_csqrtl.c (__csqrtl): Likewise.
38881 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38882 spurious underflow.
38883 * sysdeps/i386/fpu/libm-test-ulps: Update.
38884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38885
388862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38887
38888 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38889 xopen-msg.sed.
38890 * catgets/xopen-msg.awk: New file.
38891 * catgets/xopen-msg.sed: Removed.
38892
38893 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38894 po2text.sed.
38895 * intl/po2test.awk: New file.
38896 * intl/po2test.sed: Removed.
38897
388982012-07-04 Joseph Myers <joseph@codesourcery.com>
38899
38900 [BZ #14328]
38901 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38902 or multiply small sinh result by itself.
38903 * math/s_ctanf.c (__ctanf): Likewise.
38904 * math/s_ctanh.c (__ctanh): Likewise.
38905 * math/s_ctanhf.c (__ctanhf): Likewise.
38906 * math/s_ctanhl.c (__ctanhl): Likewise.
38907 * math/s_ctanl.c (__ctanl): Likewise.
38908 * math/libm-test.inc (ctan_test_tonearest): New function.
38909 (ctan_test_towardzero): Likewise.
38910 (ctan_test_downward): Likewise.
38911 (ctan_test_upward): Likewise.
38912 (ctanh_test_tonearest): Likewise.
38913 (ctanh_test_towardzero): Likewise.
38914 (ctanh_test_downward): Likewise.
38915 (ctanh_test_upward): Likewise.
38916 (main): Call these new functions.
38917 * sysdeps/i386/fpu/libm-test-ulps: Update.
38918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38919
389202012-07-03 Mike Frysinger <vapier@gentoo.org>
38921
38922 * .gitignore: Delete /ports entry.
38923
389242012-07-03 Andreas Jaeger <aj@suse.de>
38925
38926 * po/bg.po: Update from translation team.
38927 * po/cs.po: Likewise.
38928 * po/de.po: Likewise.
38929 * po/hr.po: Likewise.
38930 * po/nl.pl: Likewise.
38931 * po/pl.po: Likewise.
38932 * po/vi.po: Likewise.
38933
389342012-07-03 Joseph Myers <joseph@codesourcery.com>
38935
38936 * Makeconfig [!+link] (+link-before-libc): New variable.
38937 [!+link] (+link-after-libc): Likewise.
38938 [!+link] (+link-tests): Likewise.
38939 [!+link] (+link): Define in terms of $(+link-before-libc) and
38940 $(+link-after-libc).
38941 [!+link-static] (+link-static-before-libc): New variable.
38942 [!+link-static] (+link-static-after-libc): Likewise.
38943 [!+link-static] (+link-static-tests): Likewise.
38944 [!+link-static] (+link-static): Define in terms of
38945 $(+link-static-before-libc) and $(+link-static-after-libc).
38946 [build-shared] (link-libc-before-gnulib): New variable.
38947 [build-shared] (link-libc-tests): Likewise.
38948 [build-shared] (link-libc): Define in terms of
38949 $(link-libc-before-gnulib).
38950 [!build-shared] (link-libc-tests): New variable.
38951 (link-libc-static-tests): New variable.
38952 [!gnulib] (gnulib-arch): New variable.
38953 [!gnulib] (gnulib-tests): Likewise.
38954 [!gnulib] (static-gnulib-arch): Likewise.
38955 [!gnulib] (static-gnulib-tests): Likewise.
38956 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38957 Define with "=" instead of ":=".
38958 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38959 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38960 * Rules (binaries-all-notests): New variable.
38961 (binaries-all-tests): Likewise.
38962 (binaries-static-notests): Likewise.
38963 (binaries-static-tests): Likewise.
38964 (binaries-all): Define using $(binaries-all-notests) and
38965 $(binaries-all-tests).
38966 (binaries-static): Define using $(binaries-static-notests) and
38967 $(binaries-static-tests).
38968 (binaries-shared-tests): New variable.
38969 (binaries-shared-notests): Likewise.
38970 (binaries-shared): Remove variable.
38971 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38972 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38973 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38974 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38975 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38976 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38977 * elf/Makefile (sln-modules): New variable.
38978 (extra-objs): Add $(sln-modules:=.o).
38979 (ldconfig-modules): Add static-stubs.
38980 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38981 * elf/static-stubs.c: New file.
38982
38983 [BZ #14283]
38984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38985 by 7 not 8 to examine high bit of fractional part. Use volatile
38986 variables when splitting into final array of floats if
38987 __FLT_EVAL_METHOD__ != 0.
38988 * math/libm-test.inc (cos_test): Add another test.
38989 (sin_test): Likewise.
38990 * sysdeps/i386/fpu/libm-test-ulps: Update.
38991
38992 [BZ #14273]
38993 * math/libm-test.inc (cosh_test): Add more tests.
38994
38995 * version.h (RELEASE): Set to "development".
38996 (VERSION): Set to "2.16.90".
38997
389982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38999
39000 * NEWS: Update copyright. Remove last-updated date.
39001 Mention math library bug fixes and timezone data changes.
39002 * README: Mention GNU/Hurd, x32, and HPPA support status.
39003
390042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39005
39006 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39007
390082012-06-27 Andreas Jaeger <aj@suse.de>
39009
39010 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39011
390122012-06-25 Andreas Jaeger <aj@suse.de>
39013
39014 * sysdeps/s390/fpu/libm-test-ulps: Update.
39015
390162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39017 Thomas Schwinge <thomas@codesourcery.com>
39018
39019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39020 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39022 fanotify_mark.
39023
390242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39025
39026 * sysdeps/mach/start.c: Remove file.
39027 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39028 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39029 * sysdeps/sh/init-first.c: Likewise.
39030
39031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39032 registers for frame unwinding purposes, add CFI directives.
39033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39035 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39036 Likewise.
39037
39038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39039 __fortify_fail returning.
39040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39041
39042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39043 sysdeps/sh/____longjmp_chk.S.
39044 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39045 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39046 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39047 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39048
39049 * sysdeps/sh/abort-instr.h: New file.
39050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39051 process in case exit returns.
39052
39053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39054 initialize the GOT register before use.
39055
39056 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39057 calculation of ARGC > 4.
39058
39059 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39060 meaningful names to some local labels.
39061
390622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39063 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39064
39065 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39066 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39067 (__arch_compare_and_exchange_val_16_acq): Likewise.
39068 (__arch_compare_and_exchange_val_32_acq): Likewise.
39069 (atomic_exchange_and_add): Fix gUSA sequence.
39070 (atomic_add): Likewise.
39071 (atomic_add_negative): Likewise.
39072 (atomic_add_zero): Likewise.
39073 (atomic_bit_test_set): Likewise.
39074
390752012-06-22 Andreas Schwab <schwab@redhat.com>
39076
39077 [BZ #13579]
39078 * include/link.h (struct link_map): Add l_free_initfini.
39079 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39080 l_initfini.
39081 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39082 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39083 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39084 set.
39085
390862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39087
39088 * configure.in: Use AC_LANG_SOURCE.
39089 * configure: Regenerate.
39090
390912012-06-22 Roland McGrath <roland@hack.frob.com>
39092
39093 * configure.in (libc_cv_localstatedir): New substituted variable.
39094 * configure: Regenerated.
39095 * config.make.in (localstatedir): New variable, substituted from
39096 libc_cv_localstatedir.
39097 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39098 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39099 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39100 * sysdeps/gnu/configure: Regenerated.
39101
391022012-06-21 Jeff Law <law@redhat.com>
39103
39104 [BZ #14277]
39105 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39106 free. Simplify list management for _LIBC case.
39107
391082012-06-21 Joseph Myers <joseph@codesourcery.com>
39109
39110 [BZ #14273]
39111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39112 Clear sign bit of 64-bit integer value before comparing against
39113 overflow value.
39114
39115 * sysdeps/mach/configure: Regenerated.
39116
391172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39118
39119 [BZ #14278]
39120 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39121
391222012-06-21 Jeff Law <law@redhat.com>
39123
39124 [BZ #13882]
39125 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39126 uint16_t for elements in the "seen" array to avoid char overflows.
39127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39128 * elf/dl-open.c (dl_open_worker): Likewise.
39129
391302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39131
39132 * scripts/list-sources.sh: Scan PORTS for translations.
39133 * po/libc.pot: Regenerated.
39134
391352012-06-21 Andreas Jaeger <aj@suse.de>
39136
39137 [BZ #12194]
39138 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39139 warning.
39140 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39141 * bits/byteswap-16.h (__bswap_16): Likewise.
39142 * bits/byteswap.h (__bswap_constant_16): Likewise.
39143
391442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39145
39146 [BZ #14117]
39147 * sysdeps/i386/fpu_control.h: Removed.
39148 * sysdeps/x86_64/fpu_control.h: Moved to ...
39149 * sysdeps/x86/fpu_control.h: Here.
39150
39151 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39152 (_FPU_SETCW): Likewise.
39153
391542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39155
39156 [BZ #14117]
39157 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39158 * sysdeps/x86/fpu/bits/mathinline.h: This.
39159 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39160
39161 [BZ #14050]
39162 [BZ #14117]
39163 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39164 functions if __x86_64__ is defined.
39165
391662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39167
39168 * string/endian.h: Add !__ASSEMBLER__ condition for including
39169 conversion interfaces.
39170
391712012-06-15 Joseph Myers <joseph@codesourcery.com>
39172
39173 [BZ #14241]
39174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39175 of ABS(x) in calculating zero to negative powers other than odd
39176 integers.
39177 * math/libm-test.inc (pow_test): Add more tests.
39178
391792012-06-15 Andreas Jaeger <aj@suse.de>
39180
39181 * manual/contrib.texi (Contributors): Update entry of Liubov
39182 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39183 Machado Filho.
39184
391852012-06-15 Cyril Hrubis <metan@ucw.cz>
39186
39187 * string/string.h: Add __wur to GNU version of strerror_r.
39188
391892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39190
39191 [BZ #14229]
39192 * string/Makefile (tests): Add tst-strtok_r.
39193 * string/tst-strtok_r.c: New file.
39194 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39195 RAX_LP/RDX_LP on SAVE_PTR.
39196
391972012-06-14 Roland McGrath <roland@hack.frob.com>
39198
39199 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39200
392012012-06-14 Joseph Myers <joseph@codesourcery.com>
39202
39203 * libm_test.inc (csqrt_test): Allow more spurious underflow
39204 exceptions.
39205 (j0_test): Likewise.
39206 (j1_test): Likewise.
39207 (y0_test): Likewise.
39208 (y1_test): Likewise.
39209
392102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39211
39212 * po/Makefile (libc.pot): Use UTF-8 charset.
39213
392142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39215
39216 [BZ #14210]
39217 Suppress sign-conversion warning from FD_SET.
39218 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39219 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39220 not unsigned long int.
39221 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39222
392232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39224
39225 [BZ #14050]
39226 [BZ #14117]
39227 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39228 __extern_always_inline instead of __extern_inline.
39229 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39230 (__signbit): Likewise.
39231 (__signbitl): Support C++ namespace.
39232 (lrintf): New inline function.
39233 (lrint): Likewise.
39234 (llrintf): Likewise.
39235 (llrint): Likewise.
39236 (fmaxf): Likewise.
39237 (fmax): Likewise.
39238 (fminf): Likewise.
39239 (fmin): Likewise.
39240 (rint): Likewise.
39241 (rintf): Likewise.
39242 (ceil): Likewise.
39243 (ceilf): Likewise.
39244 (floor): Likewise.
39245 (floorf): Likewise.
39246 (nearbyint): Likewise.
39247 (nearbyintf): Likewise.
39248
392492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39250
39251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39252 non-default versions.
39253
392542012-06-11 Roland McGrath <roland@hack.frob.com>
39255
39256 [BZ #14218]
39257 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39258
392592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39260
39261 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39262 (FE_UPWARD, FE_DOWNWARD): Don't define.
39263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39265
39266 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39267 reading it.
39268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39270
392712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39272
39273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39276 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39277
392782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39279
39280 [BZ #14117]
39281 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39282 * sysdeps/i386/fpu/Implies: New file.
39283 * sysdeps/x86_64/fpu/Implies: Likewise.
39284 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39285 * sysdeps/x86/fpu/bits/fenv.h: This.
39286
39287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39288 __SSE_MATH__.
39289
392902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39291
39292 [BZ #14134]
39293 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39294 character 0xffff that matches the last element of the
39295 conversion table.
39296
392972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39298
39299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39300 fmodl commit.
39301
393022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39303
39304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39305 values higher than 25.6283.
39306
393072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39308
39309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39310 subnormal exponent extraction and add some __builtin_expect.
39311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39312 Fix for subnormal mantissa calculation.
39313
393142012-06-04 Mike Frysinger <vapier@gentoo.org>
39315
39316 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39317 cpu2 is -1 and errno is not ENOSYS.
39318
393192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39320
39321 [BZ #14117]
39322 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39323 * sysdeps/x86/bits/string.h: This.
39324 * sysdeps/x86_64/bits/string.h: Removed.
39325
39326 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39327 if not compiling for x86-64, but compiling for >= i486.
39328
39329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39330 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39331
39332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39333 New macro from Linux kernel 3.4.0.
39334 (FP_XSTATE_MAGIC2): Likewise.
39335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39336 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39337 (struct _fpx_sw_bytes): New struct.
39338 (struct _xsave_hdr): Likewise.
39339 (struct _ymmh_state): Likewise.
39340 (struct _xstate): Likewise.
39341
39342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39343 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39345 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39347 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39348
39349 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39351 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39352 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39353 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39354 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39355
393562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39357
39358 [BZ #13743]
39359 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39360 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39361 (sysdep_headers): Include sys/platform/ppc.h.
39362 * sysdeps/powerpc/test-gettimebase.c: Test for
39363 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39364 * manual/Makefile (appendices): Include platform.texi.
39365 * manual/contrib.texi (Contributors): Update @node pointers.
39366 * manual/maint.texi (Maintenance): Likewise.
39367 (Platform): New node.
39368 * manual/platform.texi: New file. Document the new features.
39369
393702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39371 Jakub Jelinek <jakub@redhat.com>
39372
39373 [BZ #14188]
39374 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39375 where __builtin_expect is unavailable.
39376
393772012-06-03 David S. Miller <davem@davemloft.net>
39378
39379 * stdlib/longlong.h: Updated from GCC.
39380
393812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39382
39383 [BZ #14042]
39384 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39385 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39386 __mcount_internal.
39387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39388 (GLIBC_2.16): Likewise.
39389
393902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39391
39392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39393
393942012-06-01 Joseph Myers <joseph@codesourcery.com>
39395
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39397 (default-abi): New variable.
39398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39399 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39400 variable.
39401 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39402 Likewise.
39403 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39404 Likewise.
39405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39406 Likewise.
39407
39408 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39409 definition. Document in comment.
39410
394112012-06-01 David S. Miller <davem@davemloft.net>
39412
39413 * stdlib/longlong.h: Updated from GCC.
39414
394152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39416
39417 [BZ #14117]
39418 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39419 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39420 sys/debugreg.h sys/io.h here.
39421 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39422 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39423 sys/io.h.
39424 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39425 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39427 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39429 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39430
39431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39432 Define only if __x86_64__ is defined.
39433
394342012-06-01 Joseph Myers <joseph@codesourcery.com>
39435
39436 [BZ #14048]
39437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39438 Use int64_t for variable i.
39439 * math/libm-test.inc (fmod_test): Add more tests.
39440
39441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39442 z computation is not scheduled after fetestexcept.
39443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39444 Use math_force_eval instead of asm to ensure calculation scheduled
39445 before exception test.
39446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39447 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39448
394492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39450
39451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39452 computation is not scheduled after fetestexcept.
39453
394542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39455
39456 [BZ #14117]
39457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39458 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39459
394602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39461
39462 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39463 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39464
394652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39466
39467 [BZ #14117]
39468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39469 <bits/wordsize.h>.
39470 (__WCHAR_MIN): Support __WORDSIZE == 64.
39471 (__WCHAR_MAX): Likewise.
39472
39473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39475
39476 [BZ #14183]
39477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39478 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39479
39480 [BZ #14117]
39481 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39483
39484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39486
39487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39488 Defined to 1 if __x86_64__ isn't defined.
39489 (_STAT_VER_LINUX_OLD): New.
39490 (st_atime): Remove duplicate.
39491 (st_mtime): Likewise.
39492 (st_ctime): Likewise.
39493
394942012-05-31 David S. Miller <davem@davemloft.net>
39495
39496 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39497 entries.
39498
394992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39500
39501 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39502 gen-libm-test.pl.
39503
39504 [BZ #14132]
39505 * elf/dl-reloc.c: Include <_itoa.h>.
39506 (_dl_reloc_bad_type): Remove use of INTUSE.
39507 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39508 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39509 * stdio-common/psiginfo.c (psiginfo): Likewise.
39510 * stdio-common/psignal.c (psignal): Likewise.
39511 * string/strsignal.c (strsignal): Likewise.
39512 * include/signal.h (_sys_siglist): Declare hidden proto.
39513 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39514 INTVARDEF with libc_hidden_data_def.
39515 * stdio-common/itoa-udigits.c: Likewise.
39516 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39517 (_itoa_lower_digits_internal): Remove declaration.
39518 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39519 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39520 (_sys_sigabbrev_internal): Remove aliases.
39521 (_sys_siglist): Define hidden alias.
39522
395232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39524
39525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39526 bits/sysctl.h.
39527
395282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39529
39530 [BZ #14117]
39531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39532 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39533
39534 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39535 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39537 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39539 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39540
39541 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39544
39545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39546 with __addr.
39547 (insw): Likewise.
39548 (insl): Likewise.
39549 (outsb): Likewise.
39550 (outsw): Likewise.
39551 (outsl): Likewise.
39552
39553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39556
39557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39560 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39563
39564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39565 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39566
39567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39569
39570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39573
39574 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39575 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39576 to ...
39577 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39578
39579 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39581 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39582
39583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39584 for x86-64.
39585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39586
395872012-05-31 Joseph Myers <joseph@codesourcery.com>
39588
39589 * math/math.h (M_El): Use two more decimal places.
39590 (M_LOG2El): Likewise.
39591 (M_LOG10El): Likewise.
39592 (M_LN2l): Likewise.
39593 (M_LN10l): Likewise.
39594 (M_PIl): Likewise.
39595 (M_PI_2l): Likewise.
39596 (M_PI_4l): Likewise.
39597 (M_1_PIl): Likewise.
39598 (M_2_PIl): Likewise.
39599 (M_2_SQRTPIl): Likewise.
39600 (M_SQRT2l): Likewise.
39601 (M_SQRT1_2l): Likewise.
39602
396032012-05-31 David S. Miller <davem@davemloft.net>
39604
39605 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39606 values between float registers.
39607 * sysdeps/sparc/sparc64/memset.S: Likewise.
39608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39609
396102012-05-31 Mike Frysinger <vapier@gentoo.org>
39611
39612 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39613 -D_FORTIFY_SOURCE=1.
39614 (CPPFLAGS-tst-longjmp_chk.c): Define.
39615 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39616 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39617 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39618 CFLAGS-tst-wchar-h.c.
39619
396202012-05-31 Marek Polacek <polacek@redhat.com>
39621
39622 [BZ #14132]
39623 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39624 __endmntent_internal): Remove declaration.
39625 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39626 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39627 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39628
396292012-05-30 David S. Miller <davem@davemloft.net>
39630
39631 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39632 (___Q_simulate_exceptions): Use real FP ops rather than writing
39633 into the %fsr.
39634 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39635 Likewise.
39636
396372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39638
39639 [BZ #14117]
39640 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39641 * sysdeps/x86/bits/xtitypes.h: This.
39642
39643 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39644 * sysdeps/x86/bits/wordsize.h: This.
39645
39646 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39647 * sysdeps/x86/bits/huge_vall.h: This.
39648
39649 * sysdeps/i386/bits/select.h: Removed.
39650 * sysdeps/x86_64/bits/select.h: Renamed to ...
39651 * sysdeps/x86/bits/select.h: This.
39652
39653 * sysdeps/i386/bits/setjmp.h: Removed.
39654 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39655 * sysdeps/x86/bits/setjmp.h: This.
39656
39657 * sysdeps/i386/bits/mathdef.h: Removed.
39658 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39659 * sysdeps/x86/bits/mathdef.h: This.
39660
396612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39662
39663 [BZ #14132]
39664 * include/sys/socket.h (__connect_internal)
39665 (__libc_sa_len_internal): Remove declaration.
39666 (__connect, __libc_sa_len): Declare hidden_proto.
39667 (SA_LEN): Remove use of INTUSE.
39668 * socket/connect.c: Add libc_hidden_def.
39669 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39670 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39671 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39672 alias.
39673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39675 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39676 of adding _internal alias.
39677
396782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39679
39680 [BZ #14117]
39681 * sysdeps/i386/bits/link.h: Removed.
39682 * sysdeps/i386/bits/linkmap.h: Likewise.
39683 * sysdeps/x86_64/bits/link.h: Renamed to ...
39684 * sysdeps/x86/bits/link.h: This.
39685 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39686 * sysdeps/x86/bits/linkmap.h: This.
39687
39688 * sysdeps/i386/bits/endian.h: Removed.
39689 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39690 * sysdeps/x86/bits/endian.h: This.
39691
39692 * sysdeps/i386/bits/byteswap.h: Removed.
39693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39694 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39695 * sysdeps/x86/bits/byteswap.h: This.
39696 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39697 * sysdeps/x86/bits/byteswap-16.h: This.
39698 * sysdeps/i386/Implies: Add x86.
39699 * sysdeps/x86_64/Implies: Likewise.
39700
397012012-05-30 David S. Miller <davem@davemloft.net>
39702
39703 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39704 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39706 (FP_TRAPPING_EXCEPTIONS): Define.
39707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39708 (FP_TRAPPING_EXCEPTIONS): Define.
39709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39710 subnormals only when inexact has been signalled or underflow
39711 exceptions are enabled.
39712 (_FP_PACK_CANONICAL): Likewise.
39713
397142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39715
39716 [BZ #14183]
39717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39718 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39719
397202012-05-30 Richard Henderson <rth@twiddle.net>
39721
39722 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39723 with #ifndef NOT_IN_libc.
39724
39725 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39726 marked to avoid plt entry.
39727
397282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39729
39730 [BZ #14112]
39731 * Makeconfig (default-abi): New macro.
39732 (abi-includes): Likewise.
39733 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39734 $(abi-$(default-abi)-lib-soname) for soname if defined.
39735 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39736 abi-variants.
39737 * Makefile (installed-stubs): Likewise.
39738 * include/stubs-biarch.h: Removed.
39739 * scripts/lib-names.awk: Only handle one library at a time.
39740 * scripts/soversions.awk: Remove WORDSIZE support.
39741 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39742 entries.
39743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39744 Removed.
39745 (syscall-list-default-condition): Likewise.
39746 (syscall-list-default-condition): Likewise.
39747 (syscall-list-includes): Likewise.
39748 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39749 syscall-list-* with abi-*. Handle undefined abi-variants.
39750 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39751 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39752 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39753 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39754 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39755 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39756 Removed.
39757 (syscall-list-32-options): Likewise.
39758 (syscall-list-32-condition): Likewise.
39759 (syscall-list-64-options): Likewise.
39760 (syscall-list-64-condition): Likewise.
39761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39762 macro.
39763 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39764 Renamed to ...
39765 (abi-*): This.
39766 (abi-64-ld-soname): New macro.
39767 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39768 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39769 Renamed to ...
39770 (abi-*): This.
39771 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39772 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39773
397742012-05-30 Joseph Myers <joseph@codesourcery.com>
39775
39776 * sysdeps/unix/sysv/linux/kernel-features.h
39777 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39778 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39779 include <kernel-features.h>.
39780 [!__NR_ftruncate64]: Remove conditional code.
39781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39782 [__NR_ftruncate64]: Make code unconditional.
39783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39784 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39785 include <kernel-features.h>.
39786 [!__NR_ftruncate64]: Remove conditional code.
39787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39788 [__NR_ftruncate64]: Make code unconditional.
39789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39791 include <kernel-features.h>.
39792 [!__NR_ftruncate64]: Remove conditional code.
39793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39794 [__NR_ftruncate64]: Make code unconditional.
39795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39797 include <kernel-features.h>.
39798 [!__NR_ftruncate64]: Remove conditional code.
39799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39800 [__NR_ftruncate64]: Make code unconditional.
39801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39802
39803 * configure.in (libc_cv_fpie): Weaken to a compile test using
39804 LIBC_TRY_CC_OPTION.
39805 * configure: Regenerated.
39806
398072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39808
39809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39813 Refreshed.
39814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39820 Refreshed.
39821
398222012-05-27 David S. Miller <davem@davemloft.net>
39823
39824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39825 (___Q_zero): New.
39826 (__Q_simulate_exceptions): Return void. Change to simulate
39827 exceptions by writing into the %fsr.
39828 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39829 (__Qp_handle_exceptions): Likewise.
39830 (numbers): Delete.
39831 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39832 __Qp_handle_exceptions.
39833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39834 __Qp_handle_exceptions.
39835 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39836 as unused and give dummy FP_RND_NEAREST initializer.
39837 (FP_INHIBIT_RESULTS): Define.
39838 (___Q_simulate_exceptions): Update declaration.
39839 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39840 formatting.
39841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39842 as unused and give dummy FP_RND_NEAREST initializer.
39843 (__Qp_handle_exceptions): Update declaration.
39844 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39845 formatting.
39846
398472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39848
39849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39850 the temporary FPU control word.
39851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39852 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39854 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39856 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39857 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39860 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39862
398632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39864
39865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39866 fields.
39867
398682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39869
39870 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39871 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39874 Likewise.
39875 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39876 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39877 Likewise.
39878
398792012-05-27 Ulrich Drepper <drepper@gmail.com>
39880
39881 * po/h.po: Update from translation team.
39882
398832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39884
39885 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39886
39887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39888 handling of denormals.
39889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39890 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39891 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39896 Likewise.
39897
398982012-05-26 Marek Polacek <polacek@redhat.com>
39899
39900 [BZ #14152]
39901 * math/libm-test.inc (fma_test): Don't always expect underflow
39902 exception.
39903
399042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39905
39906 [BZ #12416]
39907 * elf/tst-execstack.c: Include stackinfo.h.
39908 (do_test): Adjust test case to ensure that pthread_getattr_np
39909 behaviour remains the same after marking stack executable.
39910
399112012-05-25 Joseph Myers <joseph@codesourcery.com>
39912
39913 * sysdeps/unix/sysv/linux/kernel-features.h
39914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39916 kernel-features.h.
39917 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39918 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39919 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39920 kernel-features.h.
39921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39923
399242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39925
39926 * configure.in: Define the default includes to being none.
39927 * configure: Regenerated.
39928
399292012-05-25 Roland McGrath <roland@hack.frob.com>
39930
39931 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39932 * sysdeps/x86_64/setjmp.S: Likewise.
39933 * sysdeps/i386/bsd-setjmp.S: Likewise.
39934 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39935 * sysdeps/i386/setjmp.S: Likewise.
39936 * sysdeps/i386/__longjmp.S: Likewise.
39937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39939
39940 * include/stap-probe.h: New file.
39941 * configure.in: Handle --enable-systemtap.
39942 * configure: Regenerated.
39943 * config.h.in (USE_STAP_PROBE): New #undef.
39944 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39945 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39947
399482012-05-25 Joseph Myers <joseph@codesourcery.com>
39949
39950 [BZ #13717]
39951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39952 to 2.4.0 where earlier.
39953 * sysdeps/unix/sysv/linux/configure: Regenerated.
39954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39955 <kernel-features.h>.
39956 [__ASSUME_32BITUIDS]: Make code unconditional.
39957 [!__ASSUME_32BITUIDS]: Remove conditional code.
39958 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39959 <kernel-features.h>.
39960 [__ASSUME_32BITUIDS]: Make code unconditional.
39961 [!__ASSUME_32BITUIDS]: Remove conditional code.
39962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39963 [__ASSUME_32BITUIDS]: Make code unconditional.
39964 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39965 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39966 <kernel-features.h>.
39967 [__ASSUME_32BITUIDS]: Make code unconditional.
39968 [!__ASSUME_32BITUIDS]: Remove conditional code.
39969 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39970 <kernel-features.h>.
39971 [__ASSUME_32BITUIDS]: Make code unconditional.
39972 [!__ASSUME_32BITUIDS]: Remove conditional code.
39973 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39974 <kernel-features.h>.
39975 [__ASSUME_32BITUIDS]: Make code unconditional.
39976 [!__ASSUME_32BITUIDS]: Remove conditional code.
39977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39978 <kernel-features.h>.
39979 [__ASSUME_32BITUIDS]: Make code unconditional.
39980 [!__ASSUME_32BITUIDS]: Remove conditional code.
39981 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39982 <kernel-features.h>.
39983 [__ASSUME_32BITUIDS]: Make code unconditional.
39984 [!__ASSUME_32BITUIDS]: Remove conditional code.
39985 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39986 <kernel-features.h>.
39987 [__ASSUME_32BITUIDS]: Make code unconditional.
39988 [!__ASSUME_32BITUIDS]: Remove conditional code.
39989 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39990 <kernel-features.h>.
39991 [__ASSUME_32BITUIDS]: Make code unconditional.
39992 [!__ASSUME_32BITUIDS]: Remove conditional code.
39993 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39994 <kernel-features.h>.
39995 [__ASSUME_32BITUIDS]: Make code unconditional.
39996 [!__ASSUME_32BITUIDS]: Remove conditional code.
39997 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39998 <kernel-features.h>.
39999 [__ASSUME_32BITUIDS]: Make code unconditional.
40000 [!__ASSUME_32BITUIDS]: Remove conditional code.
40001 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40002 <kernel-features.h>.
40003 [__ASSUME_32BITUIDS]: Make code unconditional.
40004 [!__ASSUME_32BITUIDS]: Remove conditional code.
40005 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40006 <kernel-features.h>.
40007 [__NR_setresgid] (__setresgid): Do not declare.
40008 [__ASSUME_32BITUIDS]: Make code unconditional.
40009 [!__ASSUME_32BITUIDS]: Remove conditional code.
40010 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40011 <kernel-features.h>.
40012 [__NR_setresuid] (__setresuid): Do not declare.
40013 [__ASSUME_32BITUIDS]: Make code unconditional.
40014 [!__ASSUME_32BITUIDS]: Remove conditional code.
40015 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40016 <kernel-features.h>.
40017 [__ASSUME_32BITUIDS]: Make code unconditional.
40018 [!__ASSUME_32BITUIDS]: Remove conditional code.
40019 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40020 <kernel-features.h>.
40021 [__ASSUME_32BITUIDS]: Make code unconditional.
40022 [!__ASSUME_32BITUIDS]: Remove conditional code.
40023 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40024 <kernel-features.h>.
40025 [__ASSUME_32BITUIDS]: Make code unconditional.
40026 [!__ASSUME_32BITUIDS]: Remove conditional code.
40027 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40028 <kernel-features.h>.
40029 [__ASSUME_32BITUIDS]: Make code unconditional.
40030 [!__ASSUME_32BITUIDS]: Remove conditional code.
40031 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40032 <kernel-features.h>.
40033 [__ASSUME_32BITUIDS]: Make code unconditional.
40034 [!__ASSUME_32BITUIDS]: Remove conditional code.
40035 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40036 <kernel-features.h>.
40037 [__ASSUME_32BITUIDS]: Make code unconditional.
40038 [!__ASSUME_32BITUIDS]: Remove conditional code.
40039 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40040 <kernel-features.h>.
40041 [__ASSUME_32BITUIDS]: Make code unconditional.
40042 [!__ASSUME_32BITUIDS]: Remove conditional code.
40043 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40044 <kernel-features.h>.
40045 [__ASSUME_32BITUIDS]: Make code unconditional.
40046 [!__ASSUME_32BITUIDS]: Remove conditional code.
40047 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40048 <kernel-features.h>.
40049 [__ASSUME_32BITUIDS]: Make code unconditional.
40050 [!__ASSUME_32BITUIDS]: Remove conditional code.
40051 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40052 <kernel-features.h>.
40053 [__ASSUME_32BITUIDS]: Make code unconditional.
40054 [!__ASSUME_32BITUIDS]: Remove conditional code.
40055 * sysdeps/unix/sysv/linux/kernel-features.h
40056 (__ASSUME_SETRESUID_SYSCALL): Remove.
40057 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40058 (__ASSUME_32BITUIDS): Likewise.
40059 (__ASSUME_LDT_WORKS): Likewise.
40060 (__ASSUME_O_DIRECTORY): Likewise.
40061 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40062 architecture but not kernel version.
40063 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40064 (__ASSUME_MMAP2_SYSCALL): Likewise.
40065 (__ASSUME_STAT64_SYSCALL): Likewise.
40066 (__ASSUME_IPC64): Likewise.
40067 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40068 <kernel-features.h>.
40069 [__ASSUME_32BITUIDS]: Make code unconditional.
40070 [!__ASSUME_32BITUIDS]: Remove conditional code.
40071 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40072 <kernel-features.h>.
40073 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40074 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40075 132096]: Remove conditional code.
40076 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40078 <kernel-features.h>.
40079 [__ASSUME_32BITUIDS]: Make code unconditional.
40080 [!__ASSUME_32BITUIDS]: Remove conditional code.
40081 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40082 <kernel-features.h>.
40083 [__ASSUME_32BITUIDS]: Make code unconditional.
40084 [!__ASSUME_32BITUIDS]: Remove conditional code.
40085 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40086 <kernel-features.h>.
40087 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40088 unconditional.
40089 (__setresgid): Do not declare.
40090 [__ASSUME_32BITUIDS]: Make code unconditional.
40091 [!__ASSUME_32BITUIDS]: Remove conditional code.
40092 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40093 <kernel-features.h>.
40094 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40095 unconditional.
40096 (__setresuid): Do not declare.
40097 [__ASSUME_32BITUIDS]: Make code unconditional.
40098 [!__ASSUME_32BITUIDS]: Remove conditional code.
40099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40100 <kernel-features.h>.
40101 [__ASSUME_32BITUIDS]: Make code unconditional.
40102 [!__ASSUME_32BITUIDS]: Remove conditional code.
40103 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40104 <kernel-features.h>.
40105 [__ASSUME_32BITUIDS]: Make code unconditional.
40106 [!__ASSUME_32BITUIDS]: Remove conditional code.
40107
401082012-05-25 Richard Henderson <rth@twiddle.net>
40109
40110 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40111 dl_hwcap to ifunc resolver.
40112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40113 elf_ifunc_invoke.
40114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40115 dl_hwcap to ifunc resolver.
40116 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40117
401182012-05-24 Joseph Myers <joseph@codesourcery.com>
40119
40120 [BZ #14153]
40121 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40122 for |x| <= 2**-26, not 2**-57.
40123 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40124 exception.
40125
401262012-05-24 Jeff Law <law@redhat.com>
40127
40128 * stdio-common/Makefile (tests): Add bug25.
40129 * stdio-common/bug25.c: New test.
40130
401312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40132
40133 [BZ #13576]
40134 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40135 multiple of MALLOC_ALIGNMENT in size.
40136 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40137
401382012-05-24 Joseph Myers <joseph@codesourcery.com>
40139
40140 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40141 Require >= 256.
40142 (FILENAME_MAX): Use macro-int-constant.
40143 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40144 (_IOFBF): Use macro-int-constant.
40145 (_IOLBF): Likewise.
40146 (_IONBF): Likewise.
40147 (SEEK_CUR): Likewise.
40148 (SEEK_END): Likewise.
40149 (SEEK_SET): Likewise.
40150 (TMP_MAX): Likewise.
40151 (EOF): Use macro-int-constant. Require < 0.
40152 (NULL): Use macro-constant. Require == 0.
40153 (stdin): Require type to be FILE *.
40154 (stdout): Likewise.
40155 (stderr): Likewise.
40156 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40157 macro-int-constant.
40158 (EXIT_SUCCESS): Likewise.
40159 (NULL): Use macro-constant. Require == 0.
40160 (RAND_MAX): Use macro-int-constant.
40161 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40162 [C99-based standards] (strtof): Require function.
40163 [C99-based standards] (strtold): Likewise.
40164 [C99-based standards] (strtoll): Likewise.
40165 [C99-based standards] (strtoull): Likewise.
40166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40167 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40168 [ISO || ISO99 || ISO11] (math.h): Likewise.
40169 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40170 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40172
401732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40174
40175 [BZ #14132]
40176 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40177 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40178 * intl/dgettext.c (DCGETTEXT): Likewise.
40179 * intl/gettext.c (DCGETTEXT): Likewise.
40180 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40181 * posix/regex_internal.h (gettext): Likewise.
40182 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40183 Remove declaration.
40184 * include/argz.h (__argz_count_internal)
40185 (__argz_stringify_internal): Remove declaration.
40186 (__argz_count, __argz_stringify): Declare hidden proto.
40187 * intl/dcgettext.c: Remove use of INTDEF.
40188 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40189 * string/argz-stringify.c: Likewise.
40190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40192 Declare hidden proto.
40193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40195 Declare hidden proto.
40196 * include/stdio.h (__asprintf_internal): Don't declare.
40197 (__asprintf): Don't define as macro. Declare hidden proto.
40198 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40199 (__fsetlocking): Declare hidden proto.
40200 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40201 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40202 hidden proto.
40203 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40204 (_IO_setlinebuf): Remove use of INTUSE.
40205 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40206 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40207 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40208 Remove declaration.
40209 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40210 (_IO_do_flush): Remove use of INTUSE.
40211 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40212 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40213 (_IO_adjust_column, _IO_least_wmarker)
40214 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40215 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40216 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40217 (_IO_default_doallocate, _IO_wdefault_doallocate)
40218 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40219 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40220 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40221 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40222 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40223 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40224 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40225 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40226 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40227 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40228 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40229 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40230 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40231 proto.
40232 (_IO_flush_all_internal, _IO_adjust_column_internal)
40233 (_IO_default_uflow_internal, _IO_default_finish_internal)
40234 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40235 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40236 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40237 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40238 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40239 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40240 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40241 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40242 (_IO_file_close_internal, _IO_file_close_it_internal)
40243 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40244 (_IO_file_init_internal, _IO_file_attach_internal)
40245 (_IO_file_fopen_internal, _IO_file_read_internal)
40246 (_IO_file_sync_internal, _IO_file_seek_internal)
40247 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40248 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40249 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40250 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40251 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40252 (_IO_list_all_internal, _IO_link_in_internal)
40253 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40254 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40255 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40256 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40257 (_IO_do_write_internal, _IO_padn_internal)
40258 (_IO_getline_info_internal, _IO_getline_internal)
40259 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40260 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40261 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40262 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40263 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40264 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40265 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40266 with libc_hidden_ver, remove use of INTUSE.
40267 * libio/genops.c: Likewise.
40268 * libio/freopen.c: Likewise.
40269 * libio/freopen64.c: Likewise.
40270 * libio/iofclose.c: Likewise.
40271 * libio/iofdopen.c: Likewise.
40272 * libio/iofflush.c: Likewise.
40273 * libio/iofflush_u.c: Likewise.
40274 * libio/iofgets.c: Likewise.
40275 * libio/iofgets_u.c: Likewise.
40276 * libio/iofopen.c: Likewise.
40277 * libio/iofopncook.c: Likewise.
40278 * libio/iofread.c: Likewise.
40279 * libio/iofread_u.c: Likewise.
40280 * libio/ioftell.c: Likewise.
40281 * libio/iofwrite.c: Likewise.
40282 * libio/iogetline.c: Likewise.
40283 * libio/iogets.c: Likewise.
40284 * libio/iogetwline.c: Likewise.
40285 * libio/iopadn.c: Likewise.
40286 * libio/iopopen.c: Likewise.
40287 * libio/ioseekoff.c: Likewise.
40288 * libio/ioseekpos.c: Likewise.
40289 * libio/iosetbuffer.c: Likewise.
40290 * libio/iosetvbuf.c: Likewise.
40291 * libio/ioungetc.c: Likewise.
40292 * libio/ioungetwc.c: Likewise.
40293 * libio/iovdprintf.c: Likewise.
40294 * libio/iovsprintf.c: Likewise.
40295 * libio/iovsscanf.c: Likewise.
40296 * libio/memstream.c: Likewise.
40297 * libio/obprintf.c: Likewise.
40298 * libio/oldfileops.c: Likewise.
40299 * libio/oldiofclose.c: Likewise.
40300 * libio/oldiofdopen.c: Likewise.
40301 * libio/oldiofopen.c: Likewise.
40302 * libio/oldiopopen.c: Likewise.
40303 * libio/oldstdfiles.c: Likewise.
40304 * libio/putc.c: Likewise.
40305 * libio/setbuf.c: Likewise.
40306 * libio/setlinebuf.c: Likewise.
40307 * libio/stdfiles.c: Likewise.
40308 * libio/strops.c: Likewise.
40309 * libio/vasprintf.c: Likewise.
40310 * libio/vscanf.c: Likewise.
40311 * libio/vsnprintf.c: Likewise.
40312 * libio/vswprintf.c: Likewise.
40313 * libio/wfiledoalloc.c: Likewise.
40314 * libio/wfileops.c: Likewise.
40315 * libio/wgenops.c: Likewise.
40316 * libio/wmemstream.c: Likewise.
40317 * libio/wstrops.c: Likewise.
40318 * libio/__fpurge.c: Likewise.
40319 * libio/__fsetlocking.c: Likewise.
40320 * assert/assert.c: Likewise.
40321 * debug/fgets_chk.c: Likewise.
40322 * debug/fgets_u_chk.c: Likewise.
40323 * debug/fread_chk.c: Likewise.
40324 * debug/fread_u_chk.c: Likewise.
40325 * debug/gets_chk.c: Likewise.
40326 * debug/obprintf_chk.c: Likewise.
40327 * debug/vasprintf_chk.c: Likewise.
40328 * debug/vdprintf_chk.c: Likewise.
40329 * debug/vsnprintf_chk.c: Likewise.
40330 * debug/vsprintf_chk.c: Likewise.
40331 * malloc/mtrace.c: Likewise.
40332 * misc/error.c: Likewise.
40333 * misc/syslog.c: Likewise.
40334 * stdio-common/asprintf.c: Likewise.
40335 * stdio-common/fxprintf.c: Likewise.
40336 * stdio-common/getw.c: Likewise.
40337 * stdio-common/isoc99_fscanf.c: Likewise.
40338 * stdio-common/isoc99_scanf.c: Likewise.
40339 * stdio-common/isoc99_vfscanf.c: Likewise.
40340 * stdio-common/isoc99_vscanf.c: Likewise.
40341 * stdio-common/isoc99_vsscanf.c: Likewise.
40342 * stdio-common/printf-prs.c: Likewise.
40343 * stdio-common/printf_fp.c: Likewise.
40344 * stdio-common/printf_fphex.c: Likewise.
40345 * stdio-common/printf_size.c: Likewise.
40346 * stdio-common/putw.c: Likewise.
40347 * stdio-common/scanf.c: Likewise.
40348 * stdio-common/sprintf.c: Likewise.
40349 * stdio-common/tmpfile.c: Likewise.
40350 * stdio-common/vfprintf.c: Likewise.
40351 * stdio-common/vfscanf.c: Likewise.
40352 * stdlib/strfmon_l.c: Likewise.
40353 * sunrpc/openchild.c: Likewise.
40354 * sunrpc/xdr_stdio.c: Likewise.
40355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40356 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40357
403582012-05-24 Roland McGrath <roland@hack.frob.com>
40359
40360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40361
40362 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40363 in the third column, to generate for the shared library an IFUNC
40364 that uses _dl_vdso_vsym.
40365 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40366 * Makeconfig (object-suffixes-noshared): New variable.
40367
40368 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40369 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40370 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40371 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40372
40373 [BZ #14132]
40374 * include/sys/time.h (__gettimeofday): Remove macro.
40375 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40376 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40377 Remove INTDEF.
40378 (__gettimeofday): Add libc_hidden_def.
40379 (gettimeofday): Add libc_hidden_weak.
40380 * sysdeps/mach/gettimeofday.c: Likewise.
40381 * sysdeps/posix/gettimeofday.c: Likewise.
40382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40385 (__gettimeofday_internal): Remove strong_alias.
40386 (__gettimeofday): Add libc_hidden_def.
40387 (gettimeofday): Add libc_hidden_weak.
40388 * sysdeps/unix/syscalls.list (gettimeofday):
40389 Remove __gettimeofday_internal alias.
40390
403912012-05-24 Daniel Jacobowitz <drow@false.org>
40392 H.J. Lu <hongjiu.lu@intel.com>
40393
40394 [BZ #12495]
40395 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40396 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40397 (largebin_index_32_big): New.
40398 (largebin_index): Use it for 16-byte alignment.
40399 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40400 correction with front_misalign.
40401
404022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40403
40404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40406 Likewise.
40407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40408 Likewise.
40409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40410 Likewise.
40411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40412 Likewise.
40413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40414 Likewise.
40415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40416 Likewise.
40417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40418 Likewise.
40419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40420 Likewise.
40421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40422 Likewise.
40423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40424 Likewise.
40425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40426 Likewise.
40427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40428 Likewise.
40429
40430 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40431 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40432
404332012-05-24 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #10846]
40436 [BZ #14036]
40437 * math/libm-test.inc (exp_test): Add test from bug 14036.
40438 (pow_test): Add test from bug 10846.
40439
40440 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40441 and other flags.
40442 (special_function): Do not include flags in test name.
40443 (parse_args): Likewise.
40444 * sysdeps/i386/fpu/libm-test-ulps: Update.
40445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40449
40450 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40451 exceptions.
40452 * math/libm-test.inc ("Philosophy"): Update comment about
40453 exception testing.
40454 (UNDERFLOW_EXCEPTION): New macro.
40455 (UNDERFLOW_EXCEPTION_OK): Likewise.
40456 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40457 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40458 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40460 (INVALID_EXCEPTION_OK): Update value.
40461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40462 (OVERFLOW_EXCEPTION_OK): Likewise.
40463 (IGNORE_ZERO_INF_SIGN): Likewise.
40464 (test_exceptions): Handle underflow exceptions.
40465 (acos_test): Update for underflow exception expectations.
40466 (cexp_test): Likewise.
40467 (clog_test): Likewise.
40468 (clog10_test): Likewise.
40469 (csqrt_test): Likewise.
40470 (ctan_test): Likewise.
40471 (ctanh_test): Likewise.
40472 (exp_test): Likewise.
40473 (exp10_test): Likewise.
40474 (exp2_test): Likewise.
40475 (expm1_test): Likewise.
40476 (fma_test): Likewise.
40477 (j0_test): Likewise.
40478 (jn_test): Likewise.
40479 (nexttoward_test): Likewise.
40480 (pow_test): Likewise.
40481 (scalbn_test): Likewise.
40482 (scalbln_test): Likewise.
40483 (tan_test): Likewise.
40484 (y1_test): Likewise.
40485 * sysdeps/i386/fpu/libm-test-ulps: Update.
40486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40487
404882012-05-23 David S. Miller <davem@davemloft.net>
40489
40490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40491 (__libc_sigaction): Remove unused local variables.
40492
404932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40494
40495 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40496
404972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40498
40499 mktime: avoid signed integer overflow
40500 * time/mktime.c (__mktime_internal): Do not mishandle the case
40501 where diff == INT_MIN.
40502
40503 mktime: simplify computation of average
40504 * time/mktime.c (ranged_convert): Use new time_t_avg function
40505 instead of rolling our own (probably-slower) code.
40506
40507 mktime: do not assume signed right shift propagates sign bit
40508 * time/mktime.c (isdst_differ): New static function.
40509 (__mktime_internal): No need to normalize tm_isdst now.
40510 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40511 tm_isdst values.
40512
40513 mktime: merge another wrapv change from gnulib
40514 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40515 from some compilers.
40516
40517 mktime: remove incorrect attempt at unusual arithmetics
40518 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40519 The code didn't really work on such machines anyway.
40520 (TYPE_MINIMUM): Assume two's complement.
40521 (twos_complement_arithmetic): Verify that long_int and time_t
40522 are two's complement (or unsigned, in the latter case).
40523
40524 mktime: check signed shifts on long_int and time_t, too
40525 * time/mktime.c (SHR): Check that shifts work as desired
40526 on the types long_int and time_t too, as SHR is used on
40527 such types.
40528
40529 mktime: do not assume 'long' is wide enough
40530 * time/mktime.c (verify): Move decl up.
40531 (long_int): New type.
40532 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40533 to remove assumption in the code that 'long' is wide enough to
40534 store year values. This assumption is not true on x32 and on
40535 some non-glibc platforms.
40536
40537 mktime: merge wrapv change from gnulib
40538 * time/mktime.c (WRAPV): New macro.
40539 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40540 (guess_time_tm, __mktime_internal): Do not assume that signed
40541 integer overflow wraps around; modern compilers generate code
40542 where this assumption is no longer valid.
40543
405442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40545
40546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40547 Replace "jmp L(pseudo_end)" with "ret".
40548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40549 Likewise.
40550
405512012-05-23 Andreas Jaeger <aj@suse.de>
40552
40553 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40554 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40555
405562012-05-23 Andreas Jaeger <aj@suse.de>
40557 Maximilian Attems <max@stro.at>
40558
40559 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40560 New macros.
40561
405622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40563
40564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40565 code so that pseudo_end is just ret and the stack pointer is
40566 correct also for static library in error case.
40567
405682012-05-23 Joseph Myers <joseph@codesourcery.com>
40569
40570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40571 move to syscalls.list.
40572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40576
40577 * manual/install.texi (Running make install): Do not mention Linux
40578 kernel version for which pt_chown is not needed.
40579 (Linux): Do not mention problems with nscd with 2.0 kernels.
40580 * INSTALL: Regenerated.
40581
405822012-05-23 Andreas Jaeger <aj@suse.de>
40583
40584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40585 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40586 macro.
40587 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40589 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40591 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40597 * sysdeps/unix/sysv/linux/bits/in.h
40598 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40599
406002012-05-22 Roland McGrath <roland@hack.frob.com>
40601
40602 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40603 (PREPARE_VERSION): Just use assert instead, it will be elided
40604 under [NDEBUG] anyway.
40605
406062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40607
40608 * sysdeps/unix/sysv/linux/Makefile: Include
40609 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40610 (sysdep_routines): Remove sysctl.
40611 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40612 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40613 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40614 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40615 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40616
406172012-05-22 Andreas Jaeger <aj@suse.de>
40618
40619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40620 that pseudo_end is just ret and the stack pointer is correct also
40621 for static library in error case.
40622
406232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40624
40625 [BZ #14122]
40626 * nss/nsswitch.c (defconfig_entries): New variable.
40627 (__nss_database_lookup): Don't leak defconfig entries.
40628 (nss_parse_service_list): Don't leak on error paths.
40629 (free_database_entries): New function.
40630 (free_defconfig): New function.
40631 (free_mem): Move common code to free_database_entries.
40632
406332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40634
40635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40636 Add arch_prctl.
40637 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40638
40639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40640 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40642 New macro.
40643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40644 (INTERNAL_SYSCALL_TYPES): Likewise.
40645 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40646 (LOAD_REGS_TYPES_[1-6]): Likewise.
40647 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40648 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40649
406502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40651
40652 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40653 copysignl for GLIBC_2_0.
40654 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40655 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40657 logbl for GLIBC_2_0.
40658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40660
406612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40662
40663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40665
40666 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40667 Use "neg %eax".
40668
40669 * time/mktime.c: Update copyright years.
40670
406712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40672
40673 mktime: merge comment-quoting-style change from gnulib
40674 * time/mktime.c: Quote 'like this' in comments.
40675 The GNU coding standards suggest that we no longer quote `like this',
40676 as "`" and "'" are typically rendered asymmetrically nowadays.
40677 The typical gnulib style is to quote 'like this' when quoting
40678 code, and "like this" when quoting English.
40679
40680 * time/mktime.c (compile-command): Add "-I.".
40681
40682 mktime: merge mktime-internal.h change from gnulib
40683 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40684
40685 mktime: merge time_r change from gnulib
40686 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40687
40688 mktime: merge DEBUG change from gnulib
40689 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40690 case system <time.h> has a #define.
40691
40692 mktime: merge <sys/types.h> change from gnulib
40693 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40694 since <time.t> is now guaranteed to define time_t.
40695
40696 mktime: merge HAVE_CONFIG_H change from gnulib
40697 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40698
406992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40700
40701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40702 Use "neg %eax".
40703
40704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40705 __rlim_t cast.
40706 (struct rusage): Use anonymous union to pad each field to
40707 __syscall_slong_t.
40708
407092012-05-21 David S. Miller <davem@davemloft.net>
40710
40711 * Makefules (o-iterator): Remove .s cases.
40712 (compile-command.s): Delete.
40713 (COMPILE.s): Delete.
40714 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40715
407162012-05-21 Joseph Myers <joseph@codesourcery.com>
40717
40718 * configure.in (libc_cv_predef_stack_protector): Only consider
40719 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40720 * configure: Regenerated.
40721
407222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40723
40724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40725 New macro. Use R*LP on int and pointer.
40726 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40727 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40728 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40729 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40730
40731 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40732 [__WORDSIZE_TIME64_COMPAT32] instead of
40733 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40734 (struct utmp): Likewise.
40735 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40736 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40737 Renamed to ...
40738 (__WORDSIZE_TIME64_COMPAT32): This.
40739 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40740 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40741 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40742 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40744 (__WORDSIZE_TIME64_COMPAT32): New macro.
40745
407462012-05-21 Andreas Jaeger <aj@suse.de>
40747
40748 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40749 only if [SHARED]. Add prototype for __wcschr_ia32.
40750
407512012-05-21 Roland McGrath <roland@hack.frob.com>
40752
40753 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40754 of %rbp unmolested in the jmp_buf while mangling the low bits.
40755 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40756 unmolested high bits of %rbp while demangling the low bits.
40757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40758
407592012-05-21 Andreas Jaeger <aj@suse.de>
40760
40761 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40762 * sunrpc/svc_simple.c: Use it for registerrpc.
40763 * sunrpc/xcrypt.c: Use it for passwd2des.
40764
40765 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40766
407672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40768
40769 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40770 Don't define if [__SYSCALL_WORDSIZE != 32].
40771 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40772 New macro.
40773
407742012-05-21 Bruno Haible <bruno@clisp.org>
40775 Andreas Jaeger <aj@suse.de>
40776
40777 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40778 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40779 inptr and inend for must_buffer_ch.
40780 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40781 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40782 * stdio-common/Makefile (tests): Remove bug15.
40783 (bug15-ENV): Remove macro.
40784 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40785 anymore.
40786
407872012-05-19 Andreas Jaeger <aj@suse.de>
40788 Roland McGrath <roland@hack.frob.com>
40789
40790 * manual/contrib.texi: Completely rewritten. It contains now an
40791 alphabetical list of contributors and their contributions.
40792
407932012-05-21 Richard Henderson <rth@twiddle.net>
40794
40795 * misc/getauxval.c (__getauxval): Use unsigned long int.
40796 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40797 (getauxval): Use unsigned long int.
40798
407992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40800
40801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40802
408032012-05-21 Roland McGrath <roland@hack.frob.com>
40804
40805 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40806 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40807 __alignof__ (long double).
40808
408092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40810
40811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40812
408132012-05-20 Richard Henderson <rth@twiddle.net>
40814
40815 * misc/getauxval.c: New file.
40816 * misc/sys/auxv.h: New file.
40817 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40818 (routines): Add getauxval.
40819 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40821 * elf/dl-sysdep.c (_dl_auxv): Remove.
40822 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40823 * elf/dl-support.c (_dl_auxv): New variable.
40824 (_dl_aux_init): Initialize it.
40825 * manual/startup.texi (Auxiliary Vector): New node.
40826 * sysdeps/generic/bits/hwcap.h: New file.
40827 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40828 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40829 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40830 * sysdeps/sparc/sysdep.h: ... here. Include it.
40831 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40834 Update.
40835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40843
408442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40845
40846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40847
408482012-05-19 David S. Miller <davem@davemloft.net>
40849
40850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40851
408522012-05-19 Joseph Myers <joseph@codesourcery.com>
40853
40854 [BZ #14123]
40855 * math/s_ccosh.c: Include <float.h>
40856 (__ccosh): Avoid internal overflow calculating sinh and cosh
40857 values before multiplying by sin and cos values.
40858 * math/s_ccoshf.c: Likewise.
40859 * math/s_ccoshl.c: Likewise.
40860 * math/s_csin.c: Likewise.
40861 * math/s_csinf.c: Likewise.
40862 * math/s_csinl.c: Likewise.
40863 * math/s_csinh.c: Likewise.
40864 * math/s_csinhf.c: Likewise.
40865 * math/s_csinhl.c: Likewise.
40866 * math/libm-test.inc (ccos_test): Add more tests.
40867 (ccosh_test): Likewise.
40868 (csin_test): Likewise.
40869 (csinh_test): Likewise.
40870 * sysdeps/i386/fpu/libm-test-ulps: Update.
40871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40872
408732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40874
40875 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40877
40878 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40879
408802012-05-19 Joseph Myers <joseph@codesourcery.com>
40881
40882 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40883 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40885 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40886 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40887 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40888 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40889 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40890 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40891 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40892 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40893 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40894 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40895 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40896 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40897 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40898 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40899 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40900 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40901 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40902 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40903 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40904 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40905 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40906 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40907 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40908 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40909 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40910 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40911 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40912 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40913
409142012-05-18 Andreas Jaeger <aj@suse.de>
40915
40916 * csu/.gitignore: Delete.
40917
409182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40919
40920 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40921 (timex): Use __syscall_slong_t.
40922
409232012-05-18 Andreas Jaeger <aj@suse.de>
40924 Carlos O'Donell <carlos_odonell@mentor.com>
40925
40926 * manual/install.texi (Configuring and compiling): Update
40927 description about files modified in the source directory.
40928 * INSTALL: Regenerated.
40929
409302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40931
40932 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40933 value. Use "or" to set return value to -1.
40934 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40935 negate return value.
40936
409372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40938
40939 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40940 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40941 failure if the compiler has Graphite support disabled.
40942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40943 Likewise.
40944 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40945 (CFLAGS-memmove.c): Likewise.
40946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40947 Likewise.
40948
409492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40950
40951 * sysdeps/x86_64/x32/_itoa.h: New file.
40952
40953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40954 getdents system call only if kernel and user dirents have the
40955 same d_ino and d_off.
40956
40957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40958 LLONG_MAX != LONG_MAX.
40959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40960 (_fitoa_word): Likewise.
40961
40962 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40963 years.
40964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40967
40968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40969 include <bits/wordsize.h>. Check __x86_64__ instead of
40970 __WORDSIZE.
40971 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40972 if __x86_64__ is defined. Use anonymous union on fpstate.
40973
40974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40975 anonymous union.
40976
409772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40978
40979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40980 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40982 Refer to _rtld_local_ro instead of _rtld_global_ro.
40983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40984 Likewise.
40985 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40986 Likewise.
40987 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40988 Likewise.
40989 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40990 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40991 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40992
40993 * sysdeps/powerpc/powerpc32/dl-machine.c
40994 (__elf_machine_runtime_setup) [PROF]: Don't reference
40995 _dl_prof_resolve.
40996
409972012-05-18 Andreas Jaeger <aj@suse.de>
40998
40999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41000 function only available for GCCs before 3.4 since GCC 3.4
41001 introduced a builtin.
41002 (lrint): Likewise.
41003 (llrintf): Likewise.
41004 (llrint): Likewise.
41005 (fmaxf): Likewise.
41006 (fmax): Likewise.
41007 (fminf): Likewise.
41008 (fmin): Likewise.
41009 (rint): Likewise.
41010 (rintf): Likewise.
41011 (nearbyint): Likewise.
41012 (nearbyintf): Likewise.
41013 (ceil): Likewise.
41014 (ceilf): Likewise.
41015 (floor): Likewise.
41016 (floorf): Likewise.
41017
410182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41019
41020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41021 on both fields and cast pointer to __syscall_ulong_t.
41022
41023 * bits/types.h (__fsword_t): New type.
41024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41027 (__FSWORD_T_TYPE): Likewise.
41028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41029 (__FSWORD_T_TYPE): Likewise.
41030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41031 (__FSWORD_T_TYPE): Likewise.
41032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41033 (__FSWORD_T_TYPE): Likewise.
41034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41035 __SWORD_TYPE with __fsword_t.
41036 (statfs64): Likewise.
41037
410382012-05-17 David S. Miller <davem@davemloft.net>
41039
41040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41041
410422012-05-17 Andreas Jaeger <aj@suse.de>
41043
41044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41045 warning.
41046
410472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41048
41049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41050
410512012-05-17 Andreas Jaeger <aj@suse.de>
41052
41053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41054 when it is used.
41055
410562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41057
41058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41059
410602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41061
41062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41064
410652012-05-17 Andreas Jaeger <aj@suse.de>
41066 Carlos O'Donell <carlos_odonell@mentor.com>
41067
41068 [BZ #14059]
41069 * sysdeps/x86_64/multiarch/init-arch.h
41070 (bit_YMM_Usable): Rename to...
41071 (bit_AVX_Usable): ... this.
41072 (bit_FMA4_Usable): New macro.
41073 (bit_XMM_state): New macro.
41074 (bit_YMM_state): New macro.
41075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41078 (CPUID_OSXSAVE): New macro.
41079 (CPUID_AVX): New macro.
41080 (CPUID_FMA4): New macro.
41081 (index_YMM_Usable): Rename to...
41082 (index_AVX_Usable): ... this.
41083 (HAS_AVX): Use HAS_ARCH_FEATURE.
41084 (HAS_FMA4): Likewise.
41085 (HAS_YMM_USABLE): Remove.
41086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41088 are present.
41089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41094
410952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41096
41097 * math/libm-test.c: Support platforms without multiple rounding modes.
41098 * math/bug-nextafter.c: Support platforms without FP exceptions.
41099 * math/bug-nexttoward.c: Likewise.
41100 * math/test-fenv.c: Likewise.
41101 * math/test-misc.c: Likewise.
41102 * stdlib/bug-getcontext.c: Likewise.
41103
411042012-05-17 Andreas Jaeger <aj@suse.de>
41105
41106 * manual/examples/search.c (critter_cmp): Change signature to
41107 avoid warnings.
41108 * manual/string.texi (Collation Functions): Likewise.
41109
411102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41111
41112 * bits/types.h: Fold copyright years.
41113 * bits/typesizes.h: Likewise.
41114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41118 * time/time.h: Likewise.
41119
411202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41121
41122 [BZ #208]
41123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41124 in instead of returning them. Return void.
41125 (__libc_mallinfo): Accumulate over all arenas.
41126 (__malloc_stats): Adjust for change in int_mallinfo interface.
41127
411282012-05-16 Roland McGrath <roland@hack.frob.com>
41129
41130 [BZ #10375]
41131 * configure.in (NM): Add AC_CHECK_TOOL for it.
41132 (libc_extra_cflags): New substituted variable.
41133 Check for -fstack-protector being used implicitly.
41134 * configure: Regenerated.
41135 * config.make.in (config-extra-cflags): New variable,
41136 gets @libc_extra_cflags@.
41137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41138
41139 [BZ #10375]
41140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41142 * configure: Regenerated.
41143 * config.make.in (CPPUNDEFS): New substituted variable.
41144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41147
411482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41149
41150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41151 (mq_attr): Use __syscall_slong_t.
41152
411532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41154
41155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41156 Check __x86_64__ instead of __WORDSIZE.
41157 (_STAT_VER_LINUX): Likewise.
41158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41159 __syscall_ulong_t and __syscall_slong_t.
41160 (stat64): Likewise.
41161
411622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41163
41164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41165
411662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41167
41168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41169
411702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41171
41172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41173 __syscall_ulong_t.
41174
41175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41176 include <bits/wordsize.h>. Check __x86_64__ instead of
41177 __WORDSIZE.
41178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41179 defined.
41180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41181
41182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41183 include <bits/wordsize.h>. Check __x86_64__ instead of
41184 __WORDSIZE.
41185 (user_regs_struct): Use "__extension__ unsigned long long"
41186 instead of "unsigned long" if __x86_64__ is defined.
41187 (user): Likewise. Pad after pointer field if __ILP32__ is
41188 defined.
41189
411902012-05-16 Joseph Myers <joseph@codesourcery.com>
41191
41192 * configure.in (makeinfo): Require version 4.5 or later. Allow
41193 versions 5 to 9.
41194 * configure: Regenerated.
41195 * manual/install.texi (texinfo): Increase version requirement to
41196 4.5 or later.
41197 * INSTALL: Regenerated.
41198
41199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41200
412012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41202
41203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41204
41205 * sysdeps/x86_64/x32/ffs.c: New file.
41206
41207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41208 __syscall_ulong_t.
41209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41210 defined. Use __syscall_ulong_t.
41211 (shminfo): Use __syscall_ulong_t.
41212 (shm_info): Likewise.
41213
41214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41215 __syscall_ulong_t.
41216
41217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41218 <bits/wordsize.h>.
41219 (msgqnum_t): Use __syscall_ulong_t.
41220 (msglen_t): Likewise.
41221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41222 __syscall_ulong_t.
41223
41224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41226
41227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41228
41229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41231
41232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41233 __syscall_slong_t.
41234
41235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41236 include <bits/wordsize.h>. Check __x86_64__ instead of
41237 __WORDSIZE.
41238
41239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41240 "unsigned long long int" if __x86_64__ is defined.
41241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41242
41243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41246
41247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41248 <stdint.h>.
41249 (GET_PC): Cast to uintptr_t first.
41250 (GET_FRAME): Likewise.
41251 (GET_STACK): Likewise.
41252
41253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41282
412832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41284
41285 * Makerules (+depfiles): Also collect depfiles from .oS in
41286 $(extra-objs).
41287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41288 .oS, $(libnldbl-routines)).
41289
41290 * Makerules (native-compile-mkdep-flags): Define.
41291 * sunrpc/Makefile (extra-objs): Add $(addprefix
41292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41295 calling $(make-target-directory).
41296
412972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41298
41299 * bits/types.h (__snseconds_t): Removed.
41300 * time/time.h (struct timespec): Replace __snseconds_t with
41301 __syscall_slong_t.
41302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41304 Likewise.
41305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41306 (__SNSECONDS_T_TYPE): Likewise.
41307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41308 (__SNSECONDS_T_TYPE): Likewise.
41309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41310 (__SNSECONDS_T_TYPE): Likewise.
41311
413122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41313
41314 * sysdeps/mach/hurd/bits/typesizes.h
41315 (__SYSCALL_SLONG_TYPE): New macro.
41316 (__SYSCALL_ULONG_TYPE): Likewise.
41317
413182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41319
41320 * bits/types.h (__syscall_slong_t): New type.
41321 (__syscall_ulong_t): Likewise.
41322
41323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41324 (__SYSCALL_ULONG_TYPE): Likewise.
41325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41326 (__SYSCALL_SLONG_TYPE): Likewise.
41327 (__SYSCALL_ULONG_TYPE): Likewise.
41328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41329 (__SYSCALL_SLONG_TYPE): Likewise.
41330 (__SYSCALL_ULONG_TYPE): Likewise.
41331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41332 (__SYSCALL_SLONG_TYPE): Likewise.
41333 (__SYSCALL_ULONG_TYPE): Likewise.
41334
413352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41336
41337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41338 Add sigaltstack-offsets.sym.
41339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41340 <sigaltstack-offsets.h>.
41341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41342 longjmp_msg pointer.
41343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41345 signal stack.
41346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41347
413482012-05-15 Joseph Myers <joseph@codesourcery.com>
41349
41350 * elf/stackguard-macros.h: Remove file.
41351 * sysdeps/generic/stackguard-macros.h: New file.
41352 * sysdeps/i386/stackguard-macros.h: Likewise.
41353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41361 <elf/stackguard-macros.h>.
41362
41363 [BZ #14109]
41364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41365 __aligned__ in attribute.
41366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41367 (gregset_t): Likewise.
41368
413692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41370
41371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41372 * sysdeps/x86_64/64/Implies-after: Here. New file.
41373 * sysdeps/x86_64/x32/Implies-after: New file.
41374
413752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41376
41377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41378 and access return value for _dl_profile_fixup. Use R10_LP to
41379 load frame size.
41380
413812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41382
41383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41384
413852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41386
41387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41388 * sysdeps/x86_64/x32/sysdep.h: New file.
41389
413902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41391
41392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41393 * sysdeps/x86_64/setjmp.S: Likewise.
41394
413952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41396
41397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41401 remove unused global constant.
41402
414032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41404
41405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41406 include of <not-cancel.h>.
41407
414082012-05-15 Roland McGrath <roland@hack.frob.com>
41409
41410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41411
414122012-05-15 Jeff Law <law@redhat.com>
41413 Andreas Jaeger <aj@suse.de>
41414
41415 [BZ #13594]
41416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41417 out from...
41418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41421 code changing __hst_map_handle.map.
41422
414232012-05-15 Roland McGrath <roland@hack.frob.com>
41424
41425 * configure.in (sysnames): Look for Implies-before and Implies-after
41426 files.
41427 * configure: Regenerated.
41428
414292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41430
41431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41432 8-byte data alignment with LP_SIZE alignment.
41433
414342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41435
41436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41437 into R10_LP.
41438
414392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41440
41441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41442
414432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41444
41445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41448 Likewise.
41449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41450
414512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41452
41453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41454 (stackinfo_sub_sp): Likewise.
41455
414562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41457
41458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41459 RAX_LP.
41460
414612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41462
41463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41464 into R*_LP.
41465
414662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41469 sizes into R*_LP.
41470
414712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41472
41473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41474
414752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41478 into R11_LP and load __x86_64_shared_cache_size_half into
41479 R8_LP.
41480
414812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41482
41483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41484 R8_LP.
41485
414862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41487
41488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41489 logb for POWER7.
41490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41491 logbf for POWER7.
41492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41493 logbl for POWER7.
41494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41495 powerpc32/power7/fpu/s_logb.c via #include.
41496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41497 powerpc32/power7/fpu/s_logbf.c via #include.
41498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41499 powerpc32/power7/fpu/s_logbl.c via #include.
41500
415012012-05-15 Joseph Myers <joseph@codesourcery.com>
41502
41503 * README.libm: Remove file.
41504
415052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41506
41507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41508 count for x32. Use R*_LP and omit operand-size suffix.
41509
415102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41511
41512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41514 * sysdeps/x86_64/x32/shlib-versions: New file.
41515
415162012-05-14 Roland McGrath <roland@hack.frob.com>
41517
41518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41520 Use _dl_fatal_printf instead.
41521
415222012-05-14 Joseph Myers <joseph@codesourcery.com>
41523
41524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41525 set if not set by the user. Do not allow for being unset.
41526 * sysdeps/unix/sysv/linux/configure: Regenerated.
41527
415282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41529
41530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41531 the `q' suffix from lea and replace .quad with ASM_ADDR.
41532
415332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41537 instead of $17.
41538 (PTR_DEMANGLE): Likewise.
41539
415402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41541
41542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41543 (LP_OP): Likewise.
41544 (ASM_ADDR): Likewise.
41545 (RAX_LP): Likewise.
41546 (RBP_LP): Likewise.
41547 (RBX_LP): Likewise.
41548 (RCX_LP): Likewise.
41549 (RDI_LP): Likewise.
41550 (RSI_LP): Likewise.
41551 (RSP_LP): Likewise.
41552 (R8_LP): Likewise.
41553 (R9_LP): Likewise.
41554 (R10_LP): Likewise.
41555 (R10_LP): Likewise.
41556 (R11_LP): Likewise.
41557 (R12_LP): Likewise.
41558 (R13_LP): Likewise.
41559 (R14_LP): Likewise.
41560 (R15_LP): Likewise.
41561
415622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41563
41564 * sysdeps/x86_64/x32/dl-machine.h: New file.
41565
415662012-05-14 Andreas Jaeger <aj@suse.de>
41567
41568 * manual/Makefile (subdir): Remove export of subdir.
41569 (all): Remove target.
41570 (.PHONY): Remove all from list.
41571 (mkinstalldirs): Remove.
41572 (.PHONY): Remove installdirs from list.
41573 ($(inst_infodir)/libc.info): Use make-target-directory.
41574 (installdirs): Remove.
41575 (subdir_%): Remove.
41576 (glibc-targets): Remove.
41577 (lib): Remove.
41578 (stubs): Remove.
41579 ($(objpfx)stubs ../po/manual.pot): Remove.
41580 ($(objpfx)stamp%): Remove.
41581 (make-target-directory): Remove.
41582 (subdir_install): Remove.
41583 (routines): Remove.
41584 (aux): Remove.
41585 (sources): Remove.
41586 (objects): Remove.
41587 (headers): Remove.
41588
41589 [BZ #13750]
41590 * manual/.gitignore: Remove, it's not needed anymore.
41591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41592 all files in it.
41593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41594 directory.
41595 (texis): Renamed to $(objpfx)texis.
41596 (texis-path): New, contains path to generated files.
41597 (chapters.%): Use texis-path for complete path, add extra argument
41598 libc-texinfo.sh.
41599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41601 (summary,texi, stamp-summary): Use complete path of
41602 files. Generate files in build dir.
41603 (dir-add.texi): Build in build dir.
41604 (libm-err.texi,stamp-libm-err): Likewise.
41605 (version.texi, stamp-version): Likewise.
41606 (.%c.texi): Likewise.
41607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41608 (mostlyclean): Remove target.
41609 (realclean): Remove target.
41610 (generated): Add new variable with contents from mostlyclean and
41611 realclean, remove entries duplicated in common-mostlyclean, add
41612 stamp-libm-err and stamp-version.
41613 (generated-dirs): Add libc directory.
41614 ($(inst_infodir)/libc.info): Install files from build dir.
41615
41616 * manual/install.texi (Configuring and compiling): Adjust since
41617 the info files are not part of the tar ball anymore.
41618
416192012-05-14 Andreas Jaeger <aj@suse.de>
41620
41621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41622 variable.
41623
416242012-05-14 Joseph Myers <joseph@codesourcery.com>
41625
41626 [BZ #13717]
41627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41628 to 2.2.0 where earlier.
41629 * sysdeps/unix/sysv/linux/configure: Regenerated.
41630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41631 Remove conditional code.
41632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41634 Remove conditional code.
41635 [!__NR_lchown]: Likewise.
41636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41637 [__NR_lchown]: Likewise.
41638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41639 comment referencing __ASSUME_LCHOWN_SYSCALL.
41640 * sysdeps/unix/sysv/linux/i386/sigaction.c
41641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41644 Remove conditional code.
41645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41646 (__protocol_available): Remove #if 0 code.
41647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41648 conditional code.
41649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41650 * sysdeps/unix/sysv/linux/kernel-features.h
41651 (__ASSUME_GETCWD_SYSCALL): Don't define.
41652 (__ASSUME_REALTIME_SIGNALS): Likewise.
41653 (__ASSUME_PREAD_SYSCALL): Likewise.
41654 (__ASSUME_PWRITE_SYSCALL): Likewise.
41655 (__ASSUME_POLL_SYSCALL): Likewise.
41656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41658 non-SPARC.
41659 (__ASSUME_SIOCGIFNAME): Don't define.
41660 (__ASSUME_MSG_NOSIGNAL): Likewise.
41661 (__ASSUME_SENDFILE): Define unconditionally.
41662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41664 conditional code.
41665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41697 Remove conditional code.
41698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41700 Remove conditional code.
41701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41705 Remove conditional code.
41706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41708 Remove conditional code.
41709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41711 Remove conditional code.
41712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41714 Remove conditional code.
41715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41717 Remove conditional code.
41718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41722 * sysdeps/unix/sysv/linux/sigaction.c
41723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41725 * sysdeps/unix/sysv/linux/sigpending.c
41726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41728 * sysdeps/unix/sysv/linux/sigprocmask.c
41729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41731 * sysdeps/unix/sysv/linux/sigsuspend.c
41732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41735 (__libc_missing_rt_sigs): Remove.
41736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41739 Remove conditional code.
41740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41742 return 1.
41743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41747
417482012-05-14 Andreas Jaeger <aj@suse.de>
41749
41750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41751 it's not used in glibc.
41752 (__coshm1): Likewise.
41753 (__acosh1p): Likewise.
41754 (__sgn): Likewise.
41755
41756 * manual/string.texi (Copying and Concatenation): Add missing
41757 variable in concat example.
41758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41759
417602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41761
41762 [BZ #14103]
41763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41764 __builtin_clzl with __builtin_clzll.
41765
417662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41767
41768 [BZ #14104]
41769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41770 libc_freeres_ptr.
41771
417722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41773
41774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41778
417792012-05-14 Mike Frysinger <vapier@gentoo.org>
41780
41781 * NEWS: Update ia64 info.
41782
417832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41784
41785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41786 used as bcopy.
41787
417882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41789
41790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41791 * sysdeps/unix/syscalls.list (dup3): Likewise.
41792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41794
417952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41796
41797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41799
418002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41801
41802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41803 thread pointer.
41804 (TLS_IE): Use mov/add instead of movq/addq to load thread
41805 pointer.
41806 (TLS_GD_PREFIX): New.
41807 (TLS_GD): Use it.
41808
418092012-05-11 David S. Miller <davem@davemloft.net>
41810
41811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41813 (_FPU_SETCW): Likewise.
41814
418152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41818 is 32-byte aligned.
41819
418202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41821
41822 [BZ #11837]
41823 * iconvdata/gb18030.c: Update tables.
41824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41825 characters specially.
41826 (BODY for TO_LOOP): Add encoding of missing ranges.
41827
418282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41829
41830 [BZ #13673]
41831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41832 * sysdeps/mach/hurd/dup3.c: Likewise.
41833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41834 * sysdeps/powerpc/memmove.c:: Likewise.
41835
418362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41837
41838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41840
418412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41842
41843 * elf/elf.h (R_X86_64_RELATIVE64): New.
41844 (R_X86_64_NUM): Updated.
41845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41849 tst-quad1pie tst-quad2pie
41850 (modules-names): Add tst-quadmod1 tst-quadmod2.
41851 ($(objpfx)tst-quad1): New dependency.
41852 ($(objpfx)tst-quad2): Likewise.
41853 ($(objpfx)tst-quad1pie): Likewise.
41854 ($(objpfx)tst-quad2pie): Likewise.
41855 * sysdeps/x86_64/tst-quad1.c: New file.
41856 * sysdeps/x86_64/tst-quad1pie.c: New file.
41857 * sysdeps/x86_64/tst-quad2.c: Likewise.
41858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41863
418642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41865
41866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41868 * streams/stropts.h (t_scalar_t): Define type.
41869
41870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41871 (_PATH_PRESERVE): Set to "/var/lib".
41872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41873
41874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41875 instead of int.
41876
41877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41878 if __dir_mkfile succeeded.
41879
41880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41881 checking for _hurd_dtablesize. Unlock it right after having
41882 finished _hurd_dtable allocation.
41883
418842012-05-10 Thomas Schwinge <thomas@schwinge.name>
41885
41886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41887 * sysdeps/mach/hurd/configure: Regenerated.
41888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41889 special-casing to...
41890 * sysdeps/gnu/configure.in: ... this new file.
41891 * sysdeps/unix/sysv/linux/configure: Regenerated.
41892 * sysdeps/gnu/configure: New generated file.
41893
41894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41895 for Linux: use nsec instead of usec, as well as:
41896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41897 members of type struct timespec.
41898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41899 New macros.
41900 (struct stat64): Likewise.
41901 (_STATBUF_ST_NSEC): New macro.
41902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41903
41904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41905 __strtoul_internal rather than strtoul.
41906
419072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41908
41909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41910 and reject them.
41911
419122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41913
41914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41915 which preserves existing values.
41916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41917
419182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41919
41920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41921 TIMEOUT values. Return EINVAL for NFDS values either negative or
41922 greater than FD_SETSIZE.
41923
419242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41925
41926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41927 allocated, call __vm_protect to finish enabling the existing space, and
41928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41929 allocate the remainder.
41930
419312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41932
41933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41935
419362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41937
41938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41939 sysdeps/mach/hurd/readlink.c.
41940
41941 * posix/tst-sysconf.c (posix_options): Only use
41942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41943 _POSIX_SYNCHRONIZED_IO when they are defined
41944 * sysdeps/mach/hurd/bits/posix_opt.h:
41945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41946 (_XOPEN_REALTIME): Undefine macro.
41947 (_XOPEN_REALTIME_THREADS): Undefine macro.
41948 (_XOPEN_SHM): Undefine macro.
41949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41950 macro to -1.
41951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41952 macro to -1.
41953 (_POSIX_ASYNC_IO): Undefine macro.
41954 (_POSIX_PRIORITIZED_IO): Undefine macro.
41955 (_POSIX_SPIN_LOCKS): Define macro to -1.
41956
41957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41958 SA_NODEFER, SA_RESETHAND.
41959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41961 F_DUPFD_CLOEXEC.
41962
419632012-05-10 Thomas Schwinge <thomas@schwinge.name>
41964
41965 * elf/Makefile (pldd-modules): Define unconditionally.
41966
419672012-05-10 Thomas Schwinge <thomas@schwinge.name>
41968
41969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41970
419712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41972
41973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41974 Return ENOENT when name is empty.
41975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41976
419772012-05-10 Thomas Schwinge <thomas@schwinge.name>
41978
41979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41980
41981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41982
419832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41984
41985 Fix mlock in all cases except non-readable pages.
41986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41987 instead of VM_PROT_ALL as parameter to __vm_wire function.
41988
41989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41990 (__mkdir): When path is `/', just fail with EEXIST.
41991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41992
419932012-05-10 Thomas Schwinge <thomas@schwinge.name>
41994
41995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41996 <sys/uio.h> (for writev).
41997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41998 and <sys/param.h> (for MIN).
41999
420002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42001
42002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42003 REQUESTED_TIME. Properly set the remaining time and return EINTR
42004 if interrupted.
42005
420062012-05-10 Thomas Schwinge <thomas@schwinge.name>
42007
42008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42009 Depend on against $(link-rpcuserlibs).
42010
420112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42012
42013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42014 (__libc_stack_end): Do not use attribute_relro.
42015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42017 to libthread-provided value.
42018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42019 attribute_relro.
42020
420212012-05-10 Thomas Schwinge <thomas@schwinge.name>
42022
42023 [BZ #3748]
42024 * bits/libc-lock.h (__libc_once_get): New macro.
42025 * sysdeps/mach/bits/libc-lock.h: Likewise.
42026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42028 instead of using implementation details.
42029
42030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42031 * libio/freopen.c: Likewise.
42032 * libio/freopen64.c: Likewise.
42033 * misc/syslog.c: Likewise.
42034 * nscd/connections.c: Likewise.
42035 * nscd/netgroupcache.c: Likewise.
42036 * sysdeps/posix/getcwd.c: Likewise.
42037
420382012-05-10 Roland McGrath <roland@hack.frob.com>
42039
42040 * math/w_ilogbf.c: Add #include <limits.h>.
42041
420422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42043
42044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42045 path instead of returning without unlocking.
42046
42047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42048 immediate-write ioctls.
42049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42050
420512012-05-10 Thomas Schwinge <thomas@schwinge.name>
42052
42053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42054 __builtin_frame_address instead of making assumptions about the
42055 location of the return address relative to DATA. Force early load of
42056 the return address.
42057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42058 __builtin_frame_address.
42059
42060 dup3 for GNU Hurd.
42061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42063 implement dup3 and do some further code clean-ups.
42064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42066
420672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42068
42069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42070
42071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42076 d->port.lock.
42077
42078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42080 when handler == SIG_ERR, not when handler != SIG_ERR.
42081
420822012-05-10 Thomas Schwinge <thomas@schwinge.name>
42083
42084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42086 definitions.
42087
42088 accept4 for GNU Hurd.
42089 * include/sys/socket.h (__libc_accept4): New prototype.
42090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42091 to implement __libc_accept4.
42092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42093 __libc_accept4.
42094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42095
42096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42099 signal-defines.sym.
42100
421012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42102
42103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42104
421052012-05-10 Thomas Schwinge <thomas@schwinge.name>
42106
42107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42108 assertion on O_CLOEXEC flag.
42109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42110 * hurd/intern-fd.c: Likewise.
42111 * hurd/port2fd.c: Likewise.
42112
421132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42114
42115 [BZ #3906]
42116 * bits/in.h (IPV6_PKTINFO): Define new macro.
42117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42118
421192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42120
42121 [BZ #13954]
42122 [BZ #13955]
42123 [BZ #13956]
42124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42130 * math/libm-test.inc (logb_test) : Additional logb tests.
42131
421322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42133 Andreas Jaeger <aj@suse.de>
42134
42135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42136 * configure: Regenerated.
42137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42138 * config.make.in (link-obsolete-rpc): New substituted variable.
42139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42143 so that libc.a contains the symbols.
42144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42146 * sunrpc/auth_none.c: Likewise.
42147 * sunrpc/auth_unix.c: Likewise.
42148 * sunrpc/authdes_prot.c: Likewise.
42149 * sunrpc/authuxprot.c: Likewise.
42150 * sunrpc/clnt_gen.c: Likewise.
42151 * sunrpc/clnt_perr.c: Likewise.
42152 * sunrpc/clnt_raw.c: Likewise.
42153 * sunrpc/clnt_simp.c: Likewise.
42154 * sunrpc/clnt_tcp.c: Likewise.
42155 * sunrpc/clnt_udp.c: Likewise.
42156 * sunrpc/clnt_unix.c: Likewise.
42157 * sunrpc/des_crypt.c: Likewise.
42158 * sunrpc/des_soft.c: Likewise.
42159 * sunrpc/get_myaddr.c: Likewise.
42160 * sunrpc/key_call.c: Likewise.
42161 * sunrpc/key_prot.c: Likewise.
42162 * sunrpc/netname.c: Likewise.
42163 * sunrpc/pm_getmaps.c: Likewise.
42164 * sunrpc/pm_getport.c: Likewise.
42165 * sunrpc/pmap_clnt.c: Likewise.
42166 * sunrpc/pmap_prot.c: Likewise.
42167 * sunrpc/pmap_prot2.c: Likewise.
42168 * sunrpc/pmap_rmt.c: Likewise.
42169 * sunrpc/publickey.c: Likewise.
42170 * sunrpc/rpc_cmsg.c: Likewise.
42171 * sunrpc/rpc_common.c: Likewise.
42172 * sunrpc/rpc_dtable.c: Likewise.
42173 * sunrpc/rpc_prot.c: Likewise.
42174 * sunrpc/rpc_thread.c: Likewise.
42175 * sunrpc/rtime.c: Likewise.
42176 * sunrpc/svc.c: Likewise.
42177 * sunrpc/svc_auth.c: Likewise.
42178 * sunrpc/svc_raw.c: Likewise.
42179 * sunrpc/svc_run.c: Likewise.
42180 * sunrpc/svc_tcp.c: Likewise.
42181 * sunrpc/svc_udp.c: Likewise.
42182 * sunrpc/svc_unix.c: Likewise.
42183 * sunrpc/svcauth_des.c: Likewise.
42184 * sunrpc/xcrypt.c: Likewise.
42185 * sunrpc/xdr.c: Likewise.
42186 * sunrpc/xdr_array.c: Likewise.
42187 * sunrpc/xdr_float.c: Likewise.
42188 * sunrpc/xdr_intXX_t.c: Likewise.
42189 * sunrpc/xdr_mem.c: Likewise.
42190 * sunrpc/xdr_rec.c: Likewise.
42191 * sunrpc/xdr_ref.c: Likewise.
42192 * sunrpc/xdr_sizeof.c: Likewise.
42193 * sunrpc/xdr_stdio.c: Likewise.
42194
421952012-05-10 Roland McGrath <roland@hack.frob.com>
42196
42197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42198 change. Update copyright years.
42199
422002012-05-10 Joseph Myers <joseph@codesourcery.com>
42201
42202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42203
422042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42205 Joseph Myers <joseph@codesourcery.com>
42206 Paul Pluzhnikov <ppluzhnikov@google.com>
42207
42208 [BZ #14012]
42209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42210 requiring rpcgen.
42211 [cross-compiling] (extra-libs): Likewise.
42212 [cross-compiling] (extra-libs-others): Likewise.
42213 [cross-compiling] (librpcsvc-routines): Likewise.
42214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42215 [cross-compiling] (omit-deps): Likewise.
42216 (sunrpc-CPPFLAGS): New variable.
42217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42219 (cross-rpcgen-objs): New variable.
42220 (extra-objs): Append $(cross-rpcgen-objs).
42221 ($(cross-rpcgen-objs)): New rule.
42222 ($(objpfx)cross-rpcgen): Likewise.
42223 (rpcgen-cmd): Define to use $(built-program-file). Expand
42224 comment.
42225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42226 ($(objpfx)x%.stmp): Likewise.
42227 * sunrpc/proto.h [IS_IN_build] (_): Define.
42228 [IS_IN_build] (_libc_intl_domainname): Likewise.
42229
422302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42231
42232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42234 and R_X86_64_TPOFF64.
42235
422362012-05-10 Joseph Myers <joseph@codesourcery.com>
42237
42238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42239 sysdeps/unix/sysv/syscalls.list.
42240 (stime): Likewise.
42241 (utime): Likewise.
42242 * sysdeps/unix/sysv/syscalls.list: Remove file.
42243
422442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42245
42246 [BZ #3440]
42247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42250 (__LC_IDENTIFICATION): Make these macros useful in #if
42251 expressions, as required by C99.
42252
422532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42254
42255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42257 after this.
42258
422592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42260
42261 * stdlib/longlong.h: Updated from GCC.
42262
422632012-05-09 Andreas Jaeger <aj@suse.de>
42264
42265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42266 default is first entry.
42267 (run_mode): Set type.
42268 (main): Remove informal message about syslog.
42269 (options): Fix typo.
42270
42271 [BZ #14053]
42272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42273 to asm.
42274 (lrint): Likewise.
42275 (llrintf): Likewise.
42276 (llrint): Likewise.
42277 (rint): Likewise.
42278 (rintf): Likewise.
42279 (nearbyint): Likewise.
42280 (nearbyintf): Likewise.
42281
422822012-05-09 Andreas Jaeger <aj@suse.de>
42283 Pedro Alves <palves@redhat.com>
42284
42285 * nscd/nscd.c (run_mode): Use enum.
42286 (main): Cleanup coding style issue.
42287
422882012-05-09 Alexandre Oliva <aoliva@redhat.com>
42289 Andreas Jaeger <aj@suse.de>
42290
42291 * nscd/nscd.c (go_background): Replaced with...
42292 (run_mode): ... this.
42293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42294 (options): Add -F --foreground.
42295 (main): Implement it.
42296 (parse_opt): Parse it.
42297
422982012-05-09 Andreas Jaeger <aj@suse.de>
42299
42300 [BZ #14083]
42301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42303 -Wconversion warning.
42304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42305 Likewise.
42306
423072012-05-09 Joseph Myers <joseph@codesourcery.com>
42308
42309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42310 == 0.
42311 (LC_ALL): Use macro-int-constant.
42312 (LC_COLLATE): Likewise.
42313 (LC_CTYPE): Likewise.
42314 (LC_MESSAGES): Likewise.
42315 (LC_MONETARY): Likewise.
42316 (LC_NUMERIC): Likewise.
42317 (LC_TIME): Likewise.
42318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42322 Specify type.
42323 [C99-based standards] (float_t): Expect type.
42324 [C99-based standards] (double_t): Expect type.
42325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42326 type.
42327 [C99-based standards] (HUGE_VALL): Likewise.
42328 [C99-based standards] (INFINITY): Likewise.
42329 [C99-based standards] (NAN): Likewise.
42330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42331 [C99-based standards] (FP_NAN): Likewise.
42332 [C99-based standards] (FP_NORMAL): Likewise.
42333 [C99-based standards] (FP_SUBNORMAL): Likewise.
42334 [C99-based standards] (FP_ZERO): Likewise.
42335 [C99-based standards] (FP_FAST_FMA): Use
42336 optional-macro-int-constant. Specify type. Require == 1.
42337 [C99-based standards] (FP_FAST_FMAF): Likewise.
42338 [C99-based standards] (FP_FAST_FMAL): Likewise.
42339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42340 [C99-based standards] (FP_ILOGBNAN): Likewise.
42341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42342 Specify type.
42343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42344 [C99-based standards] (math_errhandling): Specify type.
42345 [ISO99 || ISO11] (signgam): Do not allow.
42346 [non-C99-based standards] (copysignf): Do not allow.
42347 [non-C99-based standards] (exp2f): Likewise.
42348 [non-C99-based standards] (log2f): Likewise.
42349 [non-C99-based standards] (modff): Allow.
42350 [non-C99-based standards] (erff): Do not allow.
42351 [non-C99-based standards] (erfcf): Likewise.
42352 [non-C99-based standards] (gammaf): Likewise.
42353 [non-C99-based standards] (hypotf): Likewise.
42354 [non-C99-based standards] (j0f): Likewise.
42355 [non-C99-based standards] (j1f): Likewise.
42356 [non-C99-based standards] (jnf): Likewise.
42357 [non-C99-based standards] (lgammaf): Likewise.
42358 [non-C99-based standards] (tgammaf): Likewise.
42359 [non-C99-based standards] (y0f): Likewise.
42360 [non-C99-based standards] (y1f): Likewise.
42361 [non-C99-based standards] (ynf): Likewise.
42362 [non-C99-based standards] (isnanf): Likewise.
42363 [non-C99-based standards] (acoshf): Likewise.
42364 [non-C99-based standards] (asinhf): Likewise.
42365 [non-C99-based standards] (atanhf): Likewise.
42366 [non-C99-based standards] (cbrtf): Likewise.
42367 [non-C99-based standards] (expm1f): Likewise.
42368 [non-C99-based standards] (ilogbf): Likewise.
42369 [non-C99-based standards] (log1pf): Likewise.
42370 [non-C99-based standards] (logbf): Likewise.
42371 [non-C99-based standards] (nextafterf): Likewise.
42372 [non-C99-based standards] (remainderf): Likewise.
42373 [non-C99-based standards] (rintf): Likewise.
42374 [non-C99-based standards] (scalbf): Likewise.
42375 [non-C99-based standards] (copysignl): Likewise.
42376 [non-C99-based standards] (exp2l): Likewise.
42377 [non-C99-based standards] (log2l): Likewise.
42378 [non-C99-based standards] (modfl): Allow.
42379 [non-C99-based standards] (erfl): Do not allow.
42380 [non-C99-based standards] (erfcl): Likewise.
42381 [non-C99-based standards] (gammal): Likewise.
42382 [non-C99-based standards] (hypotl): Likewise.
42383 [non-C99-based standards] (j0l): Likewise.
42384 [non-C99-based standards] (j1l): Likewise.
42385 [non-C99-based standards] (jnl): Likewise.
42386 [non-C99-based standards] (lgammal): Likewise.
42387 [non-C99-based standards] (tgammal): Likewise.
42388 [non-C99-based standards] (y0l): Likewise.
42389 [non-C99-based standards] (y1l): Likewise.
42390 [non-C99-based standards] (ynl): Likewise.
42391 [non-C99-based standards] (isnanl): Likewise.
42392 [non-C99-based standards] (acoshl): Likewise.
42393 [non-C99-based standards] (asinhl): Likewise.
42394 [non-C99-based standards] (atanhl): Likewise.
42395 [non-C99-based standards] (cbrtl): Likewise.
42396 [non-C99-based standards] (expm1l): Likewise.
42397 [non-C99-based standards] (ilogbl): Likewise.
42398 [non-C99-based standards] (log1pl): Likewise.
42399 [non-C99-based standards] (logbl): Likewise.
42400 [non-C99-based standards] (nextafterl): Likewise.
42401 [non-C99-based standards] (remainderl): Likewise.
42402 [non-C99-based standards] (rintl): Likewise.
42403 [non-C99-based standards] (scalbl): Likewise.
42404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42405 [non-C99-based standards] (FP_*): Do not allow.
42406 [C99-based standards] (FP_*): Change to
42407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42409 allow.
42410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42411 (SIG_ERR): Likewise.
42412 [X/Open-based standards] (SIG_HOLD): Likewise.
42413 (SIG_IGN): Likewise.
42414 (SIGABRT): Use macro-int-constant. Specify type. Require
42415 positive value.
42416 (SIGFPE): Likewise.
42417 (SIGILL): Likewise.
42418 (SIGINT): Likewise.
42419 (SIGSEGV): Likewise.
42420 (SIGTER): Likewise.
42421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42439 [X/Open-based standards] (SIGTRAP): Likewise.
42440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42445 allow.
42446
424472012-05-08 Ian Wienand <ianw@vmware.com>
42448
42449 [BZ #14080]
42450 * time/tzset.c (__tzset_parse_tz): Update default rules for
42451 daylight time changes in the Energy Policy Act of 2005.
42452
424532012-05-09 Andreas Jaeger <aj@suse.de>
42454
42455 [BZ #13983]
42456 * elf/ldconfig.c (parse_conf): Change string to make clear that
42457 ldconfig only issued a warning if ld.so.conf does not exist.
42458
424592012-05-08 David S. Miller <davem@davemloft.net>
42460
42461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42462 movxtod instead of popping the value on the stack.
42463
42464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42465
424662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42467
42468 * config.h.in: Add HAVE_ARM_PCS_VFP.
42469
424702012-05-08 Roland Mc Grath <roland@hack.frob.com>
42471
42472 [BZ #13979]
42473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42474 checking but the checks are disabled for any reason.
42475
424762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42477
42478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42479 and ELF64_R_TYPE with ELFW(R_TYPE).
42480
424812012-05-08 Joseph Myers <joseph@codesourcery.com>
42482
42483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42484 (ulimit): Likewise.
42485
42486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42487 (settimeofday): Likewise.
42488
424892012-05-08 Mike Frysinger <vapier@gentoo.org>
42490
42491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42492 a struct th_u2 inside the union, and move tu_block/tu_code into
42493 a new th_u3 union of tu_block/tu_code inside of that. Move
42494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42498 (th_stuff): Change to th_u1.tu_stuff.
42499 (th_data): Define.
42500 (th_msg): Change to th_u1.th_u2.tu_data.
42501
425022012-05-07 David S. Miller <davem@davemloft.net>
42503
42504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42505
42506 [BZ #14074]
42507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42508 (SETUP_PIC_REG): Use it.
42509 (SETUP_PIC_REG_LEAF): Use it.
42510
425112012-05-07 Joseph Myers <joseph@codesourcery.com>
42512
42513 [BZ #13885]
42514 [BZ #13923]
42515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42516 USE_AS_EXPM1L.
42517 (EXPL_FINITE): Likewise.
42518 (FLDLOG): Likewise.
42519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42521 e_expl.S.
42522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42523 USE_AS_EXPM1L.
42524 (EXPL_FINITE): Likewise.
42525 (FLDLOG): Likewise.
42526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42528 e_expl.S.
42529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42530 test of -max_value argument for long double.
42531 * sysdeps/i386/fpu/libm-test-ulps: Update.
42532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42533
425342012-05-06 David S. Miller <davem@davemloft.net>
42535
42536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42537 quad soft-float symbols whose references which are compiler
42538 generated.
42539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42540
425412012-05-06 Joseph Myers <joseph@codesourcery.com>
42542
42543 [BZ #13884]
42544 [BZ #13914]
42545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42546 USE_AS_EXP10L.
42547 (EXPL_FINITE): Likewise.
42548 (FLDLOG): Likewise.
42549 (c0): Likewise.
42550 (c1): Likewise.
42551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42552 Adjust comments for base varying.
42553 (__expl_finite): Change alias to EXPL_FINITE.
42554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42555 e_expl.S.
42556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42561 USE_AS_EXP10L.
42562 (EXPL_FINITE): Likewise.
42563 (FLDLOG): Likewise.
42564 (c0): Likewise.
42565 (c1): Likewise.
42566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42567 Adjust comments for base varying.
42568 (__expl_finite): Change alias to EXPL_FINITE.
42569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42570 tests for bugs.
42571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42572
42573 [BZ #14064]
42574 * math/libm-test.inc (check_float_internal): Correct ulp
42575 calculation for subnormal expected results.
42576
425772012-05-06 Andreas Jaeger <aj@suse.de>
42578
42579 * Makeconfig (+math-flags): New, set to -frounding-math.
42580 (+cflags): Add +math-flags so that all of glibc gets compiled with
42581 it.
42582
42583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42584
425852012-05-05 Joseph Myers <joseph@codesourcery.com>
42586
42587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42588 Disable one test.
42589
42590 [BZ #13787]
42591 [BZ #13922]
42592 [BZ #14036]
42593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42594 (__ieee754_expl): Allow for and saturate large arguments.
42595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42596 (u_threshold): Likewise.
42597 (__exp): Call __ieee754_exp before checking for overflow and
42598 underflow.
42599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42600 (u_threshold): Likewise.
42601 (__expf): Call __ieee754_expf before checking for overflow and
42602 underflow.
42603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42604 (u_threshold): Likewise.
42605 (__expl): Call __ieee754_expl before checking for overflow and
42606 underflow.
42607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42608 (__ieee754_expl): Allow for and saturate large arguments.
42609 * math/libm-test.inc (exp_test): Add another test. Do not allow
42610 missing overflow exception on overflow.
42611 (expm1_test): Do not allow missing overflow exception on overflow.
42612
42613 * sysdeps/i386/fpu/e_expl.c: Move to ...
42614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42615 rather than using inline asm.
42616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42619
42620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42621 (nice): Likewise.
42622 (poll): Likewise.
42623 (signal): Likewise.
42624 (time): Likewise.
42625 (times): Likewise.
42626
426272012-05-04 Joseph Myers <joseph@codesourcery.com>
42628
42629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42630 sysdeps/unix/common/syscalls.list.
42631 (fchmod): Likewise.
42632 (fchown): Likewise.
42633 (ftruncate): Likewise.
42634 (getrusage): Likewise.
42635 (gettimeofday): Likewise.
42636 (setpgid): Likewise.
42637 (setregid): Likewise.
42638 (setreuid): Likewise.
42639 (sigaction): Likewise.
42640 (truncate): Likewise.
42641 (vhangup): Likewise.
42642 * sysdeps/unix/common/syscalls.list: Remove file.
42643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42644 * sysdeps/unix/sysv/linux/Implies: Likewise.
42645
426462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42647
42648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42651 Moved to ...
42652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42653 Here.
42654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42655 to ...
42656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42658 to ...
42659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42661 to ...
42662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42664 to ...
42665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42667 to ...
42668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42670 to ...
42671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42673 to ...
42674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42675 Here.
42676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42677 to ...
42678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42679 Here.
42680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42681 to ...
42682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42684 Moved to ...
42685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42686 Here.
42687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42688 to ...
42689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42690
426912012-05-04 Joseph Myers <joseph@codesourcery.com>
42692
42693 * sysdeps/unix/common/bits/dirent.h: Remove file.
42694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42695
42696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42699 * sysdeps/unix/bsd/isatty.c: Likewise.
42700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42703
427042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42705
42706 [BZ #13563]
42707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42708 long double comparison inaccuracies.
42709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42711
427122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42713
42714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42716
427172012-05-04 Joseph Myers <joseph@codesourcery.com>
42718
42719 [BZ #14049]
42720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42721 nonzero digits before rounding a hex value.
42722 * stdlib/tst-strtod.c (tests): Add another test.
42723
427242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42725
42726 * sysdeps/s390/fpu/libm-test-ulps: Update.
42727
427282012-05-03 Andreas Jaeger <aj@suse.de>
42729
42730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42731 does not get optimized out.
42732 (malloc_opt_barrier): New.
42733
427342012-05-03 Andreas Jaeger <aj@suse.de>
42735 Roland McGrath <roland@hack.frob.com>
42736
42737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42738 intermediate file deletion.
42739 (generated): Add .symlist files.
42740
427412012-05-03 Joseph Myers <joseph@codesourcery.com>
42742
42743 [BZ #13775]
42744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42745 Redirect under this condition.
42746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42747 [__USE_GNU] (__dprintf_chk): Not under this condition.
42748 [__USE_GNU] (__vdprintf_chk): Likewise.
42749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42750 under this condition.
42751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42753 [__USE_XOPEN2K8] (vdprintf): Likewise.
42754 [__USE_GNU] (__dprintf_chk): Not under this condition.
42755 [__USE_GNU] (__vdprintf_chk): Likewise.
42756 [__USE_GNU] (dprintf): Likewise.
42757 [__USE_GNU] (vdprintf): Likewise.
42758
427592012-05-03 Roland McGrath <roland@hack.frob.com>
42760
42761 * elf/Makefile (common-generated): Set this instead of generated for
42762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42763 $(all-built-dso)-derived lists.
42764
427652012-05-03 Andreas Jaeger <aj@suse.de>
42766
42767 * sysdeps/i386/fpu/libm-test-ulps: Update.
42768
42769 * FAQ: Removed.
42770 * FAQ.in: Likewise.
42771 * scripts/gen-FAQ.pl: Likewise.
42772 * manual/install.texi (Installation): Point to online location of
42773 FAQ.
42774 * Makefile (files-for-dist): Remove FAQ.
42775 (FAQ): Remove.
42776
427772012-05-02 Allan McRae <allan@archlinux.org>
42778
42779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42780 (LDFLAGS-reldepmod5.so): Likewise.
42781 (LDFLAGS-reldep6mod1.so): Likewise.
42782 (LDFLAGS-reldep6mod4.so): Likewise.
42783 (LDFLAGS-reldep8mod3.so): Likewise.
42784 (LDFLAGS-unload4mod1.so): Likewise.
42785 (LDFLAGS-unload4mod2.so): Likewise.
42786 (LDFLAGS-tst-initorder): Likewise.
42787 (LDFLAGS-tst-initordera2.so): Likewise.
42788 (LDFLAGS-tst-initordera3.so): Likewise.
42789 (LDFLAGS-tst-initordera4.so): Likewise.
42790 (LDFLAGS-tst-initorderb2.so): Likewise.
42791 (LDFLAGS-noload): Likewise.
42792 (LDFLAGS-next): Likewise.
42793 (LDFLAGS-order2mod1.so): Likewise.
42794 (LDFLAGS-order2mod2.so): Likewise.
42795 (LDFLAGS-tst-initorder2): Likewise.
42796 (LDFLAGS-tst-initorder2a.so): Likewise.
42797 (LDFLAGS-tst-initorder2b.so): Likewise.
42798 (LDFLAGS-tst-initorder2c.so): Likewise.
42799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42800
428012012-05-02 David S. Miller <davem@davemloft.net>
42802
42803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42804
428052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42806
42807 [BZ #14055]
42808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42809
428102012-05-02 Andreas Jaeger <aj@suse.de>
42811
42812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42813 since we manipulate rounding mode.
42814 (CPPFLAGS-test-idouble.c): Likewise.
42815 (CPPFLAGS-test-ifloat.c): Likewise.
42816 (CFLAGS-test-ldouble.c): Likewise.
42817 (CFLAGS-test-double.c): Likewise.
42818 (CFLAGS-test-float.c): Likewise.
42819 (CFLAGS-test-misc.c): Likewise.
42820 (CFLAGS-test-test-fenv.c): Likewise.
42821
428222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42823
42824 [BZ #2550]
42825 [BZ #2570]
42826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42827 comparisons to determine direction to adjust input.
42828
428292012-05-01 Roland McGrath <roland@hack.frob.com>
42830
42831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42832 output to the target.
42833
42834 * scripts/localplt.awk: New file.
42835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42836 (check-localplt-CFLAGS): Variable removed.
42837 ($(all-built-dso:=.jmprel)): New static pattern rule.
42838 (generated): Add those targets.
42839 (localplt-built-dso): New variable.
42840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42841
42842 * elf/check-localplt.c: File removed.
42843
42844 * scripts/check-execstack.awk: New file.
42845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42846 (check-execstack-CFLAGS): Variable removed.
42847 ($(objpfx)check-execstack.h): Target removed.
42848 ($(objpfx)execstack-default): New target.
42849 (generated): Add that instead of check-execstack.h.
42850 ($(all-built-dso:=.phdr)): New static pattern rule.
42851 (generated): Add those targets.
42852 * elf/check-execstack.c: File removed.
42853
42854 * scripts/check-textrel.awk: New file.
42855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42856 (check-textrel-CFLAGS): Variable removed.
42857 (all-built-dso): Use := to define.o
42858 ($(all-built-dso:=.dyn)): New static pattern rule.
42859 (generated): Add those targets.
42860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42861 * config.make.in (READELF): New substituted variable.
42862 * elf/check-textrel.c: File removed.
42863
428642012-05-01 Joseph Myers <joseph@codesourcery.com>
42865
42866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42867 allow.
42868 * conform/data/ctype.h-data [C99-based standards] (isblank):
42869 Expect function.
42870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42874 Specify type. Require positive value.
42875 (EILSEQ): Likewise.
42876 (ERANGE): Likewise.
42877 [ISO || POSIX] (EILSEQ): Do not expect.
42878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42879 Specify type. Require positive value.
42880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42957 Require >= 2.
42958 (FLT_ROUNDS): Expect as macro, not constant.
42959 (FLT_MANT_DIG): Use macro-int-constant.
42960 (DBL_MANT_DIG): Likewise.
42961 (LDBL_MANT_DIG): Likewise.
42962 (FLT_DIG): Likewise.
42963 (DBL_DIG): Likewise.
42964 (LDBL_DIG): Likewise.
42965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42966 (DBL_MIN_EXP): Likewise.
42967 (LDBL_MIN_EXP): Likewise.
42968 (FLT_MAX_EXP): Use macro-int-constant.
42969 (DBL_MAX_EXP): Likewise.
42970 (LDBL_MAX_EXP): Likewise.
42971 (FLT_MAX_10_EXP): Likewise.
42972 (DBL_MAX_10_EXP): Likewise.
42973 (LDBL_MAX_10_EXP): Likewise.
42974 (FLT_MAX): Use macro-constant.
42975 (DBL_MAX): Likewise.
42976 (LDBL_MAX): Likewise.
42977 (FLT_EPSILON): Use macro-constant. Give upper bound.
42978 (DBL_EPSILON): Likewise.
42979 (LDBL_EPSILON): Likewise.
42980 (FLT_MIN): Likewise.
42981 (DBL_MIN): Likewise.
42982 (LDBL_MIN): Likewise.
42983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42992 [ISO11] (FLT_TRUE_MIN): Likewise.
42993 [ISO11] (LDBL_TRUE_MIN): Likewise.
42994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42996 (SCHAR_MIN): Use macro-int-constant. Specify type.
42997 (SCHAR_MAX): Likewise.
42998 (UCHAR_MAX): Likewise.
42999 (CHAR_MIN): Likewise.
43000 (CHAR_MAX): Likewise.
43001 (MB_LEN_MAX): Use macro-int-constant.
43002 (SHRT_MIN): Use macro-int-constant. Specify type.
43003 (SHRT_MAX): Likewise.
43004 (USHRT_MAX): Likewise.
43005 (INT_MAX): Likewise.
43006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43007 bound negative.
43008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43009 bound with "U".
43010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43011 bound with "L".
43012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43013 bound negative. Suffix upper bound with "L".
43014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43015 bound with "UL".
43016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43017 Specify type.
43018 [C99-based standards] (LLONG_MAX): Likewise.
43019 [C99-based standards] (ULLONG_MAX): Likewise.
43020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43021 == 0.
43022 [ISO11] (max_align_t): Require type.
43023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43024
43025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43026 from $CFLAGS, without defining away __attribute__ calls.
43027 (checknamespace): Use $CFLAGS_namespace.
43028
43029 * conform/conformtest.pl (@keywords): Only include C99 keywords
43030 for standards based on C99 or C11.
43031
43032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43033 Disable tests.
43034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43035 UNIX98]: Likewise.
43036
43037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43038 usability of symbols in #if.
43039
43040 * conform/conformtest.pl: If macro or constant types start
43041 "promoted:", expect the symbol to be of the following type
43042 promoted by the integer promotions.
43043
43044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43045 in one place. Also handle "macro-constant".
43046
43047 * conform/conformtest.pl: Only accept expected macro values with
43048 "==". Parse all "macro" lines in one place.
43049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43050
43051 * conform/conformtest.pl: Handle braced types on "constant" lines
43052 instead of handling "typed-constant".
43053 * conform/data/signal.h-data: Use "constant" instead of
43054 "typed-constant".
43055
43056 * conform/conformtest.pl: Handle "optional-" at start of lines in
43057 one place rather than duplicating several cases. Handle each
43058 format of "macro" line with initial "optional-".
43059
43060 * conform/conformtest.pl: Only accept expected constant or
43061 optional-constant values with "==". Parse all "constant" lines in
43062 one place. Parse all "optional-constant" lines in one place.
43063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43064 * conform/data/fmtmsg.h-data: Likewise.
43065 * conform/data/netinet/in.h-data: Likewise.
43066 * conform/data/tar.h-data: Likewise.
43067 * conform/data/limits.h-data: Use "==" form on "constant" and
43068 "optional-constant" lines.
43069
43070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43071 Use -std=c99 for XOPEN2K.
43072 (@knownproblems): Remove.
43073 (newtoken): Don't check %isknown.
43074
43075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43076 Do not expect macro.
43077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43107 [XPG3] (acosh): Likewise.
43108 [XPG3] (asinh): Likewise.
43109 [XPG3] (atanh): Likewise.
43110 [XPG3] (cbrt): Likewise.
43111 [XPG3] (expm1): Likewise.
43112 [XPG3] (ilogb): Likewise.
43113 [XPG3] (log1p): Likewise.
43114 [XPG3] (logb): Likewise.
43115 [XPG3] (nextafter): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43118 [XPG3] (remainder): Likewise.
43119 [XPG3] (rint): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43127 [UNIX98 || XOPEN2K] (scalb): Expect.
43128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43265
43266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43267 _XOPEN_SOURCE_EXTENDED for XPG4.
43268
43269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43270
43271 * Makeconfig (localtime): Remove variable.
43272 (inst_localtime-file): Likewise.
43273
432742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43275
43276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43277 Update.
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43279 Update.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43281 Update.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43283 Update.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43285 Update.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43287 Update.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43289 Update.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43291 Update.
43292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43293 Update.
43294
432952012-05-01 Joseph Myers <joseph@codesourcery.com>
43296
43297 [BZ #2550]
43298 [BZ #2570]
43299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43300 comparisons to determine direction to adjust input.
43301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43304 Likewise.
43305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43306 Likewise.
43307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43308 Likewise.
43309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43311 Likewise.
43312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43313 Likewise.
43314 * math/libm-test.inc (nexttoward_test): Add more tests.
43315
433162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43317
43318 [BZ #14040]
43319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43320 in version GLIBC_2.1, not GLIBC_2.0.
43321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43322 Likewise.
43323
433242012-04-30 Joseph Myers <joseph@codesourcery.com>
43325
43326 [BZ #13942]
43327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43328 (1 - x) * (1 + x).
43329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43331 * math/libm-test.inc (acos_test): Add more tests.
43332 (asin_test): Likewise.
43333 * sysdeps/i386/fpu/libm-test-ulps: Update.
43334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43335
43336 [BZ #14034]
43337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43338 of square root.
43339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43341 * math/libm-test.inc (acos_test_tonearest): New function.
43342 (acos_test_towardzero): Likewise.
43343 (acos_test_downward): Likewise.
43344 (acos_test_upward): Likewise.
43345 (asin_test_tonearest): Likewise.
43346 (asin_test_towardzero): Likewise.
43347 (asin_test_downward): Likewise.
43348 (asin_test_upward): Likewise.
43349 (main): Call the new functions.
43350 * sysdeps/i386/fpu/libm-test-ulps: Update.
43351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43352
43353 [BZ #13884]
43354 [BZ #13924]
43355 * math/e_exp10.c: Include <float.h>.
43356 (__ieee754_exp10): Handle underflow here rather than multiplying
43357 large negative argument by M_LN10.
43358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43359 of __ieee754_expf.
43360 * math/e_exp10l.c: Include <float.h>.
43361 (__ieee754_exp10l): Handle underflow here rather than multiplying
43362 large negative argument by M_LN10l.
43363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43364 spurious overflow exception on underflow.
43365
433662012-04-29 Marek Polacek <polacek@redhat.com>
43367
43368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43369 (__fortify_function): New macro.
43370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43372 __extern_always_inline.
43373 * libio/bits/stdio2.h: Likewise.
43374 * libio/bits/stdio.h: Likewise.
43375 * string/string.h: Likewise.
43376 * string/bits/string3.h: Likewise.
43377 * include/stdio.h: Likewise.
43378 * stdlib/bits/stdlib.h: Likewise.
43379 * stdlib/stdlib.h: Likewise.
43380 * rt/bits/mqueue2.h: Likewise.
43381 * rt/mqueue.h: Likewise.
43382 * posix/bits/unistd.h: Likewise.
43383 * posix/unistd.h: Likewise.
43384 * io/bits/poll2.h: Likewise.
43385 * io/bits/fcntl2.h: Likewise.
43386 * io/fcntl.h: Likewise.
43387 * io/sys/poll.h: Likewise.
43388 * misc/bits/syslog.h: Likewise.
43389 * misc/bits/syslog-ldbl.h: Likewise.
43390 * misc/sys/syslog.h: Likewise.
43391 * socket/bits/socket2.h: Likewise.
43392 * socket/sys/socket.h: Likewise.
43393 * debug/tst-chk1.c: Likewise.
43394 * wcsmbs/bits/wchar2.h: Likewise.
43395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43396 * wcsmbs/wchar.h: Likewise.
43397
433982012-04-29 Andreas Jaeger <aj@suse.de>
43399
43400 * Makerules (tests): Remove enable-check-abi protection.
43401 (check-abi-warn): Remove.
43402 (check-abi-%): Remove check-abi-warn usage.
43403
43404 * configure.in: Remove check-abi configure option.
43405 * configure: Regenerated.
43406 * config.make.in (enable-check-abi): Remove.
43407
434082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43409
43410 [BZ #14033]
43411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43412 double functions to double *_finite functions.
43413
43414 [BZ #13941]
43415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43417 LDBL_MIN_EXP.
43418 * stdio-common/Makefile (tests): Add tst-sprintf3.
43419 * stdio-common/tst-sprintf3.c: New file.
43420
43421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43423
434242012-04-28 Joseph Myers <joseph@codesourcery.com>
43425
43426 * conform/conformtest.pl: Remove duplicate typed-constant
43427 handling.
43428
434292012-04-28 David S. Miller <davem@davemloft.net>
43430
43431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43432 (check-abi-%): Remove AWK script prerequisite and explicit
43433 abilist directory.
43434 (check-abi): Rewrite to just diff the symlist with the abilist.
43435 (config-tls, config-abi-config): Delete, no longer used.
43436 (update-abi-%): Remove AWK script and explicit abilist directory.
43437 (update-abi): Rewrite to simply compare and conditionally copy the
43438 symlist and the sysdep abilist file. Remove update-abi-config
43439 checks.
43440 * abilist/ld.abilist: Remove.
43441 * abilist/libBrokenLocale.abilist: Remove.
43442 * abilist/libanl.abilist: Remove.
43443 * abilist/libcrypt.abilist: Remove.
43444 * abilist/libdl.abilist: Remove.
43445 * abilist/librt.abilist: Remove.
43446 * abilist/libthread_db.abilist: Remove.
43447 * abilist/libutil.abilist: Remove.
43448 * scripts/extract-abilist.awk: Remove.
43449 * scripts/merge-abilist.awk: Remove.
43450 * sysdeps/generic/libcidn.abilist: New file.
43451 * sysdeps/generic/libnss_compat.abilist: New file.
43452 * sysdeps/generic/libnss_db.abilist: New file.
43453 * sysdeps/generic/libnss_dns.abilist: New file.
43454 * sysdeps/generic/libnss_files.abilist: New file.
43455 * sysdeps/generic/libnss_hesiod.abilist: New file.
43456 * sysdeps/generic/libnss_nis.abilist: New file.
43457 * sysdeps/generic/libnss_nisplus.abilist: New file.
43458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43461 file.
43462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43471 file.
43472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43476 file.
43477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43483 file.
43484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43487 file.
43488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43490 New file.
43491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43492 New file.
43493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43494 New file.
43495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43496 New file.
43497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43498 New file.
43499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43500 New file.
43501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43502 New file.
43503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43504 New file.
43505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43506 New file.
43507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43508 New file.
43509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43510 New file.
43511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43512 New file.
43513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43514 New file.
43515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43516 file.
43517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43518 New file.
43519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43520 New file.
43521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43522 file.
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43524 New file.
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43526 New file.
43527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43528 file.
43529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43530 New file.
43531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43532 New file.
43533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43534 New file.
43535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43536 New file.
43537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43538 New file.
43539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43540 New file.
43541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43543 file.
43544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43545 New file.
43546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43547 file.
43548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43549 file.
43550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43551 file.
43552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43553 file.
43554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43555 file.
43556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43557 New file.
43558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43559 file.
43560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43561 file.
43562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43563 New file.
43564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43565 file.
43566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43568 file.
43569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43570 New file.
43571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43572 file.
43573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43574 file.
43575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43576 file.
43577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43578 file.
43579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43580 file.
43581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43582 New file.
43583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43584 file.
43585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43586 file.
43587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43588 New file.
43589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43590 file.
43591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43594 file.
43595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43607 file.
43608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43609 New file.
43610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43611 file.
43612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43613 file.
43614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43615 file.
43616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43617 file.
43618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43619 file.
43620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43621 New file.
43622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43623 New file.
43624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43625 file.
43626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43627 New file.
43628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43629 file.
43630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43632 file.
43633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43634 New file.
43635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43636 file.
43637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43638 file.
43639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43640 file.
43641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43642 file.
43643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43644 file.
43645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43646 New file.
43647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43648 New file.
43649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43650 file.
43651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43652 New file.
43653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43654 file.
43655
436562012-04-28 Joseph Myers <joseph@codesourcery.com>
43657
43658 * conform/conformtest.pl: Fix typo in handling typed-constant from
43659 allow-header.
43660
436612012-04-27 Joseph Myers <joseph@codesourcery.com>
43662
43663 * README: Cut down references to pre-2.6 Linux kernels and
43664 Linuxthreads. Update lists of configurations in libc and ports
43665 and sort alphabetically. Say "or newer" with Linux kernel version
43666 requirements.
43667
43668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43669
436702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43671
43672 [BZ #887]
43673 * math/libm-test.inc (logb_test_downward): New test to expose
43674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43675 rounding mode.
43676
436772012-04-27 Joseph Myers <joseph@codesourcery.com>
43678
43679 [BZ #14027]
43680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43681 to be done.
43682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43684
436852012-04-26 Joseph Myers <joseph@codesourcery.com>
43686
43687 * sysdeps/unix/i386/brk.S: Remove file.
43688 * sysdeps/unix/i386/dl-brk.S: Likewise.
43689 * sysdeps/unix/i386/pipe.S: Likewise.
43690 * sysdeps/unix/i386/sigreturn.S: Likewise.
43691 * sysdeps/unix/i386/syscall.S: Likewise.
43692 * sysdeps/unix/i386/vfork.S: Likewise.
43693 * sysdeps/unix/i386/wait.S: Likewise.
43694
43695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43697
43698 * configure.in (arm*-none*): Do not allow without
43699 --enable-hacker-mode.
43700 (netbsd*): Remove case setting base_os.
43701 (386bsd*): Likewise.
43702 (freebsd*): Likewise.
43703 (bsdi*): Likewise.
43704 (osf*): Likewise.
43705 (sunos*): Likewise.
43706 (ultrix*): Likewise.
43707 (newsos*): Likewise.
43708 (dynix*): Likewise.
43709 (*bsd*): Likewise.
43710 (sysv*): Likewise.
43711 (isc*): Likewise.
43712 (esix*): Likewise.
43713 (sco*): Likewise.
43714 (minix*): Likewise.
43715 (irix4*): Likewise.
43716 (irix6*): Likewise.
43717 (solaris[2-9]*): Likewise.
43718 (none): Likewise.
43719 * configure: Regenerated.
43720
437212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43722
43723 [BZ #11521]
43724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43725 overflow or cancellation in calculating denominator.
43726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43728 down expression to avoid unexpected rounding in newer GCCs.
43729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43730
437312012-04-26 David S. Miller <davem@davemloft.net>
43732
43733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43734 long-double compat symbols.
43735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43748
437492012-04-25 David S. Miller <davem@davemloft.net>
43750
43751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43752 HWCAP_* values only after the memory barriers have been defined.
43753 (atomic_full_barrier): Define.
43754 (atomic_read_barrier): Define.
43755 (atomic_write_barrier): Define.
43756
437572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43758
43759 * shlib-versions: Add libgcc_s version information.
43760 * sysdeps/generic/libgcc_s.h: Remove.
43761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43762 libgcc_s.h.
43763 * sysdeps/gnu/unwind-resume.c: Likewise.
43764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43765
437662012-04-25 David S. Miller <davem@davemloft.net>
43767
43768 * sysdeps/unix/sparc/brk.S: Delete.
43769 * sysdeps/unix/sparc/dl-brk.S: Delete.
43770 * sysdeps/unix/sparc/pipe.S: Delete.
43771 * sysdeps/unix/sparc/sysdep.S: Delete.
43772 * sysdeps/unix/sparc/sysdep.h: Delete.
43773 * sysdeps/unix/sparc/vfork.S: Delete.
43774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43775 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43777 (ret_ERRVAL, r0, r1, MOVE): Define.
43778 (JUMPTARGET): Remove.
43779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43780 sysdeps/unix/sparc/sysdep.h
43781 (ENTRY, END): Remove.
43782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43783
437842012-04-25 Joseph Myers <joseph@codesourcery.com>
43785
43786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43788 -DIS_IN_build.
43789
43790 * timezone/README: Update upstream location and email address for
43791 tzcode and tzdata.
43792 * timezone/zdump.c: Update from tzcode 2012b.
43793 * timezone/zic.c: Likewise.
43794
43795 * configure.in (libc_cv_as_needed): Remove test.
43796 * configure: Regenerated.
43797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43798 conditional definition.
43799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43801 * config.make.in (have-as-needed): Remove variable.
43802
438032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43804 Paul Pluzhnikov <ppluzhnikov@google.com>
43805
43806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43807 strings correctly.
43808
438092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43810
43811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43813 * sysdeps/sh/strlen.S: Likewise.
43814
438152012-04-24 Joseph Myers <joseph@codesourcery.com>
43816
43817 * sysdeps/unix/fork.S: Remove file.
43818 * sysdeps/unix/i386/fork.S: Likewise.
43819 * sysdeps/unix/sparc/fork.S: Likewise.
43820
43821 * sysdeps/unix/system.c: Remove file.
43822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43823
43824 * sysdeps/unix/getegid.S: Remove file.
43825 * sysdeps/unix/geteuid.S: Likewise.
43826
438272012-04-24 Roland McGrath <roland@hack.frob.com>
43828
43829 * scripts/check-localplt.awk: New file.
43830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43831 of diff.
43832 * scripts/data/localplt-generic.data: Add a comment.
43833
43834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43835 NODE when __dir_mkfile failed.
43836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43837 Reported by Ludovic Courtès <ludo@gnu.org>.
43838
438392012-04-24 Andreas Jaeger <aj@suse.de>
43840
43841 * Makerules (common-clean): Also remove gen-as-const-headers
43842 files.
43843
438442012-04-24 Joseph Myers <joseph@codesourcery.com>
43845
43846 * Makerules (native-compile): Do not change working directory for
43847 build. Use $(OUTPUT_OPTION) in command.
43848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43849
438502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43851
43852 [BZ #13886]
43853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43855 * math/libm-test.inc (floor_test): Add more tests.
43856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43857
438582012-04-24 Joseph Myers <joseph@codesourcery.com>
43859
43860 * sysdeps/unix/getdents.c: Remove file.
43861 * sysdeps/unix/sysv/getdents.c: Likewise.
43862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43863
43864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43865 sysdeps/unix/mman/syscalls.list.
43866 (mmap): Likewise.
43867 (mprotect): Likewise.
43868 (msync): Likewise.
43869 (munmap): Likewise.
43870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43871 * sysdeps/unix/mman/syscalls.list: Remove.
43872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43873
43874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43876 * configure: Regenerated.
43877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43878 $(libgcc_s_suffix).
43879 * config.make.in (libgcc_s_suffix): Remove variable.
43880
438812012-04-23 Joseph Myers <joseph@codesourcery.com>
43882
43883 * sysdeps/unix/sysv/gethostname.c: Move to ...
43884 * sysdeps/posix/gethostname.c: ... here.
43885
43886 * sysdeps/unix/execve.S: Remove file.
43887
43888 * sysdeps/unix/_exit.S: Remove file.
43889
438902012-04-23 Andreas Jaeger <aj@suse.de>
43891
43892 [BZ #13739]
43893 * manual/Makefile: Remove make dist support, there's no
43894 need for a stand-alone documentation tar ball.
43895 (TEXI2DVI): Define always, it's not in Makeconfig.
43896 (dist): Removed.
43897 (tar-it): Removed.
43898 (edition): Removed.
43899 (glibc-doc-$(edition).tar): Removed
43900 (%.Z): Removed.
43901 (%.gz): Removed.
43902 (%.uu): Removed.
43903 (ETAGS): Remove, it's in Makeconfig.
43904 (move-if-change): Remove, it's in Makeconfig.
43905
439062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43907
43908 [BZ #13970]
43909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43912 (strtod_l, strtof_l, strtold_l): Remove __wur.
43913 It is not necessarily an error to ignore strtol's return value.
43914 One can reliably look at the stored endptr to decide whether
43915 the number had valid syntax.
43916
439172012-04-21 Andreas Jaeger <aj@suse.de>
43918
43919 [BZ #13739]
43920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43921
439222012-04-21 Joseph Myers <joseph@codesourcery.com>
43923
43924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43925 * sysdeps/unix/sysv/Versions: Remove file.
43926
439272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43928
43929 [BZ #13927]
43930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43931
439322012-04-21 Nick Alcock <nick.alcock@oracle.com>
43933
43934 [BZ #7064]
43935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43936 version from __vm86.
43937
439382012-04-20 Joseph Myers <joseph@codesourcery.com>
43939
43940 * sysdeps/unix/common/lxstat.c: Remove file.
43941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43942
43943 * sysdeps/unix/sysv/Makefile: Remove file.
43944
43945 * sysdeps/unix/sysv/direct.h: Remove file.
43946
43947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43954
43955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43956
43957 * sysdeps/unix/xmknod.c: Remove file.
43958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43959
43960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43961
43962 * sysdeps/unix/sysv/i386/time.S: Remove file.
43963
43964 * sysdeps/unix/fxstat.c: Remove file.
43965 * sysdeps/unix/xstat.c: Likewise.
43966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43967
43968 * sysdeps/unix/sysv/sigaction.c: Remove file.
43969
43970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43971 (sysdep_headers): Remove variable.
43972 [termio.h not in sysdep_headers] (generated): Likewise.
43973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43976 * sysdeps/unix/sysv/tcflow.c: Likewise.
43977 * sysdeps/unix/sysv/tcflush.c: Likewise.
43978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43983
43984 * sysdeps/unix/siglist.c: Remove file.
43985
43986 * sysdeps/unix/getppid.S: Remove file.
43987
43988 * sysdeps/unix/mkdir.c: Remove file.
43989 * sysdeps/unix/rmdir.c: Likewise.
43990
439912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43992
43993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43994 ERR_MAX value.
43995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43996 errlist-compat value.
43997
439982012-04-18 David S. Miller <davem@davemloft.net>
43999
44000 * sysdeps/generic/memcopy.h (reg_char): Delete.
44001 * debug/strcat_chk.c: Use char, not reg_char.
44002 * debug/strcpy_chk.c: Likewise.
44003 * debug/strncat_chk.c: Likewise.
44004 * debug/strncpy_chk.c: Likewise.
44005 * string/memchr.c: Likewise.
44006 * string/memrchr.c: Likewise.
44007 * string/rawmemchr.c: Likewise.
44008 * string/strcat.c: Likewise.
44009 * string/strchr.c: Likewise.
44010 * string/strchrnul.c: Likewise.
44011 * string/strcmp.c: Likewise.
44012 * string/strcpy.c: Likewise.
44013 * string/strncat.c: Likewise.
44014 * string/strncmp.c: Likewise.
44015 * string/strncpy.c: Likewise.
44016
440172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44018
44019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44020 __builtin_memcopy is called when src and dest ranges are known to not
44021 overlap.
44022
440232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44024
44025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44027 fwd_align_merge macro call.
44028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44029 bwd_align_merge macro call.
44030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44031
440322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44033
44034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44035 bwd_align_merge macros.
44036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44039
440402012-04-18 David S. Miller <davem@davemloft.net>
44041
44042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44043
440442012-04-18 Andreas Jaeger <aj@suse.de>
44045
44046 [BZ# 6794]
44047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44050
44051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44054
44055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44057 Adjust for changed ldbl-128 files.
44058
44059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44062
440632012-04-17 David S. Miller <davem@davemloft.net>
44064
44065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44066
440672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44068
44069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44075
440762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44077
44078 [BZ #6794]
44079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44080 * math/libm-test.inc: Add ilogb errno and exception tests.
44081 * math/w_ilogb.c: New file: ilogb wrapper.
44082 * math/w_ilogbf.c: New file: ilogbf wrapper.
44083 * math/w_ilogbl.c: New file: ilogbl wrapper.
44084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44087 exception being thrown with 0.0 as argument.
44088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44090 exception being thrown with 0.0 as argument.
44091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44093 exception being thrown with 0.0 as argument.
44094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44096 exception being thrown with 0.0 as argument.
44097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44106
441072012-04-17 Petr Baudis <pasky@ucw.cz>
44108
44109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44110 with altivec.
44111
441122012-04-16 Marek Polacek <polacek@redhat.com>
44113
44114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44115
441162012-04-16 Marek Polacek <polacek@redhat.com>
44117
44118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44119 operands of fdivp instruction.
44120
441212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44122
44123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44124 * elf/tst-auditmod3b.c: Likewise.
44125 * elf/tst-auditmod4b.c: Likewise.
44126 * elf/tst-auditmod5b.c: Likewise.
44127 * elf/tst-auditmod6b.c: Likewise.
44128 * elf/tst-auditmod6c.c: Likewise.
44129 * elf/tst-auditmod7b.c: Likewise.
44130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44131 * sysdeps/x86_64/preconfigure.in: Likewise.
44132 * sysdeps/x86_64/preconfigure: Regenerated.
44133
441342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44135
44136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44137 __ILP32__.
44138
441392012-04-13 Antoine Balestrat <merkil33@gmail.com>
44140
44141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44143
441442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44145
44146 [BZ #13973]
44147 * locale/iso-639.def: Fix gl language name. Spotted by
44148 Yaron Shahrabani.
44149
441502012-04-12 Roland McGrath <roland@hack.frob.com>
44151
44152 [BZ #2074]
44153 * libio/libio.h (__io_write_fn): Update comment.
44154
441552012-04-12 Petr Baudis <pasky@ucw.cz>
44156
44157 [BZ #2074]
44158 * stdio.texi (Hook Functions): The user provided writer function
44159 is not allowed to return -1.
44160
441612012-04-11 David S. Miller <davem@davemloft.net>
44162
44163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44164
441652012-04-11 Mike Frysinger <vapier@gentoo.org>
44166
44167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44168 Add a leading slash to rtkaio.
44169
441702012-04-11 Jim Meyering <meyering@redhat.com>
44171
44172 [BZ #11959]
44173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44174 It is not necessarily an error to ignore fwrite's return
44175 value. One can reliably use ferror to test for errors after
44176 the fact.
44177
441782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44179
44180 * bits/types.h (__snseconds_t): New type.
44181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44182
44183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44185 (__SNSECONDS_T_TYPE): Likewise.
44186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44187 (__SNSECONDS_T_TYPE): Likewise.
44188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44189 (__SNSECONDS_T_TYPE): Likewise.
44190
441912012-04-10 Andreas Jaeger <aj@suse.de>
44192
44193 [BZ #2636]
44194 * manual/time.texi (Processor Time): Return type of times is
44195 elapsed real time since an arbitrary point in the past.
44196 (CPU Time): Move CLK_TCK from here...
44197 (Processor Time): ...to here. Correct description.
44198 * manual/conf.texi (Constants for Sysconf): Correct description of
44199 _SC_CLK_TCK.
44200
442012012-04-10 David S. Miller <davem@davemloft.net>
44202
44203 [BZ #13967]
44204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44205 where the is a gap between DT_REL(A) and DT_JMPREL.
44206
442072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44208
44209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44212
442132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44214
44215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44217 (dl_main): Handle --inhibit-cache.
44218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44219 _dl_inhibit_cache.
44220 * elf/dl-load.c (_dl_map_object): Use it.
44221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44222
442232012-04-09 Joseph Myers <joseph@codesourcery.com>
44224
44225 [BZ #13872]
44226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44227 (__ieee754_powl): Saturate large exponents rather than testing for
44228 overflow of y*log2(x).
44229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44231 exceptions.
44232
44233 [BZ #11521]
44234 * math/s_ctan.c: Include <float.h>.
44235 (__ctan): Avoid internal overflow or cancellation in calculating
44236 denominator.
44237 * math/s_ctanf.c: Likewise.
44238 * math/s_ctanl.c: Likewise.
44239 * math/s_ctanh.c: Likewise.
44240 * math/s_ctanhf.c: Likewise.
44241 * math/s_ctanhl.c: Likewise.
44242 * math/libm-test.inc (ctan_test): Add more tests.
44243 (ctanh_test): Likewise.
44244 * sysdeps/i386/fpu/libm-test-ulps: Update.
44245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44246
442472012-04-09 Andreas Jaeger <aj@suse.de>
44248
44249 [BZ #6894]
44250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44251 is an optional BSD extension.
44252
44253 [BZ #10254]
44254 * manual/stdio.texi (Opening Streams): Document additional fopen
44255 parameters.
44256
442572012-04-09 Roland McGrath <roland@hack.frob.com>
44258
44259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44260 %eax without telling the compiler.
44261
442622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44263
44264 [BZ # 13963]
44265 * manual/install.texi: Use sourceware.org.
44266
442672012-04-09 Joseph Myers <joseph@codesourcery.com>
44268
44269 [BZ #13873]
44270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44271 (__ieee754_pow): Generate overflow and underflow using huge*huge
44272 and tiny*tiny rather than just returning constant infinity or zero
44273 for large exponents.
44274 * math/libm-test.inc (pow_test): Require overflow exceptions for
44275 applicable cases of large exponents.
44276
44277 [BZ #706]
44278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44279 (__ieee754_pow): Use iterative multiplication algorithm only for
44280 integer exponents with absolute value below 1024. Check for odd
44281 integer exponents when using algorithm for real exponents.
44282 * math/libm-test.inc (pow_test): Add more tests.
44283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44284
442852012-04-08 Joseph Myers <joseph@codesourcery.com>
44286
44287 [BZ #13705]
44288 * math/libm-test.inc (exp_test): Do not allow overflow exception
44289 on underflow test.
44290
442912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44292
44293 [BZ #13705]
44294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44295 instead of __kernel_standard_f.
44296
442972012-04-08 Mike Frysinger <vapier@gentoo.org>
44298
44299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44300 * sysdeps/x86_64/memset_chk.S: Likewise.
44301
443022012-04-08 Andreas Jaeger <aj@suse.de>
44303
44304 [BZ #10153]
44305 * manual/startup.texi (Environment Access): Describe return value
44306 for putenv and setenv.
44307
44308 [BZ #6895]
44309 * manual/filesys.texi (Directory Entries): Add description for
44310 DT_LNK.
44311
44312 [BZ #6890]
44313 * manual/filesys.texi (Directory Entries): Clarify that it's file
44314 system not operating system in the description of DT_UNKNOWN.
44315
44316 [BZ #6578]
44317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44318
443192012-04-08 Stephen Compall <s11@member.fsf.org>
44320
44321 [BZ #6649]
44322 * manual/llio.texi (Opening and Closing Files): Add cross
44323 reference to explain mode argument.
44324
443252012-04-07 Mike Frysinger <vapier@gentoo.org>
44326
44327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44328 * sysdeps/x86_64/memset_chk.S: Likewise.
44329
443302012-04-07 David S. Miller <davem@davemloft.net>
44331
44332 * elf/elf.h (R_SPARC_WDISP10): Define.
44333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44334 R_SPARC_SIZE32.
44335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44336 R_SPARC_SIZE64 and R_SPARC_H34.
44337
443382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44339
44340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44341 conditions and remove no longer applicable assertion.
44342
443432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44344
44345 * bits/byteswap.h: Include <features.h>.
44346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44348
443492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44350
44351 * bits/byteswap.h (__bswap_16): Removed.
44352 Include <bits/byteswap-16.h> to get __bswap_16.
44353 * sysdeps/i386/bits/byteswap.h: Likewise.
44354 * sysdeps/s390/bits/byteswap.h: Likewise.
44355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44356 * bits/byteswap-16.h: New file.
44357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44360 * string/Makefile (headers): Add bits/byteswap-16.h.
44361
443622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44363
44364 [BZ #13895]
44365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44366 extra indirection.
44367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44368 * nss/tst-nss-static.c: New.
44369
443702012-04-06 Robert Millan <rmh@gnu.org>
44371
44372 [BZ #6486]
44373 * manual/llio.texi (File Position Primitive): lseek
44374 refers to WHENCE when it really means OFFSET.
44375
443762012-04-06 Andreas Jaeger <aj@suse.de>
44377
44378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44379 strncmp declarations.
44380
44381 * abilist/libc.abilist: Add __poll and __ppoll.
44382
443832012-04-05 David S. Miller <davem@davemloft.net>
44384
44385 * scripts/check-local-headers.sh: Accept a host triplet in the
44386 path matched by the exclude regexp.
44387
44388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44389 definition.
44390 * sysdeps/powerpc/powerpc32/dl-machine.h
44391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44392 * sysdeps/s390/s390-32/dl-machine.h
44393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44394 * sysdeps/sparc/sparc32/dl-machine.h
44395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44396 * sysdeps/sparc/sparc64/dl-machine.h
44397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44398
44399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44400 lazy binding.
44401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44402 undefined symbol errors.
44403
44404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44405 DT_NEEDED entries.
44406
444072012-04-05 Michael Matz <matz@suse.de>
44408
44409 [BZ #13592]
44410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44411
444122012-04-05 Andreas Jaeger <aj@suse.de>
44413
44414 [BZ #13908]
44415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44416 comment.
44417
444182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44419
44420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44421 which ROUND is no valid rounding mode.
44422
444232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44424
44425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44426 read again.
44427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44428
444292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44430
44431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44432 an exception using FPU order intentionally.
44433
444342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44435
44436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44440
444412012-04-05 Simon Josefsson <simon@josefsson.org>
44442
44443 [BZ #12340]
44444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44445 EINVAL when BUFLEN is too smal.
44446
444472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44448
44449 [BZ #13553]
44450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44452
444532012-04-03 Andreas Jaeger <aj@suse.de>
44454
44455 [BZ #13938]
44456 * manual/setjmp.texi (System V contexts): Fix sentence.
44457
44458 [BZ #13926]
44459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44460 New macro for this case.
44461 [!__GNUC__] (__bswap_64): New inline function for this case.
44462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44463 * bits/byteswap.h: Likewise.
44464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44465 ull, guard with __GLIBC_HAVE_LONG_LONG.
44466
44467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44468 __GLIBC_HAVE_LONG_LONG.
44469
44470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44472
444732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44474
44475 [BZ #13691]
44476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44477 inptr and inend, rather than using last_ch.
44478
444792012-04-02 David S. Miller <davem@davemloft.net>
44480
44481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44482 * stdio-common/printf-parse.h (read_int): Change return type to
44483 'int', return -1 on INT_MAX overflow.
44484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44486 overflows INT_MAX. Check for overflow of in-format-string precision
44487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44488 SIZE_MAX not INT_MAX for integer overflow test.
44489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44490 skip the construct in the format string but do not record anything.
44491 * stdio-common/bug22.c: Adjust to test both width/prevision
44492 INT_MAX overflow as well as total length INT_MAX overflow. Check
44493 explicitly for proper errno values.
44494
444952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44496
44497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44498 CHAR_MAX.
44499 * string/test-strcmp.c [! WIDE]: Likewise.
44500 * time/tst-mktime2.c: Likewise for INT_MAX.
44501 * string/test-string.h: #include <sys/param.h> for MIN.
44502
44503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44504 * sysdeps/i386/init-first.c (init): Likewise.
44505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44507 * sysdeps/sh/init-first.c (init): Likewise.
44508
445092012-04-01 Ulrich Drepper <drepper@gmail.com>
44510
44511 * po/ru.po: Update from translation team.
44512 * po/vi.po: Likewise.
44513
445142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44515
44516 * resolv/nss_dns/dns-host.c: Merge copyright years.
44517
445182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44519
44520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44521 Optimize memcpy with prefetch if
44522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44523 src, dst pointers have unequal 16 byte alignments.
44524
445252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44526
44527 [BZ #13928]
44528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44529 from a CNAME entry and return the minimum ttl for the query.
44530 (gaih_getanswer_slice): Likewise.
44531
445322012-03-30 Jeff Law <law@redhat.com>
44533
44534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44535 due to long keys.
44536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44538
44539 * resolv/nss_dns/dns-host.c: Update copyright year.
44540
445412012-03-30 Ulrich Drepper <drepper@gmail.com>
44542
44543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44544 requests to save a system call. Fix check that all bytes are sent.
44545
44546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44547 comments for sendmmsg.
44548
445492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44550
44551 [BZ #13691]
44552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44553 with only 1 character between 0x0041 and 0x01b0.
44554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44555 * wcsmbs/tst-mbsnrtowcs.c: New file.
44556
445572012-03-29 David S. Miller <davem@davemloft.net>
44558
44559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44560 small copies by hand.
44561
445622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44563
44564 [BZ #13761]
44565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44566 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44567 group memberships.
44568
445692012-03-28 David S. Miller <davem@davemloft.net>
44570
44571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44572 that branches into memcpy.
44573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44578 bits.
44579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44580 implementation too.
44581 * sysdeps/sparc/mempcpy.S: New file.
44582
44583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44584 the IFUNC routine in the libc case.
44585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44586
44587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44595
44596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44597 loop to 256 bytes instead of 64 bytes and fix test signedness.
44598
44599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44600 * sysdeps/sparc/sparc32/Makefile: rather than here...
44601 * sysdeps/sparc/sparc64/Makefile: and here.
44602
446032012-03-28 Ulrich Drepper <drepper@gmail.com>
44604
44605 * malloc/mallocbug.c: Avoid warnings about unused variables.
44606
446072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44608
44609 [BZ #13760]
44610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44611 in the right place. Discard and retry query if response is
44612 larger than input buffer size.
44613
446142012-03-28 Joseph Myers <joseph@codesourcery.com>
44615
44616 [BZ #369]
44617 [BZ #2678]
44618 [BZ #3866]
44619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44620 x for large integer exponent.
44621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44623 sign of result as needed afterwards.
44624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44626 result for underflowing pow the same as for overflow.
44627 (__kernel_standard_l): Handle powl overflow and underflow here
44628 rather than calling __kernel_standard.
44629 * math/libm-test.inc (pow_test): Add more tests.
44630
44631 [BZ #3868]
44632 [BZ #13879]
44633 [BZ #13910]
44634 [BZ #13911]
44635 [BZ #13912]
44636 [BZ #13913]
44637 [BZ #13915]
44638 [BZ #13916]
44639 [BZ #13917]
44640 [BZ #13918]
44641 [BZ #13919]
44642 [BZ #13920]
44643 [BZ #13921]
44644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44646 (__kernel_standard_l): New function.
44647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44648 __kernel_standard.
44649 * math/w_acosl.c (__acosl): Likewise.
44650 * math/w_asinl.c (__asinl): Likewise.
44651 * math/w_atan2l.c (__atan2l): Likewise.
44652 * math/w_atanhl.c (__atanhl): Likewise.
44653 * math/w_coshl.c (__coshl): Likewise.
44654 * math/w_exp10l.c (__exp10l): Likewise.
44655 * math/w_exp2l.c (__exp2l): Likewise.
44656 * math/w_fmodl.c (__fmodl): Likewise.
44657 * math/w_hypotl.c (__hypotl): Likewise.
44658 * math/w_j0l.c (__j0l, __y0l): Likewise.
44659 * math/w_j1l.c (__j1l, __y1l): Likewise.
44660 * math/w_jnl.c (__jnl, __ynl): Likewise.
44661 * math/w_lgammal.c (__lgammal): Likewise.
44662 * math/w_log10l.c (__log10l): Likewise.
44663 * math/w_log2l.c (__log2l): Likewise.
44664 * math/w_logl.c (__logl): Likewise.
44665 * math/w_powl.c (__powl): Likewise.
44666 * math/w_remainderl.c (__remainderl): Likewise.
44667 * math/w_scalbl.c (sysv_scalbl): Likewise.
44668 * math/w_sinhl.c (__sinhl): Likewise.
44669 * math/w_sqrtl.c (__sqrtl): Likewise.
44670 * math/w_tgammal.c (__tgammal): Likewise.
44671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44673 * math/libm-test.inc (acos_test): Add more tests.
44674 (acosh_test): Likewise.
44675 (asin_test): Likewise.
44676 (atanh_test): Likewise.
44677 (exp_test): Likewise.
44678 (exp10_test): Likewise.
44679 (exp2_test): Likewise.
44680 (expm1_test): Likewise.
44681 (lgamma_test): Likewise.
44682 (log_test): Likewise.
44683 (log10_test): Likewise.
44684 (log1p_test): Likewise.
44685 (log2_test): Likewise.
44686 (pow_test): Do not allow some spurious overflow exceptions.
44687 (sqrt_test): Add more tests.
44688 (tgamma_test): Likewise.
44689 (y0_test): Likewise.
44690 (y1_test): Likewise.
44691 (yn_test): Likewise.
44692
446932012-03-27 Anton Blanchard <anton@samba.org>
44694
44695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44696 MAP_HUGETLB.
44697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44700
447012012-03-27 David S. Miller <davem@davemloft.net>
44702
44703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44704
44705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44706 have-as-vis3 check.
44707
447082012-03-27 Andreas Jaeger <aj@suse.de>
44709
44710 * sysdeps/x86_64/elf/configure.in: Moved to ...
44711 * sysdeps/x86_64/configure.in: ... here.
44712 * sysdeps/x86_64/elf/start.S: Moved to ...
44713 * sysdeps/x86_64/start.S: ... here.
44714 * sysdeps/x86_64/elf/configure: Delete.
44715
44716 * sysdeps/x86_64/configure.in: Merge contents from
44717 sysdeps/i386/configure.in (without i686 check).
44718
44719 * sysdeps/i386/elf/Versions: Merge into ...
44720 * sysdeps/i386/Versions: ... this.
44721 * sysdeps/i386/elf/Versions: Delete file.
44722 * sysdeps/i386/elf/start.S: Moved to ...
44723 * sysdeps/i386/start.S: ...here.
44724 * sysdeps/i386/elf/configure.in: Merge into...
44725 * sysdeps/i386/configure.in: ...here.
44726 * sysdeps/i386/elf/configure.in: Delete file.
44727 * sysdeps/i386/elf/configure: Delete file.
44728
44729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44730 * debug/backtracesyms.c: ... here.
44731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44732 * debug/backtracesymsfd.c: ... here.
44733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44734 * sysdeps/generic/ifunc-sel.h: ... here.
44735
44736 * sysdeps/unix/i386/start.c: Delete file.
44737 * sysdeps/unix/sparc/start.c: Delete file.
44738 * sysdeps/unix/start.c: Delete file.
44739
44740 * sysdeps/sh/elf/configure.in: Moved to ...
44741 * sysdeps/sh/configure.in: ... here.
44742 * sysdeps/sh/elf/start.S: Moved to ...
44743 * sysdeps/sh/start.S: ... here.
44744 * sysdeps/sh/elf/configure: Delete file.
44745
44746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44751 * sysdeps/powerpc/powerpc64/start.S: here.
44752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44757
44758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44761 * sysdeps/powerpc/powerpc32/start.S: ... here.
44762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44765
44766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44767 * sysdeps/powerpc/ifunc-sel.h: ... here.
44768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44770
44771 * sysdeps/sparc/elf/configure.in: Moved to ...
44772 * sysdeps/sparc/configure.in: ... here.
44773 * sysdeps/sparc/elf/configure: Delete file.
44774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44775 * sysdeps/sparc/sparc32/start.S: ... here.
44776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44777 * sysdeps/sparc/sparc64/start.S: ... here.
44778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44779 * sysdeps/sparc/sparc32/Makefile: ... this.
44780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44781 * sysdeps/sparc/sparc64/Makefile: ... this.
44782
44783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44788 * sysdeps/s390/s390-32/setjmp.S: ... here.
44789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44790 * sysdeps/s390/s390-32/configure.in: ... here.
44791 * sysdeps/s390/s390-32/elf/configure: Delete file.
44792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44793 * sysdeps/s390/s390-32/start.S: ... here.
44794
44795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44800 * sysdeps/s390/s390-64/setjmp.S: ... here.
44801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44802 * sysdeps/s390/s390-64/configure.in: ... here
44803 * sysdeps/s390/s390-64/elf/configure: Delete file.
44804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44805 * sysdeps/s390/s390-64/start.S: ... here.
44806 * sysdeps/s390/s390-64/elf/configure: Delete.
44807
44808 * configure.in: Remove support for elf directories in sysdeps.
44809
44810 * configure: Regenerated.
44811 * sysdeps/i386/configure: Regenerated.
44812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44814 * sysdeps/s390/s390-32/configure: Regenerated.
44815 * sysdeps/s390/s390-64/configure: Regenerated.
44816 * sysdeps/sh/configure: Regenerated.
44817 * sysdeps/sparc/configure: Regenerated.
44818 * sysdeps/x86_64/configure: Regenerated.
44819
448202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44821
44822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44823
44824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44825 denormal result into account.
44826
448272012-03-25 Roland McGrath <roland@hack.frob.com>
44828
44829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44830 Reported by Allan McRae <allan@archlinux.org>.
44831
448322012-03-23 Jeff Law <law@redhat.com>
44833
44834 * nss/getnssent.c (__nss_getent): Fix typo.
44835
448362012-03-23 David S. Miller <davem@davemloft.net>
44837
44838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44839
448402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44841
44842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44843 to pad to uint64_t for each field.
44844 (dl_tls_index): Replace unsigned long with uint64_t.
44845
448462012-03-23 Daniel Jacobowitz <dmj@google.com>
44847 Paul Pluzhnikov <ppluzhnikov@google.com>
44848
44849 [BZ #6528]
44850 * grp/Makefile (otherlibs): Don't set it.
44851 * inet/Makefile (otherlibs): Likewise.
44852 * login/Makefile (otherlibs): Likewise.
44853 * nscd/Makefile (otherlibs): Likewise.
44854 * posix/Makefile (otherlibs): Likewise.
44855 * pwd/Makefile (otherlibs): Likewise.
44856 * rt/Makefile (otherlibs): Likewise.
44857 * sunrpc/Makefile (otherlibs): Likewise.
44858 * nss/Makefile (otherlibs): Likewise.
44859 Add libnss_files to routines and static-only-routines.
44860 ($(objpfx)getent): Remove rule.
44861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44862 static-only-routines.
44863
448642012-03-22 Joseph Myers <joseph@codesourcery.com>
44865
44866 [BZ #13892]
44867 * math/s_cexp.c: Include <float.h>.
44868 (__cexp): Handle exp result overflowing not necessarily
44869 overflowing both real and imaginary parts of result.
44870 * math/s_cexpf.c: Likewise.
44871 * math/s_cexpl.c: Likewise.
44872 * math/libm-test.inc (cexp_test): Add more tests.
44873 * sysdeps/i386/fpu/libm-test-ulps: Update.
44874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44875
448762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44877
44878 * include/link.h (ELFW): New macro.
44879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44881
448822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44883
44884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44885 with uint64_t.
44886
448872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44888
44889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44890 declaration.
44891 (struct La_x32_retval): Likewise.
44892
448932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44894
44895 * sysdeps/x86_64/preconfigure.in: New file.
44896 * sysdeps/x86_64/preconfigure: New generated file.
44897
448982012-03-22 Joseph Myers <joseph@codesourcery.com>
44899
44900 [BZ #13824]
44901 * math/e_exp2l.c: Include <float.h>.
44902 (__ieee754_exp2l): Handle overflow and underflow cases
44903 separately. Only pass fractional part of argument to
44904 __ieee754_expl.
44905 * math/libm-test.inc (exp2_test): Add more tests.
44906
44907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44908 negating x to take absolute value.
44909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44910 Likewise.
44911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44913 Likewise.
44914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44915 computing low part if x was negated.
44916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44917
449182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44919
44920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44921 la_x32_gnu_pltexit.
44922 (pltexit): Cast int_retval to ptrdiff_t.
44923 * elf/tst-auditmod3b.c: Likewise.
44924 * elf/tst-auditmod4b.c: Likewise.
44925 * elf/tst-auditmod5b.c: Likewise.
44926 * elf/tst-auditmod6b.c: Likewise.
44927 * elf/tst-auditmod6c.c: Likewise.
44928 * elf/tst-auditmod7b.c: Likewise.
44929
44930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44931 and x32_gnu_pltexit.
44932
44933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44934 __ELF_NATIVE_CLASS.
44935 (La_x32_regs): New macro.
44936 (La_x32_retval): Likewise.
44937 (la_x32_gnu_pltenter): New function prototype.
44938 (la_x32_gnu_pltexit): Likewise.
44939
449402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44941
44942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44943 exponent.
44944
44945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44946
44947 * configure.in (libc_cv_cc_nofma): Check for option to disable
44948 generation of FMA instructions.
44949 * configure: Regenerate.
44950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44951 * sysdeps/ieee754/dbl-64/Makefile: New file.
44952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44953 Remove brandred-fma4.
44954 (CFLAGS-brandred-fma4.c): Remove.
44955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44957 define.
44958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44959 define.
44960
449612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44962
44963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44964 LLONG_MAX != LONG_MAX.
44965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44966 (_fitoa_word): Likewise.
44967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44968 LLONG_MAX != LONG_MAX.
44969 * stdio-common/_itowa.h: Include <_itoa.h>.
44970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44973 only if not defined.
44974 (_ITOA_WORD_TYPE): Likewise.
44975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44977
449782012-03-21 David S. Miller <davem@davemloft.net>
44979
44980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44981
449822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44983
44984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44985 of x86_64 when setting libc_cv_slibdir, libdir and
44986 libc_cv_localedir.
44987 * sysdeps/unix/sysv/linux/configure: Regenerated.
44988
449892012-03-21 Joseph Myers <joseph@codesourcery.com>
44990
44991 * manual/lang.texi (Old Varargs): Remove section.
44992 (How Variadic): Update menu.
44993 (va_start): Do not mention varargs.h.
44994
449952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44996 Joseph Myers <joseph@codesourcery.com>
44997
44998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44999 link test.
45000 * configure: Regenerated.
45001
450022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45003
45004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45006 conformtest.pl
45007
450082012-03-21 Joseph Myers <joseph@codesourcery.com>
45009
45010 * NOTES: Remove.
45011 * Makefile (files-for-dist): Remove NOTES.
45012 (NOTES): Remove rule.
45013 * README: Don't refer to NOTES.
45014 * manual/creature.texi: Don't include macros.texi.
45015 * manual/intro.texi (creature.texi): Remove comment referring to
45016 NOTES.
45017
45018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45020 * configure: Regenerated.
45021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45022 LIBC_TRY_CC_OPTION.
45023 (libc_cv_as_i686): Likewise.
45024 (libc_cv_cc_avx): Likewise.
45025 (libc_cv_cc_sse2avx): Likewise.
45026 (libc_cv_cc_fma4): Likewise.
45027 (libc_cv_cc_novzeroupper): Likewise.
45028 * sysdeps/i386/configure: Regenerated.
45029
45030 [BZ #13883]
45031 * sysdeps/i386/fpu/s_cexp.S: Remove.
45032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45034 * math/libm-test.inc (cexp_test): Add more tests.
45035 * sysdeps/i386/fpu/libm-test-ulps: Update.
45036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45037
450382012-03-21 Allan McRae <allan@archlinux.org>
45039
45040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45041
450422012-03-21 Joseph Myers <joseph@codesourcery.com>
45043
45044 [BZ #13871]
45045 * math/w_exp2.c: Do not include <float.h>.
45046 (o_threshold, u_threshold): Remove.
45047 (__exp2): Calculate result before checking finiteness and calling
45048 __kernel_standard.
45049 * math/w_exp2f.c: Likewise.
45050 * math/w_exp2l.c: Likewise.
45051 * math/libm-test.inc (exp2_test): Require overflow exception for
45052 1e6 input.
45053
45054 [BZ #3866]
45055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45056 range of signed 64-bit integers before using fistpll. Remove
45057 checks for whether integers fit in mantissa bits.
45058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45059 the range of signed 32-bit integers before using fistpl. Remove
45060 checks for whether integers fit in mantissa bits.
45061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45062 (__ieee754_powl): Test for y outside the range of signed 64-bit
45063 integers before using fistpll. Reduce 64-bit values to 63-bit
45064 ones as needed.
45065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45066 divide-by-zero is raised for zero to large negative powers.
45067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45068 (__ieee754_powl): Test for y outside the range of signed 64-bit
45069 integers before using fistpll. Reduce 64-bit values to 63-bit
45070 ones as needed.
45071 * math/libm-test.inc (pow_test): Add more tests.
45072
450732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45074
45075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45076 <stdio-common/_itoa.h>.
45077 * debug/segfault.c: Likewise.
45078 * elf/dl-cache.c: Likewise.
45079 * elf/dl-minimal.c: Likewise.
45080 * elf/dl-misc.c: Likewise.
45081 * elf/dl-sysdep.c: Likewise.
45082 * elf/dl-version.c: Likewise.
45083 * elf/rtld.c: Likewise.
45084 * hurd/hurdsock.c: Likewise.
45085 * hurd/lookup-retry.c: Likewise.
45086 * malloc/malloc.c: Likewise.
45087 * malloc/mtrace.c: Likewise.
45088 * nscd/nscd_getgr_r.c: Likewise.
45089 * nscd/nscd_getpw_r.c: Likewise.
45090 * nscd/nscd_getserv_r.c: Likewise.
45091 * posix/getopt_init.c: Likewise.
45092 * posix/wordexp.c: Likewise.
45093 * stdio-common/_itoa.c: Likewise.
45094 * stdio-common/printf_fphex.c: Likewise.
45095 * stdio-common/vfprintf.c: Likewise.
45096 * string/_strerror.c: Likewise.
45097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45098 * sysdeps/i386/i686/hp-timing.h: Likewise.
45099 * sysdeps/mach/_strerror.c: Likewise.
45100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45101 * sysdeps/mach/hurd/sethostid.c: Likewise.
45102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45103 * sysdeps/mach/xpg-strerror.c: Likewise.
45104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45125
45126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45127
45128 * stdio-common/_itoa.h: Moved to ...
45129 * sysdeps/generic/_itoa.h: Here.
45130
45131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45132
45133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45134 instead of "_itoa.h" and "_itowa.h".
45135 * stdio-common/vfprintf.: Likewise.
45136
451372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45138
45139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45140 <bits/wordsize.h>.
45141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45142 (__signbit): Likwise.
45143 (llrintf): Likwise.
45144 (llrint): Likwise.
45145
451462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45147
45148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45149 __WORDSIZE != 64.
45150
451512012-03-20 Joseph Myers <joseph@codesourcery.com>
45152
45153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45154 OVERFLOW_EXCEPTION_OK.
45155 * math/libm-test.inc ("Philosophy"): Update comment about
45156 exception testing.
45157 (OVERFLOW_EXCEPTION): Define.
45158 (OVERFLOW_EXCEPTION_OK): Likewise.
45159 (INVALID_EXCEPTION_OK): Renumber.
45160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45161 (IGNORE_ZERO_INF_SIGN): Likewise.
45162 (test_exceptions): Handle FE_OVERFLOW.
45163 (exp10_test): Expect overflow exceptions.
45164 (exp2_test): Likewise.
45165 (expm1_test): Likewise.
45166 (nextafter_test): Likewise.
45167 (pow_test): Likewise.
45168 (scalbn_test): Likewise.
45169 (scalbln_test): Likewise.
45170
451712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45172
45173 * sysdeps/x86_64/bits/atomic.h
45174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45175 64bit integer.
45176 (atomic_exchange_acq): Likewise.
45177 (__arch_exchange_and_add_body): Likewise.
45178 (__arch_add_body): Likewise.
45179 (atomic_add_negative): Likewise.
45180 (atomic_add_zero): Likewise.
45181
451822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45183
45184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45186
451872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45188
45189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45190 Check __x86_64__ instead of __WORDSIZE.
45191
451922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45193
45194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45195
451962012-03-19 David S. Miller <davem@davemloft.net>
45197
45198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45199
45200 * sysdeps/sparc/fpu/fenv_private.h: New file.
45201 * sysdeps/sparc/fpu/math_private.h: Use it.
45202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45203 Remove.
45204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45205 (libc_feholdexcept_setroundl): Remove.
45206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45207 Remove.
45208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45210
452112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45212
45213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45214 int64_t instead of long int.
45215 (INSERT_WORDS64): Likwise.
45216
452172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45218
45219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45220 _Unwind_GetCFA return to _Unwind_Ptr first.
45221
452222012-03-19 Joseph Myers <joseph@codesourcery.com>
45223
45224 [BZ #13629]
45225 * math/s_clog.c: Include <float.h>.
45226 (__clog): Scale large or subnormal inputs.
45227 * math/s_clogf.c: Likewise.
45228 * math/s_clogl.c: Likewise.
45229 * math/s_clog10.c: Include <float.h>.
45230 (M_LOG10_2): Define.
45231 (__clog10): Scale large or subnormal inputs.
45232 * math/s_clog10f.c: Likewise.
45233 * math/s_clog10l.c: Likewise.
45234 * math/libm-test.inc (clog_test): Add more tests.
45235 (clog10_test): Likewise.
45236 * sysdeps/i386/fpu/libm-test-ulps: Update.
45237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45238
45239 [BZ #11451]
45240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45241 x and y.
45242 * math/libm-test.inc (atan2_test): Add another test.
45243
45244 * Makerules (common-objdir-compile): Remove.
45245 * sysdeps/unix/Makefile (config-generated): Do not add
45246 $(unix-generated) to variable.
45247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45249 Remove rule.
45250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45251 Likewise.
45252 [generic bits/local_lim.h] (before-compile): Do not append to
45253 variable.
45254 [generic bits/local_lim.h] (common-generated): Likewise.
45255 [generic sys/param.h] (before-compile): Do not append to variable.
45256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45260 include.
45261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45263 [generic sys/param.h] ($(addprefix
45264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45265 [generic sys/param.h] (common-generated): Do not append to
45266 variable.
45267 [generic sys/param.h] (sysdep_headers): Likewise.
45268 [generic bits/errno.h] (before-compile): Do not append to
45269 variable.
45270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45271 rule.
45272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45275 [generic bits/errno.h] (common-generated): Do not append to
45276 variable.
45277 [generic bits/ioctls.h] (before-compile): Do not append to
45278 variable.
45279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45280 rule.
45281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45284 rule.
45285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45288 [generic bits/ioctls.h] (common-generated): Do not append to
45289 variable.
45290 [generic sys/syscall.h] (syscall.h): Remove variable.
45291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45292 rule.
45293 [generic sys/syscall.h] (before-compile): Do not append to
45294 variable.
45295 [generic sys/syscall.h] (common-generated): Likewise.
45296 * sysdeps/unix/errnos-tmpl.c: Remove file.
45297 * sysdeps/unix/errnos.awk: Likewise.
45298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45299 * sysdeps/unix/ioctls.awk: Likewise.
45300 * sysdeps/unix/mk-local_lim.c: Likewise.
45301 * sysdeps/unix/snarf-ioctls: Likewise.
45302
453032012-03-19 Richard Henderson <rth@twiddle.net>
45304
45305 * sysdeps/i386/fpu/fenv_private.h: New file.
45306 * sysdeps/i386/fpu/math_private.h: Use it.
45307 (math_opt_barrier, math_force_eval): Remove.
45308 (libc_feholdexcept_setround_53bit): Remove.
45309 (libc_feupdateenv_53bit): Remove.
45310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45311 (math_opt_barrier, math_force_eval): Remove.
45312 (libc_feholdexcept): Remove.
45313 (libc_feholdexcept_setround): Remove.
45314 (libc_fetestexcept, libc_fesetenv): Remove.
45315 (libc_feupdateenv_test): Remove.
45316 (libc_feupdateenv, libc_feholdsetround): Remove.
45317 (libc_feresetround): Remove.
45318
45319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45321
45322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45324 (libc_feupdateenv_testl): New.
45325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45326 (libc_feupdateenv_testf): New.
45327 (libc_feupdateenv): Use libc_feupdateenv_test.
45328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45330
45331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45334 (libc_feresetround_noex): New.
45335 (libc_feresetround_noexf): New.
45336 (libc_feresetround_noexl): New.
45337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45341 SET_RESTORE_ROUND.
45342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45344 (__cos): Likewise.
45345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45347 SET_RESTORE_ROUND_NOEX.
45348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45349 SET_RESTORE_ROUND_NOEXF.
45350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45352 (libc_feholdsetroundf): New.
45353 (libc_feresetround, libc_feresetroundf): New.
45354
45355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45358
45359 * sysdeps/generic/math_private.h: Include <fenv.h>.
45360 (default_libc_feholdexcept): New.
45361 (default_libc_feholdexcept_setround): New.
45362 (default_libc_fesetenv, default_libc_feupdateenv): New.
45363 (libc_feholdexcept): Only define if undefined.
45364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45366 (libc_feholdexcept_setroundl): Likewise.
45367 (libc_feholdexcept_setround_53bit): Likewise.
45368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45371 (libc_feupdateenv_53bit): Likewise.
45372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45373 (libc_feholdexcept): Convert from macro to inline function.
45374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45375 (libc_fesetenv, libc_feupdateenv): Likewise.
45376
45377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45378 not previously defined.
45379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45383 * sysdeps/ieee754/flt-32/math_private.h: New file.
45384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45385 math_private.h below SET_FLOAT_WORD.
45386 (__isnan, __isinf_ns, __finite): Remove.
45387 (__isnanf, __isinf_nsf, __finitef): Remove.
45388
453892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45390
45391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45392
453932012-03-17 David S. Miller <davem@davemloft.net>
45394
45395 [BZ #6471]
45396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45397 for 2.16.
45398
453992012-03-16 David S. Miller <davem@davemloft.net>
45400
45401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45402 warnings.
45403
45404 [BZ #6471]
45405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45406 properly.
45407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45409 sysdep_routines when subdir is sysvipc.
45410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45411 __getshmlba helper.
45412
45413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45414
454152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45416
45417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45418 [__LP64__].
45419
454202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45421
45422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45424 (__lround): Renamed to ...
45425 (__llround): This. Replace long int with long long int.
45426 Define lround functions as aliases of llround functions.
45427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45428
454292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45430
45431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45433 adresses to uintptr_t. Replace "long int" and "unsigned long
45434 int" with "greg_t" on va_arg.
45435
454362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45437
45438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45440
45441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45442 Move e_machine check before EI_CLASS check. Handle x32
45443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45445 SKIP_EM_IA_64 and include
45446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45447
45448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45450 (add_system_dir): New macro.
45451
45452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45454
454552012-03-16 Joseph Myers <joseph@codesourcery.com>
45456
45457 [BZ #2551]
45458 [BZ #2552]
45459 [BZ #2553]
45460 [BZ #2554]
45461 [BZ #2562]
45462 [BZ #2563]
45463 [BZ #2565]
45464 [BZ #2566]
45465 [BZ #2576]
45466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45467 (y0): Likewise.
45468 * math/w_j0f.c (j0f): Likewise.
45469 (y0f): Likewise.
45470 * math/w_j0l.c (__j0l): Likewise.
45471 (__y0l): Likewise.
45472 * math/w_j1.c (j1): Likewise.
45473 (y1): Likewise.
45474 * math/w_j1f.c (j1f): Likewise.
45475 (y1f): Likewise.
45476 * math/w_j1l.c (__j1l): Likewise.
45477 (__y1l): Likewise.
45478 * math/w_jn.c (jn): Likewise.
45479 (yn): Likewise.
45480 * math/w_jnf.c (jnf): Likewise.
45481 (ynf): Likewise.
45482 * math/w_jnl.c (__jnl): Likewise.
45483 (__ynl): Likewise.
45484 * math/libm-test.inc (j0_test): Add more tests.
45485 (j1_test): Likewise.
45486 (jn_test): Likewise. Add trailing semicolon to existing test.
45487 (y0_test): Likewise.
45488 (y1_test): Likewise.
45489 * sysdeps/i386/fpu/libm-test-ulps: Update.
45490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45491
45492 [BZ #13851]
45493 [BZ #13854]
45494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45498 (__tanl): Set errno for infinite argument.
45499 * sysdeps/i386/fpu/mptan.c: Remove.
45500 * sysdeps/i386/fpu/s_tan.S: Likewise.
45501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45504 * math/libm-test.inc (tan_test): Add more tests and enable more
45505 tests for double and long double.
45506 * sysdeps/i386/fpu/libm-test-ulps: Update.
45507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45508
455092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45510
45511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45513
455142012-03-16 Roland McGrath <roland@hack.frob.com>
45515
45516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45517 * configure.in: Use it for both main tree and add-ons.
45518 * configure: Regenerated.
45519
455202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45521
45522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45523
455242012-03-16 Joseph Myers <joseph@codesourcery.com>
45525
45526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45527 in comment.
45528
45529 [BZ #13851]
45530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45535 infinite argument.
45536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45538 != 0 for prec == 2.
45539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45550 * math/libm-test.inc (cos_test): Add more tests and enable more
45551 tests for long double.
45552 (sin_test): Likewise.
45553 (sincos_test): Likewise.
45554 * sysdeps/i386/fpu/libm-test-ulps: Update.
45555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556
455572012-03-16 David S. Miller <davem@davemloft.net>
45558
45559 * sysdeps/sparc/fpu/math_private.h: New file.
45560
455612012-03-15 David S. Miller <davem@davemloft.net>
45562
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45564 file.
45565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45567 file.
45568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45574 sysdep routines.
45575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45576
45577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45579
45580 * sysdeps/sparc/sparc-ifunc.h: New file.
45581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45582 sparc-ifunc.h
45583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45585 Likewise.
45586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45587 Likewise.
45588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45592 Likewise.
45593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45598 Likewise.
45599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45600 Likewise.
45601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45625
456262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45627
45628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45629 scaling.
45630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45631
456322012-03-15 Andreas Jaeger <aj@suse.de>
45633
45634 [BZ #13852]
45635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45636 ieee754/flt-32 implementation for sin, cos and sincos.
45637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45642 ieee754/flt-32 implementation for tan.
45643
45644 * math/libm-test.inc (cos_test): Enable some large input tests for
45645 float as well
45646 (sin_test): Likewise.
45647 (sincos_test): Likewise.
45648 (tan_test): Add tests for large input.
45649
45650 * sysdeps/i386/fpu/libm-test-ulps: Update.
45651
456522012-03-15 Andreas Jaeger <aj@suse.de>
45653
45654 [BZ #13658]
45655 * math/libm-test.inc (cos_test): Add more test cases.
45656 (sin_test): Likewise.
45657 (sincos_test): Likewise.
45658
456592012-03-15 Andreas Jaeger <aj@suse.de>
45660
45661 [BZ #13837]
45662 * math/libm-test.inc (cos_test): Add a test case for large input
45663 value.
45664 (sin_test): Likewise.
45665 (sincos_test): Likewise.
45666
456672012-03-15 Andreas Jaeger <aj@suse.de>
45668 Joseph Myers <joseph@codesourcery.com>
45669
45670 [BZ #13658]
45671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45673 * sysdeps/i386/fpu/branred.c: Likewise.
45674 * sysdeps/i386/fpu/dosincos.c: Likewise.
45675 * sysdeps/i386/fpu/mpa.c: Likewise.
45676 * sysdeps/i386/fpu/s_cos.S: Likewise.
45677 * sysdeps/i386/fpu/s_sin.S: Likewise.
45678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45679 * sysdeps/i386/fpu/sincos32.c: Likewise.
45680
45681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45682 Define.
45683 (libc_feupdateenv_53bit): Define.
45684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45685 Define.
45686 (libc_feupdateenv_53bit): Define.
45687
45688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45689 53 bit (without extend i386 double precision).
45690
45691 * math/libm-test.inc (sincos_test): Add tests for large input.
45692 (sin): Likewise.
45693 (cos): Likewise.
45694
45695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45696
456972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45698
45699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45700
457012012-03-15 David S. Miller <davem@davemloft.net>
45702
45703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45719 file.
45720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45722 file.
45723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45725 file.
45726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45728 file.
45729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45731 fmin/fmax sysdep routines.
45732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45733
457342012-03-14 David S. Miller <davem@davemloft.net>
45735
45736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45765 routines.
45766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45767 file.
45768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45770 file.
45771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45773 file.
45774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45776 file.
45777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45779 file.
45780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45782 file.
45783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45784 file.
45785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45786 file.
45787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45788 file.
45789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45790 New file.
45791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45792 file.
45793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45794 file.
45795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45797 file.
45798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45800 file.
45801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45803 file.
45804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45806 VIS3 routines.
45807
45808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45809 New file.
45810
45811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45812
45813 * sysdeps/sparc/configure.in: New file.
45814 * sysdeps/sparc/configure: Generate.
45815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45816 * configure: Regenerate.
45817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45818 * config.make.in (have-as-vis3): New.
45819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45820 available use -Av9d instead of -Av9a.
45821 * sysdeps/sparc/sparc64/Makefile: Likewise.
45822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45824 New file.
45825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45826 file.
45827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45828 New file.
45829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45830 file.
45831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45836
45837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45838 fzeros/fnegs to load 0x80000000 into a float register instead of
45839 using the stack.
45840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45841
458422012-03-14 Joseph Myers <joseph@codesourcery.com>
45843
45844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45845 bits/syscall.h.
45846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45848 ($(inst_includedir)/bits/syscall.h): Remove rule.
45849 ($(objpfx)bits/syscall.d): Include instead of
45850 $(objpfx)syscall-list.d.
45851 (generated): Change syscall-list.h and syscall-list.d to
45852 bits/syscall.h and bits/syscall.d.
45853
458542012-03-14 Roland McGrath <roland@hack.frob.com>
45855
45856 [BZ #13846]
45857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45858
458592012-03-14 Joseph Myers <joseph@codesourcery.com>
45860
45861 [BZ #13841]
45862 * math/s_csqrt.c: Include <float.h>.
45863 (__csqrt): Scale large or subnormal inputs.
45864 * math/s_csqrtf.c: Likewise.
45865 * math/s_csqrtl.c: Likewise.
45866 * math/libm-test.inc (csqrt_test): Add more tests.
45867 * sysdeps/i386/fpu/libm-test-ulps: Update.
45868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45869
45870 [BZ #13840]
45871 * math/libm-test.inc (hypot_test): Add more tests.
45872
458732012-03-13 David S. Miller <davem@davemloft.net>
45874
45875 [BZ #13840]
45876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45877 double-precision for the calculation instead of scaling.
45878
458792012-03-13 Joseph Myers <joseph@codesourcery.com>
45880
45881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45882 manipulate bits before adding and subtracting TWO52[sx].
45883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45885 Likewise.
45886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45887
458882012-03-13 David S. Miller <davem@davemloft.net>
45889
45890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45893 rtld-global-offsets.h
45894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45895
45896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45897 large parameters.
45898
45899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45900
45901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45902 'err' in the ifdef scope in which it is actually used.
45903
45904 * nss/nss_db/db-init.c: Include string.h
45905
459062012-03-12 David S. Miller <davem@davemloft.net>
45907
45908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45909 masking out of the most significant byte of random value used.
45910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45911 Fix coding style in previous change.
45912
45913 * sysdeps/unix/sysv/linux/kernel-features.h
45914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45916 expression.
45917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45918 later.
45919
459202012-03-11 David S. Miller <davem@davemloft.net>
45921
45922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45925 for 'resultvar' otherwise things get truncated on 64-bit.
45926
45927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45928 Fix masking out of the most significant byte of random value used.
45929
45930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45931
459322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45933
45934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45935
459362012-03-09 David S. Miller <davem@davemloft.net>
45937
45938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45939 variables with appropriate CPP guards.
45940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45941 from the frame pointer, not the stack pointer. Correct layout
45942 comments. Fix test on resulting framesize and the management of
45943 the outregs buffer for pltexit. Preserve floating point return
45944 values across _dl_call_pltexit call.
45945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45946 framesize and the management of the outregs buffer for pltexit.
45947 Preserve floating point return values across _dl_call_pltexit
45948 call.
45949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45950 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45951 (la_sparc64_gnu_pltexit): New functions.
45952 (print_exit): Fix format string for return register value.
45953
459542012-03-10 Joseph Myers <joseph@codesourcery.com>
45955
45956 * sunrpc/Makefile (others): Add rpcgen.
45957 ($(objpfx)rpcgen): Remove special build rule and dependency on
45958 libc.
45959 * sunrpc/rpcgen.c: New file.
45960
459612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45962
45963 [BZ #13673]
45964 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45965 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45966 * sysdeps/i386/crti.S: Likewise.
45967 * sysdeps/i386/crtn.S: Likewise.
45968 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45969 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45970 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45971 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45972 * sysdeps/sh/crti.S: Likewise.
45973 * sysdeps/sh/crtn.S: Likewise.
45974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45975
45976 [BZ #13673]
45977 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45978 with URL.
45979 * locale/programs/locfile-kw.gperf: Likewise.
45980 * locale/programs/charmap-kw.h: Regenerated.
45981 * locale/programs/locfile-kw.h: Likewise.
45982
45983 [BZ #13673]
45984 * intl/plural.y: Replace FSF snail mail address with URL.
45985 * intl/plural.c: Regenerated.
45986
459872012-03-09 Richard Henderson <rth@twiddle.net>
45988
45989 * include/math_private.h: Remove file.
45990 * math/math_private.h: Move file ...
45991 * sysdeps/generic/math_private.h: ... here.
45992
45993 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45994 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45996
45997 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45998 and <math_private.h>.
45999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46004 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46039 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46050 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46058 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46063 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46086 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46087 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46090 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46093 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46094 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46099 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46100 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46101 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46102 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46104 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46105 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46106 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46107 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46109 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46110 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46126 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46137 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46141 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46142 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46143 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46147 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46148 * sysdeps/ieee754/k_standard.c: Likewise.
46149 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46200 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46226 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46232 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46235 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46241 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46245 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46256 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46274 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46282 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46286 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46290 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46291 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46292 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46300 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46303 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46304 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46307 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46308 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46309 * sysdeps/ieee754/s_lib_version.c: Likewise.
46310 * sysdeps/ieee754/s_matherr.c: Likewise.
46311 * sysdeps/ieee754/s_signgam.c: Likewise.
46312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46315 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46318 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46320 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46323 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46326 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46333
463342012-03-09 Joseph Myers <joseph@codesourcery.com>
46335
46336 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46337 * sunrpc/rpc_main.c: Likewise.
46338 * sunrpc/rpc_svcout.c: Likewise.
46339
463402012-03-09 David S. Miller <davem@davemloft.net>
46341
46342 * include/math_private.h: New file.
46343
463442012-03-09 Joseph Myers <joseph@codesourcery.com>
46345
46346 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46347 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46348 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46349 from <bits/socket_type.h>.
46350 (enum __socket_type): Don't define here.
46351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46353 bits/socket_type.h.
46354
46355 [BZ #13566]
46356 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46357 checking __USE_GNU.
46358
46359 * Makerules ($(inst_includedir)/%.h): New rule.
46360 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46361 (install-others): Remove variable setting.
46362 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46363
463642012-03-08 Richard Henderson <rth@twiddle.net>
46365
46366 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46367 from macro to inline function; merge with the
46368 !__LIBC_INTERNAL_MATH_INLINES version.
46369 (__ieee754_sqrtf): Likewise.
46370
46371 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46372 to inline function.
46373 (__rintf, __floor, __floorf): Likewise.
46374
46375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46376 macro to inline function.
46377 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46378
46379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46380 not <math/math_private.h>.
46381
463822012-03-08 David S. Miller <davem@davemloft.net>
46383
46384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46385 copyright year.
46386 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46387
463882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46389
46390 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46391 normalization.
46392 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46394
463952012-03-08 Ulrich Drepper <drepper@gmail.com>
46396
46397 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46398 be defined individually, they must be defined as a block. Define
46399 S for printing a string instead of hidint the different by using a
46400 macro for adding the 'l'.
46401 * stdio-common/tst-fphex-wide.c: Adjust.
46402
464032012-03-07 Marek Polacek <polacek@redhat.com>
46404
46405 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46406
464072012-03-08 Marek Polacek <polacek@redhat.com>
46408
46409 [BZ #13806]
46410 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46411 * stdio-common/tst-fphex.c: Define a few macros to make the
46412 test reusable. Use them.
46413 * stdio-common/tst-fphex-wide.c: New file.
46414
464152012-03-08 Joseph Myers <joseph@codesourcery.com>
46416
46417 [BZ #6911]
46418 * manual/macros.texi (gnusystems): New macro.
46419 (nongnusystems): Likewise.
46420 (gnulinuxhurdsystems): Likewise.
46421 (gnuhurdsystems): Likewise..
46422 (gnulinuxsystems): Likewise.
46423 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46424 variants of the GNU system, not "GNU system".
46425 * manual/conf.texi: Likewise.
46426 * manual/errno.texi: Likewise. Update example of errno macro
46427 expansion.
46428 * manual/filesys.texi: Likewise.
46429 (getumask): Document as specific to GNU/Hurd.
46430 * manual/install.texi: Likewise. Reword some references to
46431 GNU/Linux.
46432 * manual/intro.texi: Likewise.
46433 * manual/io.texi: Likewise.
46434 (File Name Portability): Detail which constraints are inapplicable
46435 to all GNU systems and which are only inapplicable to GNU/Hurd.
46436 * manual/job.texi: Likewise.
46437 * manual/llio.texi: Likewise.
46438 (O_NOCTTY): Document as present on GNU/Linux.
46439 * manual/maint.texi: Likewise.
46440 * manual/memory.texi: Likewise.
46441 * manual/pattern.texi: Likewise.
46442 * manual/pipe.texi: Likewise.
46443 * manual/process.texi: Likewise.
46444 * manual/resource.texi: Likewise.
46445 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46446 child on GNU/Hurd.
46447 * manual/setjmp.texi: Likewise.
46448 * manual/signal.texi: Likewise.
46449 * manual/startup.texi: Likewise.
46450 * manual/stdio.texi: Likewise.
46451 * manual/terminal.texi: Likewise.
46452 (ONLCR): Document as POSIX.
46453 (OXTABS): Document availability on GNU/Linux as XTABS.
46454 (ONOEOT): Document availability separately from other bits.
46455 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46456 * manual/time.texi: Likewise.
46457 * manual/users.texi: Likewise.
46458 * INSTALL: Regenerated.
46459 * sysdeps/gnu/errlist.c: Regenerated.
46460
46461 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46462 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46463 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46464 puts.
46465 * configure: Regenerated.
46466
464672012-03-07 Joseph Myers <joseph@codesourcery.com>
46468
46469 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46470 default includes instead of AC_HEADER_CHECK.
46471 * sysdeps/i386/configure: Regenerated.
46472
46473 [BZ #10716]
46474 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46475 * math/s_cacoshf.c (__cacoshf): Likewise.
46476 * math/s_cacoshl.c (__cacoshl): Likewise.
46477 * math/s_casinh.c (__casinh): Set signs of result from argument.
46478 * math/s_casinhf.c (__casinhf): Likewise.
46479 * math/s_casinhl.c (__casinhl): Likewise.
46480 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46481 (casinh_test): Add more tests.
46482 * sysdeps/i386/fpu/libm-test-ulps: Update.
46483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46484
464852012-03-07 Ulrich Drepper <drepper@gmail.com>
46486
46487 * po/zh_TW.po: Update from translation team.
46488
46489 * login/Makefile (distribute): Remove variable.
46490 * catgets/Makefile: Likewise.
46491 * mach/Makefile: Likewise.
46492 * malloc/Makefile: Likewise.
46493 * misc/Makefile: Likewise.
46494 * iconv/Makefile: Likewise.
46495 * nscd/Makefile: Likewise.
46496 * hurd/Makefile: Likewise.
46497 * manual/Makefile: Likewise.
46498 * locale/Makefile: Likewise.
46499 * intl/Makefile: Likewise.
46500 * conform/Makefile: Likewise.
46501 * nss/Makefile: Likewise.
46502 * time/Makefile: Likewise.
46503 * soft-fp/Makefile: Likewise.
46504 * dirent/Makefile: Likewise.
46505 * gmon/Makefile: Likewise.
46506 * po/Makefile: Likewise.
46507 * rt/Makefile: Likewise.
46508 * socket/Makefile: Likewise.
46509 * math/Makefile: Likewise.
46510 * signal/Makefile: Likewise.
46511 * debug/Makefile: Likewise.
46512 * elf/Makefile: Likewise.
46513 * timezone/Makefile: Likewise.
46514 * stdlib/Makefile: Likewise.
46515 * iconvdata/Makefile: Likewise.
46516 * sunrpc/Makefile: Likewise.
46517 * io/Makefile: Likewise.
46518 * argp/Makefile: Likewise.
46519 * inet/Makefile: Likewise.
46520 * hesiod/Makefile: Likewise.
46521 * grp/Makefile: Likewise.
46522 * csu/Makefile: Likewise.
46523 * wctype/Makefile: Likewise.
46524 * crypt/Makefile: Likewise.
46525 * libio/Makefile: Likewise.
46526 * string/Makefile: Likewise.
46527 * nis/Makefile: Likewise.
46528 * resolv/Makefile: Likewise.
46529 * stdio-common/Makefile: Likewise.
46530 * wcsmbs/Makefile: Likewise.
46531 * dlfcn/Makefile: Likewise.
46532 * posix/Makefile: Likewise.
46533
46534 [BZ #6959]
46535 * timezone/Makefile: Don't install timezone files, just the programs
46536 and scripts.
46537
465382012-03-06 Ulrich Drepper <drepper@gmail.com>
46539
46540 * nss/databases.def: Add missing gshadow entry.
46541
46542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46543
465442012-03-06 Marek Polacek <polacek@redhat.com>
46545
46546 [BZ #13726]
46547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46550 * stdio-common/tst-long-dbl-fphex.c: New file.
46551
465522012-03-06 David S. Miller <davem@davemloft.net>
46553
46554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46555 (set_obp_int): New function.
46556 (get_obp_int): New function.
46557 (__get_clockfreq_via_dev_openprom): Likewise.
46558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46559 Avoid unused variable warnings on 'val' and use builtin_expect.
46560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46561 __builtin_expect.
46562 (INLINE_CLONE_SYSCALL): Likewise.
46563
465642012-03-05 David S. Miller <davem@davemloft.net>
46565
46566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46567
465682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46569
46570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46571
46572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46573 only for |x| >= 40.
46574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46575
465762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46577
46578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46579 Replace gettimeofday with __vdso_gettimeofday.
46580
46581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46583 __vdso_clock_gettime and __vdso_getcpu.
46584
46585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46586 time with __vdso_time.
46587
465882012-03-05 Joseph Myers <joseph@codesourcery.com>
46589
46590 * manual/lang.texi (size_t): Note types to which size_t may be
46591 equivalent with the GNU C Library, but do not describe when
46592 differences between them are significant.
46593
465942012-03-05 Andreas Jaeger <aj@suse.de>
46595
46596 * sysdeps/i386/fpu/libm-test-ulps: Update.
46597
465982012-03-05 Joseph Myers <joseph@codesourcery.com>
46599
46600 [BZ #3976]
46601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46602 (__ieee754_pow): Save and restore rounding mode and use
46603 round-to-nearest for main computations.
46604 * math/libm-test.inc (pow_test_tonearest): New function.
46605 (pow_test_towardzero): Likewise.
46606 (pow_test_downward): Likewise.
46607 (pow_test_upward): Likewise.
46608 (main): Call the new functions.
46609 * sysdeps/i386/fpu/libm-test-ulps: Update.
46610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46611
46612 [BZ #3976]
46613 * math/libm-test.inc (cosh_test_tonearest): New function.
46614 (cosh_test_towardzero): Likewise.
46615 (cosh_test_downward): Likewise.
46616 (cosh_test_upward): Likewise.
46617 (sinh_test_tonearest): Likewise.
46618 (sinh_test_towardzero): Likewise.
46619 (sinh_test_downward): Likewise.
46620 (sinh_test_upward): Likewise.
46621 (main): Call the new functions.
46622 * sysdeps/i386/fpu/libm-test-ulps: Update.
46623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46624
466252012-03-05 Tom de Vries <tom@codesourcery.com>
46626
46627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46628 default stack guard is set in last bytes.
46629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46630
466312012-03-05 Kees Cook <keescook@chromium.org>
46632
46633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46634
46635 [BZ #13656]
46636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46637 possibly allocate from heap instead of stack.
46638 * stdio-common/bug-vfprintf-nargs.c: New file.
46639 * stdio-common/Makefile (tests): Add nargs overflow test.
46640
466412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46642
46643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46644
466452012-03-03 Marek Polacek <polacek@redhat.com>
46646
46647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46648 * math/math_private.h: Likewise.
46649 * stdlib/tst-strtod.c: Likewise.
46650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46651 * sysdeps/x86_64/bits/atomic.h: Likewise.
46652
466532012-03-02 David S. Miller <davem@davemloft.net>
46654
46655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46663
466642012-03-02 Roland McGrath <roland@hack.frob.com>
46665
46666 [BZ #13792]
46667 * manual/examples/README: New file, says the example source files
46668 can be used under GPL>=2.
46669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46670 line containing just "*/".
46671 * manual/examples/add.c: Add copyright header (GPL>=2).
46672 * manual/examples/argp-ex1.c: Likewise.
46673 * manual/examples/argp-ex2.c: Likewise.
46674 * manual/examples/argp-ex3.c: Likewise.
46675 * manual/examples/argp-ex4.c: Likewise.
46676 * manual/examples/atexit.c: Likewise.
46677 * manual/examples/db.c: Likewise.
46678 * manual/examples/dir.c: Likewise.
46679 * manual/examples/dir2.c: Likewise.
46680 * manual/examples/execinfo.c: Likewise.
46681 * manual/examples/filecli.c: Likewise.
46682 * manual/examples/filesrv.c: Likewise.
46683 * manual/examples/fmtmsgexpl.c: Likewise.
46684 * manual/examples/genpass.c: Likewise.
46685 * manual/examples/inetcli.c: Likewise.
46686 * manual/examples/inetsrv.c: Likewise.
46687 * manual/examples/isockad.c: Likewise.
46688 * manual/examples/longopt.c: Likewise.
46689 * manual/examples/memopen.c: Likewise.
46690 * manual/examples/memstrm.c: Likewise.
46691 * manual/examples/mkfsock.c: Likewise.
46692 * manual/examples/mkisock.c: Likewise.
46693 * manual/examples/mygetpass.c: Likewise.
46694 * manual/examples/pipe.c: Likewise.
46695 * manual/examples/popen.c: Likewise.
46696 * manual/examples/rprintf.c: Likewise.
46697 * manual/examples/search.c: Likewise.
46698 * manual/examples/select.c: Likewise.
46699 * manual/examples/setjmp.c: Likewise.
46700 * manual/examples/sigh1.c: Likewise.
46701 * manual/examples/sigusr.c: Likewise.
46702 * manual/examples/stpcpy.c: Likewise.
46703 * manual/examples/strdupa.c: Likewise.
46704 * manual/examples/strftim.c: Likewise.
46705 * manual/examples/strncat.c: Likewise.
46706 * manual/examples/subopt.c: Likewise.
46707 * manual/examples/swapcontext.c: Likewise.
46708 * manual/examples/termios.c: Likewise.
46709 * manual/examples/testopt.c: Likewise.
46710 * manual/examples/testpass.c: Likewise.
46711 * manual/examples/timeval_subtract.c: Likewise.
46712
46713 [BZ #13792]
46714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46715 function to ...
46716 * manual/timeval_subtract.c.texi: ... here, new file.
46717
467182012-03-02 David S. Miller <davem@davemloft.net>
46719
46720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46721
467222012-03-02 Joseph Myers <joseph@codesourcery.com>
46723
46724 [BZ #3976]
46725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46726 (__sin): Save and restore rounding mode and use round-to-nearest
46727 for all computations.
46728 (__cos): Save and restore rounding mode and use round-to-nearest
46729 for all computations.
46730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46731 <fenv.h>.
46732 (tan): Save and restore rounding mode and use round-to-nearest for
46733 all computations.
46734 * math/libm-test.inc (cos_test_tonearest): New function.
46735 (cos_test_towardzero): Likewise.
46736 (cos_test_downward): Likewise.
46737 (cos_test_upward): Likewise.
46738 (sin_test_tonearest): Likewise.
46739 (sin_test_towardzero): Likewise.
46740 (sin_test_downward): Likewise.
46741 (sin_test_upward): Likewise.
46742 (tan_test_tonearest): Likewise.
46743 (tan_test_towardzero): Likewise.
46744 (tan_test_downward): Likewise.
46745 (tan_test_upward): Likewise.
46746 (main): Call the new functions.
46747 * sysdeps/i386/fpu/libm-test-ulps: Update.
46748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46749
46750 [BZ #10135]
46751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46752 small n, then large n, before computing and testing k+n.
46753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46755 Likewise.
46756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46757 Likewise.
46758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46766 * math/libm-test.inc (scalbn_test): Add more tests.
46767 (scalbln_test): Likewise.
46768
46769 * manual/filesys.texi (mode_t): Describe constraints on size and
46770 signedness, not exact equivalence to a particular type.
46771 (ino_t): Likewise.
46772 (ino64_t): Likewise.
46773 (dev_t): Likewise.
46774 (nlink_t): Likewise.
46775 (blkcnt_t): Likewise.
46776 (blkcnt64_t): Likewise.
46777 * manual/llio.texi (off_t): Likewise.
46778
46779 [BZ #3976]
46780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46781 (__ieee754_exp): Save and restore rounding mode and use
46782 round-to-nearest for all computations.
46783 * math/libm-test.inc (exp_test_tonearest): New function.
46784 (exp_test_towardzero): Likewise.
46785 (exp_test_downward): Likewise.
46786 (exp_test_upward): Likewise.
46787 (main): Call the new functions.
46788 * sysdeps/i386/fpu/libm-test-ulps: Update.
46789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46790
467912012-03-01 Chris Demetriou <cgd@google.com>
46792
46793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46794 have predictable order.
46795
467962012-03-01 David S. Miller <davem@davemloft.net>
46797
46798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46799
46800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46804
46805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46814
46815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46816
46817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46820
46821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46839 * sysdeps/sparc/elf/configure: Regenerated.
46840
468412012-03-01 Joseph Myers <joseph@codesourcery.com>
46842
46843 * configure.in (AS, LD): Require binutils 2.20 or later.
46844 * configure: Regenerated.
46845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46846 as required minimum version.
46847 * INSTALL: Regenerated.
46848
46849 [BZ #2541]
46850 [BZ #4108]
46851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46852 before squaring exponent.
46853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46854 bottom long double and 27 bits of top long double before squaring
46855 exponent.
46856 * math/libm-test.inc (erfc_test): Add more tests.
46857 * sysdeps/i386/fpu/libm-test-ulps: Update.
46858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46860
468612012-03-01 Kai Tietz <ktietz@redhat.com>
46862
46863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46865 containing bit-fields.
46866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46867 * soft-fp/single.h (_FP_UNION_S): Likewise.
46868 * soft-fp/double.h (_FP_UNION_D): Likewise.
46869
468702012-02-29 Joseph Myers <joseph@codesourcery.com>
46871
46872 [BZ #13786]
46873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46874 not include ../strcmp.S.
46875 [USE_AS_STRNCASECMP_L]: Likewise.
46876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46879 (__strncasecmp_l_ia32): Define as alias to
46880 __strncasecmp_l_nonascii.
46881
46882 [BZ #5794]
46883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46884 * sysdeps/i386/fpu/libm-test-ulps: Update.
46885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46886
46887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46889
468902012-02-29 Jeff Law <law@redhat.com>
46891
46892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46893 out of bounds read.
46894
468952012-02-29 Marek Polacek <polacek@redhat.com>
46896
46897 [BZ #13706]
46898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46899 * elf/Makefile: Add rules to run tst-unused-dep.out.
46900
469012012-02-28 David S. Miller <davem@davemloft.net>
46902
46903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46909
469102012-02-29 Joseph Myers <joseph@codesourcery.com>
46911
46912 * math/libm-test.inc (llround_test): Move one test from
46913 lround_test. Use TEST_f_L in moved test.
46914 (lround_test): Move misplaced test to llround_test. Add testcase
46915 from bug 2561.
46916
469172012-02-28 Ulrich Drepper <drepper@gmail.com>
46918
46919 * sysdeps/x86_64/fpu/e_expf.S: New file.
46920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46921
469222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46923
46924 [BZ #13637]
46925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46926 of remain_len that may cause incomplete multi-byte character and
46927 false match.
46928 * posix/bug-regex33.c: New file.
46929 * posix/Makefile (tests): Add bug-regex33.
46930
469312012-02-28 Joseph Myers <joseph@codesourcery.com>
46932
46933 * manual/macros.texi: New file.
46934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46935 * manual/libc.texinfo: Include macros.texi.
46936 * manual/creatute.texi: Likewise.
46937 * manual/install.texi: Likewise.
46938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46939 @glibcadj{} in references to the GNU C Library.
46940 * manual/charset.texi: Likewise.
46941 * manual/conf.texi: Likewise.
46942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46943 when not using those macros.
46944 * manual/creature.texi: Likewise.
46945 * manual/crypt.texi: Likewise.
46946 * manual/errno.texi: Likewise.
46947 * manual/filesys.texi: Likewise.
46948 * manual/header.texi: Likewise.
46949 * manual/install.texi: Likewise.
46950 * manual/intro.texi: Likewise.
46951 * manual/io.texi: Likewise.
46952 * manual/job.texi: Likewise.
46953 * manual/lang.texi: Likewise.
46954 * manual/libc.texiinfo: Likewise.
46955 * manual/llio.texi: Likewise.
46956 * manual/locale.texi: Likewise.
46957 * manual/maint.texi: Likewise.
46958 * manual/math.texi: Likewise.
46959 * manual/memory.texi: Likewise.
46960 * manual/message.texi: Likewise.
46961 * manual/nss.texi: Likewise.
46962 * manual/pattern.texi: Likewise.
46963 * manual/process.texi: Likewise.
46964 * manual/resource.texi: Likewise.
46965 * manual/search.texi: Likewise.
46966 * manual/setjmp.texi: Likewise.
46967 * manual/signal.texi: Likewise.
46968 * manual/socket.texi: Likewise.
46969 * manual/startup.texi: Likewise.
46970 * manual/stdio.texi: Likewise.
46971 * manual/string.texi: Likewise.
46972 * manual/sysinfo.texi: Likewise.
46973 * manual/syslog.texi: Likewise.
46974 * manual/terminal.texi: Likewise.
46975 * manual/time.texi: Likewise.
46976 * manual/users.texi: Likewise.
46977 * INSTALL: Regenerated.
46978 * NOTES: Regenerated.
46979 * sysdeps/gnu/errlist.c: Regenerated.
46980
469812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46982
46983 * include/dirent.h: Include <dirstream.h> before
46984 <dirent/dirent.h>.
46985
469862012-02-28 David S. Miller <davem@davemloft.net>
46987
46988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46992
469932012-02-27 David S. Miller <davem@davemloft.net>
46994
46995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46999
47000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47001 frame pointer instead of stack pointer relative arg slot.
47002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47005
470062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47007
47008 [BZ #3992]
47009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47010
470112012-02-27 David S. Miller <davem@davemloft.net>
47012
47013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47021
470222012-02-27 Joseph Myers <joseph@codesourcery.com>
47023
47024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47025 later. Allow versions 5-9.
47026 * configure: Regenerated.
47027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47028 required minimum version and 4.6 as recommended version. Do not
47029 mention bugs in GCC 2.7 and 2.8.
47030 * INSTALL: Regenerated.
47031
470322012-02-27 David S. Miller <davem@davemloft.net>
47033
47034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47042
47043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47044 manipulate bits before adding and subtracting TWO112[sx].
47045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47046
470472012-02-27 Roland McGrath <roland@hack.frob.com>
47048
47049 [BZ #13775]
47050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47053 being in POSIX, because they are in 1003.1-2008.
47054
47055 * rt/tst-aio.c: Include <fcntl.h>.
47056 * rt/tst-aio7.c: Likewise.
47057 * rt/tst-aio64.c: Likewise.
47058
47059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47060
470612012-02-27 Joseph Myers <joseph@codesourcery.com>
47062
47063 * manual/install.texi (--with-headers): Describe headers as
47064 interface headers, not private headers.
47065 (Specific advice for GNU/Linux systems): Describe use of headers
47066 from "make headers_install", not private headers from older
47067 kernels.
47068 * INSTALL: Regenerated.
47069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47070 Change to 2.6.19.
47071 * sysdeps/unix/sysv/linux/configure: Regenerated.
47072
47073 * manual/llio.texi (fclean): Remove documentation.
47074
47075 * manual/Makefile (libc-texi-generated): New variable. Include
47076 version.texi.
47077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47078 $(libc-texi-generated), not duplicated list of files.
47079 (version.texi, stamp-version): New rules.
47080 (realclean): Remove $(libc-texi-generated), not individual files
47081 from that list. Do not remove dir-add.texinfo.
47082 * manual/libc.texinfo: Comment out uses of edition numbers and
47083 references to printed manual. Remove last-updated dates.
47084 (EDITION): Comment out.
47085 (ISBN): Likewise.
47086 (VERSION, UPDATED): Remove.
47087 (version.texi): Include.
47088
470892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47090
47091 * sysdeps/posix/spawni.c: Include <signal.h>.
47092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47093 * sysdeps/pthread/aio_fsync.c: Likewise.
47094
470952012-02-26 Ulrich Drepper <drepper@gmail.com>
47096
47097 * conform/Makefile (tests): Run only when not cross-compiling and
47098 when fast-check is not defined.
47099
47100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47101 * conform/data/limits.h-data: Fixes for POSIX2008.
47102 * conform/run-conformtest.sh: Run all tests.
47103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47104 headers.
47105 * include/bits/dlfcn.h: Likewise.
47106 * include/langinfo.h: Likewise.
47107 * include/monetary.h: Likewise.
47108 * include/sys/poll.h: Likewise.
47109
47110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47111 for __USE_GNU.
47112 * posix/spawn.h: Define __need_sigset_t.
47113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47116 to get sigevent_t only.
47117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47118 only for __USE_GNU.
47119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47121 process_vm_writev only for __USE_GNU.
47122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47123
47124 * conform/Makefile: For now ignore errors from run-conformtest.
47125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47126 POSIX to avoid namespace pollution. Don't prepend headers.
47127 * conform/data/aio.h-data: Fixes for POSIX testing.
47128 * conform/data/fcntl.h-data: Likewise.
47129 * conform/data/glob.h-data: Likewise.
47130 * conform/data/grp.h-data: Likewise.
47131 * conform/data/pthread.h-data: Likewise.
47132 * conform/data/pwd.h-data: Likewise.
47133 * conform/data/signal.h-data: Likewise.
47134 * conform/data/spawn.h-data: Likewise.
47135 * conform/data/stdio.h-data: Likewise.
47136 * conform/data/stdlib.h-data: Likewise.
47137 * conform/data/stropts.h-data: Likewise.
47138 * conform/data/sys/mman.h-data: Likewise.
47139 * conform/data/sys/stat.h-data: Likewise.
47140 * conform/data/sys/types.h-data: Likewise.
47141 * conform/data/sys/wait.h-data: Likewise.
47142 * conform/data/time.h-data: Likewise.
47143 * conform/data/unistd.h-data: Likewise.
47144 * conform/data/utime.h-data: Likewise.
47145
47146 * io/sys/stat.h: fchmod was always in POSIX.
47147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47149 * rt/aio.h: Define __need_timespec before including <time.h>.
47150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47151 struct. Add forward declaration of pthread_attr_t and use it in
47152 sigevent.
47153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47156 always remove CLK_TCK definition.
47157
471582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47159
47160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47161
471622012-02-25 Ulrich Drepper <drepper@gmail.com>
47163
47164 * conform/run-conformtest.sh: New file.
47165 * conform/Makefile: Run run-conformtest for tests.
47166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47167 support.
47168
47169 * conform/data/uchar.h-data: New file.
47170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47171 * conform/data/arpa/inet.h-data: Likewise.
47172 * conform/data/assert.h-data: Likewise.
47173 * conform/data/complex.h-data: Likewise.
47174 * conform/data/cpio.h-data: Likewise.
47175 * conform/data/ctype.h-data: Likewise.
47176 * conform/data/dirent.h-data: Likewise.
47177 * conform/data/dlfcn.h-data: Likewise.
47178 * conform/data/errno.h-data: Likewise.
47179 * conform/data/fcntl.h-data: Likewise.
47180 * conform/data/float.h-data: Likewise.
47181 * conform/data/fmtmsg.h-data: Likewise.
47182 * conform/data/fnmatch.h-data: Likewise.
47183 * conform/data/ftw.h-data: Likewise.
47184 * conform/data/glob.h-data: Likewise.
47185 * conform/data/grp.h-data: Likewise.
47186 * conform/data/iconv.h-data: Likewise.
47187 * conform/data/inttypes.h-data: Likewise.
47188 * conform/data/langinfo.h-data: Likewise.
47189 * conform/data/libgen.h-data: Likewise.
47190 * conform/data/limits.h-data: Likewise.
47191 * conform/data/locale.h-data: Likewise.
47192 * conform/data/math.h-data: Likewise.
47193 * conform/data/monetary.h-data: Likewise.
47194 * conform/data/mqueue.h-data: Likewise.
47195 * conform/data/ndbm.h-data: Likewise.
47196 * conform/data/net/if.h-data: Likewise.
47197 * conform/data/netdb.h-data: Likewise.
47198 * conform/data/netinet/in.h-data: Likewise.
47199 * conform/data/nl_types.h-data: Likewise.
47200 * conform/data/poll.h-data: Likewise.
47201 * conform/data/pthread.h-data: Likewise.
47202 * conform/data/pwd.h-data: Likewise.
47203 * conform/data/regex.h-data: Likewise.
47204 * conform/data/sched.h-data: Likewise.
47205 * conform/data/search.h-data: Likewise.
47206 * conform/data/semaphore.h-data: Likewise.
47207 * conform/data/setjmp.h-data: Likewise.
47208 * conform/data/signal.h-data: Likewise.
47209 * conform/data/spawn.h-data: Likewise.
47210 * conform/data/stdarg.h-data: Likewise.
47211 * conform/data/stdio.h-data: Likewise.
47212 * conform/data/stdlib.h-data: Likewise.
47213 * conform/data/string.h-data: Likewise.
47214 * conform/data/strings.h-data: Likewise.
47215 * conform/data/stropts.h-data: Likewise.
47216 * conform/data/sys/ipc.h-data: Likewise.
47217 * conform/data/sys/mman.h-data: Likewise.
47218 * conform/data/sys/msg.h-data: Likewise.
47219 * conform/data/sys/resource.h-data: Likewise.
47220 * conform/data/sys/select.h-data: Likewise.
47221 * conform/data/sys/sem.h-data: Likewise.
47222 * conform/data/sys/shm.h-data: Likewise.
47223 * conform/data/sys/socket.h-data: Likewise.
47224 * conform/data/sys/stat.h-data: Likewise.
47225 * conform/data/sys/statvfs.h-data: Likewise.
47226 * conform/data/sys/time.h-data: Likewise.
47227 * conform/data/sys/timeb.h-data: Likewise.
47228 * conform/data/sys/times.h-data: Likewise.
47229 * conform/data/sys/types.h-data: Likewise.
47230 * conform/data/sys/uio.h-data: Likewise.
47231 * conform/data/sys/un.h-data: Likewise.
47232 * conform/data/sys/utsname.h-data: Likewise.
47233 * conform/data/sys/wait.h-data: Likewise.
47234 * conform/data/syslog.h-data: Likewise.
47235 * conform/data/tar.h-data: Likewise.
47236 * conform/data/termios.h-data: Likewise.
47237 * conform/data/utime.h-data: Likewise.
47238 * conform/data/utmpx.h-data: Likewise.
47239 * conform/data/varargs.h-data: Likewise.
47240 * conform/data/wchar.h-data: Likewise.
47241 * conform/data/wctype.h-data: Likewise.
47242 * conform/data/wordexp.h-data: Likewise.
47243
47244 * include/stropts.h: New file.
47245 * include/uchar.h: New file.
47246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47247 * include/assert.h: Likewise.
47248 * include/ctype.h: Likewise.
47249 * include/dirent.h: Likewise.
47250 * include/dlfcn.h: Likewise.
47251 * include/fcntl.h: Likewise.
47252 * include/fnmatch.h: Likewise.
47253 * include/glob.h: Likewise.
47254 * include/grp.h: Likewise.
47255 * include/libio.h: Likewise.
47256 * include/locale.h: Likewise.
47257 * include/math.h: Likewise.
47258 * include/net/if.h: Likewise.
47259 * include/netdb.h: Likewise.
47260 * include/netinet/in.h: Likewise.
47261 * include/pthread.h: Likewise.
47262 * include/pwd.h: Likewise.
47263 * include/regex.h: Likewise.
47264 * include/sched.h: Likewise.
47265 * include/search.h: Likewise.
47266 * include/setjmp.h: Likewise.
47267 * include/signal.h: Likewise.
47268 * include/stdio.h: Likewise.
47269 * include/stdlib.h: Likewise.
47270 * include/string.h: Likewise.
47271 * include/sys/cdefs.h: Likewise.
47272 * include/sys/mman.h: Likewise.
47273 * include/sys/msg.h: Likewise.
47274 * include/sys/resource.h: Likewise.
47275 * include/sys/select.h: Likewise.
47276 * include/sys/socket.h: Likewise.
47277 * include/sys/stat.h: Likewise.
47278 * include/sys/statvfs.h: Likewise.
47279 * include/sys/time.h: Likewise.
47280 * include/sys/times.h: Likewise.
47281 * include/sys/uio.h: Likewise.
47282 * include/sys/utsname.h: Likewise.
47283 * include/sys/wait.h: Likewise.
47284 * include/termios.h: Likewise.
47285 * include/time.h: Likewise.
47286 * include/ulimit.h: Likewise.
47287 * include/unistd.h: Likewise.
47288 * include/utime.h: Likewise.
47289 * include/wchar.h: Likewise.
47290 * include/wctype.h: Likewise.
47291 * include/wordexp.h: Likewise.
47292
47293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47294
47295 * time/time.h: TIME_UTC must be a macro.
47296 Make timespec_get available for ISO C11 only as well.
47297
472982012-02-24 Ulrich Drepper <drepper@gmail.com>
47299
47300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47302
473032012-02-24 Joseph Myers <joseph@codesourcery.com>
47304
47305 * configure.in: Use -o not -a in test for unsupported multi-arch.
47306
473072012-02-24 Joseph Myers <joseph@codesourcery.com>
47308
47309 * manual/texinfo.tex: Update to version 2012-01-19.16.
47310
473112012-02-24 Joseph Myers <joseph@codesourcery.com>
47312
47313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47314
473152012-02-24 Roland McGrath <roland@hack.frob.com>
47316
47317 [BZ #13738]
47318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47319 * manual/fdl-1.3.texi: New file.
47320 * manual/fdl-1.1.texi: File removed.
47321
47322 [BZ #13738]
47323 * manual/libc.texinfo (FDL_VERSION): New @set.
47324 Use it for mention of FDL in cover text.
47325 (Documentation License): Use it in @include file name.
47326
473272012-02-22 Joseph Myers <joseph@codesourcery.com>
47328 Roland McGrath <roland@hack.frob.com>
47329
47330 [BZ #5461]
47331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47332 (not LONG_LONG_MAX and LONG_LONG_MIN.
47333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47335 name.
47336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47337
473382012-02-22 Joseph Myers <joseph@codesourcery.com>
47339
47340 [BZ #2547]
47341 [BZ #11365]
47342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47343 manipulate bits before adding and subtracting TWO23[sx].
47344 * math/libm-test.inc (nearbyint_test): Add more tests.
47345
473462012-02-22 Joseph Myers <joseph@codesourcery.com>
47347
47348 [BZ #2548]
47349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47350 bits before adding and subtracting TWO23[sx].
47351 * math/libm-test.inc (rint_test): Add more tests.
47352 (rint_test_tonearest): Likewise.
47353 (rint_test_towardzero): Likewise.
47354 (rint_test_downward): Likewise.
47355 (rint_test_upward: Likewise.
47356
473572012-02-22 Joseph Myers <joseph@codesourcery.com>
47358
47359 [BZ #10110]
47360 * include/stdc-predef.h: New file. Extracted from features.h.
47361 * include/features.h: Include stdc-predef.h.
47362 * Makefile (headers): Add stdc-predef.h.
47363 * CONFORMANCE (Compiler limitations): Update.
47364
473652012-02-22 Joseph Myers <joseph@codesourcery.com>
47366
47367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47368
473692012-02-21 David S. Miller <davem@davemloft.net>
47370
47371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47373
473742012-02-20 David S. Miller <davem@davemloft.net>
47375
47376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47377 using a normal save/restore sequence, rather than allocating a
47378 dummy stack frame just to store a frame pointer and restore.
47379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47380
473812012-02-21 Joseph Myers <joseph@codesourcery.com>
47382
47383 * manual/install.texi: Fix stray word in line-wrapped comment.
47384
473852012-02-20 David S. Miller <davem@davemloft.net>
47386
47387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47388 both binutils and gcc support GOTDATA.
47389
47390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47391 "rd %pc" in the PIC register setup sequences.
47392
47393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47402 (SYSCALL_ERROR_HANDLER): Likewise.
47403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47406 (SYSCALL_ERROR_HANDLER): Likewise.
47407
47408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47409 (HAVE_GCC_GOTDATA): New.
47410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47411 relocation support in both binutils and gcc.
47412 * sysdeps/sparc/elf/configure: Regenerate.
47413
47414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47415 * sysdeps/sparc/sparc32/elf/configure: Delete.
47416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47417 * sysdeps/sparc/sparc64/elf/configure: Delete.
47418 * sysdeps/sparc/elf/configure.in: New file.
47419 * sysdeps/sparc/elf/configure: Generate.
47420
47421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47426
474272012-02-21 Joseph Myers <joseph@codesourcery.com>
47428
47429 * manual/install.texi: Do not mention specific glibc version
47430 numbers.
47431 * manual/libc.texinfo (VERSION, UPDATED): Update.
47432 (@copying): Use @copyright{} and range of years.
47433
474342012-02-21 Joseph Myers <joseph@codesourcery.com>
47435
47436 [BZ #13695]
47437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47438 [crti.S not in sysdirs] (generated): Do not append.
47439 [crti.S not in sysdirs] (omit-deps): Likewise.
47440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47445 Likewise.
47446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47449 * csu/defs.awk: Remove file.
47450 * sysdeps/generic/initfini.c: Likewise.
47451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47452 variable.
47453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47454 Likewise.
47455
474562012-02-20 Joseph Myers <joseph@codesourcery.com>
47457
47458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47464 <bits/epoll.h>.
47465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47466 (__EPOLL_PACKED): Define to empty if not defined by
47467 <bits/epoll.h>.
47468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47470 bits/epoll.h.
47471
474722012-02-20 Joseph Myers <joseph@codesourcery.com>
47473
47474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47478 <bits/timerfd.h>.
47479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47481 bits/timerfd.h.
47482
474832012-02-20 Joseph Myers <joseph@codesourcery.com>
47484
47485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47486 in C locale.
47487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47491
474922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47493
47494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47496
474972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47498
47499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47501 defined.
47502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47503 Likewise.
47504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47505 entry for 2.16.
47506
475072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47508
47509 * math/w_acos.c: Use non-signaling floating-point comparisons.
47510 * math/w_acosf.c: Likewise.
47511 * math/w_acosh.c: Likewise.
47512 * math/w_acoshf.c: Likewise.
47513 * math/w_acoshl.c: Likewise.
47514 * math/w_acosl.c: Likewise.
47515 * math/w_asin.c: Likewise.
47516 * math/w_asinf.c: Likewise.
47517 * math/w_asinl.c: Likewise.
47518 * math/w_atanh.c: Likewise.
47519 * math/w_atanhf.c: Likewise.
47520 * math/w_atanhl.c: Likewise.
47521 * math/w_exp2.c: Likewise.
47522 * math/w_exp2f.c: Likewise.
47523 * math/w_exp2l.c: Likewise.
47524 * math/w_j0.c: Likewise.
47525 * math/w_j0f.c: Likewise.
47526 * math/w_j0l.c: Likewise.
47527 * math/w_j1.c: Likewise.
47528 * math/w_j1f.c: Likewise.
47529 * math/w_j1l.c: Likewise.
47530 * math/w_jn.c: Likewise.
47531 * math/w_jnf.c: Likewise.
47532 * math/w_log.c: Likewise.
47533 * math/w_log10.c: Likewise.
47534 * math/w_log10f.c: Likewise.
47535 * math/w_log10l.c: Likewise.
47536 * math/w_log2.c: Likewise.
47537 * math/w_log2f.c: Likewise.
47538 * math/w_log2l.c: Likewise.
47539 * math/w_logf.c: Likewise.
47540 * math/w_logl.c: Likewise.
47541 * math/w_sqrt.c: Likewise.
47542 * math/w_sqrtf.c: Likewise.
47543 * math/w_sqrtl.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47549
475502012-02-19 Joseph Myers <joseph@codesourcery.com>
47551
47552 [BZ #9739]
47553 * manual/string.texi (strnlen): Use correct parameter name in
47554 equivalent expression.
47555
475562012-02-19 Joseph Myers <joseph@codesourcery.com>
47557
47558 [BZ #11174]
47559 * manual/users.texi (seteuid): Consistently use neweuid for
47560 argument name.
47561
475622012-02-19 Joseph Myers <joseph@codesourcery.com>
47563
47564 [BZ #13704]
47565 * manual/nss.texi (Services in the NSS configuration): Correct
47566 list of services in example configuration file.
47567
475682012-02-19 Nick Bowler <nbowler@draconx.ca>
47569
47570 [BZ #11322]
47571 * manual/arith.texi: Remove statements about negative zero
47572 behaving identically to zero.
47573
475742012-02-18 Joseph Myers <joseph@codesourcery.com>
47575
47576 [BZ #5993]
47577 * manual/install.texi: Do not document upgrading from libc5.
47578
475792012-02-18 Joseph Myers <joseph@codesourcery.com>
47580
47581 [BZ #4596]
47582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47583
475842012-02-18 David S. Miller <davem@davemloft.net>
47585
47586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47588 %o7 across the call.
47589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47590 instead.
47591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47592 SETUP_PIC_REG_LEAF.
47593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47595 * sysdeps/sparc/crtn.S: Likewise.
47596
475972012-02-17 Ulrich Drepper <drepper@gmail.com>
47598
47599 * aout/Makefile: Remove.
47600
476012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47602
47603 [BZ #13058]
47604 * manual/examples/argp-ex1.c (main): Format definition in GNU
47605 style.
47606 * manual/examples/argp-ex2.c (main): Likewise.
47607 * manual/examples/argp-ex3.c (main): Likewise.
47608 * manual/examples/argp-ex4.c (main): Likewise.
47609 * manual/examples/longopt.c (main): Use new-style prototype
47610 definition.
47611 * manual/examples/strncat.c (main): Specify return type and use
47612 (void) for arguments.
47613 * manual/examples/subopt.c (main): Use char **argv argument.
47614
476152012-02-17 Joseph Myers <joseph@codesourcery.com>
47616
47617 [BZ #5077]
47618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47619 rounding modes.
47620
476212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47622
47623 [BZ #6907]
47624 * manual/string.texi (strchr): Change when strchrnul is
47625 recommended.
47626
476272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47628
47629 [BZ #174]
47630 * manual/locale.texi (setlocale): Document LOCPATH.
47631
476322012-02-17 Joseph Myers <joseph@codesourcery.com>
47633
47634 [BZ #10210]
47635 * manual/process.texi (execle): Move @dots{} before last argument.
47636
476372012-02-17 Paul Bolle <pebolle@tiscali.nl>
47638
47639 [BZ #12047]
47640 * manual/charset.texi (Generic Charset Conversion): Fix typo
47641 (LC_TYPE -> LC_CTYPE).
47642
476432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47644
47645 [BZ #5805]
47646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47647 (scalbnf): Likewise.
47648 (scalbnl): Likewise.
47649 (scalbln): Likewise.
47650 (scalblnf): Likewise.
47651 (scalblnl): Likewise.
47652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47653 (vwarnx): Likewise.
47654 (verr): Likewise.
47655 (verrx): Likewise.
47656 * manual/filesys.texi (telldir): Use braces around return type.
47657 * manual/llio.texi (mmap): Add space after comma.
47658 (mmap64): Likewise.
47659 * manual/math.texi (jn): Use @var{} on parameter names.
47660 (jnf): Likewise.
47661 (jnl): Likewise.
47662 (yn): Likewise.
47663 (ynf): Likewise.
47664 (ynl): Likewise.
47665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47666 line.
47667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47668 "...".
47669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47670 (sched_get_priority_max): Likewise.
47671 * manual/signal.texi (sigvec): Add space after comma.
47672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47673 names.
47674 (if_indextoname): Likewise.
47675 (if_freenameindex): Likewise.
47676 (sendto): Use ',' instead of '.' in prototype.
47677 * manual/startup.texi (syscall): Use @dots{} instead of literal
47678 "...".
47679 * manual/stdio.texi (__fpending): Separate initial words of
47680 paragraph from @deftypefun line.
47681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47682 "...".
47683 (vsyslog): Use @var{} on parameter names.
47684 * manual/terminal.texi (stty): Use @var{} on parameter names.
47685 * manual/users.texi (getutmp): Use @var{} on parameter names.
47686 (getutmpx): Likewise.
47687
476882012-02-17 Joseph Myers <joseph@codesourcery.com>
47689
47690 [BZ #6884]
47691 * manual/stdio.texi (fopen): Fix typos in description of
47692 ",ccs=STRING".
47693
476942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47695
47696 [BZ #4026]
47697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47698 get clock_id definition.
47699
477002012-02-17 Thomas Schwinge <thomas@schwinge.name>
47701
47702 [BZ #4822]
47703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47704 (madvise): Cast every argument to void on its own.
47705
477062012-02-17 Joseph Myers <joseph@codesourcery.com>
47707
47708 [BZ #9902]
47709 * manual/startup.texi (Exit Status): Fix typo.
47710
477112012-02-17 Joseph Myers <joseph@codesourcery.com>
47712
47713 [BZ #10140]
47714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47715 * manual/examples/argp-ex2.c: Likewise.
47716 * manual/examples/argp-ex3.c: Likewise.
47717
477182012-02-16 Richard Henderson <rth@redhat.com>
47719
47720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47721 * sysdeps/s390/s390-32/initfini.c: Remove.
47722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47723 * sysdeps/s390/s390-64/initfini.c: Remove.
47724
477252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47726
47727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47728 compiler output for sysdeps/generic/initfini.c.
47729 * sysdeps/sh/elf/initfini.c: Remove file.
47730
477312012-02-16 David S. Miller <davem@davemloft.net>
47732
47733 [BZ #11494]
47734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47735
47736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47737 * sysdeps/sparc/crti.S: New file.
47738 * sysdeps/sparc/crtn.S: New file.
47739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47740 * sysdeps/sparc/sparc64/Makefile: Likewise.
47741
477422012-02-15 Mike Frysinger <vapier@gentoo.org>
47743
47744 [BZ #3335]
47745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47746
477472012-02-15 Roland McGrath <roland@hack.frob.com>
47748
47749 [BZ #4822]
47750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47751
47752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47753 (write, read, close): Likewise.
47754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47755
477562012-02-15 Joseph Myers <joseph@codesourcery.com>
47757
47758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47762 <bits/signalfd.h>.
47763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47765 bits/signalfd.h.
47766
477672012-02-14 Marek Polacek <polacek@redhat.com>
47768
47769 * sysdeps/x86_64/crti.S: New file.
47770 * sysdeps/x86_64/crtn.S: New file.
47771 * sysdeps/x86_64/elf/initfini.c: Remove file.
47772
477732012-02-13 Joseph Myers <joseph@codesourcery.com>
47774
47775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47779 <bits/inotify.h>.
47780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47782 bits/inotify.h.
47783
477842012-02-13 Joseph Myers <joseph@codesourcery.com>
47785
47786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47790 <bits/eventfd.h>.
47791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47793 bits/eventfd.h.
47794
477952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47796
47797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47798 __feraiseexcept instead of feraiseexcept.
47799
47800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47801 nanosleep invocations.
47802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47803 strings, and add error checking for a nanosleep invocations.
47804
478052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47806
47807 Replace FSF snail mail address with URLs, as per GNU coding standards.
47808 Most of the snail mail addresses were wrong anyway, and omitting
47809 them makes the source code easier to maintain. Almost all of the
47810 changes are to license notices and to locale LC_IDENTIFICATION
47811 addresses, except for this one:
47812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47813 not its snail mail address.
47814
478152012-02-09 Richard Henderson <rth@twiddle.net>
47816
47817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47818 of kernel-features.h.
47819
47820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47821
478222012-02-08 Marek Polacek <polacek@redhat.com>
47823
47824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47826 * sysdeps/gnu/_G_config.h: Likewise.
47827 * sysdeps/generic/_G_config.h: Likewise.
47828
478292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47830
47831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47832 tests.
47833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47834
47835 * sysdeps/powerpc/powerpc32/crti.S: New file.
47836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47837 * sysdeps/powerpc/powerpc64/crti.S: New file.
47838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47839
47840 * Makeconfig (have-initfini): Don't set.
47841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47842 * configure.in (nopic_initfini): Don't substitute.
47843 * config.h.in (HAVE_INITFINI): Don't #undef.
47844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47846
478472012-02-08 Joseph Myers <joseph@codesourcery.com>
47848
47849 Support crti.S and crtn.S provided directly by architectures.
47850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47851 [crti.S in sysdirs] (omit-deps): Likewise.
47852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47861 compiler output for sysdeps/generic/initfini.c.
47862 * sysdeps/i386/elf/Makefile: Remove file.
47863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47864
478652012-02-07 Marek Polacek <polacek@redhat.com>
47866
47867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47868 * sysdeps/gnu/_G_config.h: Likewise.
47869 * sysdeps/mach/hurd/_G_config.h: Likewise.
47870
478712012-02-07 Marek Polacek <polacek@redhat.com>
47872
47873 * math/Makefile (tests): Add tst-CMPLX2.
47874 * math/tst-CMPLX2.c: New file.
47875
478762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47877
47878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47879
47880 * math/libm-test.inc (jn_test): Add missing L suffix.
47881
478822012-02-06 Marek Polacek <polacek@redhat.com>
47883
47884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47885 * sysdeps/i386/fpu/e_powf.S: Likewise.
47886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47889 * sysdeps/i386/fpu/e_pow.S: Likewise.
47890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47894 * sysdeps/i386/fpu/e_log2.S: Likewise.
47895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47897 * sysdeps/i386/fpu/e_powl.S: Likewise.
47898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47901 * sysdeps/i386/fpu/e_logl.S: Likewise.
47902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47908 * sysdeps/i386/fpu/e_log.S: Likewise.
47909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47912 * sysdeps/i386/fpu/e_logf.S: Likewise.
47913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47918 * sysdeps/i386/fpu/e_log10.S: Likewise.
47919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47925 * sysdeps/i386/asm-syntax.h: Likewise.
47926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47935 * sysdeps/powerpc/sysdep.h: Likewise.
47936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47938
479392012-02-06 Joseph Myers <joseph@codesourcery.com>
47940
47941 [BZ #411]
47942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47943
479442012-02-06 Joseph Myers <joseph@codesourcery.com>
47945
47946 * sysdeps/i386/sysdep.h: Include <features.h>.
47947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47948 version.
47949
479502012-02-05 Joseph Myers <joseph@codesourcery.com>
47951
47952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47953 Define.
47954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47955 LOAD_PIC_REG_STR.
47956
479572012-02-03 Joseph Myers <joseph@codesourcery.com>
47958
47959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47960 (SETUP_PIC_REG): Use GET_PC_THUNK.
47961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47962 macro.
47963
479642012-02-03 Joseph Myers <joseph@codesourcery.com>
47965
47966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47967 for non-PIC compilation.
47968 (SETUP_PIC_REG): Add .p2align directive.
47969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48010
480112012-02-03 Joseph Myers <joseph@codesourcery.com>
48012
48013 * math/tst-CMPLX.c: Include <stdio.h>.
48014
480152012-01-31 Joseph Myers <joseph@codesourcery.com>
48016
48017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48018 float.
48019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48020 * sysdeps/sparc/bits/mathdef.h: Likewise.
48021
480222012-01-31 Marek Polacek <polacek@redhat.com>
48023
48024 * libio/libio.h: Don't define _PARAMS.
48025 * locale/programs/config.h: Don't define PARAMS.
48026 * stdlib/strtol_l.c: Likewise.
48027 (__strtol_l): Remove PARAMS from the prototype.
48028
480292012-01-31 Ulrich Drepper <drepper@gmail.com>
48030
48031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48032 names. Just use the correct names. Remove unnecessary wrapper
48033 functions.
48034 * malloc/arena.c: Likewise.
48035 * malloc/hooks.c: Likewise.
48036
48037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48038 ARENA_TEST says not to. Simplify test for creation of a new arena.
48039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48040
480412012-01-30 Ulrich Drepper <drepper@gmail.com>
48042
48043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48044 into tail calls.
48045 (update_get_addr): New function.
48046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48047 GET_ADDR_MODULE parameter.
48048
480492012-01-30 Joseph Myers <joseph@codesourcery.com>
48050
48051 * crypt/cert.c: Remove __STDC__ conditionals.
48052 * crypt/crypt-entry.c: Likewise.
48053 * crypt/crypt_util.c: Likewise.
48054 * libio/filedoalloc.c: Likewise.
48055 * libio/fileops.c: Likewise.
48056 * libio/genops.c: Likewise.
48057 * libio/iofclose.c: Likewise.
48058 * libio/iofdopen.c: Likewise.
48059 * libio/iofopen.c: Likewise.
48060 * libio/iofopen64.c: Likewise.
48061 * libio/iogetdelim.c: Likewise.
48062 * libio/iopopen.c: Likewise.
48063 * libio/obprintf.c: Likewise.
48064 * libio/oldfileops.c: Likewise.
48065 * libio/oldiofclose.c: Likewise.
48066 * libio/oldiofdopen.c: Likewise.
48067 * libio/oldiofopen.c: Likewise.
48068 * libio/oldiopopen.c: Likewise.
48069 * libio/wfiledoalloc.c: Likewise.
48070 * libio/wgenops.c: Likewise.
48071 * locale/programs/xmalloc.c: Likewise.
48072 * misc/syslog.c: Likewise.
48073 * stdio-common/xbug.c: Likewise.
48074 * string/memchr.c: Likewise.
48075 * string/memcmp.c: Likewise.
48076 * string/memrchr.c: Likewise.
48077 * string/rawmemchr.c: Likewise.
48078 * sysdeps/posix/getcwd.c: Likewise.
48079 * time/strftime_l.c: Likewise.
48080
480812012-01-30 Joseph Myers <joseph@codesourcery.com>
48082
48083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48084 * config.make.in (config-cflags-sse2avx): Define.
48085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48086 Fix typo.
48087
480882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48089
48090 * scripts/config.guess: Update from upstream config git repository.
48091 * scripts/config.sub: Likewise.
48092
480932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48094
48095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48096 (EM_NUM): Update.
48097 (R_TILEPRO_*, R_TILEGX_*): New macros.
48098
48099 * scripts/firstversions.awk: Fix bug in version range handling.
48100
48101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48102
48103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48104
48105 * include/sys/epoll.h: New file.
48106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48107 libc_hidden_def.
48108
481092012-01-28 Ulrich Drepper <drepper@gmail.com>
48110
48111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48112 Avoid unnecessary __WORDSIZE == 64 test.
48113 (fmaxf): Use VEX format if possible.
48114 (fmax): Likewise.
48115 (fminf): Likewise.
48116 (fmin): Likewise.
48117
48118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48119 * math/math_private.h: Remove libc_fegetround* and
48120 libc_fesetround*.
48121 * sysdeps/i386/configure.in: Check for -msse2avx.
48122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48123 also if SSE2AVX is defined.
48124 Remove libc_fegetround* and libc_fesetround*.
48125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48128 of HAS_YMM_USABLE.
48129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48134
48135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48136
481372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48138
48139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48140 size is not set.
48141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48142
481432012-01-27 Ulrich Drepper <drepper@gmail.com>
48144
48145 [BZ #13618]
48146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48147 relocation.
48148 * Makeconfig (libm): Define.
48149 * elf/Makefile: Add rules to build and run tst-relsort1.
48150 * elf/tst-relsort1.c: New file.
48151 * elf/tst-relsort1mod1.c: New file.
48152 * elf/tst-relsort1mod2.c: New file.
48153
481542012-01-27 Joseph Myers <joseph@codesourcery.com>
48155
48156 * math/s_ldexp.c: Remove __STDC__ conditionals.
48157 * math/s_ldexpf.c: Likewise.
48158 * math/s_ldexpl.c: Likewise.
48159 * math/s_nextafter.c: Likewise.
48160 * math/s_nexttowardf.c: Likewise.
48161 * math/s_significand.c: Likewise.
48162 * math/s_significandf.c: Likewise.
48163 * math/s_significandl.c: Likewise.
48164 * math/w_jnl.c: Likewise.
48165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48205 * sysdeps/ieee754/k_standard.c: Likewise.
48206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48285 * sysdeps/ieee754/s_matherr.c: Likewise.
48286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48290
482912012-01-26 Joseph Myers <joseph@codesourcery.com>
48292
48293 * crypt/md5.h: Remove __STDC__ conditionals.
48294 * libio/libioP.h: Likewise.
48295 * locale/programs/config.h: Likewise.
48296 * sysdeps/generic/sysdep.h: Likewise.
48297 * sysdeps/i386/asm-syntax.h: Likewise.
48298 * sysdeps/s390/asm-syntax.h: Likewise.
48299 * sysdeps/unix/sysdep.h: Likewise.
48300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48302
483032012-01-26 Joseph Myers <joseph@codesourcery.com>
48304
48305 * libio/libio.h: Remove __STDC__ conditionals.
48306 * malloc/obstack.h: Likewise.
48307 * math/complex.h: Likewise.
48308 * math/math.h: Likewise.
48309 * sysdeps/generic/_G_config.h: Likewise.
48310 * sysdeps/gnu/_G_config.h: Likewise.
48311 * sysdeps/mach/hurd/_G_config.h: Likewise.
48312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48314 * sysdeps/sparc/bits/mathdef.h: Likewise.
48315
483162012-01-26 Ulrich Drepper <drepper@gmail.com>
48317
48318 [BZ #13583]
48319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48320 Clean up HAS_* macros.
48321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48323 possible.
48324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48325 HAS_AVX.
48326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48331
483322012-01-25 Joseph Myers <joseph@codesourcery.com>
48333
48334 * elf/tst-unique3.cc (gets): Remove declaration.
48335 * elf/tst-unique3lib.cc (gets): Likewise.
48336 * elf/tst-unique3lib2.cc (gets): Likewise.
48337 * elf/tst-unique4.cc (gets): Likewise.
48338
483392012-01-24 Ulrich Drepper <drepper@gmail.com>
48340
48341 * include/stdio.h: Add C++ protection. Add gets declarations and
48342 definitions.
48343 * debug/tst-chk1.c: Don't declare gets here.
48344 * stdio-common/tst-gets.c: Likewise.
48345
483462012-01-24 Joseph Myers <joseph@codesourcery.com>
48347
48348 * posix/glob: Remove directory.
48349
483502012-01-24 Joseph Myers <joseph@codesourcery.com>
48351
48352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48353
483542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48355
48356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48357 of the non-standard EPFNOSUPPORT.
48358
483592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48360
48361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48364
483652012-01-21 Ulrich Drepper <drepper@gmail.com>
48366
48367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48368
483692012-01-20 Ulrich Drepper <drepper@gmail.com>
48370
48371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48372 transient errors.
48373 * nscd/grpcache.c (cache_addgr): Likewise.
48374 * nscd/hstcache.c (cache_addhst): Likewise.
48375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48376 * nscd/pwdcache.c (cache_addpw): Likewise.
48377 * nscd/servicescache.c (cache_addserv): Likewise.
48378
483792012-01-16 Ulrich Drepper <drepper@gmail.com>
48380
48381 * malloc/malloc.c: Various cleanups.
48382 * malloc/hooks.c: Likewise.
48383
48384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48385 * stdlib/bug-fmtmsg1.c: New file.
48386
48387 * stdlib/fmtmsg.c (init): Add missing unlock.
48388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48389
483902012-01-12 Marek Polacek <polacek@redhat.com>
48391
48392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48393 and _GNU_SOURCE.
48394
483952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48396
48397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48399 macro to ensure uniqueness of label name.
48400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48402
484032012-01-11 Ulrich Drepper <drepper@gmail.com>
48404
48405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48406
48407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48411
484122012-01-10 Ulrich Drepper <drepper@gmail.com>
48413
48414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48415
48416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48419
48420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48421
48422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48426
48427 * math/bits/math-finite.h: Add ldexp support.
48428
484292012-01-10 Marek Polacek <polacek@redhat.com>
48430
48431 * locale/programs/localedef.h (show_archive_content): Add noreturn
48432 attribute.
48433
484342012-01-09 Ulrich Drepper <drepper@gmail.com>
48435
48436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48437
484382012-01-08 Ulrich Drepper <drepper@gmail.com>
48439
48440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48441
48442 * io/Makefile (headers): Add bits/poll2.h.
48443
484442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48445
48446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48447 typo #include statement.
48448
484492012-01-08 Ulrich Drepper <drepper@gmail.com>
48450
48451 * include/sys/cdefs.h: Define __attribute_alloc_size.
48452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48454 * elf/pldd.c: Likewise.
48455 * iconv/iconv_charmap.c: Likewise.
48456 * iconv/iconvconfig.c: Likewise.
48457 * iconv/strtab.c: Likewise.
48458 * locale/programs/locale.c: Likewise.
48459 * locale/programs/localedef.h: Likewise.
48460 * locale/programs/simple-hash.c: Likewise.
48461 * nscd/nscd.h: Likewise.
48462 * nss/makedb.c: Likewise.
48463 * sysdeps/generic/ldconfig.h: Likewise.
48464 * locale/programs/localedef.c: Remove xmalloc prototype.
48465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48466
484672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48468
48469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48470 appropriate.
48471
484722012-01-08 Ulrich Drepper <drepper@gmail.com>
48473
48474 * math/Makefile (tests): Add tst-CMPLX.
48475 * math/tst-CMPLX.c: New file.
48476
48477 * math/complex.h (CMPLXL): Fix typo.
48478
48479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48481 GLIBC_2.16.
48482 * debug/tst-chk1.c: Add poll and ppoll tests.
48483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48484 * include/sys/poll.h: Add hidden proto for ppoll.
48485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48486 * sysdeps/mach/hurd/ppoll.c: Likewise.
48487 * io/ppoll.c: Likewise.
48488 * debug/poll_chk.c: New file.
48489 * debug/ppoll_chk.c: New file.
48490 * include/bits/poll2.h: New file.
48491 * io/bits/poll2.h: New file.
48492
48493 [BZ #1350]
48494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48495
48496 * configure.in: static is always set to yes. Remove.
48497 * config.make.in: Don't set build-static.
48498 * Makeconfig: Remove use of build-static.
48499 * dlfcn/Makefile: Likewise.
48500 * elf/Makefile: Likewise.
48501 * math/Makefile: Likewise.
48502 * misc/Makefile: Likewise.
48503 * nptl/Makefile: Likewise.
48504 * sysdeps/mach/hurd/Makefile: Likewise.
48505
48506 * configure.in: PWD_P is not used anymore.
48507 * config.make.in: Remove PWD_P entry.
48508
48509 * configure.in: Remove last remnants of RANLIB.
48510 No need to check for signed size_t anymore.
48511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48512 and IA-64.
48513 Remove __builtin_expect test because we require at least gcc 3.4.
48514 * aclocal.m4: Likewise.
48515
48516 * wcsmbs/mbrtoc16.c: Implement using towc function.
48517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48518 * wcsmbs/wcsmbsload.c: Likewise.
48519 * iconv/gconv_simple.c: Likewise.
48520 * iconv/gconv_int.h: Likewise.
48521 * iconv/gconv_builtin.h: Likewise.
48522 * iconv/iconv_prog.c: Remove CHAR16 handling.
48523
48524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48525
48526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48527
48528 * configure.in: Remove --with-elf and --enable-bounded options.
48529 Dont set base_machine for ia64. More non-ELF conditions removed.
48530 Remove testing and setting of leading underscore information.
48531 * config.make.in (build-bounded): Set to no.
48532 * config.h.in: Remove NO_UNDERSCORES entry.
48533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48534 them.
48535 * csu/start.c: Remove !NO_UNDERSCORE code.
48536 * locale/localeinfo.h: Likewise.
48537 * sysdeps/generic/machine-gmon.h: Likewise.
48538 * sysdeps/generic/sysdep.h: Likewise.
48539 * sysdeps/i386/sysdep.h: Likewise.
48540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48541 * sysdeps/mach/sysdep.h: Likewise.
48542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48544 * sysdeps/sh/sysdep.h: Likewise.
48545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48546 * sysdeps/unix/i386/sysdep.S: Likewise.
48547 * sysdeps/unix/sparc/start.c: Likewise.
48548 * sysdeps/unix/sparc/sysdep.S: Likewise.
48549 * sysdeps/unix/sparc/sysdep.h: Likewise.
48550 * sysdeps/unix/start.c: Likewise.
48551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48552 * sysdeps/x86_64/sysdep.h: Likewise.
48553
485542012-01-07 Ulrich Drepper <drepper@gmail.com>
48555
48556 [BZ #13553]
48557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48558 for non-gcc.
48559 * argp/argp-fmtstream.h: Use const instead __const.
48560 * argp/argp.h: Likewise.
48561 * assert/assert.h: Likewise.
48562 * bits/fenv.h: Likewise.
48563 * bits/sched.h: Likewise.
48564 * bits/sigset.h: Likewise.
48565 * bits/sigthread.h: Likewise.
48566 * catgets/nl_types.h: Likewise.
48567 * conform/data/pthread.h-data: Likewise.
48568 * crypt/crypt-private.h: Likewise.
48569 * crypt/crypt.h: Likewise.
48570 * crypt/crypt_util.c: Likewise.
48571 * ctype/ctype.h: Likewise.
48572 * debug/execinfo.h: Likewise.
48573 * debug/mbsnrtowcs_chk.c: Likewise.
48574 * debug/mbsrtowcs_chk.c: Likewise.
48575 * debug/wcsnrtombs_chk.c: Likewise.
48576 * debug/wcsrtombs_chk.c: Likewise.
48577 * debug/wcstombs_chk.c: Likewise.
48578 * dirent/dirent.h: Likewise.
48579 * dlfcn/dlfcn.h: Likewise.
48580 * elf/neededtest4.c: Likewise.
48581 * grp/grp.h: Likewise.
48582 * gshadow/gshadow.h: Likewise.
48583 * iconv/gconv.h: Likewise.
48584 * iconv/gconv_int.h: Likewise.
48585 * iconv/gconv_simple.c: Likewise.
48586 * iconv/iconv.h: Likewise.
48587 * iconv/loop.c: Likewise.
48588 * iconv/skeleton.c: Likewise.
48589 * include/aio.h: Likewise.
48590 * include/aliases.h: Likewise.
48591 * include/argz.h: Likewise.
48592 * include/arpa/inet.h: Likewise.
48593 * include/assert.h: Likewise.
48594 * include/dirent.h: Likewise.
48595 * include/dlfcn.h: Likewise.
48596 * include/execinfo.h: Likewise.
48597 * include/fcntl.h: Likewise.
48598 * include/fenv.h: Likewise.
48599 * include/glob.h: Likewise.
48600 * include/grp.h: Likewise.
48601 * include/libintl.h: Likewise.
48602 * include/mntent.h: Likewise.
48603 * include/netdb.h: Likewise.
48604 * include/pwd.h: Likewise.
48605 * include/rpc/netdb.h: Likewise.
48606 * include/sched.h: Likewise.
48607 * include/search.h: Likewise.
48608 * include/shadow.h: Likewise.
48609 * include/signal.h: Likewise.
48610 * include/stdio.h: Likewise.
48611 * include/stdlib.h: Likewise.
48612 * include/string.h: Likewise.
48613 * include/sys/socket.h: Likewise.
48614 * include/sys/stat.h: Likewise.
48615 * include/sys/statfs.h: Likewise.
48616 * include/sys/statvfs.h: Likewise.
48617 * include/sys/syslog.h: Likewise.
48618 * include/sys/time.h: Likewise.
48619 * include/sys/uio.h: Likewise.
48620 * include/time.h: Likewise.
48621 * include/unistd.h: Likewise.
48622 * include/utmp.h: Likewise.
48623 * include/wchar.h: Likewise.
48624 * include/wctype.h: Likewise.
48625 * inet/aliases.h: Likewise.
48626 * inet/arpa/inet.h: Likewise.
48627 * inet/netinet/ether.h: Likewise.
48628 * inet/netinet/in.h: Likewise.
48629 * intl/libintl.h: Likewise.
48630 * io/bits/fcntl2.h: Likewise.
48631 * io/fcntl.h: Likewise.
48632 * io/ftw.h: Likewise.
48633 * io/sys/poll.h: Likewise.
48634 * io/sys/stat.h: Likewise.
48635 * io/sys/statfs.h: Likewise.
48636 * io/sys/statvfs.h: Likewise.
48637 * io/utime.h: Likewise.
48638 * libio/bits/stdio.h: Likewise.
48639 * libio/bits/stdio2.h: Likewise.
48640 * libio/libio.h: Likewise.
48641 * libio/libioP.h: Likewise.
48642 * libio/stdio.h: Likewise.
48643 * locale/lc-ctype.c: Likewise.
48644 * locale/locale.h: Likewise.
48645 * login/utmp.h: Likewise.
48646 * malloc/arena.c: Likewise.
48647 * malloc/malloc.c: Likewise.
48648 * malloc/malloc.h: Likewise.
48649 * malloc/mcheck.c: Likewise.
48650 * malloc/mtrace.c: Likewise.
48651 * math/bits/mathcalls.h: Likewise.
48652 * math/fenv.h: Likewise.
48653 * math/math_private.h: Likewise.
48654 * misc/bits/error.h: Likewise.
48655 * misc/bits/syslog.h: Likewise.
48656 * misc/err.h: Likewise.
48657 * misc/error.h: Likewise.
48658 * misc/fstab.h: Likewise.
48659 * misc/mntent.h: Likewise.
48660 * misc/regexp.h: Likewise.
48661 * misc/search.h: Likewise.
48662 * misc/sgtty.h: Likewise.
48663 * misc/sys/mman.h: Likewise.
48664 * misc/sys/syslog.h: Likewise.
48665 * misc/sys/uio.h: Likewise.
48666 * misc/sys/xattr.h: Likewise.
48667 * misc/ttyent.h: Likewise.
48668 * nis/rpcsvc/ypclnt.h: Likewise.
48669 * nss/nss.h: Likewise.
48670 * posix/bits/unistd.h: Likewise.
48671 * posix/fnmatch.h: Likewise.
48672 * posix/glob.h: Likewise.
48673 * posix/sched.h: Likewise.
48674 * posix/spawn.h: Likewise.
48675 * posix/sys/wait.h: Likewise.
48676 * posix/unistd.h: Likewise.
48677 * posix/wordexp.h: Likewise.
48678 * pwd/pwd.h: Likewise.
48679 * resolv/netdb.h: Likewise.
48680 * resource/sys/resource.h: Likewise.
48681 * rt/aio.h: Likewise.
48682 * rt/bits/mqueue2.h: Likewise.
48683 * rt/mqueue.h: Likewise.
48684 * shadow/shadow.h: Likewise.
48685 * signal/signal.h: Likewise.
48686 * socket/send.c: Likewise.
48687 * socket/sendto.c: Likewise.
48688 * socket/sys/socket.h: Likewise.
48689 * stdio-common/printf.h: Likewise.
48690 * stdlib/bits/stdlib.h: Likewise.
48691 * stdlib/fmtmsg.h: Likewise.
48692 * stdlib/monetary.h: Likewise.
48693 * stdlib/stdlib.h: Likewise.
48694 * stdlib/ucontext.h: Likewise.
48695 * streams/stropts.h: Likewise.
48696 * string/argz.h: Likewise.
48697 * string/bits/string2.h: Likewise.
48698 * string/string.h: Likewise.
48699 * string/strings.h: Likewise.
48700 * sunrpc/rpc/auth.h: Likewise.
48701 * sunrpc/rpc/auth_des.h: Likewise.
48702 * sunrpc/rpc/clnt.h: Likewise.
48703 * sunrpc/rpc/netdb.h: Likewise.
48704 * sunrpc/rpc/pmap_clnt.h: Likewise.
48705 * sunrpc/rpc/xdr.h: Likewise.
48706 * sysdeps/generic/inttypes.h: Likewise.
48707 * sysdeps/generic/net/if.h: Likewise.
48708 * sysdeps/generic/sys/swap.h: Likewise.
48709 * sysdeps/gnu/net/if.h: Likewise.
48710 * sysdeps/gnu/utmpx.h: Likewise.
48711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48712 * sysdeps/i386/i486/bits/string.h: Likewise.
48713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48714 * sysdeps/s390/bits/string.h: Likewise.
48715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48746 * sysvipc/sys/ipc.h: Likewise.
48747 * sysvipc/sys/msg.h: Likewise.
48748 * sysvipc/sys/sem.h: Likewise.
48749 * sysvipc/sys/shm.h: Likewise.
48750 * termios/termios.h: Likewise.
48751 * time/sys/time.h: Likewise.
48752 * time/time.h: Likewise.
48753 * wcsmbs/bits/wchar2.h: Likewise.
48754 * wcsmbs/uchar.h: Likewise.
48755 * wcsmbs/wchar.h: Likewise.
48756 * wctype/wctype.h: Likewise.
48757
48758 [BZ #13551]
48759 * Makeconfig: Remove all but ELF support including AIX support.
48760 * Makerules: Likewise.
48761 * config.h.in: Likewise.
48762 * config.make.in: Likewise.
48763 * configure: Likewise.
48764 * configure.in: Likewise.
48765 * csu/Makefile: Likewise.
48766 * csu/version.c: Likewise.
48767 * debug/Makefile: Likewise.
48768 * dlfcn/Makefile: Likewise.
48769 * elf/Makefile: Likewise.
48770 * extra-lib.mk: Likewise.
48771 * iconv/Makefile: Likewise.
48772 * include/libc-symbols.h: Likewise.
48773 * include/shlib-compat.h: Likewise.
48774 * resolv/Makefile: Likewise.
48775 * resolv/res_libc.c: Likewise.
48776 * rt/Makefile: Likewise.
48777 * sysdeps/i386/asm-syntax.h: Likewise.
48778 * sysdeps/i386/sysdep.h: Likewise.
48779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48780 * sysdeps/mach/sysdep.h: Likewise.
48781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48783 * sysdeps/s390/asm-syntax.h: Likewise.
48784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48786 * sysdeps/sh/sysdep.h: Likewise.
48787 * sysdeps/unix/sparc/sysdep.h: Likewise.
48788 * sysdeps/wordsize-32/divdi3.c: Likewise.
48789 * sysdeps/x86_64/sysdep.h: Likewise.
48790
48791 * argp/Versions: Remove _argp_unlock_xxx.
48792
48793 [BZ #13559]
48794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48795 * abilist/libBrokenLocale.abilist: Likewise.
48796 * abilist/libanl.abilist: Likewise.
48797 * abilist/libc.abilist: Likewise.
48798 * abilist/libcrypt.abilist: Likewise.
48799 * abilist/libdl.abilist: Likewise.
48800 * abilist/libm.abilist: Likewise.
48801 * abilist/libnsl.abilist: Likewise.
48802 * abilist/libpthread.abilist: Likewise.
48803 * abilist/libresolv.abilist: Likewise.
48804 * abilist/librt.abilist: Likewise.
48805 * abilist/libthread_db.abilist: Likewise.
48806 * abilist/libutil.abilist: Likewise.
48807 * abilist/libnss_db.abilist: New file.
48808
48809 * scripts/abilist.awk: Add support for indirect functions.
48810
48811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48812
48813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48814
48815 * shlib-versions: Remove entries for ports architectures.
48816
48817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48818 files in ports.
48819 * elf/stackguard-macros.h: Remove support for IA-64.
48820 * elf/tst-auditmod1.c: Likewise.
48821 * sysdeps/generic/ldsodefs.h: Likewise.
48822
48823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48825 configure files.
48826
48827 [BZ #13552]
48828 * configure.in: Remove --enable-omitfp support.
48829 * FAQ.in: Adjust.
48830 * config.make.in: Likewise.
48831 * Makeconfig: Likewise.
48832 * manual/install.texi: Likewise.
48833
48834 In case anyone cares, the IA-64 architecture could move to ports.
48835 * sysdeps/ia64/*: Removed.
48836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48838
48839 [BZ #13555]
48840 * configure.in: Remove entries for unsupported architectures.
48841
48842 [BZ #13533]
48843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48845 routines.
48846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48849 fall back to using wcrtomb.
48850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48852 renaming.
48853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48854 * wcsmbs/tst-c16c32-1.c: New file.
48855
48856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48857 local variable.
48858
48859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48860
48861 * elf/tst-unique3.cc: Add explicit declaration of gets.
48862 * elf/tst-unique3lib.cc: Likewise.
48863 * elf/tst-unique3lib2.cc: Likewise.
48864 * elf/tst-unique4.cc: Likewise.
48865
48866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48867
488682012-01-06 Joseph Myers <joseph@codesourcery.com>
48869
48870 [BZ #13566]
48871 * assert/assert.h (static_assert): Don't define for C++.
48872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48874
488752012-01-03 Ulrich Drepper <drepper@gmail.com>
48876
48877 * iconv/loop.c (single loop): Fix assertion in storing of
48878 remaining bytes.
48879
48880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48881
488822012-01-01 Ulrich Drepper <drepper@gmail.com>
48883
48884 * posix/getconf.c: Update copyright year.
48885 * nss/getent.c: Likewise.
48886 * nss/makedb.c: Likewise.
48887 * iconv/iconvconfig.c: Likewise.
48888 * iconv/iconv_prog.c: Likewise.
48889 * elf/ldconfig.c: Likewise.
48890 * elf/pldd.c: Likewise.
48891 * elf/sotruss.ksh: Likewise.
48892 * catgets/gencat.c: Likewise.
48893 * csu/version.c: Likewise.
48894 * elf/ldd.bash.in: Likewise.
48895 * elf/sprof.c (print_version): Likewise.
48896 * locale/programs/locale.c: Likewise.
48897 * locale/programs/localedef.c: Likewise.
48898 * login/programs/pt_chown.c: Likewise.
48899 * nscd/nscd.c (print_version): Likewise.
48900 * debug/xtrace.sh: Likewise.
48901 * malloc/memusage.sh: Likewise.
48902 * malloc/mtrace.pl: Likewise.
48903 * debug/catchsegv.sh: Likewise.
48904
489052011-12-30 Jakub Jelinek <jakub@redhat.com>
48906
48907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48908 pure attribute.
48909
489102011-12-24 Ulrich Drepper <drepper@gmail.com>
48911
48912 [BZ #13533]
48913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48915 transformations.
48916 * iconv/gconv_int.h: Likewise.
48917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48919 from libc for GLIBC_2.16.
48920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48922 * wcsmbs/uchar.h: Really define mbstate_t.
48923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48924 * wcsmbs/c16rtomb.c: New file.
48925 * wcsmbs/mbrtoc16.c: New file.
48926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48927 for C/POSIX locale.
48928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48930
48931 * wcsmbs/wchar.h: Add missing __restrict.
48932
489332011-12-23 Ulrich Drepper <drepper@gmail.com>
48934
48935 [BZ #13532]
48936 * time/Makefile (routines): Add timespec_get.
48937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48939 timespec for ISO C11.
48940 * time/timespec_get.c: New file.
48941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48943
48944 [BZ #13531]
48945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48946 * stdlib/stdlib.h: Declare aligned_alloc.
48947 * Versions.def: Add GLIBC_2.16 for libc.
48948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48949
48950 [BZ 13527]
48951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48952 ISO C11.
48953
48954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48955 code.
48956
48957 [BZ #13528]
48958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48959
48960 [BZ #13529]
48961 * assert/assert.h (static_assert): Define.
48962
48963 * version.h: Update for 2.16 development version.
48964
48965 [BZ #13526]
48966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48967 _ISOC11_SOURCE.
48968
48969 * version.h (RELEASE): Bump for 2.15 release.
48970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48971
48972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48973 Patch by Marek Polacek <mpolacek@redhat.com>.
48974
48975 * bits/byteswap.h: Protect long long constants with __extension__.
48976 * sysdeps/i386/bits/byteswap.h: Likewise.
48977 * sysdeps/ia64/bits/byteswap.h: Likewise.
48978 * sysdeps/s390/bits/byteswap.h: Likewise.
48979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48980
489812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48982
48983 [BZ #13540]
48984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48985 destination buffer.
48986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48987
489882011-12-23 Marek Polacek <polacek@redhat.com>
48989
48990 * elf/dl-addr.c (determine_info): Add inline keyword.
48991 * elf/tst-auditmod4b.c (check_avx): Likewise.
48992 * elf/tst-auditmod6b.c (check_avx): Likewise.
48993 * elf/tst-auditmod6c.c (check_avx): Likewise.
48994 * elf/tst-auditmod7b.c (check_avx): Likewise.
48995
489962011-12-23 Ulrich Drepper <drepper@gmail.com>
48997
48998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48999 !__SSE_MATH__.
49000
490012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49002
49003 [BZ #13540]
49004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49005 processing for last bytes.
49006
490072011-08-06 Bruno Haible <bruno@clisp.org>
49008
49009 [BZ #13061]
49010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49011 U+0385, not to U+1FEE.
49012
49013 [BZ #13062]
49014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49015 entry for U+00A5 U+0301.
49016
490172011-12-22 Ulrich Drepper <drepper@gmail.com>
49018
49019 [BZ #13166]
49020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49021 buffer for the output is too small.
49022
49023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49024 optimization.
49025
49026 [BZ #13185]
49027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49028 SSE flags if possible.
49029
490302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49031
49032 [BZ #13540]
49033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49034 processing for last bytes.
49035
490362011-12-22 Joseph Myers <joseph@codesourcery.com>
49037
49038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49039 (syscall-list-default-options, syscall-list-default-condition)
49040 (syscall-list-includes): Define.
49041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49042 list of ABIs and options and #if conditions for each ABI. Do not
49043 handle common syscalls between ABIs specially.
49044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49045 Remove.
49046 (syscall-list-variants, syscall-list-32bit-options)
49047 (syscall-list-32bit-condition, syscall-list-64bit-options)
49048 (syscall-list-64bit-condition): Define.
49049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49050 (syscall-list-variants, syscall-list-32bit-options)
49051 (syscall-list-32bit-condition, syscall-list-64bit-options)
49052 (syscall-list-64bit-condition): Define.
49053 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49054 Remove.
49055 (syscall-list-variants, syscall-list-32bit-options)
49056 (syscall-list-32bit-condition, syscall-list-64bit-options)
49057 (syscall-list-64bit-condition): Define.
49058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49059 Remove.
49060 (syscall-list-variants, syscall-list-32bit-options)
49061 (syscall-list-32bit-condition, syscall-list-64bit-options)
49062 (syscall-list-64bit-condition): Define.
49063
490642011-12-22 Ulrich Drepper <drepper@gmail.com>
49065
49066 * locale/iso-639.def: Add brx entry.
49067
49068 [BZ #13328]
49069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49071
49072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49073 __feraiseexcept_renamed.
49074
490752011-12-21 Ulrich Drepper <drepper@gmail.com>
49076
49077 [BZ #13538]
49078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49079 EPOLLET with unsigned values.
49080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49082
49083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49084 to large cancellation.
49085 * math/s_cacoshf.c: Likewise.
49086 * math/s_cacoshl.c: Likewise.
49087
490882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49089
49090 [BZ #13305]
49091 [BZ #12786]
49092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49093 * math/s_cacoshf.c: Likewise.
49094 * math/s_cacoshl.c: Likewise.
49095
490962011-12-21 Ulrich Drepper <drepper@gmail.com>
49097
49098 [BZ #13439]
49099 * iconv/gconv.h: Define __GCONV_SWAP.
49100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49101 * iconvdata/utf-16.c: Likewise.
49102 * iconvdata/utf-32.c: Likewise.
49103
491042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49105
49106 [BZ #13524]
49107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49108 numerator after shifting it by one limb.
49109
491102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49111
49112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49113 under [__USE_EXTERN_INLINES].
49114
491152011-12-17 Ulrich Drepper <drepper@gmail.com>
49116
49117 [BZ #13446]
49118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49119
491202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49121
49122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49124 optimized code.
49125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49129 for strncasecmp/strncasecmp_l compilation.
49130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49132
491332011-12-08 Marek Polacek <mpolacek@redhat.com>
49134
49135 [BZ #13484]
49136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49137 of __asm__.
49138
491392011-12-17 Ulrich Drepper <drepper@gmail.com>
49140
49141 [BZ #13506]
49142 * time/tzfile.c (__tzfile_read): Check values from file header.
49143
491442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49145
49146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49148 * powerpc/powerpc32/dl-start.S: Likewise.
49149 * powerpc/powerpc32/elf/start.S: Likewise.
49150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49163 * powerpc/powerpc32/memset.S: Likewise.
49164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49177
491782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49179
49180 * math/libm-test.inc: Added more nearbyint tests.
49181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49185
491862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49187
49188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49189 FD_CLOEXEC.
49190
491912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49192
49193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49194 Add wcscpy-ssse3 wcscpy-c.
49195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49198 * sysdeps/x86_64/wcschr.S: New file.
49199 * sysdeps/x86_64/wcsrchr.S: New file.
49200 * string/test-strcmp.c: Remove checking of wcscmp function for
49201 wrong alignments.
49202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49204 wcsrchr-sse2 wcsrchr-c.
49205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49214 * wcsmbc/wcschr.c (WCSCHR): New macro.
49215
492162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49217
49218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49219 * wcsmbs/test-wcsrchr.c: New file.
49220 * string/test-strrchr.c: Add wcsrchr support.
49221 (WIDE): New macro.
49222 * wcsmbs/test-wcscpy.c: New file.
49223 * string/test-strcpy.c: Add wcscpy support.
49224 (WIDE): New macro.
49225
492262011-12-10 Ulrich Drepper <drepper@gmail.com>
49227
49228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49229 the inner loop.
49230
492312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49232
49233 [BZ #13472]
49234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49235
492362011-12-04 Ulrich Drepper <drepper@gmail.com>
49237
49238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49239 Minor optimizations.
49240
49241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49244
492452011-12-03 Ulrich Drepper <drepper@gmail.com>
49246
49247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49250 for gcc to avoid warnings.
49251 * inet/Makefile (tests): Add tst-checks.
49252 * inet/tst-checks.c: New file.
49253
49254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49255 warning.
49256
49257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49258 __wmemcmp_sse2.
49259
49260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49262
49263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49264
492652011-12-02 Ulrich Drepper <drepper@gmail.com>
49266
49267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49268 problem.
49269
49270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49271
492722011-11-29 Joseph Myers <joseph@codesourcery.com>
49273
49274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49275 conditional on GCC version.
49276 (__arch_compare_and_exchange_val_8_acq)
49277 (__arch_compare_and_exchange_val_16_acq)
49278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49281
492822011-12-02 Joseph Myers <joseph@codesourcery.com>
49283
49284 * sysdeps/sh/backtrace.c: New file.
49285
492862011-12-02 Andreas Schwab <schwab@redhat.com>
49287
49288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49289 parenthesis.
49290
492912011-12-01 Andreas Schwab <schwab@redhat.com>
49292
49293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49294 falling back to utime.
49295
492962011-11-30 Andreas Schwab <schwab@redhat.com>
49297
49298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49299 expectations for float.
49300
493012011-11-29 Andreas Schwab <schwab@redhat.com>
49302
49303 * locale/weight.h (findidx): Add parameter len.
49304 * locale/weightwc.h (findidx): Likewise.
49305 * posix/fnmatch_loop.c (FCT): Adjust caller.
49306 * posix/regcomp.c (build_equiv_class): Likewise.
49307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49308 * posix/regexec.c (check_node_accept_bytes): Likewise.
49309 * string/strcoll_l.c (STRCOLL): Likewise.
49310 * string/strxfrm_l.c (STRXFRM): Likewise.
49311
493122011-11-17 Ulrich Drepper <drepper@gmail.com>
49313
49314 * Makefile.in: Remove CVSOPT handling.
49315 * configure.in: Remove use of AC_REVISION.
49316 * iconvdata/Makefile (distribute): No need to filter out CVS.
49317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49318 handling.
49319
493202011-11-16 Andreas Schwab <schwab@redhat.com>
49321
49322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49324 [USE_AS_STRNCASECMP_L]: Likewise.
49325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49326 NO_TLS_DIRECT_SEG_REFS.
49327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49328 Fix argument offsets for non-PIC.
49329 [USE_AS_STRNCASECMP_L]: Likewise.
49330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49331 NO_TLS_DIRECT_SEG_REFS.
49332
493332011-11-15 Ulrich Drepper <drepper@gmail.com>
49334
49335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49336 O_CLOEXEC.
49337 * locale/loadlocale.c (_nl_load_locale): Likewise.
49338
493392011-11-15 Andreas Schwab <schwab@redhat.com>
49340
49341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49344 (SYSCALL_GETTIME): Set errno on error.
49345
49346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49347 count references to noai6ai_cached.
49348
493492011-11-15 Ulrich Drepper <drepper@gmail.com>
49350
49351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49352
49353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49354 FD_CLOEXEC for /proc/self/maps.
49355
49356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49357 FD_CLOEXEC for /proc/meminfo.
49358
49359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49360 gai.conf.
49361
49362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49363 FD_CLOEXEC for given file.
49364
49365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49366
49367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49368 FD_CLOEXEC for /etc/hosts.
49369 (_gethtent): Likewise.
49370
49371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49372
49373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49374 cancellation and set FD_CLOEXEC for /etc/netgroup.
49375
49376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49377 reading /etc/publickey.
49378
49379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49380 allow cancellation when reading /etc/group.
49381
49382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49383 cancellation.
49384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49385
49386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49387 when using data file.
49388
49389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49390
49391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49392 (write_nis_obj): Use "c" and "e" in fopen.
49393
49394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49395
49396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49397
49398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49399
49400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49401
49402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49403 locale.alias.
49404
49405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49406
49407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49408
49409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49410
49411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49412 file parsing and set FD_CLOEXEC.
49413
494142011-11-14 Ulrich Drepper <drepper@gmail.com>
49415
49416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49417
494182011-11-14 Andreas Schwab <schwab@redhat.com>
49419
49420 * malloc/arena.c (arena_get2): Don't call reused_arena when
49421 _int_new_arena failed.
49422
494232011-11-14 Ulrich Drepper <drepper@gmail.com>
49424
49425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49431 to compile strcasecmp and strncasecmp.
49432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49434
49435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49436
494372011-11-13 Ulrich Drepper <drepper@gmail.com>
49438
49439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49440 locale-defines.sym to gen-as-const-headers.
49441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49444 to compile strcasecmp and strncasecmp.
49445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49446 strcasecmp_l and strncasecmp_l.
49447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49458
494592011-11-12 Ulrich Drepper <drepper@gmail.com>
49460
49461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49462 result of SYSDEP_GETTIME_CPU to retval.
49463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49464 parameter list to macro. Remove trailing semicolon. Adjust users.
49465
49466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49467 variable.
49468
49469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49470 mantissa words.
49471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49472
49473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49474 from unused variable.
49475
49476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49477 DWARF definitions.
49478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49479 for assembling.
49480
49481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49482 over namespaces.
49483
49484 * sunrpc/rpc_prot.c (rejected): Fix case value.
49485
49486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49487 unsigned long long int to avoid warnings in shift.
49488
49489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49490 of use of trans.
49491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49492 variable tmp.
49493
49494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49497
49498 * nis/nis_table.c (nis_list): Use variable of correct type for
49499 result of __follow_path call.
49500
495012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49502
49503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49504 of math functions ceil, trunc, floor, round, and sqrt, when
49505 avaliable on the platform.
49506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49507 name clash.
49508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49511
495122011-10-30 Marek Polacek <mpolacek@redhat.com>
49513
49514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49516
495172011-11-11 Roland McGrath <roland@hack.frob.com>
49518
49519 * include/unistd.h: Fix __readlink return type.
49520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49521
495222011-11-11 Ulrich Drepper <drepper@gmail.com>
49523
49524 * stdlib/ucontext.h: Undo last change for makecontext.
49525
495262011-11-11 Andreas Schwab <schwab@redhat.com>
49527
49528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49529
49530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49531 * setjmp/setjmp.h: Mark functions as non-leaf.
49532 * setjmp/bits/setjmp2.h: Likewise.
49533 * stdlib/ucontext.h: Likewise.
49534
495352011-11-10 Andreas Schwab <schwab@redhat.com>
49536
49537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49538 (reused_arena): Don't check arena limit.
49539 (arena_get2): Atomically check arena limit.
49540
495412011-11-08 Ulrich Drepper <drepper@gmail.com>
49542
49543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49545
49546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49547 instructions.
49548
495492011-11-07 Andreas Schwab <schwab@redhat.com>
49550
49551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49552 handler when locking.
49553
49554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49555 Fix size of allocated buffer.
49556
495572011-11-04 Andreas Schwab <schwab@redhat.com>
49558
49559 [BZ #10103]
49560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49561 declarations for long double functions.
49562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49563
49564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49565
495662011-11-03 Andreas Schwab <schwab@redhat.com>
49567
49568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49569 installed.
49570
49571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49572 is disabled.
49573
495742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49575
49576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49577
495782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49579
49580 * include/alloca.h (stackinfo_alloca_round): Define.
49581 (extend_alloca): Use it.
49582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49584 here.
49585
49586 * scripts/check-local-headers.sh: Ignore libaudit.h.
49587
49588 * nscd/Makefile (extra-objs): Make recursively expanded.
49589
495902011-11-01 Ulrich Drepper <drepper@gmail.com>
49591
49592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49594
49595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49596 * posix/tst-rfc3484-2.c: Likewise.
49597 * posix/tst-rfc3484-3.c: Likewise.
49598
49599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49600 process_vm_writev.
49601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49602 process_vm_writev.
49603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49604 process_vm_writev from libc using GLIBC_2.15 version.
49605
49606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49607
496082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49609
49610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49611 stack usage.
49612
496132011-10-31 Ulrich Drepper <drepper@gmail.com>
49614
49615 [BZ #13367]
49616 * nss/getent.c (initgroups_keys): Show error message in case no group
49617 names are given.
49618
49619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49621 __bump_nl_timestamp.
49622 * nscd/connections (nscd_init): When host database is served open
49623 netlink socket and request notification about configuration changes.
49624 (main_loop_poll): Track netlink file descriptor and bump timestamp
49625 in case data becomes available.
49626 (main_loop_epoll): Likewise.
49627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49628 (database_pers_head): Add extra_data fileds.
49629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49632 Adjust caller.
49633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49634 in6ai data, call __free_in6ai.
49635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49636 Add -DHAVE_NETLINK.
49637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49638 interface information. Reuse previous data if netlink timestamp
49639 is not changed.
49640 (__bump_nl_timestamp): New function.
49641 (__free_in6ai): New function.
49642
496432011-10-30 Ulrich Drepper <drepper@gmail.com>
49644
49645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49646 close_not_cancel_no_status here.
49647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49648
496492011-10-29 Ulrich Drepper <drepper@gmail.com>
49650
49651 [BZ #13276]
49652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49653 return value.
49654
49655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49658
496592011-07-03 Andreas Jaeger <aj@suse.de>
49660
49661 [BZ #10709]
49662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49664 * math/libm-test.inc (sin_test): Add test case.
49665
496662011-10-29 Ulrich Drepper <drepper@gmail.com>
49667
49668 [BZ #13337]
49669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49671
49672 * elf/chroot_canon.c (chroot_canon): Cleanups.
49673
49674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49675
49676 [BZ #13335]
49677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49679
49680 * string/test-strchr.c: Make usable for strchrnul testing.
49681 * string/test-strchrnul.c: New file.
49682 * string/Makefile (strop-tests): Add strchrnul.
49683
49684 * po/it.po: Update from translation team.
49685 * po/es.po: Likewise.
49686
496872011-10-28 Ulrich Drepper <drepper@gmail.com>
49688
49689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49690 the three constants needed as parameters. Drop the others.
49691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49692 __m128i_strloadu_tolower.
49693 Create and initialize variable zero and use it in all the places
49694 where _mm_setzero_si128 was used.
49695
49696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49700 anymore.
49701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49706 __mpranred, __mptan.
49707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49716
497172011-10-28 Andreas Schwab <schwab@redhat.com>
49718
49719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49720 redefine if SHARED.
49721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49722
49723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49724 wide char related routines to wcsmbs subdir.
49725
497262011-10-27 Andreas Schwab <schwab@redhat.com>
49727
49728 [BZ #13344]
49729 * misc/sys/cdefs.h (__THROWNL): Define.
49730 * posix/unistd.h: Use __THREADNL instead of __THREAD
49731 for memory synchronization functions.
49732
497332011-10-26 Roland McGrath <roland@hack.frob.com>
49734
49735 [BZ #13349]
49736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49737 doesn't exist.
49738 * manual/stdio.texi (Obstack Streams): Node removed.
49739
497402011-10-26 Andreas Schwab <schwab@redhat.com>
49741
49742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49745
49746 * math/math_private.h (math_force_eval): Allow non-addressable
49747 arguments.
49748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49749
497502011-10-25 Ulrich Drepper <drepper@gmail.com>
49751
49752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49753 file is not needed.
49754
49755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49763 Add AVX variants.
49764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49783
49784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49786
49787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49788 place. Use VEX encoding when compiling for AVX.
49789
497902011-10-25 Andreas Schwab <schwab@redhat.com>
49791
49792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49794
49795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49796
497972011-10-25 Ulrich Drepper <drepper@gmail.com>
49798
49799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49800 useless if() expression.
49801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49820
49821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49822
498232011-10-25 Andreas Schwab <schwab@redhat.com>
49824
49825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49826 condition.
49827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49828
498292011-10-25 Ulrich Drepper <drepper@gmail.com>
49830
49831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49832 .text section. Avoid duplicate constants.
49833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49878
498792011-10-24 Ulrich Drepper <drepper@gmail.com>
49880
49881 * sysdeps/x86_64/dla.h: Move to ...
49882 * sysdeps/x86_64/fpu/dla.h: ...here.
49883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49884 situations. Use __builtin_fma only for gcc 4.6 and up.
49885
49886 * config.make.in: Add have-mfma4 entry.
49887 * configure.in: Substitute libc_cv_cc_fma4.
49888 * math/Makefile (dbl-only-routines): Add sincostab.
49889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49890 Use __sincostab not sincos.
49891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49892 name is a macro.
49893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49897 using __copysign.
49898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49902 and __inv.
49903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49905 __copysign.
49906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49907 define aliases when function name is a macro.
49908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49909 sysdeps/ieee754/dbl-64/sincos.tbl.
49910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49911 fma4-enabled routines.
49912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49942
49943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49944 rename.
49945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49953
499542011-10-24 Andreas Schwab <schwab@redhat.com>
49955
49956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49957
499582011-10-23 Ulrich Drepper <drepper@gmail.com>
49959
49960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49961
49962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49963 prediction.
49964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49965
49966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49967 Remove unused variable magic_bits.
49968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49969
49970 * string/strnlen.c: Define and use STRNLEN macro.
49971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49974 * wcsmbs/wcslen.c: Define and use WCSLEN.
49975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49982
499832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49984
49985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49986 strnlen-sse2-no-bsf.
49987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49990 Add strnlen support.
49991 (USE_AS_STRNLEN): New macro.
49992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49995 * sysdeps/x86_64/wcslen.S: New file.
49996
499972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49998
49999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50000 XMM-moves are used for copying on small sizes.
50001
500022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50003
50004 * wcsmbs/Makefile (strop-tests): Add wcschr.
50005 * wcsmbs/test-wcschr.c: New file.
50006 * string/test-strchr.c: Update.
50007 Add wcschr support.
50008 (WIDE): New macro.
50009
500102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50011
50012 * wcsmbs/Makefile (strop-tests): Add wcslen.
50013 * wcsmbs/test-wcslen.c: New file.
50014 * string/test-strlen.c: Update.
50015 Add wcslen support.
50016 (WIDE): New macro.
50017
500182011-10-23 Ulrich Drepper <drepper@gmail.com>
50019
50020 * po/it.po: Update from translation team.
50021
500222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50023
50024 * sysdeps/x86_64/wcscmp.S: Update.
50025 Fix wrong comparison semantics.
50026 wcscmp shall use signed comparison not unsigned.
50027 Don't use substraction to avoid overflow bug.
50028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50029 * wcsmbc/wcscmp.c: Likewise.
50030 * string/test-strcmp.c: Likewise.
50031 Add new tests to check cases with negative values.
50032
500332011-10-23 Ulrich Drepper <drepper@gmail.com>
50034
50035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50036 * sysdeps/x86_64/dla.h: ...here. New file.
50037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50046
500472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50048
50049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50050 __ynl_finite aliases.
50051
500522011-10-22 Ulrich Drepper <drepper@gmail.com>
50053
50054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50055
50056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50057 define DLA_FMA.
50058 [DLA_FMA] (EMULV): Use DLA_FMA.
50059 [DLA_FMA] (MUL12): Use EMULV.
50060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50061 that are not needed.
50062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50069
500702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50071
50072 * math/s_nan.c: Undef __nan.
50073 * math/s_nanf.c: Undef __nanf.
50074 * math/s_nanl.c: Undef __nanl.
50075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50076 "math_private.h".
50077
500782011-10-22 Ulrich Drepper <drepper@gmail.com>
50079
50080 * math/s_catan.c: Add branch predictions.
50081 * math/s_catanf.c: Likewise.
50082 * math/s_catanh.c: Likewise.
50083 * math/s_catanhf.c: Likewise.
50084 * math/s_catanhl.c: Likewise.
50085 * math/s_catanl.c: Likewise.
50086 * math/s_cexp.c: Likewise.
50087 * math/s_cexpf.c: Likewise.
50088 * math/s_cexpl.c: Likewise.
50089 * math/s_clog.c: Likewise.
50090 * math/s_clog10.c: Likewise.
50091 * math/s_clog10f.c: Likewise.
50092 * math/s_clog10l.c: Likewise.
50093 * math/s_clogf.c: Likewise.
50094 * math/s_clogl.c: Likewise.
50095 * math/s_csqrt.c: Likewise.
50096 * math/s_csqrtf.c: Likewise.
50097 * math/s_csqrtl.c: Likewise.
50098 * math/s_ctanf.c: Likewise.
50099 * math/s_ctanh.c: Likewise.
50100 * math/s_ctanhf.c: Likewise.
50101 * math/s_ctanhl.c: Likewise.
50102 * math/s_ctanl.c: Likewise.
50103
50104 * math/math_private.h: Define __nan, __nanf, __nanl.
50105 * math/s_cacosh.c: Include <math_private.h>.
50106 * math/s_cacoshl.c: Likewise.
50107 * math/s_casinh.c: Likewise.
50108 * math/s_casinhf.c: Likewise.
50109 * math/s_casinhl.c: Likewise.
50110 * math/s_ccos.c: Rely entire on ccosh.
50111 * math/s_ccosf.c: Rely entire on ccoshf.
50112 * math/s_ccosl.c: Rely entirely on ccoshl.
50113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50114 Remove tests for FE_INVALID.
50115 * math/s_ccoshf.c: Likewise.
50116 * math/s_ccoshl.c: Likewise.
50117 * math/s_csin.c: Likewise.
50118 * math/s_csinf.c: Likewise.
50119 * math/s_csinh.c Likewise.
50120 * math/s_csinhf.c: Likewise.
50121 * math/s_csinhl.c: Likewise.
50122 * math/s_csinl.c: Likewise.
50123 * math/s_ctan.c: Likewise.
50124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50127
501282011-10-21 Ulrich Drepper <drepper@gmail.com>
50129
50130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50131 compilation problems.
50132
50133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50134 __builtin_expect.
50135
501362011-10-20 Ulrich Drepper <drepper@gmail.com>
50137
50138 * sysdeps/i386/configure.in: Test for -mfma4 option.
50139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50141 COMMON_CPUID_INDEX_80000001.
50142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50144 use it if FMA3 is not supported.
50145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50146
50147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50149
501502011-10-20 Andreas Schwab <schwab@redhat.com>
50151
50152 [BZ #12892]
50153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50154 it would create a cycle with a link time dependency.
50155
501562011-10-19 Ulrich Drepper <drepper@gmail.com>
50157
50158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50159 instruction.
50160 * string/Makefile (strop-tests): Add rawmemchr.
50161 * string/test-rawmemchr.c: New file.
50162
50163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50166 when compiling str{,n}casecmp and when AVX is available. Hook up
50167 new optimized code in initializers.
50168
501692011-10-19 Andreas Schwab <schwab@redhat.com>
50170
50171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50172 __feraiseexcept instead of feraiseexcept.
50173
501742011-10-18 Ulrich Drepper <drepper@gmail.com>
50175
50176 * math/math_private.h: Define defaults for libc_fetestexcept and
50177 libc_feupdateenv.
50178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50184 libc_fetestexcept and libc_feupdateenv.
50185
50186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50190 libc_feholdexcept_setround.
50191
50192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50193 Add s_nearbyint-c and s_nearbyintf-c.
50194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50195 nearbyintf inlines.
50196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50200
50201 * math/math_private.h: Define defaults for libc_fegetround,
50202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50207 standard functions.
50208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50209 Remove comments and hacks for old compiler versions.
50210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50212 libc_feholdexceptl.
50213
502142011-10-18 Andreas Schwab <schwab@redhat.com>
50215
50216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50217 (__feraiseexcept_renamed): Add __NTH.
50218 (feraiseexcept): Add __NTH. Rename local variables to fix
50219 namespace violations.
50220
502212011-10-17 Ulrich Drepper <drepper@gmail.com>
50222
50223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50224
50225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50226
50227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50228 recently added interfaces.
50229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50230
50231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50232 about macro parameter expansion.
50233
50234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50235 __NO_MATH_INLINES is defined. Cleanups.
50236
50237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50238 and __floorf is target has SSE4.1.
50239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50243
50244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50245 name.
50246 (floorf): Likewise.
50247
50248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50249
502502011-10-17 Andreas Schwab <schwab@redhat.com>
50251
50252 * misc/sys/cdefs.h: Fix last change.
50253
50254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50255 database lookup.
50256
502572011-10-16 Ulrich Drepper <drepper@gmail.com>
50258
50259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50260
50261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50283
50284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50285 ceil, ceilf, floor, floorf.
50286
50287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50288 Perform IRELATIVE relocations last.
50289
50290 * elf/do-rel.h: Add another parameter nrelative, replacing the
50291 local variable with the same name. Change name of the function
50292 to end in Rel or Rela (uppercase).
50293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50295 elf_dynamic_do_##reloc function.
50296
502972011-10-15 Ulrich Drepper <drepper@gmail.com>
50298
50299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50300 is sufficient, at least on modern CPUs.
50301
50302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50303
50304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50306
50307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50308 __expl_finite.
50309 * math/bits/math-finite.h: Add entries for exp.
50310 * math/e_expl.c: Add __*_finite alias.
50311 * sysdeps/i386/fpu/e_exp.S: Likewise.
50312 * sysdeps/i386/fpu/e_expf.S: Likewise.
50313 * sysdeps/i386/fpu/e_expl.c: Likewise.
50314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50321
50322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50323 is sufficient, at least on modern CPUs.
50324
50325 * ctype/ctype-info.c (__ctype_init): Define.
50326 * include/ctype.h (__ctype_init): Declare.
50327 (__ctype_b_loc): The variable is always initialized.
50328 (__ctype_toupper_loc): Likewise.
50329 (__ctype_tolower_loc): Likewise.
50330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50332
503332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50334
50335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50336
50337 * configure.in: Also look in $cxxmachine/include for C++ system
50338 headers.
50339
503402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50341
50342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50347 (USE_AS_WMEMCMP): New macro.
50348 Fixing indents.
50349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50360 (USE_AS_WMEMCMP): New macro.
50361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50362 * sysdeps/string/test-memcmp.c: Update.
50363 Fix simple_wmemcmp.
50364 Add new tests.
50365 * wcsmbs/wmemcmp.c: Update.
50366 (WMEMCMP): New macro.
50367 Fix overflow bug.
50368
503692011-10-12 Andreas Jaeger <aj@suse.de>
50370
50371 [BZ #13268]
50372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50373
503742011-10-15 Ulrich Drepper <drepper@gmail.com>
50375
50376 * libio/iofwide.c (do_length): Avoid warning.
50377
50378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50379
503802011-10-14 Ulrich Drepper <drepper@gmail.com>
50381
50382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50383
50384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50387 * sysdeps/i386/i686/fpu/e_log.S: New file.
50388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50390
50391 * ctype/ctype.h: Add support for inlined isXXX functions when
50392 compiling C++ code.
50393
503942011-10-14 Andreas Schwab <schwab@redhat.com>
50395
50396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50397
50398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50399
504002011-10-13 Roland McGrath <roland@hack.frob.com>
50401
50402 [BZ #13291]
50403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50404
504052011-10-13 Andreas Schwab <schwab@redhat.com>
50406
50407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50409 feraiseexcept.
50410
50411 * sysdeps/x86_64/memrchr.S: Check for zero size.
50412
50413 * string/stratcliff.c: Add memrchr tests.
50414
504152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50416
50417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50419 rawmemchr-sse2 rawmemchr-sse2-bsf.
50420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50430 * string/memrchr.c (MEMRCHR): New macro.
50431
504322011-10-12 Ulrich Drepper <drepper@gmail.com>
50433
50434 Add integration with gcc's -ffinite-math-only and optimize wrapper
50435 functions in libm.
50436 * Versions.def: Define GLIBC_2.15 version for libm.
50437 * math/Makefile (headers): Add bits/math-finite.h.
50438 * math/bits/math-finite.h: New file.
50439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50441 * math/e_acoshl.c: Add __*_finite alias.
50442 * math/e_acosl.c: Likewise.
50443 * math/e_asinl.c: Likewise.
50444 * math/e_atan2l.c: Likewise.
50445 * math/e_atanhl.c: Likewise.
50446 * math/e_coshl.c: Likewise.
50447 * math/e_exp10.c: Likewise.
50448 * math/e_exp10f.c: Likewise.
50449 * math/e_exp10l.c: Likewise.
50450 * math/e_exp2l.c: Likewise.
50451 * math/e_fmodl.c: Likewise.
50452 * math/e_gammal_r.c: Likewise.
50453 * math/e_hypotl.c: Likewise.
50454 * math/e_j0l.c: Likewise.
50455 * math/e_j1l.c: Likewise.
50456 * math/e_jnl.c: Likewise.
50457 * math/e_lgammal_r.c: Likewise.
50458 * math/e_log10l.c: Likewise.
50459 * math/e_log2l.c: Likewise.
50460 * math/e_logl.c: Likewise.
50461 * math/e_powl.c: Likewise.
50462 * math/e_sinhl.c: Likewise.
50463 * math/e_sqrtl.c: Likewise.
50464 * math/e_scalb.c: Completely rewritten and optimized.
50465 * math/e_scalbf.c: Likewise.
50466 * math/e_scalbl.c: Likewise.
50467 * math/w_acos.c: Likewise.
50468 * math/w_acosf.c: Likewise.
50469 * math/w_acosl.c: Likewise.
50470 * math/w_acosh.c: Likewise.
50471 * math/w_acoshf.c: Likewise.
50472 * math/w_acoshl.c: Likewise.
50473 * math/w_asin.c: Likewise.
50474 * math/w_asinf.c: Likewise.
50475 * math/w_asinl.c: Likewise.
50476 * math/w_atan2.c: Likewise.
50477 * math/w_atan2f.c: Likewise.
50478 * math/w_atan2l.c: Likewise.
50479 * math/w_atanh.c: Likewise.
50480 * math/w_atanhf.c: Likewise.
50481 * math/w_atanhl.c: Likewise.
50482 * math/w_exp10.c: Likewise.
50483 * math/w_exp10f.c: Likewise.
50484 * math/w_exp10l.c: Likewise.
50485 * math/w_fmod.c: Likewise.
50486 * math/w_fmodf.c: Likewise.
50487 * math/w_fmodl.c: Likewise.
50488 * math/w_j0.c: Likewise.
50489 * math/w_j0f.c: Likewise.
50490 * math/w_j0l.c: Likewise.
50491 * math/w_j1.c: Likewise.
50492 * math/w_j1f.c: Likewise.
50493 * math/w_j1l.c: Likewise.
50494 * math/w_jn.c: Likewise.
50495 * math/w_jnf.c: Likewise.
50496 * math/w_log.c: Likewise.
50497 * math/w_logf.c: Likewise.
50498 * math/w_logl.c: Likewise.
50499 * math/w_log10.c: Likewise.
50500 * math/w_log10f.c: Likewise.
50501 * math/w_log10l.c: Likewise.
50502 * math/w_log2.c: Likewise.
50503 * math/w_log2f.c: Likewise.
50504 * math/w_log2l.c: Likewise.
50505 * math/w_pow.c: Likewise.
50506 * math/w_powf.c: Likewise.
50507 * math/w_powl.c: Likewise.
50508 * math/w_remainder.c: Likewise.
50509 * math/w_remainderf.c: Likewise.
50510 * math/w_remainderl.c: Likewise.
50511 * math/w_scalb.c: Likewise.
50512 * math/w_scalbf.c: Likewise.
50513 * math/w_scalbl.c: Likewise.
50514 * math/w_sqrt.c: Likewise.
50515 * math/w_sqrtf.c: Likewise.
50516 * math/w_sqrtl.c: Likewise.
50517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50519 used.
50520 * math/math_private.h: Declare __kernel_standard_f.
50521 * math/w_cosh.c: Remove cruft and optimize a bit.
50522 * math/w_coshf.c: Likewise.
50523 * math/w_coshl.c: Likewise.
50524 * math/w_exp2.c: Likewise.
50525 * math/w_exp2f.c: Likewise.
50526 * math/w_exp2l.c: Likewise.
50527 * math/w_hypot.c: Likewise.
50528 * math/w_hypotf.c: Likewise.
50529 * math/w_hypotl.c: Likewise.
50530 * math/w_lgamma.c: Likewise.
50531 * math/w_lgamma_r.c: Likewise.
50532 * math/w_lgammaf.c: Likewise.
50533 * math/w_lgammaf_r.c: Likewise.
50534 * math/w_lgammal.c: Likewise.
50535 * math/w_lgammal_r.c: Likewise.
50536 * math/w_sinh.c: Likewise.
50537 * math/w_sinhf.c: Likewise.
50538 * math/w_sinhl.c: Likewise.
50539 * math/w_tgamma.c: Likewise.
50540 * math/w_tgammaf.c: Likewise.
50541 * math/w_tgammal.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50545 Minor optimizations. Pretty printing. Remove cruft.
50546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50551 * sysdeps/i386/fpu/e_asin.S: Likewise.
50552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50570 * sysdeps/i386/fpu/e_log.S: Likewise.
50571 * sysdeps/i386/fpu/e_log10.S: Likewise.
50572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50574 * sysdeps/i386/fpu/e_log2.S: Likewise.
50575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50577 * sysdeps/i386/fpu/e_logf.S: Likewise.
50578 * sysdeps/i386/fpu/e_logl.S: Likewise.
50579 * sysdeps/i386/fpu/e_pow.S: Likewise.
50580 * sysdeps/i386/fpu/e_powf.S: Likewise.
50581 * sysdeps/i386/fpu/e_powl.S: Likewise.
50582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50704 (__isnanf): Likewise.
50705 (__isinf_ns): Likewise.
50706 (__isinf_nsf): Likewise.
50707 (__finite): Likewise.
50708 (__finitef): Likewise.
50709 (__ieee754_sqrt): Define as macro.
50710 (__ieee754_sqrtf): Define as macro.
50711 (__ieee754_sqrtl): Define as macro.
50712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50713 inlined copy.
50714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50715 __FINITE_MATH_ONLY__ consistent.
50716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50717
507182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50719
50720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50721 of rawmemchr.
50722
50723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50724
507252011-10-09 Ulrich Drepper <drepper@gmail.com>
50726
50727 * po/ja.po: Update from translation team.
50728
507292011-10-08 Roland McGrath <roland@hack.frob.com>
50730
50731 * locale/programs/locarchive.c (prepare_address_space): New function.
50732 (create_archive, enlarge_archive, open_archive): Use it.
50733
50734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50735 inside [SHARED], where it is used.
50736
50737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50738
50739 * nss/getent.c (netgroup_keys): Remove unused variable.
50740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50741
507422011-10-08 Ulrich Drepper <drepper@gmail.com>
50743
50744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50750 * math/Makefile (libm-calls): Add s_isinf_ns.
50751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50752 * math/multc3.c: Likewise.
50753 * math/s_casin.c: Likewise.
50754 * math/s_casinf.c: Likewise.
50755 * math/s_casinl.c: Likewise.
50756 * math/s_ccos.c: Likewise.
50757 * math/s_ccosf.c: Likewise.
50758 * math/s_ccosl.c: Likewise.
50759 * math/s_ctan.c: Likewise.
50760 * math/s_ctanf.c: Likewise.
50761 * math/s_ctanh.c: Likewise.
50762 * math/s_ctanhf.c: Likewise.
50763 * math/s_ctanhl.c: Likewise.
50764 * math/s_ctanl.c: Likewise.
50765 * math/w_fmod.c: Likewise.
50766 * math/w_fmodf.c: Likewise.
50767 * math/w_fmodl.c: Likewise.
50768 * math/w_remainder.c: Likewise.
50769 * math/w_remainderf.c: Likewise.
50770 * math/w_remainderl.c: Likewise.
50771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50779
50780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50781 of the number.
50782 * stdio-common/printf_fphex.c: Likewise.
50783 * stdio-common/printf_size.c: Likewise.
50784
50785 * math/e_exp10.c: Include math_private.h using <...> not "...".
50786 * math/e_exp10f.c: Likewise.
50787 * math/e_exp10l.c: Likewise.
50788 * math/e_exp2l.c: Likewise.
50789 * math/e_j0l.c: Likewise.
50790 * math/e_j1l.c: Likewise.
50791 * math/e_jnl.c: Likewise.
50792 * math/e_lgammal_r.c: Likewise.
50793 * math/e_rem_pio2l.c: Likewise.
50794 * math/e_scalb.c: Likewise.
50795 * math/e_scalbf.c: Likewise.
50796 * math/e_scalbl.c: Likewise.
50797 * math/k_cosl.c: Likewise.
50798 * math/k_sinl.c: Likewise.
50799 * math/k_tanl.c: Likewise.
50800 * math/s_cacoshf.c: Likewise.
50801 * math/s_catan.c: Likewise.
50802 * math/s_catanf.c: Likewise.
50803 * math/s_catanh.c: Likewise.
50804 * math/s_catanhf.c: Likewise.
50805 * math/s_catanhl.c: Likewise.
50806 * math/s_catanl.c: Likewise.
50807 * math/s_ccosh.c: Likewise.
50808 * math/s_ccoshf.c: Likewise.
50809 * math/s_ccoshl.c: Likewise.
50810 * math/s_cexp.c: Likewise.
50811 * math/s_cexpf.c: Likewise.
50812 * math/s_cexpl.c: Likewise.
50813 * math/s_clog.c: Likewise.
50814 * math/s_clog10.c: Likewise.
50815 * math/s_clog10f.c: Likewise.
50816 * math/s_clog10l.c: Likewise.
50817 * math/s_clogf.c: Likewise.
50818 * math/s_clogl.c: Likewise.
50819 * math/s_csin.c: Likewise.
50820 * math/s_csinf.c: Likewise.
50821 * math/s_csinh.c: Likewise.
50822 * math/s_csinhf.c: Likewise.
50823 * math/s_csinhl.c: Likewise.
50824 * math/s_csinl.c: Likewise.
50825 * math/s_csqrt.c: Likewise.
50826 * math/s_csqrtf.c: Likewise.
50827 * math/s_csqrtl.c: Likewise.
50828 * math/s_ctan.c: Likewise.
50829 * math/s_ctanf.c: Likewise.
50830 * math/s_ctanh.c: Likewise.
50831 * math/s_ctanhf.c: Likewise.
50832 * math/s_ctanhl.c: Likewise.
50833 * math/s_ctanl.c: Likewise.
50834 * math/s_ldexp.c: Likewise.
50835 * math/s_ldexpf.c: Likewise.
50836 * math/s_ldexpl.c: Likewise.
50837 * math/s_significand.c: Likewise.
50838 * math/s_significandf.c: Likewise.
50839 * math/s_significandl.c: Likewise.
50840 * math/w_acos.c: Likewise.
50841 * math/w_acosf.c: Likewise.
50842 * math/w_acosh.c: Likewise.
50843 * math/w_acoshf.c: Likewise.
50844 * math/w_acoshl.c: Likewise.
50845 * math/w_acosl.c: Likewise.
50846 * math/w_asin.c: Likewise.
50847 * math/w_asinf.c: Likewise.
50848 * math/w_asinl.c: Likewise.
50849 * math/w_atan2.c: Likewise.
50850 * math/w_atan2f.c: Likewise.
50851 * math/w_atan2l.c: Likewise.
50852 * math/w_atanh.c: Likewise.
50853 * math/w_atanhf.c: Likewise.
50854 * math/w_atanhl.c: Likewise.
50855 * math/w_cosh.c: Likewise.
50856 * math/w_coshf.c: Likewise.
50857 * math/w_coshl.c: Likewise.
50858 * math/w_dremf.c: Likewise.
50859 * math/w_exp10.c: Likewise.
50860 * math/w_exp10f.c: Likewise.
50861 * math/w_exp10l.c: Likewise.
50862 * math/w_exp2.c: Likewise.
50863 * math/w_exp2f.c: Likewise.
50864 * math/w_fmod.c: Likewise.
50865 * math/w_fmodf.c: Likewise.
50866 * math/w_fmodl.c: Likewise.
50867 * math/w_hypot.c: Likewise.
50868 * math/w_hypotf.c: Likewise.
50869 * math/w_hypotl.c: Likewise.
50870 * math/w_j0.c: Likewise.
50871 * math/w_j0f.c: Likewise.
50872 * math/w_j0l.c: Likewise.
50873 * math/w_j1.c: Likewise.
50874 * math/w_j1f.c: Likewise.
50875 * math/w_j1l.c: Likewise.
50876 * math/w_jn.c: Likewise.
50877 * math/w_jnf.c: Likewise.
50878 * math/w_jnl.c: Likewise.
50879 * math/w_lgamma.c: Likewise.
50880 * math/w_lgamma_r.c: Likewise.
50881 * math/w_lgammaf.c: Likewise.
50882 * math/w_lgammaf_r.c: Likewise.
50883 * math/w_lgammal.c: Likewise.
50884 * math/w_lgammal_r.c: Likewise.
50885 * math/w_log.c: Likewise.
50886 * math/w_log10.c: Likewise.
50887 * math/w_log10f.c: Likewise.
50888 * math/w_log10l.c: Likewise.
50889 * math/w_log2.c: Likewise.
50890 * math/w_log2f.c: Likewise.
50891 * math/w_log2l.c: Likewise.
50892 * math/w_logf.c: Likewise.
50893 * math/w_logl.c: Likewise.
50894 * math/w_pow.c: Likewise.
50895 * math/w_powf.c: Likewise.
50896 * math/w_powl.c: Likewise.
50897 * math/w_remainder.c: Likewise.
50898 * math/w_remainderf.c: Likewise.
50899 * math/w_remainderl.c: Likewise.
50900 * math/w_scalb.c: Likewise.
50901 * math/w_scalbf.c: Likewise.
50902 * math/w_scalbl.c: Likewise.
50903 * math/w_sinh.c: Likewise.
50904 * math/w_sinhf.c: Likewise.
50905 * math/w_sinhl.c: Likewise.
50906 * math/w_sqrt.c: Likewise.
50907 * math/w_sqrtf.c: Likewise.
50908 * math/w_sqrtl.c: Likewise.
50909 * math/w_tgamma.c: Likewise.
50910 * math/w_tgammaf.c: Likewise.
50911 * math/w_tgammal.c: Likewise.
50912
50913 * po/ja.po: Update from translation team.
50914
509152011-09-29 Andreas Jaeger <aj@suse.de>
50916
50917 [BZ #13179]
50918 * sunrpc/netname.c (netname2host): Fix logic.
50919
50920 [BZ #6779]
50921 [BZ #6783]
50922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50923 correctly.
50924 * math/w_remainder.c (__remainder): Likewise.
50925 * math/w_remainderf.c (__remainderf): Likewise.
50926 * math/libm-test.inc (remainder_test): Add test cases.
50927
509282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50929
50930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50931 sdiv_qrnnd.
50932
509332011-10-07 Ulrich Drepper <drepper@gmail.com>
50934
50935 * string/test-memcmp.c: Avoid unncessary #defines.
50936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50937
509382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50939
50940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50941 Use new sse2 version for core i3 - i7 as it's faster
50942 than sse42 version.
50943 (bit_Prefer_PMINUB_for_stringop): New.
50944 * sysdeps/x86_64/rawmemchr.S: Update.
50945 Replace with faster SSE2 version.
50946 * sysdeps/x86_64/memrchr.S: New file.
50947 * sysdeps/x86_64/memchr.S: Update.
50948 Replace with faster SSE2 version.
50949
509502011-09-12 Marek Polacek <mpolacek@redhat.com>
50951
50952 * elf/dl-load.c (lose): Add cast to avoid warning.
50953
509542011-10-07 Ulrich Drepper <drepper@gmail.com>
50955
50956 * po/ca.po: Update from translation team.
50957
50958 * inet/getnetgrent_r.c: Hook up nscd.
50959 * nscd/Makefile (routines): Add nscd_netgroup.
50960 (nscd-modules): Add netgroupcache.
50961 (CFLAGS-netgroupcache.c): Define.
50962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50963 (cache_search): Add const to second parameter.
50964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50965 INNETGR.
50966 (dbs): Add netgrdb entry.
50967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50968 (verify_persistent_db): Handle netgrdb.
50969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50971 GETFDNETGR.
50972 (netgroup_response_header): Define.
50973 (innetgroup_response_header): Define.
50974 (datahead): Add netgroup_response_header and innetgroup_response_header
50975 elements.
50976 * nscd/nscd.conf: Add entries for netgroup cache.
50977 * nscd/nscd.h (dbtype): Add netgrdb.
50978 (_PATH_NSCD_NETGROUP_DB): Define.
50979 (netgroup_iov_disabled): Declare.
50980 (xmalloc, xcalloc, xrealloc): Move declarations here.
50981 (cache_search): Adjust prototype.
50982 Add netgroup-related prototypes.
50983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50985 (__nscd_innetgr): Declare.
50986 * nscd/selinux.c (perms): Use access_vector_t as element type and
50987 add netgroup-related initializers.
50988 * nscd/netgroupcache.c: New file.
50989 * nscd/nscd_netgroup.c: New file.
50990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50992 For four parameters use innetgr.
50993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50997
50998 * nscd/connections.c (register_traced_file): Don't register file
50999 for disabled databases.
51000
510012011-10-06 Ulrich Drepper <drepper@gmail.com>
51002
51003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51004
51005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51006 from tree and freeing node.
51007
510082011-09-25 Jiri Olsa <jolsa@redhat.com>
51009
51010 * nss/nsswitch.c (__nss_database_lookup): Handle
51011 nss_parse_service_list out of memory case.
51012
510132011-09-15 Jiri Olsa <jolsa@redhat.com>
51014
51015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51016 out of memory case.
51017
510182011-10-04 Andreas Schwab <schwab@redhat.com>
51019
51020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51022 pass it down.
51023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51024 elf_machine_rela, elf_machine_lazy_rel.
51025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51026 (ELF_DYNAMIC_DO_REL): Likewise.
51027 (ELF_DYNAMIC_DO_RELA): Likewise.
51028 (ELF_DYNAMIC_RELOCATE): Likewise.
51029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51030 to ELF_DYNAMIC_DO_REL.
51031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51034 elf_machine_rela.
51035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51036 skip_ifunc, don't call ifunc function if non-zero.
51037 (elf_machine_rela): Likewise.
51038 (elf_machine_lazy_rel): Likewise.
51039 (elf_machine_lazy_rela): Likewise.
51040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51041 (elf_machine_lazy_rel): Likewise.
51042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51043 Likewise.
51044 (elf_machine_lazy_rel): Likewise.
51045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51046 Likewise.
51047 (elf_machine_lazy_rel): Likewise.
51048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51049 (elf_machine_lazy_rel): Likewise.
51050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51051 (elf_machine_lazy_rel): Likewise.
51052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51053 (elf_machine_lazy_rel): Likewise.
51054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51055 (elf_machine_lazy_rel): Likewise.
51056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51057 (elf_machine_lazy_rel): Likewise.
51058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51059 (elf_machine_lazy_rel): Likewise.
51060
510612011-09-28 Ulrich Drepper <drepper@gmail.com>
51062
51063 * nss/nss_files/files-init.c (_nss_files_init): Use static
51064 initialization for all the *_traced_file variables.
51065
510662011-09-28 Andreas Schwab <schwab@redhat.com>
51067
51068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51069
510702011-09-27 Roland McGrath <roland@hack.frob.com>
51071
51072 [BZ #13226]
51073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51074
510752011-09-27 Andreas Schwab <schwab@redhat.com>
51076
51077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51078 Reread the line before reparsing it.
51079
510802011-09-26 Andreas Schwab <schwab@redhat.com>
51081
51082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51083
510842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51085 Maxim Kuvyrkov <maxim@codesourcery.com>
51086 Joseph Myers <joseph@codesourcery.com>
51087
51088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51089 if needed for __stack_chk_guard.
51090
510912011-09-19 Roland McGrath <roland@hack.frob.com>
51092
51093 * sysdeps/posix/spawni.c (script_execute): Always define it.
51094 It will be optimized away if unused.
51095 (maybe_script_execute): New function.
51096 (__spawni): Call it.
51097
51098 * Makerules: Don't include tls.make.
51099 (config-tls): Always set to thread.
51100 * tls.make.c: File removed.
51101
511022011-09-19 Mike Frysinger <vapier@gentoo.org>
51103
51104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51105 * config.make.in (CPPFLAGS-config): New substituted variable.
51106
511072011-09-15 Ulrich Drepper <drepper@gmail.com>
51108
51109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51110
51111 [BZ #13192]
51112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51114
511152011-09-15 Roland McGrath <roland@hack.frob.com>
51116
51117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51120 (CALL_FAIL): Likewise.
51121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51122 (CALL_FAIL): Macro removed.
51123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51124
511252011-09-15 Ulrich Drepper <drepper@gmail.com>
51126
51127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51128 for __FINITE_MATH_ONLY__ == 1.
51129
511302011-09-15 Andreas Schwab <schwab@redhat.com>
51131
51132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51133 __ieee754_sqrt instead of sqrt.
51134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51135 __ieee754_sqrtf instead of sqrtf.
51136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51137 __floorf instead of floorf.
51138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51139 __floorf, __truncf instead of floorf, truncf.
51140
511412011-09-14 Ulrich Drepper <drepper@gmail.com>
51142
51143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51144
51145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51146 __extern_always_inline.
51147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51148 32-bit.
51149
511502011-09-14 Andreas Schwab <schwab@redhat.com>
51151
51152 * elf/rtld.c (dl_main): Also relocate in dependency order when
51153 doing symbol dependency testing.
51154
511552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51156
51157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51158 Always define `refsym'.
51159
511602011-09-13 Andreas Schwab <schwab@redhat.com>
51161
51162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51163 (__FD_ELT): Renamed from __FDELT.
51164 * misc/bits/select2.h (__FD_ELT): Likewise.
51165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51166 __FD_MASK instead of __FDELT, __FDMASK.
51167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51168 Likewise.
51169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51170 Likewise.
51171
51172 * elf/Makefile (gen-ldd): Fix pattern.
51173
51174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51175 (init_tls): Likewise.
51176
511772011-09-12 Ulrich Drepper <drepper@gmail.com>
51178
51179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51180
511812011-09-12 Andreas Schwab <schwab@redhat.com>
51182
51183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51184 `struct cmsghdr *' instead of `void *'.
51185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51186 Likewise.
51187
511882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51189
51190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51191 if non-absolute.
51192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51193 ldd_rewrite_script.
51194
511952011-09-11 Ulrich Drepper <drepper@gmail.com>
51196
51197 * configure.in: Remove --with-tls option.
51198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51200 out in case it is missing.
51201 * sysdeps/ia64/elf/configure.in: Likewise.
51202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51206 * sysdeps/sh/elf/configure.in: Likewise.
51207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51209 * sysdeps/x86_64/elf/configure.in: Likewise.
51210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51211 * sysdeps/mach/hurd/tls.h: Likewise.
51212
51213 [BZ #13067]
51214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51215
51216 [BZ #13090]
51217 * configure.in: Fix use of AC_INIT.
51218
51219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51220
512212011-09-10 Ulrich Drepper <drepper@gmail.com>
51222
51223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51224 __set_errno.
51225 * malloc/hooks.c: Likewise.
51226
51227 [BZ #11929]
51228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51229 variables statically.
51230 (narenas): Initialize.
51231 (list_lock): Initialize.
51232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51233 initializtion of main_arena and list_lock. Small cleanups.
51234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51236 Add initializers to main_arena and mp_.
51237 (malloc_state): Remove pagesize member. Change all users to use
51238 GLRO(dl_pagesize).
51239
51240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51242 is always initialized.
51243
51244 * malloc/malloc.c: Removed unused configurations and dead code.
51245 * malloc/arena.c: Likewise.
51246 * malloc/hooks.c: Likewise.
51247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51248
51249 * include/tls.h: Removed. USE___THREAD must always be defined.
51250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51251 * elf/dl-libc.c: Likewise.
51252 * elf/dl-tsd.c: Likewise.
51253 * include/errno.h: Likewise.
51254 * include/netdb.h: Likewise.
51255 * include/resolv.h: Likewise.
51256 * inet/herrno-loc.c: Likewise.
51257 * inet/herrno.c: Likewise.
51258 * malloc/arena.c: Likewise.
51259 * malloc/hooks.c: Likewise.
51260 * malloc/malloc.c: Likewise.
51261 * resolv/res-state.c: Likewise.
51262 * resolv/res_libc.c: Likewise.
51263 * sysdeps/i386/dl-machine.h: Likewise.
51264 * sysdeps/ia64/dl-machine.h: Likewise.
51265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51269 * sysdeps/sh/dl-machine.h: Likewise.
51270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51272 * sysdeps/unix/i386/sysdep.S: Likewise.
51273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51284 * sysdeps/x86_64/dl-machine.h: Likewise.
51285 * tls.make.c: Likewise.
51286
51287 * configure.in: Remove --with-__thread option. Make tests for
51288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51289 tls_model attribute fail if no support is available. Remove
51290 USE_IN_LIBIO.
51291 * Makeconfig: Adjust for dropped configure option. All features are
51292 now mandatory.
51293 * Makerules: Likewise.
51294 * Versions.def: Likewise.
51295 * argp/argp-fmtstream.c: Likewise.
51296 * argp/argp-fmtstream.h: Likewise.
51297 * argp/argp-help.c: Likewise.
51298 * assert/assert.c: Likewise.
51299 * config.h.in: Likewise.
51300 * config.make.in: Likewise.
51301 * configure: Likewise.
51302 * configure.in: Likewise.
51303 * csu/Versions: Likewise.
51304 * csu/init.c: Likewise.
51305 * elf/tst-audit2.c: Likewise.
51306 * elf/tst-tls10.c: Likewise.
51307 * elf/tst-tls10.h: Likewise.
51308 * elf/tst-tls11.c: Likewise.
51309 * elf/tst-tls12.c: Likewise.
51310 * elf/tst-tls14.c: Likewise.
51311 * elf/tst-tlsmod11.c: Likewise.
51312 * elf/tst-tlsmod12.c: Likewise.
51313 * elf/tst-tlsmod13.c: Likewise.
51314 * elf/tst-tlsmod13a.c: Likewise.
51315 * elf/tst-tlsmod14a.c: Likewise.
51316 * elf/tst-tlsmod15b.c: Likewise.
51317 * elf/tst-tlsmod16a.c: Likewise.
51318 * elf/tst-tlsmod16b.c: Likewise.
51319 * elf/tst-tlsmod7.c: Likewise.
51320 * elf/tst-tlsmod8.c: Likewise.
51321 * elf/tst-tlsmod9.c: Likewise.
51322 * gmon/gmon.c: Likewise.
51323 * grp/fgetgrent_r.c: Likewise.
51324 * grp/putgrent.c: Likewise.
51325 * hurd/fopenport.c: Likewise.
51326 * include/libc-symbols.h: Likewise.
51327 * include/tls.h: Likewise.
51328 * intl/gettextP.h: Likewise.
51329 * intl/loadinfo.h: Likewise.
51330 * locale/global-locale.c: Likewise.
51331 * locale/localeinfo.h: Likewise.
51332 * mach/devstream.c: Likewise.
51333 * malloc/arena.c: Likewise.
51334 * malloc/set-freeres.c: Likewise.
51335 * misc/err.c: Likewise.
51336 * misc/getttyent.c: Likewise.
51337 * misc/mntent_r.c: Likewise.
51338 * posix/getopt.c: Likewise.
51339 * posix/wordexp.c: Likewise.
51340 * pwd/fgetpwent_r.c: Likewise.
51341 * resolv/Versions: Likewise.
51342 * resolv/res_hconf.c: Likewise.
51343 * shadow/fgetspent_r.c: Likewise.
51344 * shadow/putspent.c: Likewise.
51345 * stdio-common/printf_fphex.c: Likewise.
51346 * stdio-common/tmpfile.c: Likewise.
51347 * stdlib/abort.c: Likewise.
51348 * stdlib/fmtmsg.c: Likewise.
51349 * sunrpc/auth_unix.c: Likewise.
51350 * sunrpc/clnt_perr.c: Likewise.
51351 * sunrpc/clnt_tcp.c: Likewise.
51352 * sunrpc/clnt_udp.c: Likewise.
51353 * sunrpc/clnt_unix.c: Likewise.
51354 * sunrpc/openchild.c: Likewise.
51355 * sunrpc/svc_simple.c: Likewise.
51356 * sunrpc/svc_tcp.c: Likewise.
51357 * sunrpc/svc_udp.c: Likewise.
51358 * sunrpc/svc_unix.c: Likewise.
51359 * sunrpc/xdr.c: Likewise.
51360 * sunrpc/xdr_array.c: Likewise.
51361 * sunrpc/xdr_rec.c: Likewise.
51362 * sunrpc/xdr_ref.c: Likewise.
51363 * sunrpc/xdr_stdio.c: Likewise.
51364
513652011-09-09 Ulrich Drepper <drepper@gmail.com>
51366
51367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51368
513692011-07-03 Andreas Jaeger <aj@suse.de>
51370
51371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51373 regenerate with gen-libm-tests.pl.
51374
513752010-05-12 Petr Baudis <pasky@suse.cz>
51376
51377 [BZ #11589]
51378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51379 around j0() zero points by switching to j1().
51380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51384
513852011-09-09 Ulrich Drepper <drepper@gmail.com>
51386
51387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51388 instead of 0.
51389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51390 instead of 0.
51391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51392 Patch in part by Pavel Roskin <proski@gnu.org>.
51393
51394 [BZ #13138]
51395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51396 realloc.
51397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51398 Free memory block if necessary.
51399
51400 [BZ #12847]
51401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51402 be NULL. Don't lock in this case.
51403
514042011-09-09 Roland McGrath <roland@hack.frob.com>
51405
51406 * elf/elf.h (ELFOSABI_GNU): New macro.
51407 (ELFOSABI_LINUX): Define to that.
51408
514092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51410
51411 * string/strncat.c (strncat): Undef the symbol in case it has been
51412 defined in bits/string.h.
51413
514142011-09-09 Ulrich Drepper <drepper@gmail.com>
51415
51416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51417
51418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51419 link map.
51420
514212011-08-17 Andreas Jaeger <aj@suse.de>
51422
51423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51424
514252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51426 Ian Lance Taylor <iant@google.com>
51427
51428 * math/libm-test.inc (lround_test): New testcase.
51429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51430
514312011-09-08 Ulrich Drepper <drepper@gmail.com>
51432
51433 * Makefile: Remove support for automatic cvs check-ins.
51434 * Makerules: Likewise.
51435 * config.make.in: Likewise.
51436 * configure.in: Likewise.
51437 * intl/Makefile: Likewise.
51438 * locale/Makefile: Likewise.
51439 * po/Makefile: Likewise.
51440 * posix/Makefile: Likewise.
51441 * sysdeps/gnu/Makefile: Likewise.
51442 * sysdeps/mach/hurd/Makefile: Likewise.
51443 * sysdeps/sparc/sparc32/Makefile: Likewise.
51444
51445 [BZ #13118]
51446 * posix/Makefile (bug-regex32-ENV): Define.
51447 Patch by John Stanley <jpsinthemix@verizon.net>.
51448
51449 * misc/Makefile (headers): Add bits/select2.h.
51450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51451 * misc/bits/select2.h: New file.
51452 * include/bits/select2.h: New file.
51453 * debug/Makefile (routines): Add fdelt_chk.
51454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51456 FD_ISSET.
51457 * debug/fdelt_chk.c: New file.
51458
51459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51460 * wcsmbs/test-wmemcmp.c: Likewise.
51461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51463
514642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51465
51466 * string/Makefile (strop-tests): Add memcmp.
51467 * string/test-wmemcmp.c: New file.
51468 * string/test-memcmp.c: Add wmemcmp support.
51469
514702011-09-08 Roland McGrath <roland@hack.frob.com>
51471
51472 [BZ #13153]
51473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51474 2011-07-19 change.
51475
51476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51477 garbage value in a __mach_port_mod_refs call in the cases of the
51478 task-self and thread-self ports.
51479
514802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51481
51482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51483
514842011-09-08 Andreas Schwab <schwab@redhat.com>
51485
51486 * elf/dl-load.c (lose): Check for non-null L.
51487
514882011-09-07 Ulrich Drepper <drepper@gmail.com>
51489
51490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51491
51492 * elf/dl-libc.c (dlerror_run): Pass back error code from
51493 dl_catch_error.
51494
51495 [BZ #13123]
51496 * elf/dl-load.c (lose): Free l_origin if it is valid.
51497
51498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51499 names.
51500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51506
515072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51508
51509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51519
515202011-08-15 Alan Modra <amodra@gmail.com>
51521
51522 [BZ #13092]
51523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51526 ppc_mcount to static-only-routines.
51527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51528 __mcount_internal.
51529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51531
515322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51533
51534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51535 for finite and infinity parameters.
51536
515372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51538
51539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51540 and add nop instructions for throughput optimization.
51541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51542
515432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51544
51545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51546 aligned copy for power7 with vector-scalar instructions.
51547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51548
515492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51550
51551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51552 AVX check.
51553
515542011-09-07 Andreas Schwab <schwab@redhat.com>
51555
51556 [BZ #13144]
51557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51558 last change.
51559
515602011-09-07 Ulrich Drepper <drepper@gmail.com>
51561
51562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51566 clock_gettime.
51567
515682011-09-06 Ulrich Drepper <drepper@gmail.com>
51569
51570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51571 Forgot to demangle the pointer.
51572
51573 * sysdeps/i386/sysdep.h: Define atom_text_section.
51574 * sysdeps/x86_64/sysdep.h: Likewise.
51575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51576 section with atom_text_section.
51577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51582
51583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51585 already be defined. Change to take two parameters and don't assign
51586 result to variable. Adjust all users.
51587 Define INTERNAL_GETTIME if not already defined.
51588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51589 call.
51590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51591 HAVE_CLOCK_GETTIME_VSYSCALL.
51592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51593
51594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51595 gettimeofday vsyscall, just use time.
51596
515972011-09-06 Andreas Schwab <schwab@redhat.com>
51598
51599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51600 <errno.h>.
51601
516022011-09-06 Ulrich Drepper <drepper@gmail.com>
51603
51604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51605 syscall on x86-64.
51606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51607 syscall.
51608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51610 syscall if possible.
51611
516122011-09-05 Ulrich Drepper <drepper@gmail.com>
51613
51614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51615 e_ident. Don't pass to find_mapsXX.
51616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51617
516182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51619
51620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51622 * sysdeps/x86_64/multiarch/strchr.S: Update.
51623 Check bit_slow_BSF bit.
51624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51627
516282011-09-05 Ulrich Drepper <drepper@gmail.com>
51629
51630 [BZ #13134]
51631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51632 before glibc 2.15.
51633 (tryshell): Define.
51634 (__spawni): Change last parameter to be flag. Test
51635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51638 * posix/spawni.c: Likewise.
51639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51640 * posix/spawnp.c: Likewise. Change normal version to use
51641 SPAWN_XFLAGS_USE_PATH.
51642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51643 SPAWN_XFLAGS_TRY_SHELL.
51644
51645 [BZ #13150]
51646 * posix/glob.h: Remove gcc 1.x support.
51647
51648 [BZ #13068]
51649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51650
516512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51652
51653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51655 strrchr-sse2-bsf
51656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51662
516632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51664
51665 * sysdeps/x86_64/wcscmp.S: New file.
51666
51667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51668 wcscmp-c wcscmp-sse2
51669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51672 * wcsmbs/wcscmp.c: Allow renaming.
51673
516742011-09-05 David S. Miller <davem@davemloft.net>
51675
51676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51677 stack slot, rather than the struct return pointer slot.
51678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51682
516832011-09-05 Ulrich Drepper <drepper@gmail.com>
51684
51685 * po/ja.po: Update from translation team.
51686
51687 [BZ #13144]
51688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51689 kernel in 64-bit binaries.
51690
516912011-09-01 David S. Miller <davem@davemloft.net>
51692
51693 * elf/elf.h (HWCAP_SPARC_*): Move to..
51694 * sysdeps/sparc/sysdep.h: this new file and add new values.
51695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51697 _DL_HWCAP_COUNT to 24.
51698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51699 entries.
51700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51704 instead of magic constants.
51705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51706
517072011-08-31 David S. Miller <davem@davemloft.net>
51708
51709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51711 Reimplement to do errno handling inline.
51712 (SYSCALL_ERROR_HANDLER): New macro.
51713 (__SYSCALL_STRING): Do not do errno handling in asm.
51714 (__CLONE_SYSCALL_STRING): Delete.
51715 (__INTERNAL_SYSCALL_STRING): Delete.
51716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51718 (PSEUDO): Reimplement to do errno handling inline.
51719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51720 (SYSCALL_ERROR_HANDLER): New macro.
51721 (__SYSCALL_STRING): Do not do errno handling in asm.
51722 (__CLONE_SYSCALL_STRING): Delete.
51723 (__INTERNAL_SYSCALL_STRING): Delete.
51724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51726 i386.
51727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51728 (inline_syscall*): Add 'err' argument.
51729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51733
51734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51736
517372011-08-30 Andreas Schwab <schwab@redhat.com>
51738
51739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51740
517412011-08-29 Jiri Olsa <jolsa@redhat.com>
51742
51743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51744 directive.
51745
517462011-08-24 David S. Miller <davem@davemloft.net>
51747
51748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51749
517502011-08-24 Andreas Schwab <schwab@redhat.com>
51751
51752 * elf/Makefile: Add rules to build and run unload8 test.
51753 * elf/unload8.c: New file.
51754 * elf/unload8mod1.c: New file.
51755 * elf/unload8mod1x.c: New file.
51756 * elf/unload8mod2.c: New file.
51757 * elf/unload8mod3.c: New file.
51758
51759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51760 it wasn't used.
51761
517622011-08-23 David S. Miller <davem@davemloft.net>
51763
51764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51765 subtract stack bias.
51766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51767 %sp not %fp in calculations.
51768 (_JMPBUF_UNWINDS_ADJ): Likewise.
51769
51770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51771 (aio_suspend): Call it to force an exception region around the
51772 AIO_MISC_WAIT() invocation.
51773
517742011-08-23 Andreas Schwab <schwab@redhat.com>
51775
51776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51777 backslash.
51778
517792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51780
51781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51782 protection macro.
51783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51784 and <dl-machine.h>.
51785 (Elf64_FuncDesc): Remove.
51786
517872011-08-22 David S. Miller <davem@davemloft.net>
51788
51789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51790 sigaltstack check, add missing cfi directives.
51791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51792 missing cfi directives, and sigaltstack handling.
51793
517942011-08-16 Andreas Schwab <schwab@redhat.com>
51795
51796 [BZ #11724]
51797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51798 object is seen twice.
51799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51800
51801 * elf/Makefile (distribute): Add tst-initorder2.c.
51802 (tests): Add tst-initorder2.
51803 (modules-names): Add tst-initorder2a tst-initorder2b
51804 tst-initorder2c tst-initorder2d. Add rules to build them.
51805 ($(objpfx)tst-initorder2.out): New rule.
51806 * elf/tst-initorder2.c: New file.
51807 * elf/tst-initorder2.exp: New file.
51808
518092011-08-22 Andreas Schwab <schwab@redhat.com>
51810
51811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51812
51813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51814 dependencies back to end of function.
51815
51816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51817 $(elfobjdir)/ld.so.
51818
518192011-08-21 Ulrich Drepper <drepper@gmail.com>
51820
51821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51826 of __vdso_gettimeofday.
51827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51829 attribute_hidden.
51830 (_libc_vdso_platform_setup): Remove initialization of
51831 __vdso_gettimeofday and __vdso_time.
51832
518332011-08-20 Ulrich Drepper <drepper@gmail.com>
51834
51835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51836 and fgetc_unlocked.
51837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51838 getc_unlocked.
51839
51840 * elf/dl-open.c (add_to_global): Report additions to the global scope
51841 for LD_DEBUG=scopes.
51842 (dl_open_worker): Also print scope of newly loaded dependencies.
51843 (_dl_show_scope): Indicate if there is no scope.
51844
51845 [BZ #13114]
51846 * stdio-common/Makefile (tests): Add bug24.
51847 * stdio-common/bug24.c: New file.
51848
518492011-08-19 Andreas Jaeger <aj@suse.de>
51850
51851 [BZ #13114]
51852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51853 non-existant file when using close-on-exec mode.
51854
518552011-08-20 Ulrich Drepper <drepper@gmail.com>
51856
51857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51858 the very first instruction.
51859
51860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51861 the CFI state in the end.
51862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51863 inclusion of dl-trampoline.h.
51864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51865
518662011-08-19 Andreas Schwab <schwab@redhat.com>
51867
51868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51869 expectations for long double.
51870
51871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51873
518742011-08-14 David S. Miller <davem@davemloft.net>
51875
51876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51877 artificual limit depends upon the system page size.
51878
518792011-08-17 Ulrich Drepper <drepper@gmail.com>
51880
51881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51882 * resolv/Makefile: Define CFLAGS-libresolv.
51883
518842011-08-17 Andreas Schwab <schwab@redhat.com>
51885
51886 * nss/makedb.c (compute_tables): Make variables used in nested
51887 function static.
51888
518892011-08-17 Ulrich Drepper <drepper@gmail.com>
51890
51891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51893 if buffer was too small.
51894
51895 * elf/pldd.c (main): Attach to all threads in the process.
51896 Rewrite /proc handling to use *at functions.
51897
518982011-08-16 Ulrich Drepper <drepper@gmail.com>
51899
51900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51901 specifies first scope to show.
51902 (dl_open_worker): Update callers. Move printing scope of new
51903 object to before the relocation.
51904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51905 * sysdeps/generic/ldsodefs.h: Update declaration.
51906
51907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51908 string for the scope number.
51909
519102011-08-14 Ulrich Drepper <drepper@gmail.com>
51911
51912 * nscd/servicescache.c (cache_addserv): Make sure written is always
51913 initialized.
51914
519152011-08-14 Roland McGrath <roland@hack.frob.com>
51916
51917 * sysdeps/i386/i486/bits/atomic.h
51918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51919 statement expression, so as to suppress "set but not used" warning.
51920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51921
51922 * string/strncat.c (STRNCAT): Use prototype definition.
51923
51924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51926 -Iprograms here.
51927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51928 (localedef-modules): Add localedef.
51929 (locale-modules): Add locale.
51930
51931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51933 to avoid a warning.
51934
519352011-08-14 David S. Miller <davem@davemloft.net>
51936
51937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51939
519402011-08-13 Ulrich Drepper <drepper@gmail.com>
51941
51942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51944 * elf/rtld.c (dl_main): Set l_name of vDSO.
51945 Call _dl_show_scope when DL_DEBUG_SCOPES.
51946 (process_dl_debug): Recognize scopes flag and also set it for all.
51947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51948 Declare _dl_show_scope.
51949
51950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51951 (do_dlopen): Pass caller_dlopen to dl_open.
51952 (__libc_dlopen_mode): Initialize caller_dlopen.
51953
51954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51955 of libc. Make tolower call locale-independent. Optimize a bit by
51956 using isdigit instead of isalnum.
51957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51958
519592011-08-12 Ulrich Drepper <drepper@gmail.com>
51960
51961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51962 was a dependency or dynamically loaded.
51963
519642011-08-11 Ulrich Drepper <drepper@gmail.com>
51965
51966 * intl/l10nflist.c: Allow architecture-specific pop function.
51967 * sysdeps/x86_64/l10nflist.c: New file.
51968
51969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51970 classification.
51971
519722011-08-10 Andreas Schwab <schwab@redhat.com>
51973
51974 * include/dirent.h: Add libc_hidden_proto for scandirat and
51975 scandirat64. Don't declare __scandirat64.
51976 * dirent/scandirat.c: Add libc_hidden_def.
51977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51979
519802011-08-10 David S. Miller <davem@davemloft.net>
51981
51982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51983 enum.
51984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51987
519882011-08-09 Ulrich Drepper <drepper@gmail.com>
51989
51990 * Versions.def [libc]: Add GLIBC_2.15.
51991 * dirent/Makefile (routines): Add scandirat and scandirat64.
51992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51993 GLIBC_2.15.
51994 * dirent/dirent.h: Declare scandirat and scandirat64.
51995 * dirent/scandirat.c: New file.
51996 * dirent/scandirat64.c: New file.
51997 * sysdeps/wordsize-64/scandirat.c: New file.
51998 * sysdeps/wordsize-64/scandirat64.c: New file.
51999 * dirent/opendir.c: Define opendirat.
52000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52001 using scandirat.
52002 * dirent/scandir64.c: Adjust for scandir.c change.
52003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52004 __scandirat64, and __scandir_cancel_handler.
52005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52006 additional parameter and use openat instead of open (outside of ld.so).
52007 Add new __opendir as wrapper around __opendirat.
52008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52009 here without requiring old scandirat implementation.
52010
520112011-08-08 Ulrich Drepper <drepper@gmail.com>
52012
52013 * dirent/scandir.c (cancel_handler): Renamed to
52014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52015 defined. Adjust users.
52016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52018
520192011-08-04 Ulrich Drepper <drepper@gmail.com>
52020
52021 * string/test-string.h (IMPL): Use __STRING to expand name and then
52022 stringify it.
52023
52024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52025 of cleanups.
52026
520272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52028
52029 * string/Makefile: Update.
52030 (strop-tests): Append strncat.
52031 * string/test-wcscmp.c: New file.
52032 New comprehensive test for wcscmp.
52033 * string/test-strcmp.c: Update.
52034 (WIDE): New define.
52035
520362011-07-22 Andreas Schwab <schwab@redhat.com>
52037
52038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52039 line.
52040
520412011-07-26 Andreas Schwab <schwab@redhat.com>
52042
52043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52044 encoding to ACE if AI_IDN.
52045
520462011-08-01 Jakub Jelinek <jakub@redhat.com>
52047
52048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52050
520512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52052
52053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52054 Fix overflow bug in strncat.
52055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52056
52057 * string/test-strncat.c: Update.
52058 Add new tests for checking overflow bugs.
52059
520602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52061
52062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52071
52072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52073 (USE_AS_STRCAT): Define.
52074 Add strcat and strncat support.
52075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52076
520772011-07-25 Andreas Schwab <schwab@redhat.com>
52078
52079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52080 __n bigger than INT_MAX+1.
52081 (__strncmp_g): Likewise.
52082
520832011-07-23 Ulrich Drepper <drepper@gmail.com>
52084
52085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52086 * libio/stido.h: Likewise.
52087
52088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52089 (AF_NFC): Define.
52090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52091 (AF_NFC): Define.
52092
52093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52098
52099 [BZ #13021]
52100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52101 installed.
52102
52103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52104 typo.
52105 (_dl_x86_64_save_sse): Likewise.
52106
521072011-07-22 Ulrich Drepper <drepper@gmail.com>
52108
52109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52110 OSXSAVE.
52111 (_dl_x86_64_save_sse): Likewise.
52112
52113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52114
52115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52116
521172011-07-21 Andreas Schwab <schwab@redhat.com>
52118
52119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52120 change.
52121 (_dl_x86_64_save_sse): Use correct AVX check.
52122
521232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52124
52125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52126 bug in strncpy/strncat.
52127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52128
521292011-07-21 Ulrich Drepper <drepper@gmail.com>
52130
52131 * string/tester.c (test_strcat): Add tests for different alignments
52132 of source and destination.
52133 (test_strncat): Likewise.
52134
521352011-07-20 Ulrich Drepper <drepper@gmail.com>
52136
52137 [BZ #12852]
52138 * posix/glob.c (glob): Check passed in values before using them in
52139 expressions to avoid some overflows.
52140 (glob_in_dir): Likewise.
52141
52142 [BZ #13007]
52143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52144 check for AVX enablement so that we don't crash with old kernels and
52145 new hardware.
52146 * elf/tst-audit4.c: Add same checks here.
52147 * elf/tst-audit6.c: Likewise.
52148
52149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52150
521512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52152
52153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52154
521552011-07-20 Ulrich Drepper <drepper@gmail.com>
52156
52157 * po/cs.po: Update from translation team.
52158 * po/bg.po: Likewise.
52159
521602011-07-12 Marek Polacek <mpolacek@redhat.com>
52161
52162 * misc/sys/cdefs.h: Add support for const attribute.
52163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52164 to gnu_dev_{major,minor,makedev} functions.
52165
521662011-07-20 Marek Polacek <mpolacek@redhat.com>
52167
52168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52169
521702011-07-20 Andreas Schwab <schwab@redhat.com>
52171
52172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52173 strlen results.
52174
521752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52176
52177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52179 register in order to avoid conflicts with the soft frame pointer
52180 being held in r11 when necessary.
52181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52182 (INTERNAL_VSYSCALL_NCS): Likewise.
52183
521842011-07-14 Marek Polacek <mpolacek@redhat.com>
52185
52186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52187 * elf/dl-fini.c (_dl_fini): Adjust caller.
52188 * elf/dl-close.c (_dl_close_worker): Likewise.
52189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52190
521912011-07-15 Marek Polacek <mpolacek@redhat.com>
52192
52193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52194 "aux_cache->nlibs < 0".
52195
52196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52197 in the reload-count case.
52198
521992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52200
52201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52205 * sysdeps/x86_64/multiarch/strcat.S: New file.
52206 * sysdeps/x86_64/multiarch/strncat.S: New file.
52207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52212 (USE_AS_STRCAT): Define.
52213 Add strcat and strncat support.
52214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52217 * string/strncat.c: Update.
52218 (USE_AS_STRNCAT): Define.
52219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52221 and i7.
52222 * sysdeps/x86_64/multiarch/init-arch.h
52223 (bit_Prefer_PMINUB_for_stringop): New.
52224 (index_Prefer_PMINUB_for_stringop): Likewise.
52225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52226 bit_Prefer_PMINUB_for_stringop.
52227
522282011-07-19 Ulrich Drepper <drepper@gmail.com>
52229
52230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52231 buffer64.
52232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52233 of casting of buffer.
52234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52235 buffer32 and buffer64.
52236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52237 writes instead of casting of buffer.
52238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52239 buffer32.
52240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52241 casting of buffer.
52242
522432011-07-19 Andreas Schwab <schwab@redhat.com>
52244
52245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52246
522472011-07-19 Ulrich Drepper <drepper@gmail.com>
52248
52249 * nscd/nscd.c (termination_handler): Don't do anything for a database
52250 if it has not yet been initialized.
52251
522522011-07-18 Ulrich Drepper <drepper@gmail.com>
52253
52254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52255
522562011-07-15 Marek Polacek <mpolacek@redhat.com>
52257
52258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52259
522602011-07-18 Ulrich Drepper <drepper@gmail.com>
52261
52262 * po/nl.po: Update from translation team.
52263 * po/sv.po: Likewise.
52264
522652011-07-16 Roland McGrath <roland@hack.frob.com>
52266
52267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52268 now disallowed by GCC.
52269
52270 * configure.in (use-default-link): Default to yes if a test -shared
52271 link meets our qualifications.
52272 * configure: Regenerated.
52273
52274 * config.make.in (output-format): New variable.
52275 * configure.in: Check for ld --print-output-format support.
52276 * configure: Regenerated.
52277 * Makerules ($(common-objpfx)format.lds)
52278 [$(output-format) != unknown]: Just use $(output-format),
52279 instead of the linker-script munging.
52280
522812011-07-14 Roland McGrath <roland@hack.frob.com>
52282
52283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52284 of $(common-objpfx)shlib.lds.
52285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52286
52287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52289
52290 * configure.in (-z relro check): Adjust test code to add a large
52291 writable data section after it.
52292 * configure: Regenerated.
52293
522942011-07-11 Roland McGrath <roland@hack.frob.com>
52295
52296 * configure.in (-z relro check): Fix test code to make the variable
52297 truly const.
52298 * configure: Regenerated.
52299
523002011-07-11 Ulrich Drepper <drepper@gmail.com>
52301
52302 * nscd/nscd.h (struct traced_file): Define.
52303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52304 elements. Add traced_files.
52305 (inotify_fd): Declare.
52306 (register_traced_file): Declare.
52307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52308 (inotify_fd): Export.
52309 (resolv_conf_descr): Remove.
52310 (nscd_init): Move inotify descriptor creation to main.
52311 Don't register files for notification here.
52312 (register_traced_file): New function.
52313 (invalidate_cache): Don't use reset_res to determine whether to call
52314 res_init, go through the list of registered files.
52315 (main_loop_poll): The inotify descriptors are now stored in the
52316 structures for the traced files.
52317 (main_loop_epoll): Likewise
52318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52319 to __nss_disable_nscd.
52320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52321 for a database anymore. Check the records for all the registered
52322 files instead.
52323 * nss/Makefile (libnss_files-routines): Add files-init.
52324 (libnss_db-routines): Add db-init.
52325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52327 * nss/nss_db/db-init.c: New file.
52328 * nss/nss_files/files-init.c: New file.
52329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52330 __nss_lookup_function.
52331 (__nss_lookup_function): Call nss_load_library.
52332 (nss_load_all_libraries): New function.
52333 (__nss_disable_nscd): Take parameter with callback function for files
52334 to register. Set is_nscd. Load all the DSOs for the NSS modules
52335 used for the cached services.
52336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52338 options for features to all the files in nscd.
52339
52340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52341
523422011-07-10 Roland McGrath <roland@hack.frob.com>
52343
52344 * csu/elf-init.c (__libc_csu_init): Comment typo.
52345
523462011-07-09 Ulrich Drepper <drepper@gmail.com>
52347
52348 * po/pl.po: Update from translation team.
52349 * po/ja.po: Likewise.
52350 * po/ru.po: Likewise.
52351 * po/ko.po: Likewise.
52352 * po/fr.po: Likewise.
52353
523542011-07-09 Roland McGrath <roland@hack.frob.com>
52355
52356 * configure.in (.ctors/.dtors header and trailer check):
52357 Use an empirical test on a built program.
52358 * configure: Regenerated.
52359
52360 * configure.in (-z relro check): Use an empirical test on a built DSO.
52361 Detect, but do not require, on ia64.
52362 * configure: Regenerated.
52363
52364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52365 Update tests that use readelf to use $READELF instead.
52366 * configure: Regenerated.
52367
523682011-07-08 Ulrich Drepper <drepper@gmail.com>
52369
52370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52371 if the result is not used.
52372
523732011-07-05 Andreas Jaeger <aj@suse.de>
52374
52375 [BZ#9696]
52376 * stdlib/tst-strtod.c: Add testcase.
52377
523782011-07-07 Ulrich Drepper <drepper@gmail.com>
52379
52380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52382 The latter has a higher limit. Take additional parameter to pass to
52383 the new function.
52384 (__pathconf): Pass file to __statfs_link_max.
52385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52386 __statfs_link_max.
52387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52388 __statfs_link_max.
52389
52390 [BZ #12868]
52391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52393 Handle Lustre.
52394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52395 (__statfs_filesize_max): Likewise.
52396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52397
523982011-07-05 Andreas Jaeger <aj@suse.de>
52399
52400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52401
524022011-07-06 Marek Polacek <mpolacek@redhat.com>
52403
52404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52405 `status' variable.
52406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52407 Likewise.
52408
524092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52410
52411 * Makefile (strop-tests): Add strncat.
52412 * string/test-strncat.c: New file.
52413
524142011-06-30 Marek Polacek <mpolacek@redhat.com>
52415
52416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52417
524182011-06-21 Andreas Jaeger <aj@suse.de>
52419
52420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52421 Copy rule from iconvdata/Makefile.
52422
524232011-07-06 Ulrich Drepper <drepper@gmail.com>
52424
52425 [BZ #12922]
52426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52427 but no long options are defined, just return 'W'.
52428
524292011-06-22 Marek Polacek <mpolacek@redhat.com>
52430
52431 [BZ #9696]
52432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52433
524342011-07-06 Ulrich Drepper <drepper@gmail.com>
52435
52436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52437 netgroups to read.
52438 (innetgr): Likewise.
52439
524402011-07-05 Roland McGrath <roland@hack.frob.com>
52441
52442 * config.make.in (install_root): Default to $(DESTDIR).
52443
524442011-07-05 Ulrich Drepper <drepper@gmail.com>
52445
52446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52447
524482011-07-02 Roland McGrath <roland@hack.frob.com>
52449
52450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52451
52452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52453 containing directory rather than embedding absolute directory names.
52454
52455 * scripts/check-local-headers.sh: Rewritten using awk.
52456 Match by word, not by line. Print error messages for matches.
52457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52458
52459 * Makerules [shlib-lds-flags empty]:
52460 ($(common-objpfx)libc_pic.opts): New target.
52461 ($(common-objpfx)libc_pic.os.clean): New target.
52462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52463
52464 * config.make.in (OBJCOPY): New variable.
52465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52466 * configure: Regenerated.
52467
52468 * config.make.in (use-default-link): New variable.
52469 * configure.in (use_default_link): Grok --with-default-link to set it.
52470 * configure: Regenerated.
52471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52472 (shlib-lds, shlib-lds-flags): Define to empty.
52473
52474 * Makerules (shlib-lds): New variable.
52475 (shlib-lds-flags): New variable.
52476 (build-shlib, build-moduile, build-module-asneeded): Use it.
52477 ($(common-objpfx)libc.so): Use $(shlib-lds).
52478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52480
52481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52482 DT_FLAGS/DT_FLAGS_1 with zero flags.
52483
52484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52485 linker script munging.
52486
524872011-07-02 Ulrich Drepper <drepper@gmail.com>
52488
52489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52490 as 128-bit value.
52491 * crypt/sha512.c (sha512_process_block): Perform total addition using
52492 128-bit if possible.
52493 (__sha512_finish_ctx): Likewise.
52494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52495 as 64-bit value.
52496 * crypt/sha256.c (SWAP64): Define.
52497 (sha256_process_block): Perform total addition using 64-bit if
52498 possible.
52499 (__sha256_finish_ctx): Likewise.
52500
525012011-07-01 Ulrich Drepper <drepper@gmail.com>
52502
52503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52505 * nscd/hstcache.c (cache_addhst): Likewise.
52506 * nscd/grpcache.c (cache_addgr): Likewise.
52507 * nscd/aicache.c (addhstaiX): Likewise
52508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52509
525102011-07-01 Thorsten Kukuk <kukuk@suse.de>
52511
52512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52514 * nscd/hstcache.c (cache_addhst): Likewise.
52515 * nscd/grpcache.c (cache_addgr): Likewise.
52516 * nscd/aicache.c (addhstaiX): Likewise
52517
525182011-07-01 Andreas Schwab <schwab@redhat.com>
52519
52520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52521 domain only when needed.
52522
525232011-06-30 Andreas Schwab <schwab@redhat.com>
52524
52525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52526 is always restored.
52527
525282011-06-29 Ulrich Drepper <drepper@gmail.com>
52529
52530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52531 are re-adding the entry.
52532 * nscd/servicescache.c (cache_addserv): Likewise.
52533
525342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52535
52536 * sysdeps/generic/dl-irel.h: fix protection against multiple
52537 inclusions.
52538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52539
525402011-06-28 Ulrich Drepper <drepper@gmail.com>
52541
52542 [BZ #12935]
52543 * malloc/memusage.sh: Fix quoting in message.
52544 * debug/xtrace.sh: Likewise.
52545
52546 * configure.in: Remove support for --experimental-malloc option, make
52547 it the default.
52548 * config.make.in: Likewise.
52549 * malloc/Makefile: Likewise.
52550
525512011-06-27 Andreas Schwab <schwab@redhat.com>
52552
52553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52554 two-byte characters.
52555
525562011-06-27 Roland McGrath <roland@hack.frob.com>
52557
52558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52559 AC_CACHE_CHECK invocation.
52560 * configure: Regenerated.
52561
52562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52563
525642011-06-27 Ulrich Drepper <drepper@gmail.com>
52565
52566 [BZ #12350]
52567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52568 bit from old_res_options.
52569
52570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52571
52572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52573 value type for setfct.
52574
525752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52576
52577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52578 __gettimeofday instead of gettimeofday.
52579
525802011-06-26 Ulrich Drepper <drepper@gmail.com>
52581
52582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52583
525842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52585
52586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52587
52588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52589 info.
52590
525912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52592
52593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52595 strcpy-sse2-unaligned strncpy-sse2-unaligned
52596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52606 (STRCPY): Support SSE2 and SSSE3 versions.
52607
526082011-06-24 Ulrich Drepper <drepper@gmail.com>
52609
52610 [BZ #12874]
52611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52613 kernels which artificially limit size of requests.
52614
526152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52616
52617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52633 Enable unaligned load optimization for Intel Core i3, i5 and i7
52634 processors.
52635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52636 Define.
52637 (index_Fast_Unaligned_Load): Define.
52638 (HAS_FAST_UNALIGNED_LOAD): Define.
52639
526402011-06-23 Marek Polacek <mpolacek@redhat.com>
52641
52642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52643
526442011-06-22 Ulrich Drepper <drepper@gmail.com>
52645
52646 [BZ #12907]
52647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52648 until it is clear that the information is realy needed.
52649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52650
526512011-06-22 Andreas Schwab <schwab@redhat.com>
52652
52653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52654
526552011-06-22 Ulrich Drepper <drepper@gmail.com>
52656
52657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52658 /sys/devices/system/cpu/online if it is usable.
52659
52660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52661 reading the information from the /proc filesystem to once a second.
52662
526632011-06-21 Andreas Jaeger <aj@suse.de>
52664
52665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52666 NULL after inclusion of kernel headers.
52667
526682011-06-21 Ulrich Drepper <drepper@gmail.com>
52669
52670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52671 calls to internal_setent.
52672
52673 [BZ #12885]
52674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52675 addresses using gethostbyname4_r ignore IPv4 addresses.
52676
52677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52679
52680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52681
526822011-06-20 David S. Miller <davem@davemloft.net>
52683
52684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52685 inclusions.
52686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52687
52688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52689 (elf_irel): Use it.
52690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52694 * sysdeps/x86_64/dl-irel.h: Likewise.
52695
52696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52697 * elf/dl-sym.c: Likewise.
52698
526992011-06-15 Ulrich Drepper <drepper@gmail.com>
52700
52701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52702 need to dereference resplen2.
52703
527042011-06-14 Andreas Schwab <schwab@redhat.com>
52705
52706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52707
527082011-06-15 Ulrich Drepper <drepper@gmail.com>
52709
52710 * Makeconfig: Define vardbdir and inst_vardbdir.
52711 * nss/Makefile: Add rules to install db-Makefile.
52712
52713 * nss/nss_db/db-XXX.c: Cleanup.
52714
52715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52717 GLIBC_PRIVATE.
52718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52719 * nss/makedb.c: Implement -g option to specify that value strings
52720 are generated and should not be added to table iterated over for
52721 get*ent calls.
52722 * nss/nss_db/db-initgroups.c: New file.
52723
52724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52725 interface.
52726
52727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52728 (internal_getgrouplist): Adjust to name change.
52729 Update use_initgroups_entry if this is not the first call.
52730 * nss/databases.def: Add initgroups entry.
52731
52732 * nss/makedb.c (compute_tables): Check result of multiple hash table
52733 sizes to minimize maximum chain length.
52734
527352011-06-14 Ulrich Drepper <drepper@gmail.com>
52736
52737 * Versions.def: Add entry for libnss_db.
52738 * shlib-versions: Likewise.
52739 * nss/Makefile: Add rules to build libnss_db.
52740 * nss/Versions: Add libnss_db information. Organize libnss_files
52741 entries better.
52742 * nss/db-Makefile: Add gshadow support. Change rules for the new
52743 makedb progra. Some minor improvements to generate smaller files.
52744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52745 here from...
52746 * nss/makedb.c: ...here.
52747 Improve database format to be smaller and require less memory at
52748 runtime.
52749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52750 db anymore.
52751 * nss/nss_db/db-netgrp.c: Likewise.
52752 * nss/nss_db/db-open.c: Likewise.
52753 * nss/nss_files/flies-XXX.x: Adjust comments.
52754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52755 * nss/nss_files/files-grp.c: Likewise.
52756 * nss/nss_files/files-hosts.c: Likewise.
52757 * nss/nss_files/files-network.c: Likewise.
52758 * nss/nss_files/files-proto.c: Likewise.
52759 * nss/nss_files/files-pwd.c: Likewise.
52760 * nss/nss_files/files-rpc.c: Likewise.
52761 * nss/nss_files/files-service.c: Likewise.
52762 * nss/nss_files/files-sgrp.c: Likewise.
52763 * nss/nss_files/files-spwd.c: Likewise.
52764 * nss/nss_db/db-alias.c: Removed.
52765 * nss/nss_db/dummy-db.h: Removed.
52766
527672011-06-02 Ulrich Drepper <drepper@gmail.com>
52768
52769 * nss/makedb.c: Rewritten to not use database library.
52770 * nss/Makefile: Update to build new makedb program.
52771
527722011-06-14 Andreas Jaeger <aj@suse.de>
52773
52774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52775 memset declaration.
52776
527772011-06-10 Andreas Schwab <schwab@redhat.com>
52778
52779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52780 tmpbuf.
52781
527822011-06-10 Roland McGrath <roland@hack.frob.com>
52783
52784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52785 * elf/Makefile ($(objpfx)ld.so): Likewise.
52786
52787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52788 Don't list ld.so twice in dependencies.
52789
52790 * posix/bug-regex31.c: Include <stdlib.h>.
52791
52792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52793
52794 * nis/nss_compat/compat-spwd.c
52795 (getspent_next_nss_netgr): Remove unused variable.
52796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52797
52798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52799 nonmembers" output to use the right array.
52800
52801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52802
52803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52804
52805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52807 * catgets/gencat.c (read_input_file): Likewise.
52808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52809
52810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52811 variable definition inside #if's controlling its use.
52812
52813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52814
52815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52816
52817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52818
52819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52820 unreachable code.
52821
52822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52823
52824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52825 * configure: Regenerated.
52826
52827 * Makerules: Revert last change.
52828 * elf/Makefile: Likewise.
52829
528302011-06-09 Roland McGrath <roland@hack.frob.com>
52831
52832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52834 (reloc-link): Likewise.
52835
528362011-06-09 Ulrich Drepper <drepper@gmail.com>
52837
52838 * elf/Makefile: Add rules to build pldd.
52839 * elf/pldd.c: New file.
52840 * elf/pldd-xx.c: New file.
52841
528422011-06-07 Ulrich Drepper <drepper@gmail.com>
52843
52844 * version.h: Update for 2.15 development version.
52845
528462011-06-07 David S. Miller <davem@davemloft.net>
52847
52848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52849 ifuncs.
52850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52851 elf_machine_lazy_rel): Likewise.
52852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52854 elf_machine_lazy_rel): Likewise.
52855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52856 dl_hwcap via passed in argument.
52857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52858 Likewise.
52859
528602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52861
52862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52863
528642011-06-06 Roland McGrath <roland@hack.frob.com>
52865
52866 [BZ #12849]
52867 * manual/fdl-1.1.texi: New file, verbatim from:
52868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52869 * manual/lgpl-2.1.texi: New file, verbatim from:
52870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52871 * manual/Makefile (licenses): New variable, list those new file names.
52872 (texis): Use it.
52873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52874
52875 * manual/fdl.texi: File removed.
52876 * manual/lesser.texi: File removed.
52877 * manual/libc.texinfo (Copying, Documentation License):
52878 Use new @include file names, put @appendix directive before @include.
52879
528802011-06-04 Jakub Jelinek <jakub@redhat.com>
52881
52882 [BZ #12841]
52883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52885 (mq_open): Add __NTH.
52886
528872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52888
52889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52890 Assume Intel Core i3/i5/i7 processor if AVX is available.
52891
528922011-05-31 Ulrich Drepper <drepper@gmail.com>
52893
52894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52895 typo.
52896
528972011-05-31 Andreas Schwab <schwab@redhat.com>
52898
52899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52900 memory. Use alloca_account. Fix memory leak when retrying.
52901
529022011-05-31 Ulrich Drepper <drepper@gmail.com>
52903
52904 * version.h (RELEASE): Bump for 2.14 release.
52905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52906
52907 * config.make.in (RANLIB): Remove entry.
52908
529092011-05-30 Ulrich Drepper <drepper@gmail.com>
52910
52911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52912 (libc.pot): Work around missing support for .ksh extension in xgettext.
52913
52914 [BZ #12684]
52915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52916 if both request failed.
52917 (send_dg): In case of server errors clear resplen or *resplen2.
52918
52919 [BZ #12454]
52920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52921 when there are multiple maps.
52922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52923 (_dl_fini): Remove test here.
52924
52925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52926
529272011-05-29 Ulrich Drepper <drepper@gmail.com>
52928
52929 [BZ #12350]
52930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52931 bit from old_res_options.
52932 (gaih_inet): Likewise.
52933
52934 [BZ #11099]
52935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52936 as signed.
52937
52938 * resolv/res_init.c (res_setoptions): Make the code more compact.
52939
52940 [BZ #11558]
52941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52942 set RES_USEVC.
52943
52944 [BZ #11634]
52945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52946
52947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52948
52949 [BZ #11781]
52950 * malloc/malloc.h: Declare malloc hook variables as volatile.
52951
52952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52953 in last patch.
52954
52955 [BZ #11799]
52956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52957 raise in the comment.
52958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52961
529622011-05-28 Ulrich Drepper <drepper@gmail.com>
52963
52964 [BZ #12811]
52965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52966 grow the buffers more if it already has to be sufficient.
52967 (build_wcs_upper_buffer): Likewise.
52968 * posix/regexec.c (check_matching): Likewise.
52969 (clean_state_log_if_needed): Likewise.
52970 (extend_buffers): Don't enlarge buffers beyond size of the input
52971 buffer.
52972 Patches mostly by Emil Wojak <emil@wojak.eu>.
52973 * posix/bug-regex32.c: New file.
52974 * posix/Makefile (tests): Add bug-regex32.
52975
52976 * locale/findlocale.c (_nl_find_locale): Return right away if
52977 _nl_explode_name failed.
52978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52979
52980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52981
52982 * debug/xtrace.sh: Unify messages.
52983 * malloc/memusage.sh: Likewise.
52984
52985 [BZ #12813]
52986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52987 time symbol from vDSO. Substitute with vsyscall if not available.
52988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52989 __vdso_time.
52990
52991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52994 Add sendmmsg and internal_sendmmsg.
52995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52998
52999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53002
530032011-05-27 Ulrich Drepper <drepper@gmail.com>
53004
53005 [BZ #12813]
53006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53008 available.
53009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53010 __vdso_getcpu.
53011
53012 [BZ #12814]
53013 * iconvdata/Makefile (tests): Add bug-iconv9.
53014 * iconvdata/bug-iconv9.c: New file.
53015
530162011-05-27 Andreas Schwab <schwab@redhat.com>
53017
53018 [BZ #12814]
53019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53020
530212011-05-25 Jakub Jelinek <jakub@redhat.com>
53022
53023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53024 (struct user_regs_struct): Change intcs field back to cs.
53025
530262011-05-25 Ulrich Drepper <drepper@gmail.com>
53027
53028 * po/ja.po: Update from translation team.
53029
530302011-05-23 Ulrich Drepper <drepper@gmail.com>
53031
53032 [BZ #12795]
53033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53035
530362011-05-20 Andreas Schwab <schwab@redhat.com>
53037
53038 * stdlib/longlong.h: Update from GCC.
53039
530402011-05-23 Andreas Schwab <schwab@redhat.com>
53041
53042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53043 parameter name.
53044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53045 Add parameter name.
53046 (__sysconf): Pass it down.
53047
530482011-05-22 Ulrich Drepper <drepper@gmail.com>
53049
53050 [BZ #12671]
53051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53052 some situations.
53053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53055 add in in __libc_use_alloca calls. Adjust callers.
53056 (glob): Use malloc in some situations.
53057
53058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53060 pltexit.
53061
530622011-05-21 Ulrich Drepper <drepper@gmail.com>
53063
53064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53065 and CLOCK_BOOTTIME_ALARM.
53066
53067 [BZ #12782]
53068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53069 is returned.
53070
53071 * string/_strerror.c (__strerror_r): Print negative errors as signed
53072 numbers.
53073
53074 [BZ #12777]
53075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53078
53079 * configure.in: Fix typo in redirection and correct removal of test
53080 files in two cases.
53081
53082 [BZ #12788]
53083 * locale/setlocale.c (new_composite_name): Fix test to check for
53084 identical name of all categories.
53085
53086 [BZ #12792]
53087 * libio/filedoalloc.c (local_isatty): New function.
53088 (_IO_file_doallocate): Use local_isatty.
53089 * stdio-common/perror.c (perror): In case a new stream is used
53090 forward the stream error.
53091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53092 error flag.
53093
530942011-05-20 Ulrich Drepper <drepper@gmail.com>
53095
53096 [BZ #11869]
53097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53098 alloca.
53099 * include/alloca.h (extend_alloca_account): Define.
53100
53101 [BZ #11857]
53102 * posix/regex.h: Fix comments with documentation of user-accessible
53103 fields after compilation and describe correct free'ing of pattern
53104 after re_compile_pattern.
53105 Patch by Reuben Thomas <rrt@sc3d.org>.
53106
531072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53108
53109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53110 and -mno-altivec to prevent the compiler from using Altivec and/or
53111 VSX instructions when the corresponding registers are not available.
53112
531132011-05-19 Andreas Schwab <schwab@redhat.com>
53114
53115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53116
531172011-05-19 Ulrich Drepper <drepper@gmail.com>
53118
53119 * libio/freopen.c (freopen): Use __dup2, not dup2.
53120 * libio/freopen64.c (freopen64): Likewise.
53121
531222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53123
53124 [BZ #12775]
53125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53126 * math/Makefile (tests): Add test-powl.
53127 (CFLAGS-test-powl.c): Define.
53128 * math/test-powl.c: New file.
53129
531302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53131
53132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53133
531342011-05-17 Ulrich Drepper <drepper@gmail.com>
53135
53136 [BZ #11837]
53137 * iconvdata/gb18030.c: Update to GB18020-2005.
53138
531392011-05-16 Ulrich Drepper <drepper@gmail.com>
53140
53141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53143 Patch by Aharon Robbins <arnold@skeeve.com>.
53144
53145 [BZ #11892]
53146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53147 on the stack.
53148
53149 [BZ #11895]
53150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53151 through underflows.
53152
53153 [BZ #12766]
53154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53155 point to strings before performing equality test for error_one_per_line
53156 mode.
53157
53158 [BZ #11697]
53159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53160
53161 [BZ #11820]
53162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53163 (struct user_fpregs_struct): Avoid __uint*_t types.
53164
53165 [BZ #6420]
53166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53167 symbol info. Use it instead of calling _dl_addr locally.
53168 (lock_and_info): New function.
53169 (tr_freehook): Call lock_and_info and pass symbol info as additional
53170 parameter to tr_where.
53171 (tr_mallochook): Likewise.
53172 (tr_reallochook): Likewise.
53173 (tr_memalignhook): Likewise.
53174
53175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53176 used and couldn't be at all thread-safe.
53177
531782011-05-15 Ulrich Drepper <drepper@gmail.com>
53179
53180 * libio/freopen.c (freopen): Don't close old file descriptor
53181 before the new one is opened. Instead dup the new file descriptor
53182 to the old one after the new stream is created.
53183 * libio/freopen64.c (freopen64): Likewise.
53184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53185 * libio/fileops.c (_IO_new_file_close_it): Handle new
53186 _IO_FLAGS2_NOCLOSE flag.
53187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53190 _IO_FLAGS2_NOCLOSE flag.
53191 * include/unistd.h: Add hidden_proto for dup3.
53192 Define __have_dup3.
53193 * io/dup3.c: Define hidden symbol.
53194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53195
53196 [BZ #7101]
53197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53198 when an incomplete long option is used.
53199 * posix/tst-getopt_long1.c: New file.
53200 * posix/Makefile (tests): Add tst-getopt_long1.
53201
53202 [BZ #10138]
53203 * scripts/config.guess: Update from autoconf-2.68.
53204 * scripts/config.sub: Likewise.
53205
53206 [BZ #10157]
53207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53208 tests into ...
53209 (has_cpuclock): ...this. New function.
53210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53211 macro here based on has_cpuclock code.
53212
53213 [BZ #10149]
53214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53215 First byte (not low byte) is now always NUL.
53216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53217
53218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53219 Use non-cancelable interfaces.
53220
53221 [BZ #9809]
53222 * locale/iso-639.def: Add entry for Sorani.
53223
53224 [BZ #11901]
53225 * include/stdlib.h: Move include protection to the right place.
53226 Define abort_msg_s. Declare __abort_msg with it.
53227 * stdlib/abort.c (__abort_msg): Adjust type.
53228 * assert/assert.c (__assert_fail_base): New function. Majority
53229 of code from __assert_fail. Allocate memory for __abort_msg with
53230 mmap.
53231 (__assert_fail): Now call __assert_fail_base.
53232 * assert/assert-perr.c: Remove bulk of implementation. Use
53233 __assert_fail_base.
53234 * include/assert.hL Declare __assert_fail_base.
53235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53236 mmap.
53237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53238
532392011-05-14 Ulrich Drepper <drepper@gmail.com>
53240
53241 [BZ #11952]
53242 [BZ #12453]
53243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53244 until all modules are registered in the DTV.
53245 * elf/Makefile: Add rules to build and run tst-tls19.
53246 * elf/tst-tls19.c: New file.
53247 * elf/tst-tls19mod1.c: New file.
53248 * elf/tst-tls19mod2.c: New file.
53249 * elf/tst-tls19mod3.c: New file.
53250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53251
53252 [BZ #12083]
53253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53254 correctly.
53255
53256 [BZ #12601]
53257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53258 two-byte sequence errors.
53259 * iconvdata/Makefile (tests): Add bug-iconv8.
53260 * iconvdata/bug-iconv8.c: New file.
53261
53262 [BZ #12626]
53263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53264 buf2 definition.
53265
53266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53267
53268 [BZ #12432]
53269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53270 (dummy_getcfa): New function.
53271 (init): Get _Unwind_GetCFA address, use dummy if not found.
53272 (backtrace_helper): In recursion check, also check whether CFA changes.
53273 (__backtrace): Completely initialize arg.
53274
53275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53276 storing incomplete byte sequence in state object. Avoid testing for
53277 guaranteed too small input if we know there is enough data available.
53278
532792011-05-11 Andreas Schwab <schwab@redhat.com>
53280
53281 * Makeconfig (+link-pie): Indent.
53282 * Rules (binaries-pie): Define if $(have-fpie) and
53283 $(build-shared).
53284 (binaries-shared): Also filter out $(binaries-pie).
53285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53286 * nscd/Makefile (others-pie): Add nscd.
53287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53288 ($(objpfx)nscd): Remove command override.
53289 * login/Makefile (others-pie): Add pt_chown.
53290 ($(objpfx)pt_chown): Remove command override.
53291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53292 remove command overrides.
53293
532942011-05-13 Ulrich Drepper <drepper@gmail.com>
53295
53296 * libio/tst_putwc.c: Fix error messages.
53297
53298 [BZ #12724]
53299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53300 currently writing and seek to current position when not.
53301 * libio/Makefile (tests): Add bug-fclose1.
53302 * libio/bug-fclose1.c: New file.
53303
533042011-05-12 Ulrich Drepper <drepper@gmail.com>
53305
53306 [BZ #12511]
53307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53308 don't set DF_1_NODELETE here.
53309 (do_lookup_x): When entering new entry test for copy relocation
53310 and if necessary set DF_1_NODELETE flag.
53311 * elf/tst-unique4.cc: New file.
53312 * elf/tst-unique4.h: New file.
53313 * elf/tst-unique4lib.cc: New file.
53314 * elf/Makefile: Add rules to build and run tst-unique4.
53315 Patch by Piotr Bury <pbury@goahead.com>.
53316
533172011-05-11 Ulrich Drepper <drepper@gmail.com>
53318
53319 [BZ #12052]
53320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53321
53322 [BZ #12625]
53323 * misc/mntent_r.c (addmntent): Flush the stream after the output
53324
53325 [BZ #12393]
53326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53327 (is_trusted_path_normalize): Skip initial colon. Append slash
53328 to empty buffer. Duplicate is_trusted_path code but allow
53329 constructed patch to be prefix.
53330 (is_dst): Allow $ORIGIN followed by /.
53331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53332 Correct testing of result of is_trusted_path_normalize
53333 (decompose_rpath): Fix warning.
53334
533352011-05-10 Ulrich Drepper <drepper@gmail.com>
53336
53337 [BZ #11257]
53338 * grp/initgroups.c (internal_getgrouplist): When we found the service
53339 list through the initgroups entry in nsswitch.conf do not always
53340 continue on a successful lookup. Don't always use the
53341 __nss_group_database value if it is set.
53342 * nss/nsswitch.conf (initgroups): Change action for successful db
53343 lookup to continue for compatibility.
53344
533452011-05-09 Ulrich Drepper <drepper@gmail.com>
53346
53347 [BZ #11532]
53348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53349 and CP774 modules.
53350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53351 and CP774 modules.
53352 * iconvdata/tst-tables.sh: Likewise.
53353 * iconvdata/cp770.c: New file.
53354 * iconvdata/cp771.c: New file.
53355 * iconvdata/cp772.c: New file.
53356 * iconvdata/cp773.c: New file.
53357 * iconvdata/cp774.c: New file.
53358 * iconvdata/testdata/CP770: New file.
53359 * iconvdata/testdata/CP770..UTF8: New file.
53360 * iconvdata/testdata/CP771: New file.
53361 * iconvdata/testdata/CP771..UTF8: New file.
53362 * iconvdata/testdata/CP772: New file.
53363 * iconvdata/testdata/CP772..UTF8: New file.
53364 * iconvdata/testdata/CP773: New file.
53365 * iconvdata/testdata/CP773..UTF8: New file.
53366 * iconvdata/testdata/CP774: New file.
53367 * iconvdata/testdata/CP774..UTF8: New file.
53368
53369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53370 END CHARMAP line.
53371 * iconvdata/gen-8bit-gap.sh: Likewise.
53372 * iconvdata/gen-8bit.sh: Likewise.
53373
53374 * locale/iso-639.def: Add ary entry.
53375
53376 [BZ #11258]
53377 * locale/C-translit.h.in: Add U20A1 transliteration.
53378
53379 [BZ #12178]
53380 * locale/iso-639.def: Add wae entry.
53381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53382
53383 [BZ #12545]
53384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53385 for n.
53386
53387 [BZ #12711]
53388 * locale/C-translit.h.in: Add entry for U20B9.
53389 Patch by pravin.d.s@gmail.com.
53390
533912011-05-08 Ulrich Drepper <drepper@gmail.com>
53392
53393 [BZ #12713]
53394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53395 ENAMETOOLONG use generic getcwd.
53396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53397 in rtld. Use *stat64.
53398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53405 __fstatat64 macros.
53406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53407 * dirent/rewinddir.c: Add libc_hidden_def.
53408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53410
53411 * include/dirent.h (__alloc_dir): Add flags parameter.
53412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53414 __alloc_dir.
53415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53416 from fdopendir if O_CLOEXEC is already set.
53417
534182011-03-15 Alan Modra <amodra@gmail.com>
53419
53420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53421 l_tls_firstbyte_offset non-zero. Save padding offset in
53422 l_tls_firstbyte_offset for later use.
53423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53424 freeing static tls block.
53425
534262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53427
53428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53429 where #ifdef was intended. The intent is to prevent ARG_MAX from
53430 being defined by the kernel headers.
53431
534322011-05-07 Ulrich Drepper <drepper@gmail.com>
53433
53434 [BZ #12734]
53435 * resolv/resolv.h: Define RES_NOTLDQUERY.
53436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53437 no-tld-query and set RES_NOTLDQUERY.
53438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53440 modern BIND to search name as TLD unless forbidden.
53441
534422011-05-07 Petr Baudis <pasky@suse.cz>
53443 Ulrich Drepper <drepper@gmail.com>
53444
53445 [BZ #12393]
53446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53447 (is_trusted_path): ...to here.
53448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53450 using is_trusted_path_normalize() in setuid scripts.
53451
534522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53453
53454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53455 __BEGIN/__END_DECLS.
53456
534572011-05-06 Ulrich Drepper <drepper@gmail.com>
53458
53459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53460 NSS_STATUS_NOTFOUND if no record was found.
53461
534622011-05-05 Andreas Schwab <schwab@redhat.com>
53463
53464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53465 (headers-not-in-tirpc): Remove rpc/netdb.h
53466 * resolv/netdb.h: Revert last change.
53467
534682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53469
53470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53471 circular dependency between libgcc.a and libc.a.
53472
534732011-05-05 Andreas Schwab <schwab@redhat.com>
53474
53475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53476 * nis/Makefile: Don't install rpcsvc/*.
53477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53478 instead of <rpc/types.h>.
53479 (MAXHOSTNAMELEN): Define.
53480
534812011-05-03 Andreas Schwab <schwab@redhat.com>
53482
53483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53484
534852011-04-28 Maciej Babinski <mbabinski@google.com>
53486
53487 [BZ #12714]
53488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53489 gethostbyname4_r when IPv6 results are possible.
53490
534912011-05-02 Ulrich Drepper <drepper@gmail.com>
53492
53493 [BZ #12723]
53494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53495 _PC_PIPE_BUF handling.
53496
534972011-04-30 Bruno Haible <bruno@clisp.org>
53498
53499 [BZ #12717]
53500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53502 to 'int'.
53503 * inet/getnameinfo.c (getnameinfo): Likewise.
53504
535052011-04-29 Ulrich Drepper <drepper@gmail.com>
53506
53507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53508 to groups setting in database lookup.
53509 * nss/nsswitch.conf: Add initgroups entry.
53510
535112011-04-22 Ulrich Drepper <drepper@gmail.com>
53512
53513 [BZ #12685]
53514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53515 mode string.
53516 Patch by Eric Blake <eblake@redhat.com>.
53517
535182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53519
53520 * sunrpc/Makefile (need-export-routines): Add svc_run.
53521 (routines): Remove svc_run.
53522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53524 * sunrpc/svc_run.c (svc_run): Likewise.
53525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53526
535272011-04-21 Ulrich Drepper <drepper@gmail.com>
53528
53529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53530 problem in reallocation in last patch.
53531
535322011-04-20 Ulrich Drepper <drepper@gmail.com>
53533
53534 * sunrpc/Makefile: Move inclusion of Rules.
53535
535362011-04-19 Ulrich Drepper <drepper@gmail.com>
53537
53538 * nss/nss_files/files-initgroups.c: New file.
53539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53541 _nss_files_initgroups_dyn.
53542
535432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53544
53545 * elf/elf.h (R_ARM_IRELATIVE): Define.
53546
535472011-04-19 Ulrich Drepper <drepper@gmail.com>
53548
53549 * po/ru.po: Update from translation team.
53550
535512011-04-17 Ulrich Drepper <drepper@gmail.com>
53552
53553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53554 dependencies.
53555
535562011-02-06 Mike Frysinger <vapier@gentoo.org>
53557
53558 [BZ #12653]
53559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53564
535652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53566
53567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53568 differing bytes.
53569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53572
535732011-04-17 Ulrich Drepper <drepper@gmail.com>
53574
53575 [BZ #12420]
53576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53577 storing it.
53578 * stdlib/bug-getcontext.c: New file.
53579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53580
535812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53582
53583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53584 instructions into .machine "z9-109".
53585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53587
535882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53589
53590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53591 between environment variables and auxiliary vector.
53592
535932011-04-16 Ulrich Drepper <drepper@gmail.com>
53594
53595 * Makefile: Add rules to build linkobj/libc.so.
53596 * include/libc-symbols.h: Define libc_hidden_nolink.
53597 * include/rpc/auth.h: Mark functions which are to be hidden.
53598 * include/rpc/auth_des.h: Likewise.
53599 * include/rpc/auth_unix.h: Likewise.
53600 * include/rpc/clnt.h: Likewise.
53601 * include/rpc/des_crypt.h: Likewise.
53602 * include/rpc/key_prot.h: Likewise.
53603 * include/rpc/pmap_clnt.h: Likewise.
53604 * include/rpc/pmap_prot.h: Likewise.
53605 * include/rpc/pmap_rmt.h: Likewise.
53606 * include/rpc/rpc_msg.h: Likewise.
53607 * include/rpc/svc.h: Likewise.
53608 * include/rpc/svc_auth.h: Likewise.
53609 * include/rpc/xdr.h: Likewise.
53610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53611 * nss/Makefile: Likewise.
53612 * sunrpc/Makefile: Don't install headers. Build library with normal
53613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53615 for the compat linking library. Remove use of INTDEF/INTUSE.
53616 * sunrpc/auth_none.c: Likewise.
53617 * sunrpc/auth_unix.c: Likewise.
53618 * sunrpc/authdes_prot.c: Likewise.
53619 * sunrpc/authuxprot.c: Likewise.
53620 * sunrpc/clnt_gen.c: Likewise.
53621 * sunrpc/clnt_perr.c: Likewise.
53622 * sunrpc/clnt_raw.c: Likewise.
53623 * sunrpc/clnt_simp.c: Likewise.
53624 * sunrpc/clnt_tcp.c: Likewise.
53625 * sunrpc/clnt_udp.c: Likewise.
53626 * sunrpc/clnt_unix.c: Likewise.
53627 * sunrpc/des_crypt.c: Likewise.
53628 * sunrpc/des_soft.c: Likewise.
53629 * sunrpc/get_myaddr.c: Likewise.
53630 * sunrpc/key_call.c: Likewise.
53631 * sunrpc/key_prot.c: Likewise.
53632 * sunrpc/netname.c: Likewise.
53633 * sunrpc/pm_getmaps.c: Likewise.
53634 * sunrpc/pm_getport.c: Likewise.
53635 * sunrpc/pmap_clnt.c: Likewise.
53636 * sunrpc/pmap_prot.c: Likewise.
53637 * sunrpc/pmap_prot2.c: Likewise.
53638 * sunrpc/pmap_rmt.c: Likewise.
53639 * sunrpc/publickey.c: Likewise.
53640 * sunrpc/rpc_cmsg.c: Likewise.
53641 * sunrpc/rpc_common.c: Likewise.
53642 * sunrpc/rpc_dtable.c: Likewise.
53643 * sunrpc/rpc_prot.c: Likewise.
53644 * sunrpc/rpc_thread.c: Likewise.
53645 * sunrpc/rtime.c: Likewise.
53646 * sunrpc/svc.c: Likewise.
53647 * sunrpc/svc_auth.c: Likewise.
53648 * sunrpc/svc_authux.c: Likewise.
53649 * sunrpc/svc_raw.c: Likewise.
53650 * sunrpc/svc_run.c: Likewise.
53651 * sunrpc/svc_simple.c: Likewise.
53652 * sunrpc/svc_tcp.c: Likewise.
53653 * sunrpc/svc_udp.c: Likewise.
53654 * sunrpc/svc_unix.c: Likewise.
53655 * sunrpc/svcauth_des.c: Likewise.
53656 * sunrpc/xcrypt.c: Likewise.
53657 * sunrpc/xdr.c: Likewise.
53658 * sunrpc/xdr_array.c: Likewise.
53659 * sunrpc/xdr_float.c: Likewise.
53660 * sunrpc/xdr_intXX_t.c: Likewise.
53661 * sunrpc/xdr_mem.c: Likewise.
53662 * sunrpc/xdr_rec.c: Likewise.
53663 * sunrpc/xdr_ref.c: Likewise.
53664 * sunrpc/xdr_sizeof.c: Likewise.
53665 * sunrpc/xdr_stdio.c: Likewise.
53666
536672011-04-10 Ulrich Drepper <drepper@gmail.com>
53668
53669 [BZ #12650]
53670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53671 * sysdeps/ia64/dl-tls.h: Likewise.
53672 * sysdeps/powerpc/dl-tls.h: Likewise.
53673 * sysdeps/s390/dl-tls.h: Likewise.
53674 * sysdeps/sh/dl-tls.h: Likewise.
53675 * sysdeps/sparc/dl-tls.h: Likewise.
53676 * sysdeps/x86_64/dl-tls.h: Likewise.
53677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53678
536792011-03-14 Andreas Schwab <schwab@redhat.com>
53680
53681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53682 rpath element also skip the following colon.
53683 (expand_dynamic_string_token): Add is_path parameter and pass
53684 down to DL_DST_REQUIRED and _dl_dst_substitute.
53685 (decompose_rpath): Call expand_dynamic_string_token with
53686 non-zero is_path. Ignore empty rpaths.
53687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53688 with zero is_path.
53689
536902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53691
53692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53693 Make cancelable.
53694
536952011-04-09 Ulrich Drepper <drepper@gmail.com>
53696
53697 [BZ #12655]
53698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53699 Patch by Filipe David Manana <fdmanana@apache.org>.
53700
537012011-04-07 Andreas Schwab <schwab@redhat.com>
53702
53703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53704 Maintain aligned stack.
53705 (CHECK_RSP): Remove unused macro.
53706
537072011-04-03 Ulrich Drepper <drepper@gmail.com>
53708
53709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53711
537122011-04-02 Ulrich Drepper <drepper@gmail.com>
53713
53714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53715
53716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53717
537182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53719
53720 [BZ #12518]
53721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53723 * sysdeps/x86_64/memmove.c: New file.
53724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53725 (memcpy): Renamed to ...
53726 (__new_memcpy): This.
53727 (memcpy): Provide GLIBC_2_14 memcpy.
53728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53729 (memcpy): Provide GLIBC_2_2_5 memcpy.
53730
537312011-04-01 Ulrich Drepper <drepper@gmail.com>
53732
53733 [BZ #12631]
53734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53735
537362011-03-30 Andreas Schwab <schwab@redhat.com>
53737
53738 * misc/syncfs.c: New file.
53739 * misc/Makefile (routines): Add syncfs.
53740 * posix/unistd.h: Declare syncfs.
53741 * sysdeps/unix/syscalls.list: Add syncfs.
53742
537432011-04-01 Andreas Schwab <schwab@redhat.com>
53744
53745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53746 open_by_handle_at.
53747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53754
537552011-04-01 Ulrich Drepper <drepper@gmail.com>
53756
53757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53764
53765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53766 sync_file_range.c with -fexceptions.
53767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53774 sync_file_range as cancellation point
53775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53776 now a wrapper around __call_sync_file_range with cancellation handling.
53777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53779 function name to __call_sync_file_range.
53780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53781 Add call_sync_file_range.
53782
537832011-04-01 Andreas Schwab <schwab@redhat.com>
53784
53785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53786 bits/timex.h.
53787
537882011-04-01 Ulrich Drepper <drepper@gmail.com>
53789
53790 * iconv/iconv.h: Fix typo in comment.
53791 * io/fcntl.h: Likewise.
53792 * libio/stdio.h: Likewise.
53793 * posix/spawn.h: Likewise.
53794 * posix/unistd.h: Likewise.
53795 * stdlib/stdlib.h: Likewise.
53796 * time/time.h: Likewise.
53797 * wcsmbs/wchar.h: Likewise.
53798
53799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53800 open_by_handle): Add.
53801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53803 Augment a few comments.
53804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53810 open_by_handle.
53811
53812 * io/fcntl.h (AT_EMPTY_PATH): Define.
53813
538142011-03-30 Ulrich Drepper <drepper@gmail.com>
53815
53816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53819 to...
53820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53821 * Versions.def: Add GLIBC_2.14.
53822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53823 Export.
53824
538252011-03-22 Ulrich Drepper <drepper@gmail.com>
53826
53827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53828 round counter.
53829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53830
538312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53832
53833 [BZ #12597]
53834 * string/test-strncmp.c (do_page_test): New function.
53835 (check2): Likewise.
53836 (test_main): Call check2.
53837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53838
538392011-03-20 Ulrich Drepper <drepper@gmail.com>
53840
53841 [BZ #12587]
53842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53843 Handle cache information in CPU leaf 4.
53844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53845
538462011-03-18 Ulrich Drepper <drepper@gmail.com>
53847
53848 [BZ #12583]
53849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53850 character representation.
53851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53852
538532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53854
53855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53856 END(__isnan) to END(__isnanf) to match function entry point/label
53857 EALIGN(__isnanf,...).
53858
538592011-03-10 Jakub Jelinek <jakub@redhat.com>
53860
53861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53862
538632011-03-10 Ulrich Drepper <drepper@gmail.com>
53864
53865 [BZ #12510]
53866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53867 copy from the symbol referenced in the relocation to initialize the
53868 used variable.
53869 Patch by Piotr Bury <pbury@goahead.com>.
53870 * elf/Makefile: Add rules to build and tst-unique3.
53871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53872 * elf/tst-unique3.cc: New file.
53873 * elf/tst-unique3.h: New file.
53874 * elf/tst-unique3lib.cc: New file.
53875 * elf/tst-unique3lib2.cc: New file.
53876
53877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53878
538792011-03-10 Mike Frysinger <vapier@gentoo.org>
53880
53881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53883 to _start.
53884
538852011-03-06 Ulrich Drepper <drepper@gmail.com>
53886
53887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53888 to-be-loaded object along a path to loader is ld.so.
53889
538902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53891 Ulrich Drepper <drepper@gmail.com>
53892
53893 * sysdeps/x86_64/memset.S: After aligning destination, code
53894 branches to different locations depending on the value of
53895 misalignment, when multiarch is enabled. Fix this.
53896
538972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53898
53899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53900 Set _x86_64_preferred_memory_instruction for AMD processsors.
53901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53902 Set bit_Prefer_SSE_for_memop for AMD processors.
53903
539042011-03-04 Ulrich Drepper <drepper@gmail.com>
53905
53906 * libio/fmemopen.c (fmemopen): Optimize a bit.
53907
539082011-03-03 Andreas Schwab <schwab@redhat.com>
53909
53910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53911
539122011-03-03 Roland McGrath <roland@redhat.com>
53913
53914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53915
539162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53917
53918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53919 __bzero_ultra1 instead of __memset_ultra1.
53920
539212011-02-23 Andreas Schwab <schwab@redhat.com>
53922 Ulrich Drepper <drepper@gmail.com>
53923
53924 [BZ #12509]
53925 * include/link.h (struct link_map): Add l_orig_initfini.
53926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53927 returning unsuccessfully.
53928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53929 close of a file loaded at startup, restore the original l_initfini
53930 list.
53931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53932 list, store the pointer.
53933 * elf/Makefile ($(objpfx)noload-mem): New rule.
53934 (noload-ENV): Define.
53935 (tests): Add $(objpfx)noload-mem.
53936 * elf/noload.c: Include <memcheck.h>.
53937 (main): Call mtrace. Close all opened handles.
53938
539392011-02-17 Andreas Schwab <schwab@redhat.com>
53940
53941 [BZ #12454]
53942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53943 dependencies are missing.
53944
539452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53946
53947 Fix __if_freereq crash: Unlike the generic version which uses free,
53948 Hurd needs munmap.
53949 * sysdeps/mach/hurd/ifreq.h: New file.
53950
539512011-01-27 Petr Baudis <pasky@suse.cz>
53952 Ulrich Drepper <drepper@gmail.com>
53953
53954 [BZ 12445]#
53955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53956 to extend_alloca().
53957 * stdio-common/bug23.c: New file.
53958 * stdio-common/Makefile (tests): Add bug23.
53959
539602010-09-28 Andreas Schwab <schwab@redhat.com>
53961 Ulrich Drepper <drepper@gmail.com>
53962
53963 [BZ #12489]
53964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53965 before performing relro protection. At old place add assertion
53966 to make sure nothing changed.
53967
539682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53969 Glauber de Oliveira Costa <glommer@gmail.com>
53970
53971 * elf/elf.h: Add new ARM TLS relocs.
53972
539732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53974
53975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53977 cast from r3.
53978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53979 'tests' variable.
53980 * sysdeps/wordsize-64/tst-writev.c: New file.
53981
539822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53983
53984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53986 insns in _dl_start to prevent a TOC reference before relocs are
53987 resolved.
53988
539892011-02-15 Ulrich Drepper <drepper@gmail.com>
53990
53991 [BZ #12469]
53992 * Makeconfig: Remove RANLIB definition.
53993 * Makerules: Don't use RANLIB.
53994 * aclocal.m4: Remove ranlib test.
53995 * configure.in: No need to check for ranlib.
53996 * elf/rtld-Rules: Don't use RANLIB.
53997
539982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53999
54000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54001 protection macro.
54002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54003 inclusion protection macro.
54004
54005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54006 SIGRTMIN and SIGRTMAX and print information in that case only when
54007 SIGRTMIN is defined.
54008
540092011-02-11 Jakub Jelinek <jakub@redhat.com>
54010
54011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54012 arginfo fn returning -1.
54013
54014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54015 and thousands string is zero terminated.
54016
540172011-02-03 Andreas Schwab <schwab@redhat.com>
54018
54019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54020 sysdeps/unix/sysv/linux/bits/socket.h.
54021
540222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54023
54024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54025 (__CPU_COUNT): Remove old macros.
54026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54028 (__CPU_ALLOC, __CPU_FREE): Add macros.
54029 (__sched_cpualloc, __sched_cpufree): Add declarations.
54030
540312011-02-05 Ulrich Drepper <drepper@gmail.com>
54032
54033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54036 (readdhstai): Return value of addhstaiX call.
54037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54038 (addgrbyX): Return value returned by cache_addgr.
54039 (readdgrbyname): Return value returned by addgrbyX.
54040 (readdgrbygid): Likewise.
54041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54042 (addpwbyX): Return value returned by cache_addpw.
54043 (readdpwbyname): Return value returned by addhstbyX.
54044 (readdpwbyuid): Likewise.
54045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54046 (addservbyX): Return value returned by cache_addserv.
54047 (readdservbyname): Return value returned by addservbyX:
54048 (readdservbyport): Likewise.
54049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54050 (addhstbyX): Return value returned by cache_addhst.
54051 (readdhstbyname): Return value returned by addhstbyX.
54052 (readdhstbyaddr): Likewise.
54053 (readdhstbynamev6): Likewise.
54054 (readdhstbyaddrv6): Likewise.
54055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54056 (readdinitgroups): Return value returned by addinitgroupsX.
54057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54058 (prune_cache): Keep track of timeout value of re-added entries.
54059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54060 * nscd/nscd.h: Adjust prototypes of readd* functions.
54061
540622011-02-04 Roland McGrath <roland@redhat.com>
54063
54064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54065 (nis_stats): Likewise.
54066 * nis/nis_modify.c (nis_modify): Likewise.
54067 * nis/nis_remove.c (nis_remove): Likewise.
54068 * nis/nis_add.c (nis_add): Likewise.
54069
54070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54071
54072 * posix/fnmatch_loop.c: Add some consts.
54073
54074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54075
540762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54077
54078 [BZ #12460]
54079 * config.make.in (config-cflags-novzeroupper): Define.
54080 * configure.in: Substitute libc_cv_cc_novzeroupper.
54081 * elf/Makefile (AVX-CFLAGS): Define.
54082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54083 (CFLAGS-tst-auditmod4a.c): Likewise.
54084 (CFLAGS-tst-auditmod4b.c): Likewise.
54085 (CFLAGS-tst-auditmod6b.c): Likewise.
54086 (CFLAGS-tst-auditmod6c.c): Likewise.
54087 (CFLAGS-tst-auditmod7b.c): Likewise.
54088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54089
540902011-02-02 Ulrich Drepper <drepper@gmail.com>
54091
54092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54093 function to the callback.
54094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54095
540962011-02-02 Andreas Schwab <schwab@redhat.com>
54097
54098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54099 of errno.
54100
541012011-01-19 Ulrich Drepper <drepper@gmail.com>
54102
54103 [BZ #11724]
54104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54105 of constructors.
54106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54107 of destructors.
54108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54109
54110 [BZ #11724]
54111 * elf/Makefile: Add rules to build and run new test.
54112 * elf/tst-initorder.c: New file.
54113 * elf/tst-initorder.exp: New file.
54114 * elf/tst-initordera1.c: New file.
54115 * elf/tst-initordera2.c: New file.
54116 * elf/tst-initordera3.c: New file.
54117 * elf/tst-initordera4.c: New file.
54118 * elf/tst-initorderb1.c: New file.
54119 * elf/tst-initorderb2.c: New file.
54120 * elf/tst-order-a1.c: New file.
54121 * elf/tst-order-a2.c: New file.
54122 * elf/tst-order-a3.c: New file.
54123 * elf/tst-order-a4.c: New file.
54124 * elf/tst-order-b1.c: New file.
54125 * elf/tst-order-b2.c: New file.
54126 * elf/tst-order-main.c: New file.
54127 New test case by George Gensure <werkt0@gmail.com>.
54128
541292010-10-01 Andreas Schwab <schwab@redhat.com>
54130
54131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54132 decoding ACE if AI_CANONIDN.
54133
541342011-01-18 Ulrich Drepper <drepper@gmail.com>
54135
54136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54137
541382011-01-17 Ulrich Drepper <drepper@gmail.com>
54139
54140 * version.h (RELEASE): Bump for 2.13 release.
54141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54142
54143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54144
54145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54146 MADV_NOHUGEPAGE.
54147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54153
54154 * posix/getconf.c: Update copyright year.
54155 * catgets/gencat.c: Likewise.
54156 * csu/version.c: Likewise.
54157 * debug/catchsegv.sh: Likewise.
54158 * debug/xtrace.sh: Likewise.
54159 * elf/ldconfig.c: Likewise.
54160 * elf/ldd.bash.in: Likewise.
54161 * elf/sprof.c (print_version): Likewise.
54162 * iconv/iconv_prog.c: Likewise.
54163 * iconv/iconvconfig.c: Likewise.
54164 * locale/programs/locale.c: Likewise.
54165 * locale/programs/localedef.c: Likewise.
54166 * malloc/memusage.sh: Likewise.
54167 * malloc/mtrace.pl: Likewise.
54168 * nscd/nscd.c (print_version): Likewise.
54169 * nss/getent.c: Likewise.
54170
54171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54172 PF_CAIF, and PF_ALG.
54173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54174
541752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54176
54177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54178 (modules-names): Use them.
54179 (ifunc-test-modules, ifunc-pie-tests): Define.
54180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54182 (test-extras): Likewise.
54183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54184 $(compile-command.c).
54185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54186 (all-built-dso): Define.
54187 (check-textrel.out, check-execstack.out): Depend on it.
54188
54189 * configure.in: Don't override --enable-multi-arch.
54190
541912011-01-15 Ulrich Drepper <drepper@gmail.com>
54192
54193 [BZ #6812]
54194 * nscd/hstcache.c (tryagain): Define.
54195 (cache_addhst): Return tryagain not notfound for temporary errors.
54196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54197 failed.
54198
541992011-01-14 Ulrich Drepper <drepper@gmail.com>
54200
54201 [BZ #10563]
54202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54203 to make the syscall.
54204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54205
54206 [BZ #12378]
54207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54208 and fall back to matching as normal character if the string ends before
54209 the matching ']' is found. This is what POSIX requires.
54210 * posix/testfnm.c: Adjust test result.
54211 * posix/globtest.sh: Adjust test result. Add new test.
54212 * posix/tst-fnmatch.input: Likewise.
54213 * posix/tst-fnmatch2.c: Add new test.
54214
542152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54216
54217 * elf/Makefile (check-execstack): Revert last change. Depend on
54218 check-execstack.h.
54219 (check-execstack.h): New target.
54220 (generated): Add check-execstack.h.
54221 * elf/check-execstack.c: Include "check-execstack.h".
54222 (main): Revert last change.
54223 (handle_file): Return zero if GNU_STACK is absent and
54224 DEFAULT_STACK_PERMS doesn't include PF_X.
54225
542262011-01-13 Ulrich Drepper <drepper@gmail.com>
54227
54228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54229 in child fails because the descriptor is already closed.
54230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54233
54234 [BZ #12397]
54235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54236 syscall.
54237
54238 [BZ #10484]
54239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54240 temporary buffer used to handle multi lookups locally.
54241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54242
542432011-01-12 Ulrich Drepper <drepper@gmail.com>
54244
54245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54246 loader is ld.so.
54247
542482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54249
54250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54251 alignment for SSE2.
54252
542532011-01-12 Ulrich Drepper <drepper@gmail.com>
54254
54255 [BZ #12394]
54256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54257 characters. When rounding increased number of integer digits recompute
54258 number of groups.
54259 * stdio-common/tst-grouping.c: New file.
54260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54261
542622011-01-09 Ulrich Drepper <drepper@gmail.com>
54263
54264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54266
54267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54268 void.
54269 * bits/select.h: Likewise.
54270
542712011-01-08 Ulrich Drepper <drepper@gmail.com>
54272
54273 * po/ja.po: Update from translation team.
54274
542752011-01-04 David S. Miller <davem@sunset.davemloft.net>
54276
54277 [BZ #11155]
54278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54279 implementation just like for lxstat, fxstatat, et al.
54280
542812010-12-27 Jim Meyering <meyering@redhat.com>
54282
54283 [BZ #12348]
54284 * posix/regexec.c (build_trtable): Return failure indication upon
54285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54286
542872010-12-25 Ulrich Drepper <drepper@gmail.com>
54288
54289 [BZ #12201]
54290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54294
54295 [BZ #12207]
54296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54297
54298 [BZ #12204]
54299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54301
543022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54303
54304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54306 script has SORT_BY_INIT_PRIORITY.
54307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54308 NO_CTORS_DTORS_SECTIONS is defined.
54309 * elf/soinit.c: Likewise.
54310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54311 NO_CTORS_DTORS_SECTIONS is defined.
54312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54314 * sysdeps/sh/init-first.c: Likewise.
54315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54316
543172010-12-24 Ulrich Drepper <drepper@gmail.com>
54318
54319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54320 always use the slow path.
54321
543222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54323
54324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54325 similar rule which adds the sysdep directories to the header search in
54326 order to pick up the correct platform stackinfo.h.
54327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54328 perform test if it is, otherwise return successfully without testing.
54329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54330 DEFAULT_STACK_PERMS define in stackinfo.h.
54331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54332 defined in stackinfo.h.
54333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54334 DEFAULT_STACK_PERMS defined in stackinfo.h.
54335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54336 * sysdeps/ia64/stackinfo.h: Likewise.
54337 * sysdeps/s390/stackinfo.h: Likewise.
54338 * sysdeps/sh/stackinfo.h: Likewise.
54339 * sysdeps/sparc/stackinfo.h: Likewise.
54340 * sysdeps/x86_64/stackinfo.h: Likewise.
54341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54342 PF_X for powerpc64. Retain PF_X for powerpc32.
54343
543442010-12-19 Ulrich Drepper <drepper@gmail.com>
54345
54346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54347 accurately.
54348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54349 GETDENTS_64BIT_ALIGNED.
54350
543512010-12-14 Ulrich Drepper <dreper@gmail.com>
54352
54353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54354
543552010-12-10 Andreas Schwab <schwab@redhat.com>
54356
54357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54358 _GNU_SOURCE.
54359
54360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54362 Remove __restrict.
54363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54365
543662010-12-09 Ulrich Drepper <drepper@gmail.com>
54367
54368 [BZ #11655]
54369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54370 are initialized.
54371
543722010-12-09 Jakub Jelinek <jakub@redhat.com>
54373
54374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54375
543762010-12-03 Ulrich Drepper <drepper@gmail.com>
54377
54378 * po/it.po: Update from translation team.
54379
543802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54381
54382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54383 unused codes.
54384
543852010-11-30 Ulrich Drepper <drepper@gmail.com>
54386
54387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54388
543892010-11-24 Andreas Schwab <schwab@redhat.com>
54390
54391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54392 specially.
54393 (gaih_getanswer_slice): Likewise.
54394
543952010-10-20 Jakub Jelinek <jakub@redhat.com>
54396
54397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54398
543992010-05-31 Petr Baudis <pasky@suse.cz>
54400
54401 [BZ #11149]
54402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54403 silently even in the chroot mode.
54404
544052010-11-22 Ulrich Drepper <drepper@gmail.com>
54406
54407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54408 last patch a bit. Pretty printing
54409
544102010-05-31 Petr Baudis <pasky@suse.cz>
54411
54412 [BZ #10085]
54413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54414 initialization of skip_initgroups_dyn.
54415
544162010-11-19 Ulrich Drepper <drepper@gmail.com>
54417
54418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54420
544212010-11-16 Ulrich Drepper <drepper@gmail.com>
54422
54423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54424
544252010-11-11 Andreas Schwab <schwab@redhat.com>
54426
54427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54430 ($(objpfx)tst-fnmatch-mem): New rule.
54431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54432 * posix/tst-fnmatch.c (main): Call mtrace.
54433
544342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54435
54436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54437 Support Intel processor model 6 and model 0x2c.
54438
544392010-11-10 Luis Machado <luisgpm@br.ibm.com>
54440
54441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54442 signed comparison.
54443
544442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54445
54446 [BZ #12205]
54447 * string/test-strncasecmp.c (check_result): New function.
54448 (do_one_test): Use it.
54449 (check1): New function.
54450 (test_main): Use it.
54451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54452 Support strcasecmp and strncasecmp.
54453
544542010-11-08 Ulrich Drepper <drepper@gmail.com>
54455
54456 [BZ #12194]
54457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54459
544602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54461
54462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54463 IFUNC support.
54464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54465 memset-x86-64.
54466 * sysdeps/x86_64/multiarch/bzero.S: New file.
54467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54469 * sysdeps/x86_64/multiarch/memset.S: New file.
54470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54472 Set bit_Prefer_SSE_for_memop for Intel processors.
54473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54474 Define.
54475 (index_Prefer_SSE_for_memop): Define.
54476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54477
544782010-11-04 Luis Machado <luisgpm@br.ibm.com>
54479
54480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54482
544832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54484
54485 [BZ #12191]
54486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54487 (__x86_64_raw_data_cache_size_half): Likewise.
54488 (__x86_64_raw_shared_cache_size): Likewise.
54489 (__x86_64_raw_shared_cache_size_half): Likewise.
54490
54491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54492 (__x86_64_raw_data_cache_size_half): Likewise.
54493 (__x86_64_raw_shared_cache_size): Likewise.
54494 (__x86_64_raw_shared_cache_size_half): Likewise.
54495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54497 and __x86_64_raw_shared_cache_size_half. Round
54498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54500 to multiple of 256 bytes.
54501
545022010-11-03 Ulrich Drepper <drepper@gmail.com>
54503
54504 [BZ #12167]
54505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54506 of inacessible symlinks. Verify result of symlink before returning it.
54507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54509
545102010-10-28 Erich Ritz <erichritz@gmail.com>
54511
54512 * math/math.h (isinf): Fix typo in comment.
54513
545142010-11-01 Ulrich Drepper <drepper@gmail.com>
54515
54516 * po/da.po: Update from translation team.
54517
545182010-10-26 Ulrich Drepper <drepper@gmail.com>
54519
54520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54521 is added to the list.
54522
545232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54524 Ulrich Drepper <drepper@gmail.com>
54525
54526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54527 the global list here. Move code to...
54528 (_dl_add_to_namespace_list): ...here. New function.
54529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54531 * elf/dl-load.c (lose): Don't remove the element from the list.
54532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54533 (_dl_map_object): Likewise.
54534
545352010-10-25 Ulrich Drepper <drepper@gmail.com>
54536
54537 [BZ #12159]
54538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54539 into all bytes of SSE register.
54540 Patch by Richard Li <richardpku@gmail.com>.
54541
545422010-10-24 Ulrich Drepper <drepper@gmail.com>
54543
54544 [BZ #12140]
54545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54546 perturbing.
54547
545482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54549
54550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54555 submachine.
54556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54557
545582010-10-22 Andreas Schwab <schwab@redhat.com>
54559
54560 * include/dlfcn.h (__RTLD_SECURE): Define.
54561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54562 mode & __RTLD_SECURE instead.
54563 (open_path): Rename preloaded parameter to secure.
54564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54566 * elf/dl-deps.c (openaux): Likewise.
54567 * elf/rtld.c (struct map_args): Remove is_preloaded.
54568 (map_doit): Don't use it.
54569 (dl_main): Likewise.
54570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54572
545732010-09-09 Andreas Schwab <schwab@redhat.com>
54574
54575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54576 (sysd-rules-targets): Remove duplicates.
54577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54578 rtld-%.$o dependency.
54579
545802010-10-18 Andreas Schwab <schwab@redhat.com>
54581
54582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54583 _dl_map_object do it.
54584
545852010-10-19 Ulrich Drepper <drepper@gmail.com>
54586
54587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54588 fast fma builtins, define the macros in the C99 standard.
54589 (FP_FAST_FMAF): Likewise.
54590 (FP_FAST_FMAL): Likewise.
54591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54592
54593 * bits/mathdef.h: Update copyright year.
54594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54595
545962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54597
54598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54599 builtins, define the macros in the C99 standard.
54600 (FP_FAST_FMAF): Likewise.
54601 (FP_FAST_FMAL): Likewise.
54602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54603 multiply/add.
54604 (FP_FAST_FMAF): Likewise.
54605
546062010-10-15 Jakub Jelinek <jakub@redhat.com>
54607
54608 [BZ #3268]
54609 * math/libm-test.inc (fma_test): Some new testcases.
54610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54612 y and infinite z. Do multiplication by C already in long double.
54613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54615 y and infinite z. Do bitwise or of inexact bit into u.d.
54616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54618 * sysdeps/i386/fpu/s_fma.S: Removed.
54619 * sysdeps/i386/fpu/s_fmal.S: Removed.
54620
546212010-10-16 Jakub Jelinek <jakub@redhat.com>
54622
54623 [BZ #3268]
54624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54626 computation is not scheduled after fetestexcept. Fix value
54627 of minimum denormal long double.
54628
546292010-10-14 Jakub Jelinek <jakub@redhat.com>
54630
54631 [BZ #3268]
54632 * math/libm-test.inc (fma_test): Add some more tests.
54633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54634 correctly.
54635
546362010-10-15 Andreas Schwab <schwab@redhat.com>
54637
54638 * scripts/data/localplt-s390-linux-gnu.data: New file.
54639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54640
546412010-10-13 Jakub Jelinek <jakub@redhat.com>
54642
54643 [BZ #3268]
54644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54646 instead of dbl-64.
54647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54648 inlines.
54649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54651 if one of x and y is very large and the other is subnormal.
54652 * sysdeps/s390/fpu/s_fmaf.c: New file.
54653 * sysdeps/s390/fpu/s_fma.c: New file.
54654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54655 * sysdeps/powerpc/fpu/s_fma.S: New file.
54656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54659
546602010-10-12 Jakub Jelinek <jakub@redhat.com>
54661
54662 [BZ #3268]
54663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54664 fma tests.
54665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54672
546732010-10-12 Ulrich Drepper <drepper@redhat.com>
54674
54675 [BZ #12078]
54676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54677 * posix/bug-regex31.input: Add test case.
54678
546792010-10-11 Ulrich Drepper <drepper@gmail.com>
54680
54681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54682 * posix/bug-regex31.input: New file.
54683
54684 [BZ #12078]
54685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54686 (parse_sub_exp): Fix last change, use postorder.
54687
54688 * posix/bug-regex31.c: New file.
54689 * posix/Makefile: Add rules to build and run bug-regex31.
54690
54691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54692
54693 [BZ #12078]
54694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54695
54696 [BZ #12108]
54697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54698 to have entries in sys_siglist.
54699
54700 [BZ #12093]
54701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54702 be NULL.
54703
547042010-10-07 Jakub Jelinek <jakub@redhat.com>
54705
54706 [BZ #3268]
54707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54720 * math/ftestexcept.c (fetestexcept): Likewise.
54721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54728
547292010-10-11 Ulrich Drepper <drepper@gmail.com>
54730
54731 [BZ #12107]
54732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54733 newline.
54734
547352010-10-06 Ulrich Drepper <drepper@gmail.com>
54736
54737 * string/bug-strstr1.c: New file.
54738 * string/Makefile: Add rules to build and run bug-strstr1.
54739
547402010-10-05 Eric Blake <eblake@redhat.com>
54741
54742 [BZ #12092]
54743 * string/str-two-way.h (two_way_long_needle): Always clear memory
54744 when skipping input due to the shift table.
54745
547462010-10-03 Ulrich Drepper <drepper@gmail.com>
54747
54748 [BZ #12005]
54749 * malloc/mcheck.c: Handle large requests.
54750
54751 [BZ #12077]
54752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54753 for strncmp and strncasecmp.
54754 * string/stratcliff.c: Add tests for strcmp and strncmp.
54755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54756
547572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54758
54759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54760 __set_fpscr.
54761
547622010-09-30 Andreas Jaeger <aj@suse.de>
54763
54764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54765 (CGROUP_SUPER_MAGIC): Define.
54766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54767 Handle btrfs and cgroup file systems.
54768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54769 Likewise.
54770
547712010-09-27 Luis Machado <luisgpm@br.ibm.com>
54772
54773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54775
547762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54777
54778 [BZ #12067]
54779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54780 trying to locate the ELF header.
54781
547822010-09-27 Andreas Schwab <schwab@redhat.com>
54783
54784 [BZ #11611]
54785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54786 Mask out sign-bit copies when constructing f_fsid.
54787
547882010-09-24 Petr Baudis <pasky@suse.cz>
54789
54790 * debug/stack_chk_fail_local.c: Add missing licence exception.
54791 * debug/warning-nop.c: Likewise.
54792
547932010-09-15 Joseph Myers <joseph@codesourcery.com>
54794
54795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54796 implementing getdents64 using getdents syscall, set d_type if
54797 __ASSUME_GETDENTS32_D_TYPE.
54798
547992010-09-16 Andreas Schwab <schwab@redhat.com>
54800
54801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54803
548042010-09-21 Ulrich Drepper <drepper@redhat.com>
54805
54806 [BZ #12037]
54807 * posix/unistd.h: Undo change of feature selection for ftruncate from
54808 2010-01-11.
54809
548102010-09-20 Ulrich Drepper <drepper@redhat.com>
54811
54812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54813 detection.
54814
548152010-09-20 Andreas Schwab <schwab@redhat.com>
54816
54817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54818 fanotify_mark.
54819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54820
548212010-09-14 Andreas Schwab <schwab@redhat.com>
54822
54823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54824 variables after CHECK_SP call.
54825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54826
548272010-09-13 Andreas Schwab <schwab@redhat.com>
54828 Ulrich Drepper <drepper@redhat.com>
54829
54830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54831 re-relocationg ld.so.
54832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54833 _dl_init_paths call.
54834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54835 here anymore.
54836
548372010-09-14 Ulrich Drepper <drepper@redhat.com>
54838
54839 * resolv/res_init.c (__res_vinit): Count the default server we added.
54840
548412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54842 Ulrich Drepper <drepper@redhat.com>
54843
54844 [BZ #11968]
54845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54846 (____longjmp_chk): Use %ebx for saving value across system call.
54847 Add unwind info.
54848
548492010-09-06 Andreas Schwab <schwab@redhat.com>
54850
54851 * manual/Makefile: Don't mix pattern rules with normal rules.
54852
548532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54854
54855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54856 operation.
54857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54862 Likewise.
54863
548642010-09-04 Ulrich Drepper <drepper@redhat.com>
54865
54866 [BZ #11979]
54867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54869
548702010-09-02 Ulrich Drepper <drepper@redhat.com>
54871
54872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54873 * sysdeps/x86_64/addmul_1.S: Likewise.
54874 * sysdeps/x86_64/lshift.S: Likewise.
54875 * sysdeps/x86_64/mul_1.S: Likewise.
54876 * sysdeps/x86_64/rshift.S: Likewise.
54877 * sysdeps/x86_64/sub_n.S: Likewise.
54878 * sysdeps/x86_64/submul_1.S: Likewise.
54879
548802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54881
54882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54883 Define __sched_param instead of SCHED_* and sched_param when
54884 <bits/sched.h> is included with __need_schedparam defined.
54885 * bits/sched.h [__need_schedparam]
54886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54888 (__defined_schedparam): Define to 1.
54889 (__sched_param): New structure, identical to sched_param.
54890 (__need_schedparam): Undefine.
54891
548922010-08-31 Mike Frysinger <vapier@gentoo.org>
54893
54894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54895 (epoll_create1): Declare.
54896
54897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54898
548992010-08-31 Andreas Schwab <schwab@redhat.com>
54900
54901 [BZ #7066]
54902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54903 shifting retval into place.
54904
549052010-09-01 Ulrich Drepper <drepper@redhat.com>
54906
54907 * nis/rpcsvc/nis.h: Update copyright notice.
54908 * nis/rpcsvc/nis.x: Likewise.
54909 * nis/rpcsvc/nis_callback.h: Likewise.
54910 * nis/rpcsvc/nis_callback.x: Likewise.
54911 * nis/rpcsvc/nis_object.x: Likewise.
54912 * nis/rpcsvc/nis_tags.h: Likewise.
54913 * nis/rpcsvc/yp.h: Likewise.
54914 * nis/rpcsvc/yp.x: Likewise.
54915 * nis/rpcsvc/ypupd.h: Likewise.
54916 * nis/yp_xdr.c: Likewise.
54917 * nis/ypupdate_xdr.c: Likewise.
54918
54919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54920 mainly the body of pmap_getport. Add parameters to specify timeouts.
54921 (pmap_getport): Use __libc_rpc_getport.
54922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54925
549262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54927
54928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54929 fanotify_mark.
54930
549312010-08-27 Roland McGrath <roland@redhat.com>
54932
54933 * sysdeps/i386/i686/multiarch/Makefile
54934 (CFLAGS-varshift.c): New variable.
54935
549362010-08-27 Ulrich Drepper <drepper@redhat.com>
54937
54938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54940
54941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54942
54943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54944
549452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54946
54947 * sysdeps/x86_64/strlen.S: Unroll the loop.
54948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54949 strlen-sse2 strlen-sse2-bsf.
54950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54951 __strlen_no_bsf if bit_Slow_BSF is set.
54952 (__strlen_sse42): Removed.
54953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54955
549562010-08-25 Roland McGrath <roland@redhat.com>
54957
54958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54959 * sysdeps/x86_64/multiarch/varshift.c: New file.
54960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54964
549652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54966
54967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54968 strlen-sse2 strlen-sse2-bsf.
54969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54971 (__strlen_sse2): Removed.
54972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54975 bit_Slow_BSF for Atom.
54976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54977 (index_Slow_BSF): Define.
54978 (HAS_SLOW_BSF): Define.
54979
549802010-08-25 Ulrich Drepper <drepper@redhat.com>
54981
54982 [BZ #10851]
54983 * resolv/res_init.c (__res_vinit): When no server address at all
54984 is given default to loopback.
54985
549862010-08-24 Roland McGrath <roland@redhat.com>
54987
54988 * configure.in: Remove config-name.h generation.
54989 * configure: Regenerated.
54990 * config-name.in: File removed.
54991 * scripts/config-uname.sh: New file.
54992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54993 ($(objdir)config-name.h): New target.
54994
54995 * sunrpc/rpc_parse.h: Avoid nested comment.
54996
549972010-08-24 Richard Henderson <rth@redhat.com>
54998 Ulrich Drepper <drepper@redhat.com>
54999 H.J. Lu <hongjiu.lu@intel.com>
55000
55001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55005 _mm_alignr_epi8 with _mm_loadu_si128.
55006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55008 (__m128i_shift_right): Removed.
55009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55011 * sysdeps/x86_64/multiarch/varshift.h: New file.
55012 * sysdeps/x86_64/multiarch/varshift.S: New file.
55013
550142010-08-21 Mike Frysinger <vapier@gentoo.org>
55015
55016 * configure.in: Move assembler checks to before sysdep dir checking.
55017
550182010-08-20 Petr Baudis <pasky@suse.cz>
55019
55020 * LICENSES: Sync the sunrpc license.
55021
550222010-08-19 Ulrich Drepper <drepper@redhat.com>
55023
55024 * sunrpc/auth_des.c: Update copyright notice once again.
55025 * sunrpc/auth_none.c: Likewise.
55026 * sunrpc/auth_unix.c: Likewise.
55027 * sunrpc/authdes_prot.c: Likewise.
55028 * sunrpc/authuxprot.c: Likewise.
55029 * sunrpc/bindrsvprt.c: Likewise.
55030 * sunrpc/clnt_gen.c: Likewise.
55031 * sunrpc/clnt_perr.c: Likewise.
55032 * sunrpc/clnt_raw.c: Likewise.
55033 * sunrpc/clnt_simp.c: Likewise.
55034 * sunrpc/clnt_tcp.c: Likewise.
55035 * sunrpc/clnt_udp.c: Likewise.
55036 * sunrpc/clnt_unix.c: Likewise.
55037 * sunrpc/des_crypt.c: Likewise.
55038 * sunrpc/des_soft.c: Likewise.
55039 * sunrpc/get_myaddr.c: Likewise.
55040 * sunrpc/getrpcport.c: Likewise.
55041 * sunrpc/key_call.c: Likewise.
55042 * sunrpc/key_prot.c: Likewise.
55043 * sunrpc/openchild.c: Likewise.
55044 * sunrpc/pm_getmaps.c: Likewise.
55045 * sunrpc/pm_getport.c: Likewise.
55046 * sunrpc/pmap_clnt.c: Likewise.
55047 * sunrpc/pmap_prot.c: Likewise.
55048 * sunrpc/pmap_prot2.c: Likewise.
55049 * sunrpc/pmap_rmt.c: Likewise.
55050 * sunrpc/rpc/auth.h: Likewise.
55051 * sunrpc/rpc/auth_unix.h: Likewise.
55052 * sunrpc/rpc/clnt.h: Likewise.
55053 * sunrpc/rpc/des_crypt.h: Likewise.
55054 * sunrpc/rpc/key_prot.h: Likewise.
55055 * sunrpc/rpc/netdb.h: Likewise.
55056 * sunrpc/rpc/pmap_clnt.h: Likewise.
55057 * sunrpc/rpc/pmap_prot.h: Likewise.
55058 * sunrpc/rpc/pmap_rmt.h: Likewise.
55059 * sunrpc/rpc/rpc.h: Likewise.
55060 * sunrpc/rpc/rpc_des.h: Likewise.
55061 * sunrpc/rpc/rpc_msg.h: Likewise.
55062 * sunrpc/rpc/svc.h: Likewise.
55063 * sunrpc/rpc/svc_auth.h: Likewise.
55064 * sunrpc/rpc/types.h: Likewise.
55065 * sunrpc/rpc/xdr.h: Likewise.
55066 * sunrpc/rpc_clntout.c: Likewise.
55067 * sunrpc/rpc_cmsg.c: Likewise.
55068 * sunrpc/rpc_common.c: Likewise.
55069 * sunrpc/rpc_cout.c: Likewise.
55070 * sunrpc/rpc_dtable.c: Likewise.
55071 * sunrpc/rpc_hout.c: Likewise.
55072 * sunrpc/rpc_main.c: Likewise.
55073 * sunrpc/rpc_parse.c: Likewise.
55074 * sunrpc/rpc_parse.h: Likewise.
55075 * sunrpc/rpc_prot.c: Likewise.
55076 * sunrpc/rpc_sample.c: Likewise.
55077 * sunrpc/rpc_scan.c: Likewise.
55078 * sunrpc/rpc_scan.h: Likewise.
55079 * sunrpc/rpc_svcout.c: Likewise.
55080 * sunrpc/rpc_tblout.c: Likewise.
55081 * sunrpc/rpc_util.c: Likewise.
55082 * sunrpc/rpc_util.h: Likewise.
55083 * sunrpc/rpcinfo.c: Likewise.
55084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55085 * sunrpc/rpcsvc/key_prot.x: Likewise.
55086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55087 * sunrpc/rpcsvc/mount.x: Likewise.
55088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55090 * sunrpc/rpcsvc/rex.x: Likewise.
55091 * sunrpc/rpcsvc/rstat.x: Likewise.
55092 * sunrpc/rpcsvc/rusers.x: Likewise.
55093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55094 * sunrpc/rpcsvc/spray.x: Likewise.
55095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55096 * sunrpc/rtime.c: Likewise.
55097 * sunrpc/svc.c: Likewise.
55098 * sunrpc/svc_auth.c: Likewise.
55099 * sunrpc/svc_authux.c: Likewise.
55100 * sunrpc/svc_raw.c: Likewise.
55101 * sunrpc/svc_run.c: Likewise.
55102 * sunrpc/svc_simple.c: Likewise.
55103 * sunrpc/svc_tcp.c: Likewise.
55104 * sunrpc/svc_udp.c: Likewise.
55105 * sunrpc/svc_unix.c: Likewise.
55106 * sunrpc/svcauth_des.c: Likewise.
55107 * sunrpc/xcrypt.c: Likewise.
55108 * sunrpc/xdr.c: Likewise.
55109 * sunrpc/xdr_array.c: Likewise.
55110 * sunrpc/xdr_float.c: Likewise.
55111 * sunrpc/xdr_mem.c: Likewise.
55112 * sunrpc/xdr_rec.c: Likewise.
55113 * sunrpc/xdr_ref.c: Likewise.
55114 * sunrpc/xdr_sizeof.c: Likewise.
55115 * sunrpc/xdr_stdio.c: Likewise.
55116
55117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55118 handling.
55119
551202010-08-19 Andreas Schwab <schwab@redhat.com>
55121
55122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55123
551242010-08-19 Luis Machado <luisgpm@br.ibm.com>
55125
55126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55140
551412010-07-26 Anton Blanchard <anton@samba.org>
55142
55143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55144 * malloc/arena.c (heap_trim): Likewise.
55145
551462010-08-16 Ulrich Drepper <drepper@redhat.com>
55147
55148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55149 here. Not...
55150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55152
551532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55154
55155 * sysdeps/i386/elf/Makefile: New file.
55156
551572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55158
55159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55160 from fanotify_init.
55161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55163
551642010-08-15 Ulrich Drepper <drepper@redhat.com>
55165
55166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55167 of strncasecmp_l.
55168 * sysdeps/multiarch/strcmp.S: Likewise.
55169
551702010-08-14 Ulrich Drepper <drepper@redhat.com>
55171
55172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55173 strncase_l-nonascii.
55174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55175 Add strncase_l-ssse3.
55176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55177 * sysdeps/x86_64/strcmp.S: Likewise.
55178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55180 * sysdeps/x86_64/strncase.S: New file.
55181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55182 * sysdeps/x86_64/strncase_l.S: New file.
55183 * string/Makefile (strop-tests): Add strncasecmp.
55184 * string/test-strncasecmp.c: New file.
55185
55186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55187 warning.
55188
55189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55191
551922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55193
55194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55195
551962010-08-12 Ulrich Drepper <drepper@redhat.com>
55197
55198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55201
552022010-05-01 Alan Modra <amodra@gmail.com>
55203
55204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55209 tidying. Don't tail-call __sigjmp_save for static lib.
55210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55211 save location.
55212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55213 (CALL_MCOUNT): Add eh info, and nop after bl.
55214 (TAIL_CALL_SYSCALL_ERROR): New macro.
55215 (PSEUDO_RET): Use it.
55216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55217 Correct save location of integer regs and cr.
55218 (_dl_profile_resolve): Correct cr save location. Delete nops
55219 after bl when SHARED. Reduce cfi size a little by better
55220 placement of cfi directives.
55221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55222 make a stack frame. Instead use parm save area as a temp.
55223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55226 Don't make a stack frame for parent, use parm save area.
55227 Increase child stack frame to 112 bytes. Don't save unused reg,
55228 and adjust reg usage. Set up cfi on error recovery and
55229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55231 (__makecontext): Add dummy nop after jump to exit.
55232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55233 Use correct parm save area and cr save, reduce stack frame.
55234 Correct cfi for possible PSEUDO_RET frame setup.
55235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55236 Branch to local label emitted by PSEUDO_RET rather than
55237 __syscall_error.
55238
552392010-08-12 Andreas Schwab <schwab@redhat.com>
55240
55241 [BZ #11904]
55242 * locale/programs/locale.c (print_assignment): New function.
55243 (show_locale_vars): Use it.
55244
552452010-08-11 Ulrich Drepper <drepper@redhat.com>
55246
55247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55248 field.
55249 (struct statfs64): Likewise.
55250 (_STATFS_F_FLAGS): Define.
55251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55254 (ST_VALID): Define locally.
55255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55256 __statvfs_getflags, use the provided value.
55257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55258 __ASSUME_STATFS_F_FLAGS.
55259
55260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55261
55262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55263 Add sys/fanotify.h.
55264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55265 fanotify_mask for GLIBC_2.13.
55266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55267 fanotify_init and fanotify_mark.
55268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55270
55271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55272 Add prlimit.
55273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55274 prlimit64 for GLIBC_2.13.
55275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55276 prlimit64.
55277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55278 syscall.
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55284 add prlimit alias.
55285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55286
55287 [BZ #11903]
55288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55290
55291 * nss/Makefile: Add rules to build and run tst-nss-test1.
55292 * shlib-versions: Add entry for libnss_test1.
55293 * nss/nss_test1.c: New file.
55294 * nss/tst-nss-test1.c: New file.
55295
55296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55297 (__nss_configure_lookup): Set appropriate entry in
55298 __nss_configure_lookup to true.
55299 * nss/nsswitch.h: Define enum with indeces of databases in
55300 databases and __nss_database_custom arrays. Declare
55301 __nss_database_custom.
55302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55303 to avoid using nscd when custom rules are installed.
55304 * nss/getXXbyYY_r.c: Likewise.
55305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55306
55307 * nss/nss_files/files-parse.c: Whitespace fixes.
55308
553092010-08-09 Ulrich Drepper <drepper@redhat.com>
55310
55311 [BZ #11883]
55312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55313 * posix/fnmatch_loop.c: Likewise.
55314
553152010-07-17 Andi Kleen <ak@linux.intel.com>
55316
55317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55320 * Versions.def [GLIBC_2.13]: Add.
55321
553222010-08-06 Ulrich Drepper <drepper@redhat.com>
55323
55324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55325 Also fail if tpwd after pwuid call is NULL.
55326
553272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55328
55329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55330 when converting to ms.
55331
553322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55333
55334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55335 EOPNOTSUPP errors with ENOTTY.
55336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55337 EOPNOTSUPP errors with ENOTTY.
55338
553392010-07-31 Ulrich Drepper <drepper@redhat.com>
55340
55341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55342 Add strcasecmp_l-ssse3.
55343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55344 strcasecmp.
55345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55348
553492010-07-30 Ulrich Drepper <drepper@redhat.com>
55350
55351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55352
55353 * string/Makefile (strop-tests): Add strcasecmp.
55354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55355 strcasecmp_l-nonascii.
55356 (gen-as-const-headers): Add locale-defines.sym.
55357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55358 * sysdeps/x86_64/strcasecmp.S: New file.
55359 * sysdeps/x86_64/strcasecmp_l.S: New file.
55360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55361 * sysdeps/x86_64/locale-defines.sym: New file.
55362 * string/test-strcasecmp.c: New file.
55363
55364 * string/test-strcasestr.c: Test both ends of the range of characters.
55365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55366
553672010-07-29 Roland McGrath <roland@redhat.com>
55368
55369 [BZ #11856]
55370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55371
553722010-07-27 Ulrich Drepper <drepper@redhat.com>
55373
55374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55375 for ld.so.
55376
553772010-07-27 Andreas Schwab <schwab@redhat.com>
55378
55379 * manual/memory.texi (Malloc Tunable Parameters): Document
55380 M_PERTURB.
55381
553822010-07-26 Roland McGrath <roland@redhat.com>
55383
55384 [BZ #11840]
55385 * configure.in (-fgnu89-inline check): Set and substitute
55386 gnu89_inline, not libc_cv_gnu89_inline.
55387 * configure: Regenerated.
55388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55389
553902010-07-26 Ulrich Drepper <drepper@redhat.com>
55391
55392 * string/test-strnlen.c: New file.
55393 * string/Makefile (strop-tests): Add strnlen.
55394 * string/tester.c (test_strnlen): Add a few more test cases.
55395 * string/tst-strlen.c: Better error reporting.
55396
55397 * sysdeps/x86_64/strnlen.S: New file.
55398
553992010-07-24 Ulrich Drepper <drepper@redhat.com>
55400
55401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55402 lower-latency instructions.
55403
554042010-07-23 Ulrich Drepper <drepper@redhat.com>
55405
55406 * string/test-strcasestr.c: New file.
55407 * string/test-strstr.c: New file.
55408 * string/Makefile (strop-tests): Add strstr and strcasestr.
55409 * string/str-two-way.h: Don't undefine MAX.
55410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55411
554122010-07-21 Andreas Schwab <schwab@redhat.com>
55413
55414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55415 strcasestr-nonascii.
55416 (CFLAGS-strcasestr-nonascii.c): Define.
55417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55419 Remove unused attribute.
55420
554212010-07-20 Roland McGrath <roland@redhat.com>
55422
55423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55425 ld.so.cache was broken. With it, there is no way to disable dsocaps
55426 like LD_HWCAP_MASK can disable hwcaps.
55427
554282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55429
55430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55431
554322010-07-16 Ulrich Drepper <drepper@redhat.com>
55433
55434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55435 call in strcasestr.
55436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55437 __strcasestr_sse42_nonascii.
55438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55439 strcasestr-nonascii.c.
55440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55441
554422010-06-15 Luis Machado <luisgpm@br.ibm.com>
55443
55444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55448
554492010-07-09 Ulrich Drepper <drepper@redhat.com>
55450
55451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55452 fcntl.
55453
554542010-07-06 Andreas Schwab <schwab@redhat.com>
55455
55456 [BZ #11577]
55457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55458 dl_signal_cerror.
55459
554602010-07-06 Ulrich Drepper <drepper@redhat.com>
55461
55462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55463 _PC_PIPE_BUF using F_GETPIPE_SZ.
55464
554652010-07-05 Roland McGrath <roland@redhat.com>
55466
55467 * manual/arith.texi (Rounding Functions): Fix rint description
55468 implicit in round description.
55469
554702010-07-02 Ulrich Drepper <drepper@redhat.com>
55471
55472 * elf/Makefile: Fix linking for a few tests to make recent linker
55473 happy.
55474
554752010-06-30 Andreas Schwab <schwab@redhat.com>
55476
55477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55478 $(common-objpfx)libc_nonshared.a.
55479
554802010-06-21 Luis Machado <luisgpm@br.ibm.com>
55481
55482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55530
555312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55532
55533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55535 * string/memmove.c (memmove): Renamed to ...
55536 (MEMMOVE): ...this. Default to memmove.
55537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55539 (END_CHK): Define.
55540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55542 mempcpy-ssse3-back memmove-ssse3-back.
55543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55550 * sysdeps/x86_64/multiarch/memmove.c: New file.
55551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55557 Define.
55558 (index_Fast_Copy_Backward): Define.
55559 (HAS_ARCH_FEATURE): Define.
55560 (HAS_FAST_REP_STRING): Define.
55561 (HAS_FAST_COPY_BACKWARD): Define.
55562
555632010-06-21 Andreas Schwab <schwab@redhat.com>
55564
55565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55566 Restore proper fallback handling.
55567
555682010-06-19 Ulrich Drepper <drepper@redhat.com>
55569
55570 [BZ #11701]
55571 * posix/group_member.c (__group_member): Correct checking loop.
55572
55573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55574 OOM in getpwuid_r correctly. Return error number when the caller
55575 should return, otherwise -1.
55576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55577 call returning > 0 value.
55578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55579
555802010-06-07 Andreas Schwab <schwab@redhat.com>
55581
55582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55583 libc_nonshared.a from targets in modules-names.
55584
555852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55586
55587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55588 requires it.
55589
555902010-06-10 Luis Machado <luisgpm@br.ibm.com>
55591
55592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55596
555972010-06-02 Andreas Schwab <schwab@redhat.com>
55598
55599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55600
556012010-06-14 Ulrich Drepper <drepper@redhat.com>
55602
55603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55604 and F_GETPIPE_SZ.
55605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55611
556122010-06-14 Roland McGrath <roland@redhat.com>
55613
55614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55615
556162010-06-07 Jakub Jelinek <jakub@redhat.com>
55617
55618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55619 __REDIRECT followed by __THROW.
55620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55621 * posix/getopt.h (getopt): Likewise.
55622
556232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55624
55625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55628 in AT_FLAGS.
55629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55631
556322010-05-28 Luis Machado <luisgpm@br.ibm.com>
55633
55634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55635
556362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55637
55638 [BZ #11640]
55639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55640 Properly check family and model.
55641
556422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55643
55644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55645
556462010-05-24 Luis Machado <luisgpm@br.ibm.com>
55647
55648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55649
556502010-05-21 Ulrich Drepper <drepper@redhat.com>
55651
55652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55653 symbol reference.
55654
556552010-05-19 Andreas Schwab <schwab@redhat.com>
55656
55657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55658 symbol reference.
55659
556602010-05-21 Andreas Schwab <schwab@redhat.com>
55661
55662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55663 and internal_recvmmsg.
55664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55668
55669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55672
556732010-05-20 Andreas Schwab <schwab@redhat.com>
55674
55675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55676
556772010-05-17 Luis Machado <luisgpm@br.ibm.com>
55678
55679 POWER7 optimizations.
55680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55682
556832010-05-19 Ulrich Drepper <drepper@redhat.com>
55684
55685 * version.h: Update for 2.13 development version.
55686
556872010-05-12 Andrew Stubbs <ams@codesourcery.com>
55688
55689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55690 exceptions. Return 0.
55691
556922010-05-07 Roland McGrath <roland@redhat.com>
55693
55694 * elf/ldconfig.c (main): Add a const.
55695
556962010-05-06 Ulrich Drepper <drepper@redhat.com>
55697
55698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55699 (args_options): Add no-idn option.
55700 (ahosts_keys_int): Add idn_flags to ai_flags.
55701 (parse_option): Handle 'i' option to clear idn_flags.
55702
55703 * malloc/malloc.c (_int_free): Possible race in the most recently
55704 added check. Only act on the data if no current modification
55705 happened.
55706
55707See ChangeLog.17 for earlier changes.